Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7082007B2 - Content receivers and programs - Google Patents
[go: Go Back, main page]

JP7082007B2 - Content receivers and programs - Google Patents

Content receivers and programs Download PDF

Info

Publication number
JP7082007B2
JP7082007B2 JP2018153735A JP2018153735A JP7082007B2 JP 7082007 B2 JP7082007 B2 JP 7082007B2 JP 2018153735 A JP2018153735 A JP 2018153735A JP 2018153735 A JP2018153735 A JP 2018153735A JP 7082007 B2 JP7082007 B2 JP 7082007B2
Authority
JP
Japan
Prior art keywords
sem
definition file
unit
structured data
receiving device
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
JP2018153735A
Other languages
Japanese (ja)
Other versions
JP2020028100A (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 JP2018153735A priority Critical patent/JP7082007B2/en
Publication of JP2020028100A publication Critical patent/JP2020028100A/en
Application granted granted Critical
Publication of JP7082007B2 publication Critical patent/JP7082007B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、動画等のコンテンツを受信し、当該コンテンツと連動したサービスを実現するコンテンツ受信装置及びプログラムに関する。 The present invention relates to a content receiving device and a program that receives content such as a moving image and realizes a service linked to the content.

従来、国内で運用されている放送通信連携システムとしてハイブリッドキャスト(Hybridcast)が知られている(例えば、非特許文献1を参照)。ハイブリッドキャスト対応の受信装置は、HTMLブラウザを備えており、通信で取得したHTMLアプリケーションを実行することができる。 Conventionally, hybridcast is known as a broadcasting / communication cooperation system operated in Japan (see, for example, Non-Patent Document 1). The receiver device compatible with hybrid cast is equipped with an HTML browser, and can execute an HTML application acquired by communication.

ハイブリッドキャスト対応の受信装置は、放送波に重畳されたイベントメッセージ(Event Message:以下、EMという。)の受信を契機としてHTMLアプリケーションを動作させることにより、放送内容と連動したサービスを実現することができる。 A receiver device that supports hybrid cast can realize a service linked to the broadcast content by operating the HTML application triggered by the reception of the event message (Event Message: hereinafter referred to as EM) superimposed on the broadcast wave. can.

また、ハイブリッドキャスト対応の受信装置は、当該受信装置上で動作するHTMLアプリケーションとスマートフォン等の端末(以下、連携端末という。)上で動作するアプリケーションとの間で、メッセージをやり取りする機能を提供する。 In addition, the hybrid cast compatible receiving device provides a function of exchanging messages between an HTML application operating on the receiving device and an application operating on a terminal such as a smartphone (hereinafter referred to as a linked terminal). ..

これにより、連携端末上で放送コンテンツと連動したサービスを実現することができる。例えば、サッカーの試合番組において、あるプレイヤーが得点を挙げた際に、そのプレイヤー及び得点シーンに関する詳細な情報を、連携端末の画面上に表示することができる(例えば、非特許文献2を参照)。 As a result, it is possible to realize a service linked with the broadcast content on the linked terminal. For example, in a soccer match program, when a player scores a score, detailed information about the player and the scoring scene can be displayed on the screen of the linked terminal (see, for example, Non-Patent Document 2). ..

IPTV規定、放送通信連携システム仕様、IPTVFJ STD-0010 2.1版IPTV regulations, broadcast communication cooperation system specifications, IPTVFJ STD-0010 2.1 version 小川他、“放送コンテンツを基点としたIoT機器連携動作のためのアーキテクチャの検討”、情処全大、7C-02、2017Ogawa et al., "Study of architecture for IoT device cooperation operation based on broadcast contents", Jijo Daizen, 7C-02, 2017

従来、EMは単純な文字列として記述され、何かのイベントが発生したことを知らせるトリガーとしての機能を果たすことができる。しかし、単純な文字列では、番組中のあるシーンでどのような出来事が起きたかを表現することは困難である。 Conventionally, the EM is described as a simple character string and can function as a trigger for notifying that an event has occurred. However, it is difficult to express what happened in a certain scene in a program with a simple character string.

例えば、サッカーの試合番組中にEMとして「砧_小川_ゴール」が、放送局からコンテンツ受信装置へ送信されたとする。EMを記述した本人は、その内容を正確に理解することができるが、それ以外の者は、その内容を正確に理解することができない。具体的には、「チーム砧の小川選手が得点を決めた」のか、「砧選手はチーム小川のFW(フォワード)であり、得点を決めた」のか、「ゴールキーパーの砧選手が小川選手に得点を決められてしまった」のか、判別することは難しい。 For example, suppose that "Kinuta_Ogawa_Goal" is transmitted from a broadcasting station to a content receiving device as an EM during a soccer match program. The person who wrote the EM can understand the contents accurately, but other people cannot understand the contents accurately. Specifically, "Team Kinuta's Ogawa scored the score" or "Team Kinuta was the FW (forward) of Team Ogawa and scored the score", or "Goalkeeper Kinuta scored Ogawa". It is difficult to tell whether the score has been decided. "

このようなEMの内容を理解するためには、EMを記述した本人とEMを受信する者との間で、EMの記述方法のルールを共有する必要がある。 In order to understand the contents of such an EM, it is necessary to share the rules of the EM description method between the person who described the EM and the person who receives the EM.

しかしながら、番組中に登場するシーンは多岐に渡り、そのシーンを表現する方法も多岐に渡るため、EMの送受信者間でルールを共有することは、現実的には困難である。 However, since the scenes appearing in the program are diverse and the methods for expressing the scenes are also diverse, it is practically difficult to share the rules between the sender and the receiver of the EM.

このように、現行の放送においては、連携端末上で動作するアプリケーションの開発者がEMの送信者と同一でない限り、シーンの内容と連動したサービスを実現するアプリケーションを開発することが困難であるという問題があった。 In this way, in the current broadcasting, it is difficult to develop an application that realizes a service linked to the contents of the scene unless the developer of the application running on the linked terminal is the same as the sender of the EM. There was a problem.

このため、連携端末上で動作するアプリケーションの開発者が、EMの内容を理解し、EMの内容に応じたアプリケーションを開発できることが所望されていた。 Therefore, it has been desired that the developer of the application operating on the linked terminal can understand the contents of the EM and develop the application according to the contents of the EM.

つまり、連携端末が、コンテンツの内容と連動したサービスを実現する際に、単純な文字列からなるメッセージではなく、その内容を解釈可能なメッセージを受信できることが所望されていた。連携端末が内容を解釈可能なメッセージを受信できるのであれば、開発者は、その内容を解釈するアプリケーションを開発することができ、連携端末に、コンテンツの内容と連動したサービスを実現させることができるからである。 That is, it has been desired that the linked terminal can receive a message that can interpret the content, not a message consisting of a simple character string, when the service linked to the content is realized. If the linked terminal can receive a message that can interpret the content, the developer can develop an application that interprets the content, and the linked terminal can realize a service linked to the content. Because.

そこで、本発明は前記課題を解決するためになされたものであり、その目的は、コンテンツの内容と連動したサービスを実現する際に、連携端末がメッセージの内容を解釈できるように、メッセージの内容が反映された構造化データを生成するコンテンツ受信装置及びプログラムを提供することにある。 Therefore, the present invention has been made to solve the above-mentioned problems, and an object of the present invention is to enable a linked terminal to interpret the content of a message when realizing a service linked with the content of the content. It is an object of the present invention to provide a content receiving device and a program for generating structured data in which the above is reflected.

前記課題を解決するために、請求項1のコンテンツ受信装置は、放送または通信によりコンテンツの信号を受信し、当該コンテンツの内容と連動したサービスを実現するためのメッセージを端末へ送信するコンテンツ受信装置において、前記コンテンツの信号に含まれるEM(イベントメッセージ)に基づいて、定義ファイルを取得し、前記EM及び前記定義ファイルに基づいて、構造化データを取得し、当該構造化データを含むsEM(セマンティック・イベントメッセージ)を生成するEM/sEM変換機能部を備え、前記EMには、前記定義ファイルの取得先を含む要素情報が記述されており、前記定義ファイルには、前記構造化データを取得するための関数が定義されており、前記構造化データには、前記メッセージを構成するそれぞれのデータ及び当該データの意味が構造的に定義されており、前記EM/sEM変換機能部が、前記コンテンツの信号から前記EMを抽出するEM抽出部と、前記EM抽出部により抽出された前記EMに記述された前記取得先から、前記定義ファイルを取得し、当該定義ファイルに定義された前記関数を実行し、前記構造化データを取得する構造化データ取得部と、前記EM抽出部により抽出された前記EMに記述された前記要素情報を、前記構造化データ取得部により取得された前記構造化データに差し替え、当該構造化データを含む前記sEMを生成するsEM生成部と、を備え、当該sEM生成部により生成された前記sEMを前記端末へ送信する、ことを特徴とする。 In order to solve the above problem, the content receiving device according to claim 1 is a content receiving device that receives a signal of the content by broadcasting or communication and transmits a message for realizing a service linked to the content of the content to the terminal. In, a definition file is acquired based on the EM (event message) included in the signal of the content, structured data is acquired based on the EM and the definition file, and sEM (semantic) including the structured data is acquired. The EM / sEM conversion function unit for generating (event message) is provided, element information including the acquisition destination of the definition file is described in the EM, and the structured data is acquired in the definition file. A function for the purpose is defined, and in the structured data, each data constituting the message and the meaning of the data are structurally defined, and the EM / sEM conversion function unit of the content. The definition file is acquired from the EM extraction unit that extracts the EM from the signal and the acquisition destination described in the EM extracted by the EM extraction unit, and the function defined in the definition file is executed. , The structured data acquisition unit for acquiring the structured data and the element information described in the EM extracted by the EM extraction unit are replaced with the structured data acquired by the structured data acquisition unit. The sEM generation unit including the structured data is provided, and the sEM generated by the sEM generation unit is transmitted to the terminal.

また、請求項2のコンテンツ受信装置は、請求項1に記載のコンテンツ受信装置において、前記EMの前記要素情報には、当該EMを前記sEMに変換可能であるか否かを示す変換識別子が含まれており、前記変換識別子が当該EMを前記sEMに変換可能であることを示す場合、前記EMには、前記変換識別子に加え、前記定義ファイルの前記取得先を含む前記要素情報が記述されており、前記変換識別子が当該EMを前記sEMに変換可能でないことを示す場合、前記EMには、前記変換識別子を含む前記要素情報が記述されており、前記EM/sEM変換機能部が、さらに、前記EM抽出部により抽出された前記EMに記述された前記変換識別子に基づいて、前記EMを前記sEMに変換可能であるか否かを判定するsEM判定部を備え、前記構造化データ取得部が、前記sEM判定部により変換可能であると判定された場合、前記EMに記述された前記取得先から前記定義ファイルを取得し、当該定義ファイルに定義された前記関数を実行して前記構造化データを取得し、前記sEM生成部が、前記sEM判定部により変換可能であると判定された場合、前記EMに記述された前記要素情報を前記構造化データに差し替え、前記sEMを生成して出力し、前記sEM判定部により変換可能でないと判定された場合、前記EM抽出部により抽出された前記EMを出力し、当該コンテンツ受信装置が、前記sEM生成部により出力された前記sEMまたは前記EMを前記端末へ送信する、ことを特徴とする。 Further, in the content receiving device according to claim 1, the content receiving device according to claim 1 includes a conversion identifier indicating whether or not the EM can be converted into the sEM in the element information of the EM. When the conversion identifier indicates that the EM can be converted to the sEM, the EM describes the element information including the acquisition destination of the definition file in addition to the conversion identifier. When the conversion identifier indicates that the EM cannot be converted to the sEM, the element information including the conversion identifier is described in the EM, and the EM / sEM conversion function unit further obtains the EM / sEM conversion function unit. The structured data acquisition unit includes an sEM determination unit that determines whether or not the EM can be converted to the sEM based on the conversion identifier described in the EM extracted by the EM extraction unit. If it is determined by the sEM determination unit that conversion is possible, the definition file is acquired from the acquisition destination described in the EM, and the function defined in the definition file is executed to execute the structured data. When the sEM generation unit determines that the sEM generation unit can be converted by the sEM determination unit, the element information described in the EM is replaced with the structured data, and the sEM is generated and output. When it is determined by the sEM determination unit that the conversion is not possible, the EM extracted by the EM extraction unit is output, and the content receiving device outputs the sEM or the EM output by the sEM generation unit. It is characterized by sending to a terminal.

また、請求項3のコンテンツ受信装置は、請求項2に記載のコンテンツ受信装置において、前記EMの前記変換識別子が、前記EMを前記sEMに変換可能であることを示す場合、前記EMには、前記変換識別子、及び前記定義ファイルの前記取得先を含む前記要素情報が記述されており、前記EMの前記変換識別子が、前記EMを前記sEMに変換可能でないことを示す場合、前記EMには、前記変換識別子及び文字列からなる前記要素情報が記述されており、前記EMに、前記変換識別子が記述されていない場合、前記EMには、文字列からなる前記要素情報が記述されており、前記sEM判定部が、前記EM抽出部により抽出された前記EMに記述された前記変換識別子が、前記EMを前記sEMに変換可能であることを示す場合、変換可能であることを判定し、前記変換識別子が、前記EMを前記sEMに変換可能でないことを示す場合、または、前記EM抽出部により抽出された前記EMに前記変換識別子が記述されていない場合、変換可能でないことを判定する、ことを特徴とする。 Further, when the content receiving device according to claim 3 indicates that the conversion identifier of the EM can convert the EM to the sEM in the content receiving device according to the second aspect, the EM may be referred to. When the conversion identifier and the element information including the acquisition destination of the definition file are described, and the conversion identifier of the EM indicates that the EM cannot be converted to the sEM, the EM shall be: When the element information consisting of the conversion identifier and the character string is described and the conversion identifier is not described in the EM, the element information consisting of the character string is described in the EM. When the sEM determination unit indicates that the conversion identifier described in the EM extracted by the EM extraction unit indicates that the EM can be converted into the sEM, the sEM determination unit determines that the EM can be converted, and the conversion is performed. If the identifier indicates that the EM cannot be converted to the sEM, or if the conversion identifier is not described in the EM extracted by the EM extraction unit, it is determined that the conversion is not possible. It is a feature.

また、請求項4のコンテンツ受信装置は、請求項1から3までのいずれか一項に記載のコンテンツ受信装置において、前記EMの前記要素情報に含まれる前記取得先には、外部サーバまたは内部記憶部を示す情報、及び前記外部サーバのアドレスが記述されており、前記構造化データ取得部が、前記EMに記述された前記取得先が前記外部サーバを示す場合、当該外部サーバの前記アドレスに基づいて前記定義ファイルを取得し、前記取得先が前記内部記憶部を示す場合、当該コンテンツ受信装置に備えた前記内部記憶部から前記定義ファイルを取得する、ことを特徴とする。 Further, the content receiving device according to claim 4 is the content receiving device according to any one of claims 1 to 3, wherein the acquisition destination included in the element information of the EM is an external server or an internal storage. When the information indicating the unit and the address of the external server are described and the acquisition destination described in the EM indicates the external server, the structured data acquisition unit is based on the address of the external server. When the acquisition destination indicates the internal storage unit, the definition file is acquired from the internal storage unit provided in the content receiving device.

また、請求項5のコンテンツ受信装置は、請求項4に記載のコンテンツ受信装置において、前記構造化データ取得部が、前記EMに記述された前記取得先が前記内部記憶部を示し、かつ当該内部記憶部に前記定義ファイルが保存されていない場合、前記外部サーバの前記アドレスに基づいて前記定義ファイルを取得し、当該定義ファイルを前記内部記憶部に保存する、ことを特徴とする。 Further, in the content receiving device according to claim 5, in the content receiving device according to claim 4, the structured data acquisition unit indicates the internal storage unit, and the acquisition destination described in the EM indicates the internal storage unit. When the definition file is not stored in the storage unit, the definition file is acquired based on the address of the external server, and the definition file is stored in the internal storage unit.

また、請求項6のコンテンツ受信装置は、請求項1から5までのいずれか一項に記載のコンテンツ受信装置において、前記EMには、さらに、複数の構造化データから1つを選択するためのインデックスを含む要素情報が記述されており、前記定義ファイルには、さらに、前記複数の構造化データが定義されており、前記構造化データ取得部が、前記EMに記述された前記取得先から前記定義ファイルを取得し、前記定義ファイルに定義された前記関数を実行し、前記EMに記述された前記インデックスに基づいて、前記定義ファイルに定義された前記複数の構造化データから1つを選択することで、前記構造化データを取得する、ことを特徴とする。 Further, the content receiving device according to claim 6 is the content receiving device according to any one of claims 1 to 5, wherein the EM further selects one from a plurality of structured data. Element information including an index is described, and the plurality of structured data are further defined in the definition file, and the structured data acquisition unit is described from the acquisition destination described in the EM. The definition file is acquired, the function defined in the definition file is executed, and one is selected from the plurality of structured data defined in the definition file based on the index described in the EM. This is characterized by acquiring the structured data.

また、請求項7のコンテンツ受信装置は、請求項1から5までのいずれか一項に記載のコンテンツ受信装置において、前記EMには、さらに、前記端末へ送信される前記メッセージを構成するそれぞれの前記データを、複数の要素から選択するためのインデックスを含む要素情報が記述されており、前記定義ファイルには、さらに、前記メッセージを構成するそれぞれの前記データの変数、及び当該変数に対応する前記複数の要素が定義されており、前記構造化データ取得部が、前記EMに記述された前記取得先から前記定義ファイルを取得し、前記定義ファイルに定義された前記関数を実行し、前記EMに記述された前記インデックスに基づいて、前記定義ファイルに定義されたそれぞれの前記変数に対応する前記複数の要素から1つを選択することで、前記構造化データを取得する、ことを特徴とする。 Further, the content receiving device according to claim 7 is the content receiving device according to any one of claims 1 to 5, wherein the EM further constitutes the message transmitted to the terminal. Element information including an index for selecting the data from a plurality of elements is described, and the definition file further includes variables of the data that constitute the message and the variables corresponding to the variables. A plurality of elements are defined, and the structured data acquisition unit acquires the definition file from the acquisition destination described in the EM, executes the function defined in the definition file, and executes the function defined in the definition file in the EM. It is characterized in that the structured data is acquired by selecting one from the plurality of elements corresponding to each of the variables defined in the definition file based on the described index.

さらに、請求項8のプログラムは、コンピュータを、請求項1から7までのいずれか一項に記載のコンテンツ受信装置として機能させることを特徴とする。 Further, the program of claim 8 is characterized in that the computer functions as the content receiving device according to any one of claims 1 to 7.

以上のように、本発明によれば、コンテンツの内容と連動したサービスを実現する際に、連携端末がメッセージの内容を解釈できるように、メッセージの内容が反映された構造化データを生成することが可能となる。 As described above, according to the present invention, when a service linked with the content of the content is realized, structured data reflecting the content of the message is generated so that the linked terminal can interpret the content of the message. Is possible.

本発明の実施形態によるコンテンツ受信装置を含む全体システムのサービス例の概要を説明する図である。It is a figure explaining the outline of the service example of the whole system including the content receiving apparatus by embodiment of this invention. 本発明の実施形態によるコンテンツ受信装置を含む全体システムの概略図である。It is a schematic diagram of the whole system including the content receiving apparatus by embodiment of this invention. EM、sEM定義ファイルf及びsEMの関係を説明する図である。It is a figure explaining the relationship between EM, sEM definition file f and sEM. コンテンツ受信装置の機能構成例を示す図である。It is a figure which shows the functional configuration example of the content receiving apparatus. 連携端末の機能構成例を示す図である。It is a figure which shows the functional configuration example of the cooperation terminal. コンテンツ受信装置の構成例を示すブロック図である。It is a block diagram which shows the configuration example of the content receiving apparatus. EM/sEM変換機能部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the EM / sEM conversion function part. EM/sEM変換機能部の処理例を示すフローチャートである。It is a flowchart which shows the processing example of the EM / sEM conversion function part. sEM生成処理例(ステップS805)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the sEM generation processing example (step S805). EMの第1記述例を示す図である。It is a figure which shows the 1st description example of EM. sEM定義ファイルfの第1記述例を示す図である。It is a figure which shows the 1st description example of the sEM definition file f. EMの第2記述例を示す図である。It is a figure which shows the 2nd description example of EM. sEM定義ファイルfの第2記述例を示す図である。It is a figure which shows the 2nd description example of the sEM definition file f. EMの第3記述例を示す図である。It is a figure which shows the 3rd description example of EM. sEM定義ファイルfの第3記述例を示す図である。It is a figure which shows the 3rd description example of the sEM definition file f. 本発明の実施形態によるコンテンツ受信装置を含む他の全体システムのサービス例の概要を説明する図である。It is a figure explaining the outline of the service example of the other whole system including the content receiving apparatus by embodiment of this invention.

以下、本発明を実施するための形態について図面を用いて詳細に説明する。本発明のコンテンツ受信装置は、コンテンツの内容と連動したサービスを実現する際に、連携端末にてメッセージの内容を解釈できるように、その内容が反映された構造化データを生成し、当該構造化データを連携端末へ送信することを特徴とする。 Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. The content receiving device of the present invention generates structured data reflecting the content so that the content of the message can be interpreted by the linked terminal when realizing a service linked with the content of the content, and the structured data is concerned. It is characterized by transmitting data to a linked terminal.

構造化データを用いることは、前述の例では、「砧_小川_ゴール」というメッセージに対し、「砧」「小川」「ゴール」のそれぞれが「行動主体が所属するチーム」「行動主体(人間)の名前」「行動」を表している、というメタデータを付与することを意味する。つまり、構造化データは、メッセージを構成するそれぞれのデータ(内容)及びデータの意味(内容の意味)が構造的に定義された定義文である。 In the above example, using structured data means that, in response to the message "Tsuki_Ogawa_Goal", each of "Tsuki", "Ogawa", and "Goal" is a "team to which the action subject belongs" and "action subject (human)". ) Name ”and“ behavior ”. That is, the structured data is a definition sentence in which each data (content) constituting the message and the meaning of the data (meaning of the content) are structurally defined.

これにより、連携端末は、構造化データを解釈することで、メッセージの内容を理解することができる。つまり、メッセージの受信者は、構造化データを用いることで、送信者と事前にルールを共有していなくても、メッセージの意味を理解しそれに応じたアプリケーションを開発することが可能となる。 As a result, the linked terminal can understand the content of the message by interpreting the structured data. In other words, by using structured data, message recipients can understand the meaning of messages and develop applications according to them, without having to share rules with senders in advance.

ところで、放送局が構造化データを含むEMを生成し、当該EMを、コンテンツ受信装置を経由して連携端末へ送信することにより、コンテンツの内容と連動したサービスを実現することができる。 By the way, by a broadcasting station generating an EM including structured data and transmitting the EM to a cooperative terminal via a content receiving device, a service linked with the content of the content can be realized.

しかしながら、放送波の帯域には制限があり、放送局から送信されるEMのprivate_data(プライベートデータ)要素(以下、pd要素という。)に記述可能なデータ量は244バイト以内という運用制限がある(地上デジタルテレビジョン放送運用規定、ARIB TR-B14 6.3版を参照)。一方で、構造化データは、単純な文字列ではなく、メッセージの内容の意味を含む構造的な定義文であるため、244バイト以内に収めることは困難である。このため、放送局は、構造化データを含むEMを生成したとしても、これを放送信号として送信することができない。 However, the band of the broadcast wave is limited, and the amount of data that can be described in the private_data (private data) element (hereinafter referred to as pd element) of the EM transmitted from the broadcasting station is limited to 244 bytes or less (operational limitation). Refer to terrestrial digital television broadcasting operation regulations, ARIB TR-B14 6.3 version). On the other hand, structured data is not a simple character string but a structural definition statement including the meaning of the content of the message, so it is difficult to fit it within 244 bytes. Therefore, even if the broadcasting station generates an EM containing structured data, it cannot transmit it as a broadcasting signal.

そこで、本発明の実施形態によるコンテンツ受信装置は、244バイト以下のpd要素を含むEMを受信したときを契機として、EMのpd要素に記述された内容等に基づいて、構造化データを取得する機能を備える。そして、コンテンツ受信装置は、EMのpd要素の内容を、取得した構造化データに差し替えることで、構造化データを含む新たなEMを生成し、新たなEMを連携端末へ送信する。 Therefore, the content receiving device according to the embodiment of the present invention acquires structured data based on the contents described in the pd element of the EM when the EM including the pd element of 244 bytes or less is received. It has a function. Then, the content receiving device replaces the content of the pd element of the EM with the acquired structured data, thereby generating a new EM including the structured data, and transmitting the new EM to the linked terminal.

連携端末は、新たなEMを受信し、新たなEMに含まれる構造化データを解釈する。これにより、コンテンツの内容と連動したサービスを実現することができる。この場合、構造化データは予め決められているから、メッセージの受信者は、構造化データに基づいたアプリケーションを事前に開発することが可能である。 The linked terminal receives the new EM and interprets the structured data contained in the new EM. As a result, it is possible to realize a service linked to the content of the content. In this case, since the structured data is predetermined, the recipient of the message can develop an application based on the structured data in advance.

ここで、pd要素に構造化データを持つ新たなEMは、意味(semantic)を表すイベントメッセージであることから、セマンティック・イベントメッセージ(Semantic Event Message)という。以下、セマンティック・イベントメッセージをsEMという。sEMは、連携端末において、コンテンツの内容と連動したサービスを実現するためのメッセージである。 Here, since the new EM having structured data in the pd element is an event message expressing a semantic (semantic), it is called a semantic event message (Semantic Event Message). Hereinafter, the semantic event message is referred to as sEM. The sEM is a message for realizing a service linked with the content of the content in the linked terminal.

また、放送には同時性という特徴があることから、コンテンツ受信装置が放送波でEMを受信する度に、構造化データを取得するために必要な情報をサーバに問い合わせたとすると、瞬間的にサーバへのアクセスが集中し、サーバ負荷が大きくなる可能性がある。 In addition, since broadcasting has the characteristic of simultaneity, if the content receiving device inquires of the server for the information necessary to acquire structured data every time it receives an EM on the broadcast wave, the server will be instantaneously used. Access to is concentrated, and the server load may increase.

そこで、本発明の実施形態によるコンテンツ受信装置は、構造化データを取得するために必要な情報を記憶部に予め保存しておき、EMの受信を契機として、サーバへアクセスすることなく当該情報を直接利用する機能を備える。 Therefore, the content receiving device according to the embodiment of the present invention stores the information necessary for acquiring the structured data in the storage unit in advance, and receives the EM as an opportunity to store the information without accessing the server. It has a function to be used directly.

〔全体システム〕
まず、コンテンツの内容と連動したサービスを実現する全体システムについて説明する。図1は、本発明の実施形態によるコンテンツ受信装置を含む全体システムのサービス例の概要を説明する図であり、図2は、本発明の実施形態によるコンテンツ受信装置2を含む全体システムの概略図である。
[Overall system]
First, an overall system that realizes a service linked to the content will be described. FIG. 1 is a diagram illustrating an outline of a service example of an overall system including a content receiving device according to an embodiment of the present invention, and FIG. 2 is a schematic diagram of an overall system including a content receiving device 2 according to an embodiment of the present invention. Is.

このシステムは、放送送出装置1、コンテンツ受信装置2、連携端末3、sEMサーバ4、受信装置サービスサーバ5及び連携端末サービスサーバ6を備えている。コンテンツ受信装置2とsEMサーバ4及び受信装置サービスサーバ5とは、インターネット8を介して接続される。連携端末サービスサーバ6と連携端末3とは、インターネット8を介して接続される。また、コンテンツ受信装置2と連携端末3とは、Hybridcast(ハイブリッドキャスト)等の機能により、Wi-Fi(登録商標)等の通信路7を介して接続される。 This system includes a broadcast transmission device 1, a content reception device 2, a cooperation terminal 3, an sEM server 4, a reception device service server 5, and a cooperation terminal service server 6. The content receiving device 2, the sEM server 4, and the receiving device service server 5 are connected to each other via the Internet 8. The linked terminal service server 6 and the linked terminal 3 are connected to each other via the Internet 8. Further, the content receiving device 2 and the cooperation terminal 3 are connected to each other via a communication path 7 such as Wi-Fi (registered trademark) by a function such as Hybridcast (hybridcast).

放送送出装置1は、放送局に設けられており、放送波により番組のコンテンツ(EMを含む)の放送信号を配信する。 The broadcast transmission device 1 is provided in a broadcasting station, and distributes a broadcast signal of program contents (including EM) by a broadcast wave.

コンテンツ受信装置2は、EMを含む放送信号を受信し、EMの内容に基づいてEMをsEMに変換可能であると判定した場合、EMの内容に基づいてsEM定義ファイルfを特定し、例えばsEMサーバ4からsEM定義ファイルfを受信する。そして、コンテンツ受信装置2は、EMの内容及びsEM定義ファイルfに基づいて構造化データを取得し、構造化データを含むsEMを生成する。コンテンツ受信装置2は、sEMを、ハイブリッドキャスト等の機能により接続された連携端末3へ送信する。 When the content receiving device 2 receives the broadcast signal including the EM and determines that the EM can be converted into the sEM based on the contents of the EM, the content receiving device 2 specifies the sEM definition file f based on the contents of the EM, for example, the sEM. Receive the sEM definition file f from the server 4. Then, the content receiving device 2 acquires structured data based on the contents of the EM and the sEM definition file f, and generates an sEM including the structured data. The content receiving device 2 transmits the sEM to the linked terminal 3 connected by a function such as a hybrid cast.

連携端末3は、スマートフォン、コミュニケーションロボット、スマート家電等の端末であり、コンテンツ受信装置2と連携して動作する。連携端末3は、コンテンツ受信装置2からsEMを受信し、sEMに含まれる構造化データに基づいて、その内容を解釈し、コンテンツの内容と連動したサービスを実現する。 The cooperative terminal 3 is a terminal such as a smartphone, a communication robot, or a smart home appliance, and operates in cooperation with the content receiving device 2. The cooperative terminal 3 receives the sEM from the content receiving device 2, interprets the content based on the structured data included in the sEM, and realizes a service linked with the content of the content.

sEMサーバ4は、sEM定義ファイルfを管理しており、コンテンツ受信装置2からの要求に従い、sEM定義ファイルfをコンテンツ受信装置2へ送信する。 The sEM server 4 manages the sEM definition file f, and transmits the sEM definition file f to the content receiving device 2 in accordance with the request from the content receiving device 2.

受信装置サービスサーバ5は、コンテンツ受信装置2にて実行するHTMLアプリ本体及びHTMLアプリで利用するコンテンツを管理しており、コンテンツ受信装置2からの要求に従い、HTMLアプリ本体及びコンテンツをコンテンツ受信装置2へ送信する。 The receiving device service server 5 manages the HTML application main body executed by the content receiving device 2 and the content used in the HTML application, and the HTML application main body and the content are transferred to the content receiving device 2 in accordance with the request from the content receiving device 2. Send to.

連携端末サービスサーバ6は、連携端末3にて実行するアプリ及びアプリで利用するコンテンツを管理しており、連携端末3からの要求に従い、アプリ及びコンテンツを連携端末3へ送信する。 The linked terminal service server 6 manages the application executed by the linked terminal 3 and the content used by the linked terminal 3, and transmits the application and the content to the linked terminal 3 in accordance with the request from the linked terminal 3.

この場合、コンテンツ受信装置2は、受信装置サービスサーバ5から、コンテンツの内容と連動したサービスを実現するためのHTMLアプリ本体等をダウンロード済みであり、当該アプリを実行するものとする。また、連携端末3は、連携端末サービスサーバ6から、コンテンツの内容と連動したサービスを実現するためのアプリ等をダウンロード済みであり、当該アプリを実行するものとする。 In this case, the content receiving device 2 has already downloaded the HTML application main body or the like for realizing the service linked with the content of the content from the receiving device service server 5, and executes the application. Further, the linked terminal 3 has already downloaded an application or the like for realizing a service linked with the content of the content from the linked terminal service server 6, and it is assumed that the application is executed.

図3は、EM、sEM定義ファイルf及びsEMの関係を説明する図である。(1)はEMの具体例を示し、(2)はsEM定義ファイルfの構成例を示し、(3)はsEMの具体例を示す。 FIG. 3 is a diagram illustrating the relationship between the EM, the sEM definition file f, and the sEM. (1) shows a specific example of EM, (2) shows a configuration example of the sEM definition file f, and (3) shows a specific example of sEM.

コンテンツ受信装置2は、(1)に示すEMのpd要素の内容に基づいて、(2)に示すsEM定義ファイルfを特定し、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データを取得する。そして、コンテンツ受信装置2は、EMのpd要素の内容を構造化データに差し替え、(3)に示すsEMを生成する。 The content receiving device 2 specifies the sEM definition file f shown in (2) based on the contents of the EM pd element shown in (1), and is structured based on the contents of the EM pd element and the sEM definition file f. Get the data. Then, the content receiving device 2 replaces the content of the pd element of the EM with the structured data, and generates the sEM shown in (3).

EMは、放送送出装置1から送信されるメッセージであり、pd要素が記述されている。EMのpd要素には、以下の(a1)~(a6)が含まれる。尚、EMのpd要素には、(a1)~(a6)のうち(a5)(a6)等を含まない場合もある。具体例については後述する図10,12,14にて説明する。
(a1)EMをsEMに変換可能である否かを示す識別子(sEM変換識別子、「true」または「false」)
(a2)sEM定義ファイルfの取得先a2(外部サーバ(sEMサーバ4、「external」)または内部メモリ(後述する記憶部46、「internal」))
(a3)sEM定義ファイルfの名称(ファイル名)
(a4)sEM定義ファイルfの取得先URL(アドレス)
(a5)構造化データを取得するために必要な情報(以下、インデックスという。)
(a6)その他の情報
The EM is a message transmitted from the broadcast transmission device 1, and a pd element is described. The pd element of EM includes the following (a1) to (a6). In addition, the pd element of EM may not include (a5), (a6) and the like among (a1) to (a6). Specific examples will be described with reference to FIGS. 10, 12, and 14 described later.
(A1) Identifier indicating whether or not EM can be converted to sEM (sEM conversion identifier, "true" or "false")
(A2) Acquisition destination a2 of the sEM definition file f (external server (sEM server 4, "external") or internal memory (storage unit 46, "internal" described later))
(A3) Name of sEM definition file f (file name)
(A4) Acquisition URL (address) of the sEM definition file f
(A5) Information required to acquire structured data (hereinafter referred to as index)
(A6) Other information

sEM定義ファイルfは、sEMサーバ4から送信されるファイルであり、構造化データを取得するために必要な情報、すなわちEMをsEMに変換する際に、どのような構造化データを取得するかについての規則が定義されている。sEM定義ファイルfには、以下の(b1)~(b4)が含まれる。尚、sEM定義ファイルfには、(b1)~(b4)のうち(b3)等を含まない場合もある。
(b1)構造化データまたは構造化データの配列(複数の構造化データ)
(b2)構造化データを取得するための関数
(b3)sEM定義ファイルfの生存期間
(b4)その他の情報
The sEM definition file f is a file transmitted from the sEM server 4, and is information necessary for acquiring structured data, that is, what kind of structured data is acquired when converting EM to sEM. Rule is defined. The sEM definition file f includes the following (b1) to (b4). The sEM definition file f may not include (b3) or the like among (b1) to (b4).
(B1) Structured data or an array of structured data (multiple structured data)
(B2) Function for acquiring structured data (b3) Time-to-live of sEM definition file f (b4) Other information

sEMは、(3)に示すように、構造化データを内容としたpd要素を含む。EMのpd要素が構造化データに差し替えられることで、sEMが生成される。 As shown in (3), the sEM includes a pd element containing structured data. The sEM is generated by replacing the pd element of the EM with the structured data.

〔コンテンツ受信装置2及び連携端末3の機能構成〕
次に、コンテンツ受信装置2及び連携端末3の機能構成について説明する。図4は、コンテンツ受信装置2の機能構成例を示す図である。コンテンツ受信装置2は、機能的にみると、ハードウェア20、OS21、レジデント22及びアプリ実行機能部23から構成される。
[Functional configuration of content receiving device 2 and linked terminal 3]
Next, the functional configurations of the content receiving device 2 and the cooperative terminal 3 will be described. FIG. 4 is a diagram showing a functional configuration example of the content receiving device 2. From a functional point of view, the content receiving device 2 is composed of hardware 20, OS 21, resident 22, and application execution function unit 23.

ハードウェア20は、CPU、ROM、RAM、キャッシュメモリ等であり、レジデント22の各機能を物理的に実行する。OS21は、iOS等であり、CPUにより実行され、当該コンテンツ受信装置2の基本的な機能として、ハードウェア20の各要素を管理する。 The hardware 20 is a CPU, ROM, RAM, cache memory, etc., and physically executes each function of the resident 22. The OS 21 is an iOS or the like, which is executed by a CPU and manages each element of the hardware 20 as a basic function of the content receiving device 2.

レジデント22は、受信機機能部24、端末連携機能部25、EM/sEM変換機能部26等を備えている。受信機機能部24は、放送信号を受信し、放送信号を映像音声にデコードして再生する。端末連携機能部25は、当該コンテンツ受信装置2と連携端末3とを通信路7を介して接続し、テキストメッセージの送受信を行う。 The resident 22 includes a receiver function unit 24, a terminal cooperation function unit 25, an EM / sEM conversion function unit 26, and the like. The receiver function unit 24 receives the broadcast signal, decodes the broadcast signal into video and audio, and reproduces the broadcast signal. The terminal cooperation function unit 25 connects the content receiving device 2 and the cooperation terminal 3 via the communication path 7, and transmits / receives text messages.

EM/sEM変換機能部26は、本発明の実施形態が備える機能であり、EMをsEMに変換する。 The EM / sEM conversion function unit 26 is a function provided in the embodiment of the present invention, and converts EM into sEM.

アプリ実行機能部23は、HTMLブラウザ(ハイブリッドキャストブラウザ)であり、受信装置サービスサーバ5からダウンロードしたハイブリッドキャストアプリを実行する。 The application execution function unit 23 is an HTML browser (hybrid cast browser) and executes a hybrid cast application downloaded from the receiving device service server 5.

図5は、連携端末3の機能構成例を示す図である。この連携端末3は、機能的にみると、ハードウェア50、OS51、ネイティブアプリ実行機能部52及び連携アプリ53から構成される。 FIG. 5 is a diagram showing a functional configuration example of the cooperative terminal 3. From a functional point of view, the linked terminal 3 is composed of the hardware 50, the OS 51, the native application execution function unit 52, and the linked application 53.

ハードウェア50は、図4のハードウェア20と同様に、CPU、ROM、RAM、キャッシュメモリ等であり、ネイティブアプリ実行機能部52の各機能を物理的に実行する。OS51は、図4のOS21と同様に、CPUにより実行され、当該連携端末3の基本的な機能として、ハードウェア50の各要素を管理する。 The hardware 50 is a CPU, ROM, RAM, cache memory, etc., like the hardware 20 of FIG. 4, and physically executes each function of the native application execution function unit 52. The OS 51 is executed by the CPU in the same manner as the OS 21 of FIG. 4, and manages each element of the hardware 50 as a basic function of the linked terminal 3.

ネイティブアプリ実行機能部52は、OS51が提供するアプリを実行する。連携アプリ53は、ネイティブアプリ実行機能部52において動作するものとする。ハイブリッドキャストにおける連携アプリ53は、コンテンツ受信装置2のハイブリッドキャストブラウザで動作するハイブリッドキャストアプリと、連携端末3の連携アプリ53の間で実現されるものとする。連携アプリ53は、例えば前述の非特許文献1で規定された拡張APIを用いて、テキストメッセージを送受信する。 The native application execution function unit 52 executes the application provided by the OS 51. It is assumed that the linked application 53 operates in the native application execution function unit 52. The cooperation application 53 in the hybrid cast is realized between the hybrid cast application operated by the hybrid cast browser of the content receiving device 2 and the cooperation application 53 of the cooperation terminal 3. The linked application 53 sends and receives text messages using, for example, the extended API defined in Non-Patent Document 1 described above.

〔コンテンツ受信装置2の構成及び処理〕
次に、コンテンツ受信装置2の構成及び処理について説明する。図6は、コンテンツ受信装置2の構成例を示すブロック図である。このコンテンツ受信装置2は、レジデント22’、アプリ実行部30及びHTMLアプリケーション31を備えている。
[Configuration and processing of content receiving device 2]
Next, the configuration and processing of the content receiving device 2 will be described. FIG. 6 is a block diagram showing a configuration example of the content receiving device 2. The content receiving device 2 includes a resident 22', an application execution unit 30, and an HTML application 31.

レジデント22’は、放送送出装置1から放送信号を受信し、放送信号からEMを抽出し、EMのpd要素の内容に基づいて、EMをsEMに変換可能であるか否かを判定する。 The resident 22'receives a broadcast signal from the broadcast transmission device 1, extracts an EM from the broadcast signal, and determines whether or not the EM can be converted into an sEM based on the content of the pd element of the EM.

レジデント22’は、EMをsEMに変換可能であると判定した場合、sEMを生成し、sEMを連携端末3へ送信する。一方、レジデント22’は、EMをsEMに変換可能でないと判定した場合、EMを連携端末3へ送信する。 When the resident 22'determines that the EM can be converted into the sEM, the resident 22'generates the sEM and transmits the sEM to the cooperation terminal 3. On the other hand, when the resident 22'determines that the EM cannot be converted into the sEM, the resident 22'transmits the EM to the cooperation terminal 3.

アプリ実行部30は、HTMLアプリケーション31を実行するブラウザである。HTMLアプリケーション31は、放送と通信とを連携させるために、当該コンテンツ受信装置2と連携端末3との間でテキストメッセージの送受信を行うアプリケーションであり、図示しない受信装置サービスサーバ5から取得される。ここで、アプリ実行部30は、例えばEM/sEM変換機能部26により放送信号のデータからEMが抽出されたタイミングを契機として、HTMLアプリケーション31を実行して当該コンテンツ受信装置2と連携端末3との間でテキストメッセージの送受信を行う。 The application execution unit 30 is a browser that executes the HTML application 31. The HTML application 31 is an application for transmitting and receiving text messages between the content receiving device 2 and the linked terminal 3 in order to link broadcasting and communication, and is acquired from a receiving device service server 5 (not shown). Here, the application execution unit 30 executes the HTML application 31 at the timing when the EM is extracted from the broadcast signal data by, for example, the EM / sEM conversion function unit 26, and executes the HTML application 31 with the content receiving device 2 and the cooperation terminal 3. Send and receive text messages between.

レジデント22’は、EM/sEM変換機能部26、放送受信部27、分離部28、放送通信連携部29及び端末連携部32を備えている。尚、このレジデント22’は、図4に示したレジデント22に相当するが、本発明に直接関連する構成部のみを示しており、直接関連しない構成部は省略してある。 The resident 22'includes an EM / sEM conversion function unit 26, a broadcast receiving unit 27, a separation unit 28, a broadcast communication cooperation unit 29, and a terminal cooperation unit 32. Although this resident 22'corresponds to the resident 22 shown in FIG. 4, only the components directly related to the present invention are shown, and the components not directly related to the present invention are omitted.

放送受信部27は、放送送出装置1から送信された放送波の放送信号を受信し、所定の受信処理を施す。分離部28は、放送受信部27により受信処理された放送信号から多重信号を分離し、映像、音声及びデータを抽出し、データをEM/sEM変換機能部26に出力する。 The broadcast receiving unit 27 receives the broadcast signal of the broadcast wave transmitted from the broadcast transmission device 1 and performs a predetermined reception process. The separation unit 28 separates the multiplex signal from the broadcast signal received and processed by the broadcast reception unit 27, extracts video, audio, and data, and outputs the data to the EM / sEM conversion function unit 26.

EM/sEM変換機能部26は、分離部28からデータを入力し、データに含まれるEMに基づいて、EMをsEMに変換可能であるか否かを判定する。 The EM / sEM conversion function unit 26 inputs data from the separation unit 28, and determines whether or not the EM can be converted to the sEM based on the EM included in the data.

EM/sEM変換機能部26は、EMをsEMに変換可能であると判定した場合、EMのpd要素の内容に基づいてsEM定義ファイルfを特定し、例えばsEMサーバ4からsEM定義ファイルfを取得する。そして、EM/sEM変換機能部26は、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データを取得し、EMのpd要素の内容を構造化データに差し替えてsEMを生成し、sEMを放送通信連携部29に出力する。 When the EM / sEM conversion function unit 26 determines that the EM can be converted to the sEM, the EM / sEM conversion function unit 26 specifies the sEM definition file f based on the contents of the pd element of the EM, and obtains the sEM definition file f from the sEM server 4, for example. do. Then, the EM / sEM conversion function unit 26 acquires structured data based on the contents of the pd element of the EM and the sEM definition file f, replaces the contents of the pd element of the EM with the structured data, and generates the sEM. The sEM is output to the broadcast communication cooperation unit 29.

一方、EM/sEM変換機能部26は、EMをsEMに変換可能でないと判定した場合、EMを放送通信連携部29に出力する。EM/sEM変換機能部26の詳細については後述する。 On the other hand, when the EM / sEM conversion function unit 26 determines that the EM cannot be converted to the sEM, the EM / sEM conversion function unit 26 outputs the EM to the broadcast communication cooperation unit 29. Details of the EM / sEM conversion function unit 26 will be described later.

放送通信連携部29は、EM/sEM変換機能部26からsEMまたはEMを入力し、HTMLアプリケーション31により、端末連携部32からsEMまたはEMを連携端末3へ送信する。 The broadcast communication cooperation unit 29 inputs sEM or EM from the EM / sEM conversion function unit 26, and transmits the sEM or EM from the terminal cooperation unit 32 to the cooperation terminal 3 by the HTML application 31.

尚、放送通信連携部29は、放送から得たデータと通信から得たデータとをマージする処理を行い、端末連携部32は、当該コンテンツ受信装置2と連携端末3との連携を担う処理を行い、通信により相互にテキストメッセージの送受信を行う。 The broadcast communication cooperation unit 29 performs a process of merging the data obtained from the broadcast and the data obtained from the communication, and the terminal cooperation unit 32 performs a process of linking the content receiving device 2 and the cooperation terminal 3. And send and receive text messages to each other by communication.

〔EM/sEM変換機能部26〕
次に、EM/sEM変換機能部26について詳細に説明する。図7は、EM/sEM変換機能部26の構成例を示すブロック図であり、図8は、EM/sEM変換機能部26の処理例を示すフローチャートである。
[EM / sEM conversion function unit 26]
Next, the EM / sEM conversion function unit 26 will be described in detail. FIG. 7 is a block diagram showing a configuration example of the EM / sEM conversion function unit 26, and FIG. 8 is a flowchart showing a processing example of the EM / sEM conversion function unit 26.

このEM/sEM変換機能部26は、EM抽出部40、sEM判定部41、構造化データ取得部42、外部リソース取得部43、記憶管理部44、キャッシュ部45、記憶部46及びsEM生成部47を備えている。 The EM / sEM conversion function unit 26 includes an EM extraction unit 40, an sEM determination unit 41, a structured data acquisition unit 42, an external resource acquisition unit 43, a storage management unit 44, a cache unit 45, a storage unit 46, and an sEM generation unit 47. It is equipped with.

EM抽出部40は、分離部28からデータを入力し(ステップS801)、データからEMを抽出する(ステップS802)。そして、EM抽出部40は、EMをsEM判定部41及びsEM生成部47に出力する。 The EM extraction unit 40 inputs data from the separation unit 28 (step S801) and extracts EM from the data (step S802). Then, the EM extraction unit 40 outputs the EM to the sEM determination unit 41 and the sEM generation unit 47.

sEM判定部41は、EM抽出部40からEMを入力し、EMのpd要素に含まれるsEM変換識別子a1に基づいて、EMをsEMに変換可能であるか否かを判定する(ステップS803)。 The sEM determination unit 41 inputs an EM from the EM extraction unit 40, and determines whether or not the EM can be converted to the sEM based on the sEM conversion identifier a1 included in the pd element of the EM (step S803).

sEM判定部41は、sEM変換識別子a1が「true」であり、sEM変換可能であると判定した場合(ステップS804:Y)、変換可をsEM生成部47に出力すると共に、EMを構造化データ取得部42に出力する。 When the sEM determination unit 41 determines that the sEM conversion identifier a1 is "true" and sEM conversion is possible (step S804: Y), the sEM determination unit 41 outputs conversion possible to the sEM generation unit 47 and outputs the EM to the structured data. Output to the acquisition unit 42.

sEM生成部47は、sEM判定部41から変換可を入力すると、EM抽出部40から入力したEMのpd要素の内容を、構造化データ取得部42から入力した構造化データに差し替え、sEMを生成し(ステップS805)、sEMを放送通信連携部29に出力する(ステップS806)。詳細には、ステップS805のsEM生成処理は、構造化データ取得部42~sEM生成部47により行われる。ステップS805のsEM生成処理の詳細については後述する。 When the sEM generation unit 47 inputs conversion possible from the sEM determination unit 41, the sEM generation unit 47 replaces the content of the EM pd element input from the EM extraction unit 40 with the structured data input from the structured data acquisition unit 42, and generates an sEM. (Step S805), and output the sEM to the broadcast communication cooperation unit 29 (step S806). Specifically, the sEM generation process in step S805 is performed by the structured data acquisition unit 42 to the sEM generation unit 47. Details of the sEM generation process in step S805 will be described later.

ここで、構造化データ取得部42~sEM生成部47により、EMのpd要素の内容に基づいてsEM定義ファイルfが特定され、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データが取得され、EMのpd要素の内容が構造化データに差し替えられsEMが生成される。 Here, the structured data acquisition unit 42 to the sEM generation unit 47 specify the sEM definition file f based on the contents of the EM pd element, and the structured data based on the contents of the EM pd element and the sEM definition file f. Is acquired, the contents of the pd element of EM are replaced with structured data, and sEM is generated.

一方、sEM判定部41は、sEM変換識別子a1が「false」であり、sEM変換可能でないと判定した場合(ステップS804:N)、変換不可をsEM生成部47に出力する。sEM生成部47は、sEM判定部41から変換不可を入力すると、EM抽出部40から入力したEMをそのまま放送通信連携部29に出力する(ステップS807)。 On the other hand, when the sEM determination unit 41 determines that the sEM conversion identifier a1 is "false" and the sEM conversion is not possible (step S804: N), the sEM determination unit 41 outputs the non-conversion to the sEM generation unit 47. When the sEM generation unit 47 inputs that conversion is not possible from the sEM determination unit 41, the sEM generation unit 47 outputs the EM input from the EM extraction unit 40 to the broadcast communication cooperation unit 29 as it is (step S807).

尚、sEM判定部41は、ステップS802、S803において、EMのpd要素にsEM変換識別子a1が含まれていない場合も、sEM変換可能でないと判定し、変換不可をsEM生成部47に出力する。sEM変換可能でないと判定されたEMには、従来と同様に、単純な文字列からなるメッセージが記述されている。 In steps S802 and S803, the sEM determination unit 41 determines that the sEM conversion is not possible even if the pd element of the EM does not include the sEM conversion identifier a1, and outputs that conversion is not possible to the sEM generation unit 47. In the EM determined not to be sEM convertible, a message consisting of a simple character string is described as in the conventional case.

(sEM生成処理)
次に、図8のステップS805のsEM生成処理について詳細に説明する。図9は、sEM生成処理例(ステップS805)の詳細を示すフローチャートである。図9に示す処理は、構造化データ取得部42~sEM生成部47により行われる。
(SEM generation process)
Next, the sEM generation process in step S805 of FIG. 8 will be described in detail. FIG. 9 is a flowchart showing the details of the sEM generation processing example (step S805). The processing shown in FIG. 9 is performed by the structured data acquisition unit 42 to the sEM generation unit 47.

構造化データ取得部42は、sEM判定部41によりsEM変換可能であると判定された場合に、EMのpd要素の内容に基づいてsEM定義ファイルfを取得し、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データを取得する。 When the sEM determination unit 41 determines that the sEM conversion is possible, the structured data acquisition unit 42 acquires the sEM definition file f based on the contents of the EM pd element, and acquires the sEM definition file f, and the contents of the EM pd element and sEM. The structured data is acquired based on the definition file f.

外部リソース取得部43は、sEMサーバ4との間の通信により必要なリソースを取得する機能を有し、sEMサーバ4からsEM定義ファイルfを取得する。 The external resource acquisition unit 43 has a function of acquiring necessary resources by communication with the sEM server 4, and acquires the sEM definition file f from the sEM server 4.

記憶管理部44は、キャッシュ部45及び記憶部46を管理する。具体的には、記憶管理部44は、構造化データの取得に必要なリソースであるsEM定義ファイルfを、外部リソース取得部43を介してsEMサーバ4から取得し、記憶部46に保存する。また、記憶管理部44は、記憶部46からsEM定義ファイルfを読み出し、キャッシュ部45に保存する。さらに、記憶管理部44は、記憶部46に保存されたデータのうち、不要になったものを探索して削除する。 The storage management unit 44 manages the cache unit 45 and the storage unit 46. Specifically, the storage management unit 44 acquires the sEM definition file f, which is a resource necessary for acquiring structured data, from the sEM server 4 via the external resource acquisition unit 43, and stores it in the storage unit 46. Further, the storage management unit 44 reads the sEM definition file f from the storage unit 46 and stores it in the cache unit 45. Further, the storage management unit 44 searches for and deletes unnecessary data among the data stored in the storage unit 46.

記憶部46及びキャッシュ部45は、リソースであるsEM定義ファイルfを保持する。 The storage unit 46 and the cache unit 45 hold the sEM definition file f, which is a resource.

図7及び図9を参照して、構造化データ取得部42は、sEM判定部41からEMを入力し、EMのpd要素に含まれるsEM定義ファイルfの取得先a2に基づいて、その取得先が外部であるかまたは内部であるかを判定する(ステップS901)。 With reference to FIGS. 7 and 9, the structured data acquisition unit 42 inputs an EM from the sEM determination unit 41, and based on the acquisition destination a2 of the sEM definition file f included in the pd element of the EM, the acquisition destination a2. Is external or internal (step S901).

構造化データ取得部42は、sEM定義ファイルfの取得先a2が「external」であり、取得先が外部であると判定した場合(ステップS902:外部)、外部リソース取得部43を介してsEMサーバ4からsEM定義ファイルfを取得する(ステップS903)。そして、構造化データ取得部42は、ステップS911へ移行する。 When the structured data acquisition unit 42 determines that the acquisition destination a2 of the sEM definition file f is "external" and the acquisition destination is external (step S902: external), the sEM server via the external resource acquisition unit 43. Acquire the sEM definition file f from 4 (step S903). Then, the structured data acquisition unit 42 shifts to step S911.

具体的には、構造化データ取得部42は、EMのpd要素に含まれるsEM定義ファイルfの取得先URLa4を外部リソース取得部43に出力する。外部リソース取得部43は、構造化データ取得部42からsEM定義ファイルfの取得先URLa4を入力し、httpGETリクエスト要求を取得先URLa4の示すsEMサーバ4へ送信し、sEMサーバ4からsEM定義ファイルfを取得する。そして、外部リソース取得部43は、sEM定義ファイルfを構造化データ取得部42に出力する。 Specifically, the structured data acquisition unit 42 outputs the acquisition destination URL a4 of the sEM definition file f included in the pd element of the EM to the external resource acquisition unit 43. The external resource acquisition unit 43 inputs the acquisition destination URL a4 of the sEM definition file f from the structured data acquisition unit 42, sends an httpGET request request to the sEM server 4 indicated by the acquisition destination URL a4, and the sEM server 4 sends the sEM definition file f. To get. Then, the external resource acquisition unit 43 outputs the sEM definition file f to the structured data acquisition unit 42.

一方、構造化データ取得部42は、ステップS902において、sEM定義ファイルfの取得先a2が「internal」であり、取得先が内部であると判定した場合(ステップS902:内部)、sEM定義ファイルfの保存先を判定する(ステップS904)。sEM定義ファイルfの保存先は、基本的にはキャッシュ部45または記憶部46であるが、キャッシュ部45及び記憶部46のいずれにも保存されていない場合は、sEMサーバ4から取得する。 On the other hand, when the structured data acquisition unit 42 determines in step S902 that the acquisition destination a2 of the sEM definition file f is "internal" and the acquisition destination is internal (step S902: internal), the sEM definition file f. (Step S904). The storage destination of the sEM definition file f is basically the cache unit 45 or the storage unit 46, but if it is not stored in either the cache unit 45 or the storage unit 46, it is acquired from the sEM server 4.

具体的には、構造化データ取得部42は、EMのpd要素に含まれるsEM定義ファイルfの名称a3及び取得先URLa4を記憶管理部44に出力する。記憶管理部44は、構造化データ取得部42からsEM定義ファイルfの名称a3及び取得先URLa4を入力する。 Specifically, the structured data acquisition unit 42 outputs the name a3 of the sEM definition file f and the acquisition destination URL a4 included in the pd element of the EM to the storage management unit 44. The storage management unit 44 inputs the name a3 of the sEM definition file f and the acquisition destination URL a4 from the structured data acquisition unit 42.

記憶管理部44は、sEM定義ファイルfの名称a3と、キャッシュ部45に保存されているファイルの名称とを比較し、sEM定義ファイルfがキャッシュ部45に保存されているか否かを判定する(ステップS905)。 The storage management unit 44 compares the name a3 of the sEM definition file f with the name of the file stored in the cache unit 45, and determines whether or not the sEM definition file f is stored in the cache unit 45 (. Step S905).

記憶管理部44は、ファイルの名称が一致し、sEM定義ファイルfがキャッシュ部45に保存されていると判定した場合(ステップS905:Y)、sEM定義ファイルfの保存先はキャッシュ部45であると判断し、ステップS909へ移行する。 When the storage management unit 44 determines that the file names match and the sEM definition file f is stored in the cache unit 45 (step S905: Y), the storage destination of the sEM definition file f is the cache unit 45. It is determined that the process proceeds to step S909.

一方、記憶管理部44は、ファイルの名称が一致せず、sEM定義ファイルfがキャッシュ部45に保存されていないと判定した場合(ステップS905:N)、ステップS906へ移行する。そして、記憶管理部44は、sEM定義ファイルfの名称a3と、記憶部46に保存されているファイルの名称とを比較し、sEM定義ファイルfが記憶部46に保存されているか否かを判定する(ステップS906)。 On the other hand, when the storage management unit 44 determines that the file names do not match and the sEM definition file f is not stored in the cache unit 45 (step S905: N), the storage management unit 44 proceeds to step S906. Then, the storage management unit 44 compares the name a3 of the sEM definition file f with the name of the file stored in the storage unit 46, and determines whether or not the sEM definition file f is stored in the storage unit 46. (Step S906).

記憶管理部44は、ファイルの名称が一致し、sEM定義ファイルfが記憶部46に保存されていると判定した場合(ステップS906:Y)、sEM定義ファイルfの保存先は記憶部46であると判断し、ステップS908へ移行する。 When the storage management unit 44 determines that the file names match and the sEM definition file f is stored in the storage unit 46 (step S906: Y), the storage destination of the sEM definition file f is the storage unit 46. It is determined that the process proceeds to step S908.

一方、記憶管理部44は、ファイルの名称が一致せず、sEM定義ファイルfが記憶部46に保存されていないと判定した場合(ステップS906:N)、sEM定義ファイルfがキャッシュ部45及び記憶部46のいずれにも保存されていないと判断する。そして、記憶管理部44は、外部リソース取得部43を介して、sEMサーバ4からsEM定義ファイルfを取得する。記憶管理部44は、sEM定義ファイルfを、sEM定義ファイルfの名称a3にて、またはユーザにより設定された所定の名称にて記憶部46に保存し(ステップS907)、ステップS908へ移行する。 On the other hand, when the storage management unit 44 determines that the file names do not match and the sEM definition file f is not stored in the storage unit 46 (step S906: N), the sEM definition file f is stored in the cache unit 45 and the storage unit f. It is determined that the file is not stored in any of the parts 46. Then, the storage management unit 44 acquires the sEM definition file f from the sEM server 4 via the external resource acquisition unit 43. The storage management unit 44 stores the sEM definition file f in the storage unit 46 under the name a3 of the sEM definition file f or a predetermined name set by the user (step S907), and proceeds to step S908.

具体的には、記憶管理部44は、ステップS903と同様に、sEM定義ファイルfの取得先URLa4を外部リソース取得部43に出力する。外部リソース取得部43は、httpGETリクエスト要求を取得先URLa4の示すsEMサーバ4へ送信し、sEMサーバ4からsEM定義ファイルfを取得し、sEM定義ファイルfを記憶管理部44に出力する。 Specifically, the storage management unit 44 outputs the acquisition destination URL a4 of the sEM definition file f to the external resource acquisition unit 43 in the same manner as in step S903. The external resource acquisition unit 43 sends an httpGET request request to the sEM server 4 indicated by the acquisition destination URLa4, acquires the sEM definition file f from the sEM server 4, and outputs the sEM definition file f to the storage management unit 44.

記憶管理部44は、ステップS906(Y)またはステップS907から移行して、記憶部46からsEM定義ファイルfを読み出し、sEM定義ファイルfをキャッシュ部45に保存し(ステップS908)、ステップS909へ移行する。 The storage management unit 44 proceeds from step S906 (Y) or step S907, reads the sEM definition file f from the storage unit 46, saves the sEM definition file f in the cache unit 45 (step S908), and proceeds to step S909. do.

記憶管理部44は、ステップS905(Y)またはステップS908から移行して、完了通知を構造化データ取得部42に出力する(ステップS909)。つまり、記憶管理部44は、sEM定義ファイルfがキャッシュ部45に保存されていると判定した場合、または、sEM定義ファイルfが記憶部46に保存されていると判定し、記憶部46からキャッシュ部45へコピーした場合、または、sEM定義ファイルfがキャッシュ部45及び記憶部46のいずれにも保存されておらず、sEMサーバ4から取得してキャッシュ部45及び記憶部46に保存した場合、完了通知を行う。 The storage management unit 44 shifts from step S905 (Y) or step S908 and outputs a completion notification to the structured data acquisition unit 42 (step S909). That is, the storage management unit 44 determines that the sEM definition file f is stored in the cache unit 45, or determines that the sEM definition file f is stored in the storage unit 46, and caches the sEM definition file f from the storage unit 46. When copying to the unit 45, or when the sEM definition file f is not stored in either the cache unit 45 or the storage unit 46 and is acquired from the sEM server 4 and stored in the cache unit 45 and the storage unit 46. Notify the completion.

構造化データ取得部42は、記憶管理部44から完了通知を入力すると、キャッシュ部45からsEM定義ファイルfを読み出す(ステップS910)。そして、構造化データ取得部42は、ステップS903またはステップS910から移行して、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データを取得し(ステップS911)、構造化データをsEM生成部47に出力する。 When the structured data acquisition unit 42 inputs the completion notification from the storage management unit 44, the structured data acquisition unit 42 reads the sEM definition file f from the cache unit 45 (step S910). Then, the structured data acquisition unit 42 shifts from step S903 or step S910 to acquire structured data based on the contents of the pd element of EM and the sEM definition file f (step S911), and sEM the structured data. Output to the generation unit 47.

例えば構造化データ取得部42は、ステップS911において、sEM定義ファイルfに定義された関数b2を、EMのpd要素に含まれるインデックスa5を引数として実行し、sEM定義ファイルfに定義された各種データを用いて構造化データを取得する。sEM定義ファイルfには、1以上の所定数の構造化データが定義されている場合もあるし、構造化データを生成するための変数等のデータが定義されている場合もある。詳細については、後述する図10~図15にて説明する。 For example, in step S911, the structured data acquisition unit 42 executes the function b2 defined in the sEM definition file f with the index a5 included in the pd element of the EM as an argument, and various data defined in the sEM definition file f. Get structured data using. In the sEM definition file f, a predetermined number of structured data of 1 or more may be defined, or data such as variables for generating the structured data may be defined. Details will be described with reference to FIGS. 10 to 15 described later.

sEM生成部47は、構造化データ取得部42から構造化データを入力し、EM抽出部40から入力したEMのpd要素を構造化データに差し替え、EMをsEMに変換することで、sEMを生成する(ステップS912)。 The sEM generation unit 47 inputs structured data from the structured data acquisition unit 42, replaces the pd element of the EM input from the EM extraction unit 40 with the structured data, and converts the EM into the sEM to generate the sEM. (Step S912).

尚、構造化データ取得部42は、構造化データの取得に失敗した場合には、取得失敗をsEM生成部47に出力する。具体的には、構造化データ取得部42は、sEM定義ファイルfの取得先URLa4を外部リソース取得部43に出力してから所定時間経過してもsEM定義ファイルfを入力しない場合、sEM定義ファイルfの名称a3及び取得先URLa4を記憶管理部44に出力してから所定時間経過しても完了通知を入力しない場合、または、sEM定義ファイルfの読み出しのリクエストをキャッシュ部45に出力してから所定時間経過しても読み出しができなかった場合、構造化データの取得に失敗したと判断する。 If the structured data acquisition unit 42 fails to acquire the structured data, the structured data acquisition unit 42 outputs the acquisition failure to the sEM generation unit 47. Specifically, when the structured data acquisition unit 42 does not input the sEM definition file f even after a predetermined time has elapsed after outputting the acquisition destination URL a4 of the sEM definition file f to the external resource acquisition unit 43, the sEM definition file If the completion notification is not input even after a predetermined time has elapsed since the name a3 and the acquisition destination URL a4 of f are output to the storage management unit 44, or after the request for reading the sEM definition file f is output to the cache unit 45. If the reading cannot be performed even after the lapse of a predetermined time, it is determined that the acquisition of the structured data has failed.

そして、構造化データ取得部42は、処理の中止通知を外部リソース取得部43、記憶管理部44及びキャッシュ部45にそれぞれ出力し、取得失敗をsEM生成部47に出力する。 Then, the structured data acquisition unit 42 outputs the processing stop notification to the external resource acquisition unit 43, the storage management unit 44, and the cache unit 45, respectively, and outputs the acquisition failure to the sEM generation unit 47.

sEM生成部47は、構造化データ取得部42から取得失敗を入力すると、EM抽出部40から入力したEMをそのまま放送通信連携部29に出力する。 When the sEM generation unit 47 inputs an acquisition failure from the structured data acquisition unit 42, the sEM generation unit 47 outputs the EM input from the EM extraction unit 40 to the broadcast communication cooperation unit 29 as it is.

このように、EM/sEM変換機能部26により、EMのpd要素の内容に基づいてEMをsEMに変換可能であるか否かが判定され、sEMに変換可能である場合、sEM定義ファイルfをsEMサーバ4、キャッシュ部45または記憶部46から取得し、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データが取得される。そして、構造化データを含むsEMが生成される。 In this way, the EM / sEM conversion function unit 26 determines whether or not the EM can be converted to the sEM based on the contents of the pd element of the EM, and if the EM can be converted to the sEM, the sEM definition file f is displayed. It is acquired from the sEM server 4, the cache unit 45 or the storage unit 46, and the structured data is acquired based on the contents of the pd element of the EM and the sEM definition file f. Then, an sEM containing structured data is generated.

これにより、構造化データを含むsEMが連携端末3へ送信されることで、連携端末3は、構造化データに基づいてEMの内容を解釈することができ、コンテンツの内容と連動したサービスを実現することができる。 As a result, the sEM including the structured data is transmitted to the linked terminal 3, so that the linked terminal 3 can interpret the contents of the EM based on the structured data, and realizes a service linked with the contents of the contents. can do.

〔EM及びsEM定義ファイルfの記述例〕
次に、EM及びsEM定義ファイルfの記述例について具体的に説明する。前述のとおり、sEM定義ファイルfは、構造化データを取得するために必要な情報であり、EMをsEMに変換する際の規則が定義されている。
[Description example of EM and sEM definition file f]
Next, a description example of the EM and the sEM definition file f will be specifically described. As described above, the sEM definition file f is information necessary for acquiring structured data, and rules for converting EM to sEM are defined.

EMの送信者及びsEM定義ファイルfの記述者が同一であれば、EM及びsEM定義ファイルfに記述する内容は、いくつかの必須項目を除けば、ユースケース毎に自由に決めてもよい。以下、ユースケース毎の典型的なEM及びsEM定義ファイルfの記述例を3つ挙げて説明する。 If the sender of the EM and the writer of the sEM definition file f are the same, the contents described in the EM and the sEM definition file f may be freely determined for each use case except for some essential items. Hereinafter, three typical description examples of the EM and sEM definition files f for each use case will be described.

(第1記述例)
第1記述例は、番組中に送信するメッセージのフォーマットが予め決定されているケースである。例えば、収録番組またはシナリオに沿って進行する生放送番組が該当する。第1記述例では、番組のどのシーンでどの様なメッセージを送信すべきかを事前に決定することができるので、sEM定義ファイルfに、予め複数の構造化データを配列として記述しておく。
(First description example)
The first description example is a case where the format of the message to be transmitted during the program is predetermined. For example, a recorded program or a live broadcast program that progresses according to a scenario. In the first description example, since it is possible to determine in advance what kind of message should be transmitted in which scene of the program, a plurality of structured data are described in advance as an array in the sEM definition file f.

コンテンツ受信装置2は、sEMが発火するタイミングよりも前に、sEM定義ファイルfをキャッシュ部45に保存しておく。そして、EMは、sEMの発火のタイミングを示すと共に、構造化データの配列の中で必要な構造化データのインデックスを示すために用いられる。 The content receiving device 2 saves the sEM definition file f in the cache unit 45 before the timing when the sEM fires. The EM is then used to indicate the timing of firing the sEM and to indicate the index of the required structured data in the structured data array.

図10は、EMの第1記述例を示す図である。このEMのpd要素には、sEM変換識別子a1、sEM定義ファイルfの取得先a2、sEM定義ファイルfの名称a3、sEM定義ファイルfの取得先URLa4及びインデックスa5が記述されている。 FIG. 10 is a diagram showing a first description example of EM. In the pd element of this EM, the sEM conversion identifier a1, the acquisition destination a2 of the sEM definition file f, the name a3 of the sEM definition file f, the acquisition destination URL a4 of the sEM definition file f, and the index a5 are described.

sEM変換識別子a1である「“is_transposable”:true」は、当該EMがsEMに変換可能であることを示している。 The sEM conversion identifier a1 "" is_transposable ": true" indicates that the EM can be converted into an sEM.

sEM定義ファイルfの取得先a2である「“sEM_source_type”:“internal”」は、当該EMに関わるsEM定義ファイルfがコンテンツ受信装置2の内部(キャッシュ部45または記憶部46)に保存されている可能性があることを示している。また、内部に保存されていなければ、コンテンツ受信装置2がsEMサーバ4からsEM定義ファイルfを取得した後、これを内部に保存すべきであることを示している。 In "" sEM_source_type ":" internal "", which is the acquisition destination a2 of the sEM definition file f, the sEM definition file f related to the EM is stored inside the content receiving device 2 (cache unit 45 or storage unit 46). Indicates that there is a possibility. Further, if it is not stored internally, it indicates that the content receiving device 2 should store the sEM definition file f internally after acquiring the sEM definition file f from the sEM server 4.

sEM定義ファイルfの名称a3である「“sEM_source_file_name:“program_1”」は、sEM定義ファイルfの存在を確認する際、またはsEM定義ファイルfを記憶部46に保存する際に使用するファイル名を示している。例えば記憶管理部44は、キャッシュ部45または記憶部46に保存されているファイルがどのsEM定義ファイルfであるかを確認する際に、この名称を使用する。 The “sEM_source_file_name:“ program_1 ””, which is the name a3 of the sEM definition file f, indicates a file name used when confirming the existence of the sEM definition file f or when saving the sEM definition file f in the storage unit 46. ing. For example, the storage management unit 44 uses this name when confirming which sEM definition file f the file stored in the cache unit 45 or the storage unit 46 is.

sEM定義ファイルfの取得先URLa4である「“sEM_source_url”:http://・・・”」は、sEMサーバ4のURLを示している。記憶管理部44は、sEM定義ファイルfがキャッシュ部45及び記憶部46に保存されていない場合、外部リソース取得部43を介してsEMサーバ4からsEM定義ファイルfを取得する。 ““ SEM_source_url ”: http: // ...”, which is the acquisition destination URL a4 of the sEM definition file f, indicates the URL of the sEM server 4. When the sEM definition file f is not stored in the cache unit 45 and the storage unit 46, the storage management unit 44 acquires the sEM definition file f from the sEM server 4 via the external resource acquisition unit 43.

インデックスa5である「“index”:1」は、sEM定義ファイルfに定義されている構造化データの配列のうち、どの構造化データを取得するかを指定する引数(1つの構造化データを選択するための引数)を示している。この例では、1番目の構造化データを取得することを示している。 The index a5 "" index ": 1" is an argument (select one structured data) that specifies which structured data to acquire from the structured data array defined in the sEM definition file f. Arguments to do) are shown. In this example, it is shown that the first structured data is acquired.

図11は、sEM定義ファイルfの第1記述例を示す図である。このsEM定義ファイルfには、構造化データの配列b1、関数b2及び生存期間b3等が定義されている。 FIG. 11 is a diagram showing a first description example of the sEM definition file f. In this sEM definition file f, an array b1, a function b2, a survival time b3, and the like of structured data are defined.

「var file_status」は、当該sEM定義ファイルfに関わる一般的な情報を示している。「“program id”:・・・」は、当該sEM定義ファイルfがどの番組に関わるものかを示す識別子を示している。 “Var file_status” indicates general information related to the sEM definition file f. ““ Program id ”: ...” indicates an identifier indicating which program the sEM definition file f is related to.

生存期間b3である「“expiration date”:・・・」は、当該sEM定義ファイルfの生存期間を示している。記憶管理部44は、定期的に記憶部46に保存されたsEM定義ファイルfを整理する機能を有する。記憶管理部44は、記憶部46に保存されたsEM定義ファイルfに定義された生存期間b3に従い、生存期間b3が現在時刻よりも前である場合、当該sEM定義ファイルfを削除する。 The “expiration date”: ... ”, which is the survival period b3, indicates the survival period of the sEM definition file f. The storage management unit 44 has a function of periodically organizing the sEM definition file f stored in the storage unit 46. The storage management unit 44 deletes the sEM definition file f when the survival period b3 is earlier than the current time according to the survival period b3 defined in the sEM definition file f stored in the storage unit 46.

また、構造化データの配列b1である「var data_set」には、2つの構造化データが構造化データの配列として定義されている。ここでは、配列の各要素は、1つのイベント時に発火するsEMの構造化データであることを示している。 Further, in "var data_set" which is an array b1 of structured data, two structured data are defined as an array of structured data. Here, each element of the array is shown to be structured data of the sEM that fires at one event.

関数b2である「get_data=function(EM)・・・」は、EMのpd要素に記述されたインデックスa5の値により、構造化データの配列の要素を指定する関数を示している。 The function b2 "get_data = function (EM) ..." indicates a function that specifies an element of an array of structured data by the value of the index a5 described in the pd element of EM.

図10及び図11に示した第1記述例において、構造化データ取得部42は、sEM定義ファイルfに定義された関数b2を、EMのpd要素に記述されたインデックスa5を引数として実行することで、構造化データの配列からインデックスa5の示す構造化データを取得する。 In the first description example shown in FIGS. 10 and 11, the structured data acquisition unit 42 executes the function b2 defined in the sEM definition file f with the index a5 described in the pd element of the EM as an argument. Then, the structured data indicated by the index a5 is acquired from the structured data array.

(第2記述例)
第2記述例は、番組中に送信するメッセージのフォーマットが決定されているが、変数の差し替えが必要なケースである。例えば、サッカーの試合中継が該当する。サッカーの試合中に発生するイベント(ファール、PK、ゴール等)は、ある程度限定されているので、事前にこれを決定することができる。
(Second description example)
The second description example is a case where the format of the message to be transmitted during the program is determined, but the variables need to be replaced. For example, a soccer match broadcast is applicable. Events (fouls, PKs, goals, etc.) that occur during a soccer match are limited to some extent and can be determined in advance.

しかし、そのイベントに関わる要素(ゴールを決めた選手、アシストした選手、その所属チーム、発生時間等)は、事前に決定することができない。そこで、第2記述例では、sEM定義ファイルfに、フォーマットの情報と、フォーマットの変数部に代入され得る値の情報を記述しておく。また、EMは、イベントの発火のタイミングと、イベントに関わる変数を指定するための情報を通知するために用いられる。 However, the factors related to the event (players who scored goals, assisted players, their teams, time of occurrence, etc.) cannot be determined in advance. Therefore, in the second description example, the format information and the value information that can be assigned to the variable part of the format are described in the sEM definition file f. The EM is also used to notify the firing timing of the event and information for specifying variables related to the event.

図12は、EMの第2記述例を示す図である。このEMのpd要素には、sEM変換識別子a1、sEM定義ファイルfの取得先a2、sEM定義ファイルfの名称a3、sEM定義ファイルfの取得先URLa4、インデックスa5及びその他の情報a6が記述されている。 FIG. 12 is a diagram showing a second description example of EM. In the pd element of this EM, the sEM conversion identifier a1, the acquisition destination a2 of the sEM definition file f, the name a3 of the sEM definition file f, the acquisition destination URL a4 of the sEM definition file f, the index a5, and other information a6 are described. There is.

sEM変換識別子a1である「“is_transposable”:true」は、当該EMがsEMに変換可能であることを示している。 The sEM conversion identifier a1 "" is_transposable ": true" indicates that the EM can be converted into an sEM.

sEM定義ファイルfの取得先a2である「“sEM_source_type”:“internal”」は、当該EMに関わるsEM定義ファイルfがコンテンツ受信装置2の内部に保存されている可能性があることを示している。 ““ SEM_source_type ”:“ internal ””, which is the acquisition destination a2 of the sEM definition file f, indicates that the sEM definition file f related to the EM may be stored inside the content receiving device 2. ..

sEM定義ファイルfの名称a3である「“sEM_source_file_name:“program_1”」は、sEM定義ファイルfの存在を確認する際、またはsEM定義ファイルfを記憶部46に保存する際に使用するファイル名を示している。 The “sEM_source_file_name:“ program_1 ””, which is the name a3 of the sEM definition file f, indicates a file name used when confirming the existence of the sEM definition file f or when saving the sEM definition file f in the storage unit 46. ing.

sEM定義ファイルfの取得先URLa4である「“sEM_source_url”:http://・・・”」は、sEMサーバ4のURLを示している。 ““ SEM_source_url ”: http: // ...”, which is the acquisition destination URL a4 of the sEM definition file f, indicates the URL of the sEM server 4.

インデックスa5である「“index”:[1,1,1,1]」は、sEM定義ファイルfに定義されている複数の変数のそれぞれについて、どの要素を取得するかを指定する引数の配列を示している。この例では、4つの変数について、それぞれ1番目の要素を取得することを示している。 The index a5 "" index ": [1,1,1,1]" is an array of arguments that specify which element is to be acquired for each of the plurality of variables defined in the sEM definition file f. Shows. In this example, it is shown that the first element is acquired for each of the four variables.

その他の情報a6である「“time:・・・”」は、イベントが発生した時刻を示している。 The other information a6, "" time: ... "", Indicates the time when the event occurred.

図13は、sEM定義ファイルfの第2記述例を示す図である。このsEM定義ファイルfには、関数b2、生存期間b3及びその他の情報b4等が定義されている。 FIG. 13 is a diagram showing a second description example of the sEM definition file f. In this sEM definition file f, a function b2, a survival time b3, other information b4, and the like are defined.

「var file_status」は、当該sEM定義ファイルfに関わる一般的な情報を示している。「“program id”:・・・」は、当該sEM定義ファイルfがどの番組に関わるものかを示す識別子を示している。生存期間b3である「“expiration date”:・・・」は、当該sEM定義ファイルfの生存期間を示している。 “Var file_status” indicates general information related to the sEM definition file f. ““ Program id ”: ...” indicates an identifier indicating which program the sEM definition file f is related to. The “expiration date”: ... ”, which is the survival period b3, indicates the survival period of the sEM definition file f.

関数b2である「get_data=function(EM)・・・」は、EMのpd要素に記述されたその他の情報a6である「“time:・・・”」からイベントが発生した時刻を指定すると共に、EMのpd要素に記述されたインデックスa5の値により、変数の配列の中から要素を指定する関数を示している。 The function b2 "get_data = function (EM) ..." specifies the time when the event occurred from the other information a6 "" time: ... "" described in the pd element of EM. , The function that specifies the element from the array of variables is shown by the value of the index a5 described in the pd element of EM.

その他の情報b4である「var event=・・・」等は、変数等を示している。変数「event」は、イベントの種類を示す配列となっている。この配列を構成する各要素には、試合中に起きるイベントの種類(“foul”(ファウル),“penalty_kick”(ペナルティキック),“goal”(ゴール))が定義されている。 Other information b4, such as "var event = ...", indicates a variable or the like. The variable "event" is an array indicating the type of event. Each element that makes up this array defines the types of events that occur during the match (“foul”, “penalty_kick”, “goal”).

同様に、変数「player_name」は、イベントに関わったプレイヤーの名前を示す配列となっており、変数「role」「belonging」は、それぞれそのプレイヤーがイベントにおいて果たした役割、そのプレイヤーが所属するチームを示す配列となっている。 Similarly, the variable "player_name" is an array showing the names of the players involved in the event, and the variables "role" and "belonging" indicate the role played by that player in the event and the team to which the player belongs, respectively. It is the arrangement shown.

EMの送信者は、予めそれぞれの変数の内容を把握している。そして、試合中に何らかのイベントが発生した際には、これらの変数の内容から構造化データを取得するため、インデックスa5の配列を含むEMが送信される。すなわち、インデックスa5には、4の変数に対して、それぞれどの要素(内容)を取得するかを指定する引数の配列が設定される。 The sender of the EM knows the contents of each variable in advance. Then, when some event occurs during the match, an EM including an array of index a5 is transmitted in order to acquire structured data from the contents of these variables. That is, the index a5 is set with an array of arguments that specify which element (content) to acquire for each of the four variables.

例えば、「チーム砧の砧太郎選手がファウルを取られた」というイベントが発生した場合、図12に示したとおり、引数の配列[1,1,1,1]が設定されたインデックスa5を含むEMが送信される。 For example, when the event "Team Kinuta's foul was taken" occurs, as shown in FIG. 12, the index a5 in which the argument array [1,1,1,1] is set is included. EM is sent.

引数の配列[1,1,1,1]のうち最初の「1」は、イベントの種類“foul”(ファウル)を示し、2番目の「1」は、プレイヤーの名前“kinuta taro”(砧太郎)を示す。また、3番目の「1」は、プレイヤーの役割“offender”(イベントであるファウルを取られた違反者)であることを示し、4番目の「1」は、プレイヤーのチーム“kinuta”(チーム砧)であることを示す。 The first "1" in the argument array [1,1,1,1] indicates the event type "foul", and the second "1" is the player's name "kinuta taro" (砧). Taro) is shown. Also, the third "1" indicates the player's role "offender" (the violator who was fouled as an event), and the fourth "1" is the player's team "kinuta" (team).砧) indicates that it is.

sEM定義ファイルfに記述された関数b2(get_data関数)は、EMのpd要素に記述されたその他の情報a6である「“time:・・・”」からイベントが発生した時刻を取得すると共に、インデックスa5の値により、4つの変数“event”,“player_name”,“role”,“belonging”の配列の中からそれぞれ1つの要素を指定し、各要素を取得することで、イベントが発生した時刻及び各要素からなる構造化データを生成する。 The function b2 (get_data function) described in the sEM definition file f acquires the time when the event occurred from "" time: ... "", which is other information a6 described in the pd element of the EM, and also obtains the time when the event occurred. By specifying one element from the array of four variables "event", "player_name", "role", and "belonging" according to the value of index a5 and acquiring each element, the time when the event occurred. And generate structured data consisting of each element.

図12及び図13に示した第2記述例において、構造化データ取得部42は、sEM定義ファイルfに定義された関数b2を、EMのpd要素に記述されたインデックスa5及びその他の情報a6を引数として実行することで、EMからイベントが発生した時刻を取得すると共に、sEM定義ファイルfに定義された変数の配列から要素を取得し、これらの要素を含む構造化データを生成する。 In the second description example shown in FIGS. 12 and 13, the structured data acquisition unit 42 uses the function b2 defined in the sEM definition file f as the index a5 and other information a6 described in the pd element of the EM. By executing it as an argument, the time when the event occurs is acquired from EM, the elements are acquired from the array of variables defined in the sEM definition file f, and the structured data including these elements is generated.

(第3記述例)
第3記述例は、番組中に送信するメッセージのフォーマットが決定されていないケースである。例えば、生放送の番組が該当する。生放送の番組では、事前にどのようなイベントが発生するかを予想できない場合がある。このケースでは、コンテンツ受信装置2は、EMを受信する毎に、sEMサーバ4からsEM定義ファイルfを取得する。
(Third description example)
The third description example is a case where the format of the message to be transmitted during the program is not determined. For example, a live program is applicable. In live programs, it may not be possible to predict in advance what kind of event will occur. In this case, the content receiving device 2 acquires the sEM definition file f from the sEM server 4 every time the EM is received.

図14は、EMの第3記述例を示す図である。このEMのpd要素には、sEM変換識別子a1、sEM定義ファイルfの取得先a2及びsEM定義ファイルfの取得先URLa4が記述されている。 FIG. 14 is a diagram showing a third description example of EM. In the pd element of this EM, the sEM conversion identifier a1, the acquisition destination a2 of the sEM definition file f, and the acquisition destination URL a4 of the sEM definition file f are described.

sEM変換識別子a1である「“is_transposable”:true」は、当該EMがsEMに変換可能であることを示している。 The sEM conversion identifier a1 "" is_transposable ": true" indicates that the EM can be converted into an sEM.

sEM定義ファイルfの取得先a2である「“sEM_source_type”:“external”」は、当該EMに関わるsEM定義ファイルfが外部のsEMサーバ4に保存されていることを示している。また、このsEM定義ファイルfは一時的なものであるため、コンテンツ受信装置2の記憶部46に保存する必要はないことを示している。 ““ SEM_source_type ”:“ external ””, which is the acquisition destination a2 of the sEM definition file f, indicates that the sEM definition file f related to the EM is stored in the external sEM server 4. Further, since this sEM definition file f is temporary, it is shown that it is not necessary to save it in the storage unit 46 of the content receiving device 2.

sEM定義ファイルfの取得先URLa4である「“sEM_source_url”:http://・・・”」は、sEMサーバ4のURLを示している。 ““ SEM_source_url ”: http: // ...”, which is the acquisition destination URL a4 of the sEM definition file f, indicates the URL of the sEM server 4.

図15は、sEM定義ファイルfの第3記述例を示す図である。このsEM定義ファイルfには、構造化データb1及び関数b2が定義されている。 FIG. 15 is a diagram showing a third description example of the sEM definition file f. Structured data b1 and function b2 are defined in this sEM definition file f.

構造化データb1である「var sEM=・・・」は、構造化データが配列ではなく1つのJSONオブジェクトであることを示している。 The structured data b1 "var sEM = ..." indicates that the structured data is not an array but a JSON object.

関数b2である「get_sEM=function()・・・」は、単に構造化データb1である「var sEM=・・・」を返す関数であることを示している。 The function b2 "get_sEM = function () ..." indicates that it is a function that simply returns the structured data b1 "var sEM = ...".

図14及び図15に示した第3記述例において、構造化データ取得部42は、sEM定義ファイルfに定義された関数b2を実行することで、sEM定義ファイルfに定義された構造化データを取得する。 In the third description example shown in FIGS. 14 and 15, the structured data acquisition unit 42 executes the function b2 defined in the sEM definition file f to obtain the structured data defined in the sEM definition file f. get.

以上のように、本発明の実施形態のコンテンツ受信装置2によれば、EM/sEM変換機能部26のEM抽出部40は、放送信号に含まれるデータからEMを抽出し、sEM判定部41は、EMのpd要素に含まれるsEM変換識別子a1に基づいて、EMをsEMに変換可能であるか否かを判定する。 As described above, according to the content receiving device 2 of the embodiment of the present invention, the EM extraction unit 40 of the EM / sEM conversion function unit 26 extracts the EM from the data included in the broadcast signal, and the sEM determination unit 41 , It is determined whether or not EM can be converted to sEM based on the sEM conversion identifier a1 included in the pd element of EM.

構造化データ取得部42は、EMをsEMに変換可能であると判定された場合、外部のsEMサーバ4から、または内部のキャッシュ部45若しくは記憶部46からsEM定義ファイルfを取得し、EMのpd要素の内容及びsEM定義ファイルfに基づいて構造化データを取得する。 When the structured data acquisition unit 42 determines that the EM can be converted to the sEM, the structured data acquisition unit 42 acquires the sEM definition file f from the external sEM server 4 or from the internal cache unit 45 or the storage unit 46, and obtains the sEM definition file f of the EM. Structured data is acquired based on the contents of the pd element and the sEM definition file f.

sEM生成部47は、EMをsEMに変換可能であると判定された場合、EMのpd要素の内容を構造化データに差し替え、sEMを生成して出力する。そして、sEMは、連携端末3へ送信される。 When it is determined that the EM can be converted into the sEM, the sEM generation unit 47 replaces the contents of the pd element of the EM with the structured data, generates the sEM, and outputs the sEM. Then, the sEM is transmitted to the cooperation terminal 3.

これにより、連携端末3はsEMを受信することで、sEMに含まれる構造化データに基づいて、メッセージの内容を解釈することができる。前述の例では、従来技術において、連携端末3は、「砧_小川_ゴール」というEMを受信しただけでは、その内容を解釈することができなかった。 As a result, the linked terminal 3 can interpret the content of the message based on the structured data included in the sEM by receiving the sEM. In the above example, in the prior art, the collaborative terminal 3 could not interpret the contents only by receiving the EM "Ku_Ogawa_Goal".

本発明の実施形態では、連携端末3は、「砧」「小川」「ゴール」のそれぞれが「行動主体が所属するチーム」「行動主体(人間)の名前」「行動」を表していることを示す構造化データを含むsEMを受信する。つまり、連携端末3は、sEMに含まれる構造化データに基づいて、その内容を解釈することができ、コンテンツの内容と連動したサービスを実現することができる。この場合、構造化データは予め決められているから、連携端末3のアプリケーションの開発者は、構造化データに基づいた開発を事前に行うことが可能となる。 In the embodiment of the present invention, in the linked terminal 3, each of "砧", "stream", and "goal" represents "the team to which the action subject belongs", "the name of the action subject (human)", and "action". Receive an sEM containing the structured data shown. That is, the linked terminal 3 can interpret the content based on the structured data included in the sEM, and can realize a service linked to the content of the content. In this case, since the structured data is predetermined, the developer of the application of the linked terminal 3 can perform the development based on the structured data in advance.

つまり、EMの内容を構造化データとすることにより、EMの送信者以外の第三者は、EMが表現する意味を解釈し、シーンの内容に応じた連携端末3向けのアプリケーションを開発することが可能となる。 In other words, by using the contents of the EM as structured data, a third party other than the sender of the EM interprets the meaning expressed by the EM and develops an application for the linked terminal 3 according to the contents of the scene. Is possible.

また、本発明の実施形態では、コンテンツ受信装置2が、EMのpd要素の内容を構造化データに差し替え、sEMを生成するようにした。これにより、地上デジタルテレビジョン放送運用規定にて制限されたEMのpd要素のデータ量(244バイト以内)の問題を解決することができる。つまり、放送送出装置1は、地上デジタルテレビジョン放送運用規定に従い、EMのpd要素のデータ量を244バイト以内として、EMを送信することができる。 Further, in the embodiment of the present invention, the content receiving device 2 replaces the content of the pd element of the EM with the structured data to generate the sEM. This can solve the problem of the amount of data (within 244 bytes) of the EM pd element limited by the terrestrial digital television broadcasting operation regulations. That is, the broadcast transmission device 1 can transmit the EM with the data amount of the pd element of the EM within 244 bytes in accordance with the terrestrial digital television broadcasting operation regulations.

したがって、コンテンツの内容と連動したサービスを実現する際に、連携端末がEMの内容を解釈できるように、EMの内容が反映された構造化データを生成することが可能となる。 Therefore, when realizing a service linked with the content of the content, it is possible to generate structured data reflecting the content of the EM so that the linked terminal can interpret the content of the EM.

また、本発明の実施形態では、コンテンツ受信装置2が、構造化データを取得するために必要なsEM定義ファイルfを、事前にキャッシュ部45または記憶部46に保存しておくようにした。これにより、コンテンツ受信装置2は、EMを受信する毎に、sEM定義ファイルfを取得するためにsEMサーバ4へアクセスする必要がない。したがって、sEMサーバ4への瞬間的なアクセスが集中することがないから、sEMサーバ4の負荷を低減することができる。 Further, in the embodiment of the present invention, the content receiving device 2 stores the sEM definition file f necessary for acquiring the structured data in the cache unit 45 or the storage unit 46 in advance. As a result, the content receiving device 2 does not need to access the sEM server 4 in order to acquire the sEM definition file f each time the EM is received. Therefore, since the momentary access to the sEM server 4 is not concentrated, the load on the sEM server 4 can be reduced.

〔全体システムの他の例〕
次に、コンテンツの内容と連動したサービスを実現する全体システムの他の例について説明する。図16は、本発明の実施形態によるコンテンツ受信装置を含む他の全体システムのサービス例の概要を説明する図である。
[Other examples of the entire system]
Next, another example of the whole system that realizes the service linked with the content will be described. FIG. 16 is a diagram illustrating an outline of a service example of another overall system including a content receiving device according to an embodiment of the present invention.

このシステムは、コンテンツ配信サーバ9、コンテンツ受信装置2’、連携端末3、sEMサーバ4、受信装置サービスサーバ5及び連携端末サービスサーバ6を備えている。コンテンツ受信装置2’と、コンテンツ配信サーバ9、sEMサーバ4及び受信装置サービスサーバ5とは、インターネット8を介して接続される。連携端末サービスサーバ6と連携端末3とは、図1と同様に、インターネット8を介して接続される。また、コンテンツ受信装置2’と連携端末3とは、図1と同様に、通信路7を介して接続される。 This system includes a content distribution server 9, a content receiving device 2', a linked terminal 3, an sEM server 4, a receiving device service server 5, and a linked terminal service server 6. The content receiving device 2'is connected to the content distribution server 9, the sEM server 4, and the receiving device service server 5 via the Internet 8. The linked terminal service server 6 and the linked terminal 3 are connected to each other via the Internet 8 as in FIG. 1. Further, the content receiving device 2'and the cooperation terminal 3 are connected to each other via the communication path 7 as in FIG.

図1に示したシステムと図16に示すシステムとを比較すると、両システムは、連携端末3、sEMサーバ4、受信装置サービスサーバ5及び連携端末サービスサーバ6を備えている点で共通する。一方、図16のシステムは、図1の放送送出装置1及びコンテンツ受信装置2の代わりにコンテンツ配信サーバ9及びコンテンツ受信装置2’を備え、コンテンツ受信装置2’及びコンテンツ配信サーバ9がインターネット8を介して接続される点で、図1に示したシステムと相違する。 Comparing the system shown in FIG. 1 with the system shown in FIG. 16, both systems are common in that they include a cooperation terminal 3, an sEM server 4, a receiving device service server 5, and a cooperation terminal service server 6. On the other hand, the system of FIG. 16 includes a content distribution server 9 and a content reception device 2'instead of the broadcast transmission device 1 and the content reception device 2 of FIG. 1, and the content reception device 2'and the content distribution server 9 connect to the Internet 8. It differs from the system shown in FIG. 1 in that it is connected via.

図16において、図1と共通する部分には図1と同一の符号を付し、その詳しい説明は省略する。 In FIG. 16, the parts common to FIG. 1 are designated by the same reference numerals as those in FIG. 1, and detailed description thereof will be omitted.

コンテンツ配信サーバ9は、動画等のコンテンツ(EMを含む)のパケットを、インターネット8を介してコンテンツ受信装置2’へ送信する。 The content distribution server 9 transmits a packet of content (including EM) such as a moving image to the content receiving device 2'via the Internet 8.

コンテンツ受信装置2’は、スマートフォン等の端末であり、コンテンツ配信サーバ9から送信されたパケットを受信し、図1に示したコンテンツ受信装置2と同様の処理を行い、sEMを連携端末3へ送信する。コンテンツ受信装置2’は、図6に示した構成において、放送受信部27の代わりに、パケットを受信する受信部を備える。 The content receiving device 2'is a terminal such as a smartphone, receives a packet transmitted from the content distribution server 9, performs the same processing as the content receiving device 2 shown in FIG. 1, and transmits an sEM to the linked terminal 3. do. In the configuration shown in FIG. 6, the content receiving device 2'provides a receiving unit for receiving a packet instead of the broadcast receiving unit 27.

尚、コンテンツ配信サーバ9は、動画等のコンテンツを送信する際に、MPEG-DASH方式またはHLS方式のプロトコルにて送信するようにしてもよい。MPEG-DASH方式の場合、EMに相当する機能として、EventStreamタグのEventメタデータを利用する。また、HLS方式の場合、EMに相当する機能として、TimedMetaDataのメタデータを利用する。 The content distribution server 9 may transmit the content such as a moving image by the MPEG-DASH method or the HLS method protocol. In the case of the MPEG-DASH method, the Event metadata of the EventStream tag is used as a function corresponding to EM. Further, in the case of the HLS method, the metadata of TimedMetaData is used as a function corresponding to EM.

以上のように、本発明の実施形態のコンテンツ受信装置2’によれば、図1に示したコンテンツ受信装置2と同様の効果を奏する。 As described above, according to the content receiving device 2'of the embodiment of the present invention, the same effect as that of the content receiving device 2 shown in FIG. 1 is obtained.

以上、実施形態を挙げて本発明を説明したが、本発明は前記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。前記実施形態では、コンテンツ受信装置2は、図4及び図6に示した各構成部を備えるようにしたが、コンテンツ受信装置2の構成は、これに限るものではない。例えば、コンテンツ受信装置2は、図4に示したとおり、EM/sEM変換機能部26をレジデント22に備えるようにしたが、EM/sEM変換機能部26をアプリケーションとして実装するようにしてもよい。 Although the present invention has been described above with reference to embodiments, the present invention is not limited to the above-described embodiment and can be variously modified without departing from the technical idea. In the above-described embodiment, the content receiving device 2 is provided with the respective components shown in FIGS. 4 and 6, but the configuration of the content receiving device 2 is not limited to this. For example, as shown in FIG. 4, the content receiving device 2 is provided with the EM / sEM conversion function unit 26 in the resident 22, but the EM / sEM conversion function unit 26 may be implemented as an application.

また、コンテンツ受信装置2において、レジデント22に備えたEM/sEM変換機能部26が、EMのpd要素の内容を構造化データに差し替えることでsEMを生成し、これをブラウザへ渡すようにした。これに対し、コンテンツ受信装置2は、EM/sEM変換機能部26をブラウザとして実装し、当該ブラウザが、EMからpd要素を取得し、これに対応する構造化データを取得し、EMのpd要素の内容を構造化データに差し替えることでsEMを生成するようにしてもよい。 Further, in the content receiving device 2, the EM / sEM conversion function unit 26 provided in the resident 22 generates an sEM by replacing the content of the pd element of the EM with structured data, and passes the sEM to the browser. On the other hand, the content receiving device 2 implements the EM / sEM conversion function unit 26 as a browser, and the browser acquires the pd element from the EM, acquires the structured data corresponding to the pd element, and acquires the pd element of the EM. The sEM may be generated by replacing the contents of the above with structured data.

また、EM及びsEM定義ファイルfは、図10~図15に示した記述例1~3に限定されるものではない。例えば、構造化データのデータ量が小さい場合(244バイト以内の場合)、またはEMのデータ量に制限がない場合、構造化データは、EM内に直接記述されるようにしてもよい。 Further, the EM and the sEM definition files f are not limited to the description examples 1 to 3 shown in FIGS. 10 to 15. For example, if the amount of structured data is small (within 244 bytes), or if there is no limit to the amount of EM data, the structured data may be written directly in the EM.

尚、本発明の実施形態によるコンテンツ受信装置2のハードウェア構成としては、通常のコンピュータを使用することができる。コンテンツ受信装置2は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、及びインターフェース等を備えたコンピュータによって構成される。 As the hardware configuration of the content receiving device 2 according to the embodiment of the present invention, a normal computer can be used. The content receiving device 2 is composed of a computer provided with a volatile storage medium such as a CPU and RAM, a non-volatile storage medium such as a ROM, and an interface.

コンテンツ受信装置2に備えたレジデント22’(EM/sEM変換機能部26、放送受信部27、分離部28、放送通信連携部29及び端末連携部32)、アプリ実行部30及びHTMLアプリケーション31の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。 Resident 22'(EM / sEM conversion function unit 26, broadcast reception unit 27, separation unit 28, broadcast communication cooperation unit 29 and terminal cooperation unit 32), application execution unit 30 and HTML application 31 provided in the content receiving device 2. The functions are realized by causing the CPU to execute a program describing these functions.

これらのプログラムは、前記記憶媒体に格納されており、CPUに読み出されて実行される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもでき、ネットワークを介して送受信することもできる。 These programs are stored in the storage medium, read by the CPU, and executed. In addition, these programs can be stored and distributed in storage media such as magnetic disks (floppy (registered trademark) disks, hard disks, etc.), optical disks (CD-ROM, DVD, etc.), semiconductor memories, etc., and can be distributed via a network. You can also send and receive.

1 放送送出装置
2,2’ コンテンツ受信装置
3 連携端末
4 sEMサーバ
5 受信装置サービスサーバ
6 連携端末サービスサーバ
7 通信路
8 インターネット
9 コンテンツ配信サーバ
20,50 ハードウェア
21,51 OS
22,22’ レジデント
23 アプリ実行機能部
24 受信機機能部
25 端末連携機能部
26 EM/sEM変換機能部
27 放送受信部
28 分離部
29 放送通信連携部
30 アプリ実行部
31 HTMLアプリケーション
32 端末連携部
40 EM抽出部
41 sEM判定部
42 構造化データ取得部
43 外部リソース取得部
44 記憶管理部
45 キャッシュ部
46 記憶部
47 sEM生成部
52 ネイティブアプリ実行機能部
53 連携アプリ
1 Broadcast transmission device 2, 2'Content reception device 3 Linked terminal 4 sEM server 5 Receiver service server 6 Linked terminal service server 7 Communication path 8 Internet 9 Content distribution server 20, 50 Hardware 21, 51 OS
22, 22'Resident 23 Application execution function unit 24 Receiver function unit 25 Terminal cooperation function unit 26 EM / sEM conversion function unit 27 Broadcast reception unit 28 Separation unit 29 Broadcast communication cooperation unit 30 Application execution unit 31 HTML application 32 Terminal cooperation unit 40 EM extraction unit 41 sEM judgment unit 42 Structured data acquisition unit 43 External resource acquisition unit 44 Storage management unit 45 Cache unit 46 Storage unit 47 sEM generation unit 52 Native application execution function unit 53 Linked application

Claims (8)

放送または通信によりコンテンツの信号を受信し、当該コンテンツの内容と連動したサービスを実現するためのメッセージを端末へ送信するコンテンツ受信装置において、
前記コンテンツの信号に含まれるEM(イベントメッセージ)に基づいて、定義ファイルを取得し、前記EM及び前記定義ファイルに基づいて、構造化データを取得し、当該構造化データを含むsEM(セマンティック・イベントメッセージ)を生成するEM/sEM変換機能部を備え、
前記EMには、前記定義ファイルの取得先を含む要素情報が記述されており、
前記定義ファイルには、前記構造化データを取得するための関数が定義されており、
前記構造化データには、前記メッセージを構成するそれぞれのデータ及び当該データの意味が構造的に定義されており、
前記EM/sEM変換機能部は、
前記コンテンツの信号から前記EMを抽出するEM抽出部と、
前記EM抽出部により抽出された前記EMに記述された前記取得先から、前記定義ファイルを取得し、当該定義ファイルに定義された前記関数を実行し、前記構造化データを取得する構造化データ取得部と、
前記EM抽出部により抽出された前記EMに記述された前記要素情報を、前記構造化データ取得部により取得された前記構造化データに差し替え、当該構造化データを含む前記sEMを生成するsEM生成部と、を備え、
当該sEM生成部により生成された前記sEMを前記端末へ送信する、ことを特徴とするコンテンツ受信装置。
In a content receiving device that receives a content signal by broadcasting or communication and sends a message to a terminal to realize a service linked to the content.
An sEM (semantic event) that acquires a definition file based on the EM (event message) included in the signal of the content, acquires structured data based on the EM and the definition file, and includes the structured data. Equipped with an EM / sEM conversion function unit that generates a message)
The element information including the acquisition destination of the definition file is described in the EM.
The definition file defines a function for acquiring the structured data.
In the structured data, each data constituting the message and the meaning of the data are structurally defined.
The EM / sEM conversion function unit
An EM extraction unit that extracts the EM from the signal of the content,
Structured data acquisition that acquires the definition file from the acquisition destination described in the EM extracted by the EM extraction unit, executes the function defined in the definition file, and acquires the structured data. Department and
The sEM generation unit that replaces the element information described in the EM extracted by the EM extraction unit with the structured data acquired by the structured data acquisition unit and generates the sEM including the structured data. And with
A content receiving device characterized in that the sEM generated by the sEM generation unit is transmitted to the terminal.
請求項1に記載のコンテンツ受信装置において、
前記EMの前記要素情報には、当該EMを前記sEMに変換可能であるか否かを示す変換識別子が含まれており、
前記変換識別子が当該EMを前記sEMに変換可能であることを示す場合、前記EMには、前記変換識別子に加え、前記定義ファイルの前記取得先を含む前記要素情報が記述されており、
前記変換識別子が当該EMを前記sEMに変換可能でないことを示す場合、前記EMには、前記変換識別子を含む前記要素情報が記述されており、
前記EM/sEM変換機能部は、さらに、
前記EM抽出部により抽出された前記EMに記述された前記変換識別子に基づいて、前記EMを前記sEMに変換可能であるか否かを判定するsEM判定部を備え、
前記構造化データ取得部は、
前記sEM判定部により変換可能であると判定された場合、前記EMに記述された前記取得先から前記定義ファイルを取得し、当該定義ファイルに定義された前記関数を実行して前記構造化データを取得し、
前記sEM生成部は、
前記sEM判定部により変換可能であると判定された場合、前記EMに記述された前記要素情報を前記構造化データに差し替え、前記sEMを生成して出力し、
前記sEM判定部により変換可能でないと判定された場合、前記EM抽出部により抽出された前記EMを出力し、
当該コンテンツ受信装置は、前記sEM生成部により出力された前記sEMまたは前記EMを前記端末へ送信する、ことを特徴とするコンテンツ受信装置。
In the content receiving device according to claim 1,
The element information of the EM includes a conversion identifier indicating whether or not the EM can be converted to the sEM.
When the conversion identifier indicates that the EM can be converted to the sEM, the EM describes the element information including the acquisition destination of the definition file in addition to the conversion identifier.
When the conversion identifier indicates that the EM cannot be converted to the sEM, the EM describes the element information including the conversion identifier.
The EM / sEM conversion function unit further
A sEM determination unit for determining whether or not the EM can be converted to the sEM based on the conversion identifier described in the EM extracted by the EM extraction unit is provided.
The structured data acquisition unit is
When it is determined by the sEM determination unit that conversion is possible, the definition file is acquired from the acquisition destination described in the EM, and the function defined in the definition file is executed to obtain the structured data. Acquired,
The sEM generation unit
When it is determined by the sEM determination unit that conversion is possible, the element information described in the EM is replaced with the structured data, and the sEM is generated and output.
When it is determined by the sEM determination unit that conversion is not possible, the EM extracted by the EM extraction unit is output.
The content receiving device is a content receiving device characterized in that the sEM or the EM output by the sEM generation unit is transmitted to the terminal.
請求項2に記載のコンテンツ受信装置において、
前記EMの前記変換識別子が、前記EMを前記sEMに変換可能であることを示す場合、前記EMには、前記変換識別子、及び前記定義ファイルの前記取得先を含む前記要素情報が記述されており、
前記EMの前記変換識別子が、前記EMを前記sEMに変換可能でないことを示す場合、前記EMには、前記変換識別子及び文字列からなる前記要素情報が記述されており、
前記EMに、前記変換識別子が記述されていない場合、前記EMには、文字列からなる前記要素情報が記述されており、
前記sEM判定部は、
前記EM抽出部により抽出された前記EMに記述された前記変換識別子が、前記EMを前記sEMに変換可能であることを示す場合、変換可能であることを判定し、前記変換識別子が、前記EMを前記sEMに変換可能でないことを示す場合、または、前記EM抽出部により抽出された前記EMに前記変換識別子が記述されていない場合、変換可能でないことを判定する、ことを特徴とするコンテンツ受信装置。
In the content receiving device according to claim 2,
When the conversion identifier of the EM indicates that the EM can be converted to the sEM, the EM describes the conversion identifier and the element information including the acquisition destination of the definition file. ,
When the conversion identifier of the EM indicates that the EM cannot be converted to the sEM, the EM describes the element information consisting of the conversion identifier and the character string.
When the conversion identifier is not described in the EM, the element information consisting of a character string is described in the EM.
The sEM determination unit
When the conversion identifier described in the EM extracted by the EM extraction unit indicates that the EM can be converted into the sEM, it is determined that the conversion is possible, and the conversion identifier is the EM. Is not convertible to the sEM, or if the conversion identifier is not described in the EM extracted by the EM extraction unit, it is determined that the conversion is not possible. Device.
請求項1から3までのいずれか一項に記載のコンテンツ受信装置において、
前記EMの前記要素情報に含まれる前記取得先には、外部サーバまたは内部記憶部を示す情報、及び前記外部サーバのアドレスが記述されており、
前記構造化データ取得部は、
前記EMに記述された前記取得先が前記外部サーバを示す場合、当該外部サーバの前記アドレスに基づいて前記定義ファイルを取得し、前記取得先が前記内部記憶部を示す場合、当該コンテンツ受信装置に備えた前記内部記憶部から前記定義ファイルを取得する、ことを特徴とするコンテンツ受信装置。
The content receiving device according to any one of claims 1 to 3.
Information indicating an external server or an internal storage unit and an address of the external server are described in the acquisition destination included in the element information of the EM.
The structured data acquisition unit is
When the acquisition destination described in the EM indicates the external server, the definition file is acquired based on the address of the external server, and when the acquisition destination indicates the internal storage unit, the content receiving device is used. A content receiving device characterized in that the definition file is acquired from the internal storage unit provided.
請求項4に記載のコンテンツ受信装置において、
前記構造化データ取得部は、
前記EMに記述された前記取得先が前記内部記憶部を示し、かつ当該内部記憶部に前記定義ファイルが保存されていない場合、前記外部サーバの前記アドレスに基づいて前記定義ファイルを取得し、当該定義ファイルを前記内部記憶部に保存する、ことを特徴とするコンテンツ受信装置。
In the content receiving device according to claim 4,
The structured data acquisition unit is
When the acquisition destination described in the EM indicates the internal storage unit and the definition file is not stored in the internal storage unit, the definition file is acquired based on the address of the external server and the definition file is acquired. A content receiving device characterized in that a definition file is stored in the internal storage unit.
請求項1から5までのいずれか一項に記載のコンテンツ受信装置において、
前記EMには、さらに、複数の構造化データから1つを選択するためのインデックスを含む要素情報が記述されており、
前記定義ファイルには、さらに、前記複数の構造化データが定義されており、
前記構造化データ取得部は、
前記EMに記述された前記取得先から前記定義ファイルを取得し、前記定義ファイルに定義された前記関数を実行し、前記EMに記述された前記インデックスに基づいて、前記定義ファイルに定義された前記複数の構造化データから1つを選択することで、前記構造化データを取得する、ことを特徴とするコンテンツ受信装置。
In the content receiving device according to any one of claims 1 to 5.
In the EM, element information including an index for selecting one from a plurality of structured data is further described.
Further, the plurality of structured data are defined in the definition file.
The structured data acquisition unit is
The definition file is acquired from the acquisition destination described in the EM, the function defined in the definition file is executed, and the definition file is defined based on the index described in the EM. A content receiving device characterized in that the structured data is acquired by selecting one from a plurality of structured data.
請求項1から5までのいずれか一項に記載のコンテンツ受信装置において、
前記EMには、さらに、前記端末へ送信される前記メッセージを構成するそれぞれの前記データを、複数の要素から選択するためのインデックスを含む要素情報が記述されており、
前記定義ファイルには、さらに、前記メッセージを構成するそれぞれの前記データの変数、及び当該変数に対応する前記複数の要素が定義されており、
前記構造化データ取得部は、
前記EMに記述された前記取得先から前記定義ファイルを取得し、前記定義ファイルに定義された前記関数を実行し、前記EMに記述された前記インデックスに基づいて、前記定義ファイルに定義されたそれぞれの前記変数に対応する前記複数の要素から1つを選択することで、前記構造化データを取得する、ことを特徴とするコンテンツ受信装置。
In the content receiving device according to any one of claims 1 to 5.
The EM further describes element information including an index for selecting each of the data constituting the message transmitted to the terminal from a plurality of elements.
The definition file further defines variables of the data that make up the message, and a plurality of elements corresponding to the variables.
The structured data acquisition unit is
The definition file is acquired from the acquisition destination described in the EM, the function defined in the definition file is executed, and each of the definitions is defined in the definition file based on the index described in the EM. A content receiving device, characterized in that the structured data is acquired by selecting one from the plurality of elements corresponding to the variable.
コンピュータを、請求項1から7までのいずれか一項に記載のコンテンツ受信装置として機能させるためのプログラム。 A program for causing a computer to function as the content receiving device according to any one of claims 1 to 7.
JP2018153735A 2018-08-17 2018-08-17 Content receivers and programs Active JP7082007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018153735A JP7082007B2 (en) 2018-08-17 2018-08-17 Content receivers and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018153735A JP7082007B2 (en) 2018-08-17 2018-08-17 Content receivers and programs

Publications (2)

Publication Number Publication Date
JP2020028100A JP2020028100A (en) 2020-02-20
JP7082007B2 true JP7082007B2 (en) 2022-06-07

Family

ID=69620480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018153735A Active JP7082007B2 (en) 2018-08-17 2018-08-17 Content receivers and programs

Country Status (1)

Country Link
JP (1) JP7082007B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7734513B2 (en) * 2021-05-31 2025-09-05 日本放送協会 Receiving device, client terminal device, and program
JP7738407B2 (en) * 2021-05-31 2025-09-12 日本放送協会 Receiving device, client terminal device, and program
JP7738409B2 (en) * 2021-05-31 2025-09-12 日本放送協会 Receiving device, client terminal device, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000134166A (en) 1998-10-21 2000-05-12 Matsushita Electric Ind Co Ltd Message transmission method in broadcasting system
JP2010219815A (en) 2009-03-16 2010-09-30 Nippon Television Network Corp Data broadcasting system, method thereof, broadcast station, and program
JP2012217053A (en) 2011-03-31 2012-11-08 Sharp Corp Content playback device, television receiver, information provision system, information provision method, information provision program, and recording medium
JP2013236117A (en) 2012-05-02 2013-11-21 Nippon Hoso Kyokai <Nhk> Receiver, file caching method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000134166A (en) 1998-10-21 2000-05-12 Matsushita Electric Ind Co Ltd Message transmission method in broadcasting system
JP2010219815A (en) 2009-03-16 2010-09-30 Nippon Television Network Corp Data broadcasting system, method thereof, broadcast station, and program
JP2012217053A (en) 2011-03-31 2012-11-08 Sharp Corp Content playback device, television receiver, information provision system, information provision method, information provision program, and recording medium
JP2013236117A (en) 2012-05-02 2013-11-21 Nippon Hoso Kyokai <Nhk> Receiver, file caching method, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電波産業会,デジタル放送におけるMMTによるメディアトランスポート方式 MMT-BASED MEDIA TRANSPORT SCHEME IN DIGITAL BROADCASTING SYSTEMS,標準規格(通信分野、放送分野)及び技術資料(通信分野、放送分野、共通分野) ,第1.12版,日本,電波産業会,2018年04月12日,pp187-203

Also Published As

Publication number Publication date
JP2020028100A (en) 2020-02-20

Similar Documents

Publication Publication Date Title
CN104869467B (en) Information output method, device and system in media play
KR102068567B1 (en) Apparatus and method for processing an interactive service
CN103096182B (en) A kind of sharing method of Internet protocol television program information and system
US10984194B2 (en) Efficient publish subscribe broadcast using binary delta streams
JP7082007B2 (en) Content receivers and programs
US8949424B2 (en) Content information providing and reproducing method and apparatus
KR20150056523A (en) Apparatus and method for processing an interactive service
KR20150035526A (en) Apparatus and method for processing an interactive service
EP3001692A1 (en) Streaming media processing method, apparatus and system
WO2015176470A1 (en) Updating method and device for cache state based on http, and processor therefor
CN118474481A (en) Method, apparatus and non-volatile computer readable medium for receiving media data
CN106534878A (en) Replaying method and system of live broadcast program, and server
US11962818B2 (en) Systems and methods for optimizing a set-top box to retrieve missed content
CN111049871B (en) Message pushing method, message management system, server and computer storage medium
EP2882199B1 (en) Method and apparatus for prefetching content in a data stream
CN112188256B (en) Information processing method, information providing device, electronic device, and storage medium
CN103702167B (en) Method and electronic equipment for displaying program preview
JP6597604B2 (en) Reception device, transmission device, data communication method, and data processing method
US8973082B2 (en) Interactive program system
JPWO2017014034A1 (en) Reception device, transmission device, and data processing method
CN119676479B (en) Live stream screenshot method and system
US12501086B2 (en) Server-generated mosaic video stream for live-stream media items
CN106454547B (en) A kind of real-time subtitle broadcasting method and system
CN115581124B (en) Method, device, storage medium and computer equipment for processing events in media stream
US11546402B2 (en) Flexible interoperability and capability signaling using initialization hierarchy

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210630

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220422

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220502

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220526

R150 Certificate of patent or registration of utility model

Ref document number: 7082007

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