[go: up one dir, main page]

JP2022030209A - Metadata insertion device and program - Google Patents

Metadata insertion device and program Download PDF

Info

Publication number
JP2022030209A
JP2022030209A JP2020134036A JP2020134036A JP2022030209A JP 2022030209 A JP2022030209 A JP 2022030209A JP 2020134036 A JP2020134036 A JP 2020134036A JP 2020134036 A JP2020134036 A JP 2020134036A JP 2022030209 A JP2022030209 A JP 2022030209A
Authority
JP
Japan
Prior art keywords
metadata
event
data
unit
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020134036A
Other languages
Japanese (ja)
Other versions
JP7523279B2 (en
Inventor
徹 瀧口
Toru Takiguchi
寛 藤沢
Hiroshi Fujisawa
敏 西村
Satoshi Nishimura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP2020134036A priority Critical patent/JP7523279B2/en
Publication of JP2022030209A publication Critical patent/JP2022030209A/en
Application granted granted Critical
Publication of JP7523279B2 publication Critical patent/JP7523279B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

【課題】動画配信用のデータにおいてセグメント長を小さくすることなくイベントデータの配信の遅延を小さくすることのできるメタデータ挿入装置を提供する。【解決手段】メタデータ挿入装置は、受信部と、イベントデータ挿入部とを備える。受信部は、HTTPストリーミング用にエンコーディングされた映像データを受信する。イベントデータ挿入部は、受信された前記映像データの、任意のチャンク内にイベント用メタデータを挿入する。前記映像データは、複数のセグメントで構成されるものである。前記チャンクは、前記セグメントをさらに分割した単位である。【選択図】図1[Problem] To provide a metadata insertion device that can reduce delays in distribution of event data without reducing the segment length in data for video distribution. [Solution] The metadata insertion device includes a receiving unit and an event data insertion unit. The receiving unit receives video data encoded for HTTP streaming. The event data insertion unit inserts event metadata into any chunk of the received video data. The video data is composed of a plurality of segments. The chunk is a unit obtained by further dividing the segment. [Selected Figure] Figure 1

Description

本発明は、メタデータ挿入装置およびプログラムに関する。 The present invention relates to a metadata insertion device and a program.

近年、放送局はテレビ、パソコン(PC)、スマートホン(スマホ)といったクライアント装置向けに様々なネットサービスを提供している。放送局は、放送サービスにおいては、イベントメッセージ(Event Message,EM)というトリガー信号を利用して緊急時における速報などのサービスを提供している。イベントメッセージは即時性に優れており、一般的には、放送局におけるイベントメッセージ送出操作から3秒程度でその信号を視聴者に届けることができる。 In recent years, broadcasting stations have provided various Internet services for client devices such as televisions, personal computers (PCs), and smartphones (smartphones). In broadcasting services, broadcasting stations provide services such as breaking news in an emergency by using a trigger signal called an event message (EM). The event message is excellent in immediacy, and in general, the signal can be delivered to the viewer in about 3 seconds from the event message sending operation in the broadcasting station.

非特許文献1には、通信ネットワークを介した動画配信のためのメディアのコンテナ形式であるCMAF(Common Media Application Format)が記載されている。 Non-Patent Document 1 describes CMAF (Common Media Application Format), which is a container format for media for video distribution via a communication network.

非特許文献2には、ネット動画配信におけるイベント用メタデータを活用したユースケースや要求事項や課題事項が、記載されている。例えば、アドレッサブル広告の挿入のためのトリガー利用や、映像と字幕の同期などについての課題が記載されている。 Non-Patent Document 2 describes use cases, requirements, and problems that utilize event metadata in online video distribution. For example, issues related to the use of triggers for inserting addressable advertisements and synchronization of video and subtitles are described.

非特許文献3には、mp4などの動画コンテンツ内にemsg box(emsg)によって情報を挿入する方法(in-band伝送)が記載されている。ネット動画配信のイベント用メタデータの配信方法としては、out-of-band(アウトオブバンド)伝送とin-band(インバンド)伝送とがある。out-of-band伝送では、MPEG-DASH(DASH)のmpdなどのマニフェストファイルにイベント用メタデータを記述して伝送する。イベント用メタデータの即時性を考慮した場合、out-of-band伝送よりもin-band伝送の方が、視聴中のセグメントデータと合わせて配信できるという利点がある。In-band伝送でイベント用メタデータを伝送する場合、イベント用メタデータの配信に要する時間(遅延)は、コンテンツ配信に要する時間(遅延)とほぼ同等となる。 Non-Patent Document 3 describes a method (in-band transmission) of inserting information by an emsg box (emsg) in a moving image content such as mp4. There are out-of-band transmission and in-band transmission as a method of distributing event metadata for online video distribution. In out-of-band transmission, event metadata is described in a manifest file such as MPEG-DASH (DASH) mpd and transmitted. Considering the immediacy of event metadata, in-band transmission has the advantage that it can be delivered together with the segment data being viewed rather than out-of-band transmission. When event metadata is transmitted by in-band transmission, the time (delay) required for event metadata distribution is almost the same as the time (delay) required for content distribution.

非特許文献4には、ネット動画の配信(例えば、ライブ配信)を低遅延で実現する技術が記載されている。非特許文献4では、CMAFのUltra-Low-Latency (ULL)を使った低遅延配信について記載されている。ULLは、fragmented MP4(fMP4)を、セグメントファイルよりも細かい粒度で分割し、HTTP1.1定義のChunked Transfer Encodingによってクライアントに断続的にデータを配信する技術である。本稿では、セグメントを細かい粒度で分割したデータをチャンク、 Chunked Transfer Encodingによって断続的に送られるデータをフレームとする。
ULLを用いる場合、ネット動画のライブ配信の遅延を3秒程度に抑えることができる。
Non-Patent Document 4 describes a technique for realizing distribution of online moving images (for example, live distribution) with low delay. Non-Patent Document 4 describes low-delay delivery using CMAF's Ultra-Low-Latency (ULL). ULL is a technology that divides fragmented MP4 (fMP4) into smaller particles than segment files and intermittently distributes data to clients by Chunked Transfer Encoding defined by HTTP1.1. In this paper, the data obtained by dividing the segment into fine particles is used as chunks, and the data sent intermittently by Chunked Transfer Encoding is used as a frame.
When ULL is used, the delay in live distribution of online video can be suppressed to about 3 seconds.

”ISO/IEC 23000-19:2020 Information technology - Multimedia application format (MPEG-A) - Part 19: Common media application format (CMAF) for segmented media.”,International Organization for Standardization,2020年3月."ISO / IEC 23000-19: 2020 Information technology --Multimedia application format (MPEG-A) --Part 19: Common media application format (CMAF) for segmented media.", International Organization for Standardization, March 2020. ”Requirements for Media Timed Events W3C Interest Group Note 25 June 2020”,2020年6月25日更新,[online],[2020年7月25日ダウンロード],インターネット<URL:https://www.w3.org/TR/2020/NOTE-media-timed-events-20200625/>"Requirements for Media Timed Events W3C Interest Group Note 25 June 2020", updated June 25, 2020, [online], [downloaded July 25, 2020], Internet <URL: https://www.w3.org / TR / 2020 / NOTE-media-timed-events-20200625 /> ””ISO/IEC 23009-1:2019 Information technology - Dynamic adaptive streaming over HTTP (DASH) - Part 1: Media presentation description and segment formats” ,International Organization for Standardization,2019年8月."" ISO / IEC 23009-1: 2019 Information technology --Dynamic adaptive streaming over HTTP (DASH) --Part 1: Media presentation description and segment formats ", International Organization for Standardization, August 2019. Will Law,”WHITE PAPER: Ultra-Low-Latency Streaming Using Chunked-Encoded and Chunked-Transferred CMAF”,Akamai,[2020年7月25日ダウンロード],インターネット<URL:https://www.akamai.com/us/en/multimedia/documents/white-paper/low-latency-streaming-cmaf-whitepaper.pdf>Will Law, "WHITE PAPER: Ultra-Low-Latency Streaming Using Chunked-Encoded and Chunked-Transferred CMAF", Akamai, [Downloaded July 25, 2020], Internet <URL: https://www.akamai.com/ us / en / multimedia / documents / white-paper / low-latency-streaming-cmaf-whitepaper.pdf >

インターネット等の通信ネットワークを介した動画配信では、イベントデータを低遅延で送出する方法の検討は不十分であり、放送サービスにおけるイベントデータの配信に比べて時間を要する事が多い。放送局は、ネット動画配信におけるイベントデータの配信の即時性を放送におけるそれと同等に向上できれば、放送と通信を連携させたシステム(放送通信連携システム)によるサービスの柔軟性を上げることもできる。現状のネット動画配信においてイベントデータはセグメント単位で挿入可能であるため、例えばコンテンツのセグメント長を小さくすることで配信遅延を少なくすることができるが、仮にそのようにした場合、配信等のためのサーバー装置の負荷が著しく増加してしまうという別の問題が起こる。 In video distribution via a communication network such as the Internet, it is insufficient to study a method of transmitting event data with low delay, and it often takes longer than distribution of event data in a broadcasting service. If the broadcasting station can improve the immediacy of event data distribution in online video distribution to the same level as in broadcasting, it can also increase the flexibility of services by a system that links broadcasting and communication (broadcasting communication cooperation system). Since event data can be inserted in segment units in the current online video distribution, it is possible to reduce the distribution delay by, for example, reducing the segment length of the content, but if this is the case, for distribution, etc. Another problem arises that the load on the server unit increases significantly.

本発明は、上記のような事情を考慮して為されたものであり、動画配信用のデータにおいてセグメント長を小さくすることなくイベントデータの配信の遅延を小さくすることのできるメタデータ挿入装置およびプログラムを提供しようとするものである。 The present invention has been made in consideration of the above circumstances, and is a metadata insertion device capable of reducing the delay in the distribution of event data without reducing the segment length in the data for video distribution. It is intended to provide a program.

また、本発明は、特定の条件に合う状況においてのみに、イベントデータの配信を行えるようにすることを、さらなる課題とするものである。 Further, it is a further object of the present invention to make it possible to deliver event data only in a situation that meets a specific condition.

[1]上記の課題を解決するため、本発明の一態様によるメタデータ挿入装置は、HTTPストリーミング用にエンコーディングされた映像データを受信する受信部と、受信された前記映像データの、任意のチャンク内にイベント用メタデータを挿入するイベントデータ挿入部と、を具備し、前記映像データは、複数のセグメントで構成されるものであり、前記チャンクは、前記セグメントをさらに分割した単位である、というものである。 [1] In order to solve the above problems, the metadata insertion device according to one aspect of the present invention has an arbitrary chunk of a receiving unit that receives video data encoded for HTTP streaming and the received video data. It is said that the video data is composed of a plurality of segments, and the chunk is a unit obtained by further dividing the segment. It is a thing.

[2]また、本発明の一態様は、上記のメタデータ挿入装置において、受信部が受信する前記映像データは、コモンメディアアプリケーションフォーマットの超低遅延の形式のデータである。 [2] Further, in one aspect of the present invention, in the above-mentioned metadata insertion device, the video data received by the receiving unit is data in an ultra-low delay format in a common media application format.

[3]また、本発明の一態様は、上記のメタデータ挿入装置において、前記セグメントは、複数の前記チャンクで構成され、前記セグメント内の先頭のチャンクは、制御データであるstypとsidxとmoofと、動画データであるmdatと、を含み、前記セグメント内の先頭以外のチャンクは、制御データであるmoofと、動画データであるmdatと、を含み、前記イベントデータ挿入部は、任意のチャンクの、前記moofの直前に前記イベント用メタデータであるemsgを挿入するものである。 [3] Further, in one aspect of the present invention, in the above-mentioned metadata insertion device, the segment is composed of a plurality of the chunks, and the first chunk in the segment is control data such as type, sidx, and moof. And mdat which is moving image data, and chunks other than the beginning in the segment include moof which is control data and mdat which is moving image data, and the event data insertion part is an arbitrary chunk. , Emsg, which is the metadata for the event, is inserted immediately before the moof.

[4]また、本発明の一態様は、上記のメタデータ挿入装置において、前記イベントデータ挿入部が出力する前記映像データを、コンテンツデリバリーネットワーク内の配信装置に送信するコンテンツ出力部、をさらに具備する。 [4] Further, one aspect of the present invention further includes a content output unit for transmitting the video data output by the event data insertion unit to a distribution device in the content delivery network in the metadata insertion device. do.

[5]また、本発明の一態様は、上記のメタデータ挿入装置において、前記イベントデータ挿入部が出力する前記映像データを、クライアント装置からのリクエストに対応するレスポンスとして配信するコンテンツ配信部、をさらに具備する。 [5] Further, one aspect of the present invention is a content distribution unit that distributes the video data output by the event data insertion unit as a response corresponding to a request from the client device in the metadata insertion device. Further equipped.

[6]また、本発明の一態様は、上記のメタデータ挿入装置において、前記イベントデータ挿入部は、設定された情報に基づく特定のコンテンツ内の任意のチャンク内のみに前記イベント用メタデータを挿入するものである。 [6] Further, in one aspect of the present invention, in the metadata insertion device, the event data insertion unit inserts the event metadata only in any chunk in a specific content based on the set information. It is to be inserted.

[7]また、本発明の一態様は、上記の[5]のメタデータ挿入装置において、前記イベントデータ挿入部は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力し、前記コンテンツ配信部は、設定された情報に基づく特定のユーザーの前記クライアント装置には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーの前記クライアント装置には前記イベント用メタデータが挿入されていない前記映像データを配信する、というものである。 [7] Further, in one aspect of the present invention, in the metadata insertion device of the above [5], the event data insertion unit has the video data into which the event metadata has been inserted and the event metadata. Outputs the video data in which the event is not inserted, and the content distribution unit distributes the video data in which the event metadata is inserted to the client device of a specific user based on the set information. The video data in which the event metadata is not inserted is delivered to the client device of another user based on the set information.

[8]また、本発明の一態様によるメタデータ挿入装置は、HTTPストリーミング用にエンコーディングされた映像データを受信する受信部と、受信された前記映像データ内にイベント用メタデータを挿入するイベントデータ挿入部と、前記イベントデータ挿入部が出力する前記映像データを、クライアント装置からのリクエストに対応するレスポンスとして配信するコンテンツ配信部と、を具備し、前記イベントデータ挿入部は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力し、前記コンテンツ配信部は、設定された情報に基づく特定のユーザーの前記クライアント装置には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーの前記クライアント装置には前記イベント用メタデータが挿入されていない前記映像データを配信する、というものである。 [8] Further, the metadata insertion device according to one aspect of the present invention has a receiving unit that receives video data encoded for HTTP streaming, and event data that inserts event metadata into the received video data. The event data insertion unit includes an insertion unit and a content distribution unit that distributes the video data output by the event data insertion unit as a response corresponding to a request from the client device, and the event data insertion unit is the event metadata. The video data in which the data is inserted and the video data in which the event metadata is not inserted are output, and the content distribution unit outputs the event to the client device of a specific user based on the set information. The video data in which the event metadata is inserted is delivered, and the video data in which the event metadata is not inserted is delivered to the client device of another user based on the set information. ..

[9]また、本発明の一態様は、コンピューターを、上記[1]から[8]までのいずれかに記載のメタデータ挿入装置、として機能させるためのプログラムである。 [9] Further, one aspect of the present invention is a program for making a computer function as the metadata insertion device according to any one of the above [1] to [8].

本発明によれば、メタデータ挿入装置は、映像データにイベント用メタデータを挿入することができ、且つ、イベント用メタデータの伝送を低遅延化することが可能となる。イベント用メタデータの伝送の遅延は一例として3秒前後であり、放送におけるイベントの伝送と同等となる。 According to the present invention, the metadata insertion device can insert event metadata into video data, and can reduce the transmission of event metadata. The delay in the transmission of event metadata is, for example, about 3 seconds, which is equivalent to the transmission of events in broadcasting.

また、放送では、イベントデータがすべてのユーザーに一括で配信されるため、個別のユーザーに対してイベントデータを送るようなことは困難であるが、本発明では、状況に応じて特定のクライアント装置のみにイベントデータを送ることも可能になる。 Further, in broadcasting, since event data is collectively distributed to all users, it is difficult to send event data to individual users, but in the present invention, a specific client device is used depending on the situation. It is also possible to send event data only to.

本発明の第1実施形態によるメタデータ挿入装置の概略機能構成を示すブロック図である。It is a block diagram which shows the schematic functional structure of the metadata insertion apparatus according to 1st Embodiment of this invention. 同実施形態によるメタデータ挿入装置を含むシステム全体の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the whole system including the metadata insertion apparatus by the same embodiment. 同実施形態による受信部がエンコーダー装置から受信するデータの構成の例を示す概略図である。It is a schematic diagram which shows the example of the structure of the data which the receiving part receives from an encoder device by the same embodiment. 同実施形態によるイベントデータ挿入部が出力するデータの構成の例を示す概略図である。It is a schematic diagram which shows the example of the structure of the data output by the event data insertion part by the same embodiment. 同実施形態によるメタデータ挿入装置が出力するコンテンツの具体的な配信方法の例を示す概略図である。It is a schematic diagram which shows the example of the specific delivery method of the content output by the metadata insertion apparatus by the same embodiment. 同実施形態によるメタデータ挿入装置が出力するコンテンツの具体的な配信方法の別の例を示す概略図である。It is a schematic diagram which shows another example of the specific delivery method of the content output by the metadata insertion apparatus by the same embodiment. 第2実施形態によるメタデータ挿入装置の概略機能構成を示すブロック図である。It is a block diagram which shows the schematic functional structure of the metadata insertion apparatus by 2nd Embodiment. 同実施形態による挿入条件記憶部が、コンテンツごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。It is a schematic diagram which shows the data structure example in the case where the insertion condition storage part by the same embodiment stores information indicating whether or not event metadata should be inserted for each content. 同実施形態による挿入条件記憶部が、ユーザーごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。It is a schematic diagram which shows the data structure example in the case where the insertion condition storage part by the same embodiment stores the information which shows whether or not the event metadata should be inserted for each user. 同実施形態による挿入条件記憶部が、ユーザーの属性ごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。It is a schematic diagram which shows the data structure example in the case where the insertion condition storage part by the same embodiment stores the information which shows whether or not the event metadata should be inserted for each attribute of a user. 第1実施形態または第2実施形態によるメタデータ挿入装置の内部の構成例を示すブロック図である。It is a block diagram which shows the internal structure example of the metadata insertion apparatus by 1st Embodiment or 2nd Embodiment.

次に、本発明の一実施形態について、図面を参照しながら説明する。なお、本実施形態において、映像データは、映像および音声を含むデータである。映像データは、コンテンツデータあるいはコンテンツとも呼ばれる。 Next, an embodiment of the present invention will be described with reference to the drawings. In the present embodiment, the video data is data including video and audio. Video data is also called content data or content.

図1は、本実施形態によるメタデータ挿入装置の概略機能構成を示すブロック図である。図示するように、メタデータ挿入装置1は、受信部11と、解析部12と、イベントデータ挿入部13と、コンテンツ出力部14と、コンテンツ配信部15とを含んで構成される。これらの各機能部は、例えば、コンピューターと、プログラムとで実現することが可能である。また、各機能部は、必要に応じて、記憶手段を有する。記憶手段は、例えば、プログラム上の変数や、プログラムの実行によりアロケーションされるメモリーである。また、必要に応じて、磁気ハードディスク装置やソリッドステートドライブ(SSD)といった不揮発性の記憶手段を用いるようにしてもよい。また、各機能部の少なくとも一部の機能を、プログラムではなく専用の電子回路として実現してもよい。各部の機能は、次に説明する通りである。 FIG. 1 is a block diagram showing a schematic functional configuration of a metadata insertion device according to the present embodiment. As shown in the figure, the metadata insertion device 1 includes a reception unit 11, an analysis unit 12, an event data insertion unit 13, a content output unit 14, and a content distribution unit 15. Each of these functional units can be realized by, for example, a computer and a program. In addition, each functional unit has a storage means, if necessary. The storage means is, for example, a variable on the program or a memory allocated by executing the program. Further, if necessary, a non-volatile storage means such as a magnetic hard disk device or a solid state drive (SSD) may be used. Further, at least a part of the functions of each functional unit may be realized as a dedicated electronic circuit instead of a program. The functions of each part are as described below.

受信部11は、映像データを受信して解析部12に渡す。映像データは、チャンク転送エンコーディング(Chunked Transfer Encoding)されている。つまり、本実施形態において、受信部11が受信する映像データは、CMAF(Common Media Application Format)のULL出力(Chunked Transfer Encoding出力)である。ULLは、前述の通り、fragmented MP4(fMP4)を、フレーム単位に分割して伝送できるようにした形式のデータである。受信部11は、受信した映像データを、解析部12に渡す。なお、受信部11は、Chunked Transfer Encoding出力に限らず、他の方法でエンコーディングされた映像データを受信してもよい。後述するシステム100の構成(図2を参照)においては、受信部11は、エンコーダー装置3から上記の映像データを受信する。 The receiving unit 11 receives the video data and passes it to the analysis unit 12. The video data is Chunked Transfer Encoding. That is, in the present embodiment, the video data received by the receiving unit 11 is the ULL output (Chunked Transfer Encoding output) of CMAF (Common Media Application Format). As described above, ULL is data in a format in which fragmented MP4 (fMP4) can be divided into frame units and transmitted. The receiving unit 11 passes the received video data to the analysis unit 12. The receiving unit 11 is not limited to the Chunked Transfer Encoding output, and may receive video data encoded by another method. In the configuration of the system 100 (see FIG. 2) described later, the receiving unit 11 receives the above-mentioned video data from the encoder device 3.

解析部12は、受信部11が受信した映像データを解析する。具体的には、解析部12は、fMP4のデータ構造を解析し、後述するemsg(emsg boxとも呼ばれる)を挿入すべき場所を判定する。また、解析部12は、受信部11が受信している映像データ(fMP4のデータ)が、まだ作成中のデータであるか、完成したMP4のデータであるかを判定する。作成中のデータとは、後述するmdatが作成中であるという意味である。 The analysis unit 12 analyzes the video data received by the reception unit 11. Specifically, the analysis unit 12 analyzes the data structure of fMP4 and determines a place where emsg (also referred to as emsg box), which will be described later, should be inserted. Further, the analysis unit 12 determines whether the video data (data of fMP4) received by the reception unit 11 is the data that is still being created or the data of the completed MP4. The data being created means that mdat, which will be described later, is being created.

イベントデータ挿入部13は、上記の映像データに、所定のタイミングでイベント用メタデータを挿入する。イベントデータ挿入部13は、例えば、外部からの信号に基づいて、イベント用メタデータを挿入するタイミングを決定する。イベントデータ挿入部13は、また例えば、メタデータ挿入装置1の操作者の操作に基づいて、イベント用メタデータを挿入するタイミングを決定してもよい。挿入するイベント用メタデータの内容(メッセージの内容)も、例えば、外部からの信号に基づいて決定されたり、操作者の操作に基づいて決定されたりする。イベントデータ挿入部13は、イベント用メタデータを挿入する処理を行った後の映像データを、コンテンツ出力部14やコンテンツ配信部15に渡す。 The event data insertion unit 13 inserts event metadata into the above video data at a predetermined timing. The event data insertion unit 13 determines, for example, the timing for inserting event metadata based on a signal from the outside. The event data insertion unit 13 may also determine the timing for inserting the event metadata based on, for example, the operation of the operator of the metadata insertion device 1. The content of the event metadata (content of the message) to be inserted is also determined based on, for example, an external signal or an operation of the operator. The event data insertion unit 13 passes the video data after the process of inserting the event metadata to the content output unit 14 and the content distribution unit 15.

イベント用メタデータは、予め挿入することがスケジュールされていたものであってもよいし、突発的に発生したイベントに対応するもの(例えば緊急地震速報や、その他の事象の速報等)であってもよい。また、イベント用メタデータの内容(メッセージ)は、配信しようとしている映像データ(コンテンツ)に関連付けられているものであってもよいし、映像データとは独立のものであってもよい。イベント用メタデータは、例えば、クライアント装置6側で情報(画像や音声等)を提示するためのデータであってよい。イベント用メタデータは、例えば、配信するコンテンツの演出(一例として、スポーツ中継における決定的瞬間(サッカーのゴールシーン等)の、クライアント装置6側での特殊効果による演出)のためのデータであってもよい。イベント用メタデータは、例えば、クライアント装置6側において周辺機器(不図示。IoT機器等を含む。)にデータを送ったり、周辺機器の動作を制御したりするものであってもよい。また、イベント用メタデータは、特定の情報資源にアクセスするための場所情報(URL等)を含むものであってもよい。 The event metadata may be scheduled to be inserted in advance, or may correspond to a sudden event (for example, an Earthquake Early Warning or a breaking news of other events). May be good. Further, the content (message) of the event metadata may be associated with the video data (content) to be delivered, or may be independent of the video data. The event metadata may be, for example, data for presenting information (image, sound, etc.) on the client device 6 side. The event metadata is, for example, data for directing the content to be delivered (for example, directing a decisive moment in a sports broadcast (soccer goal scene, etc.) by a special effect on the client device 6 side). May be good. The event metadata may be, for example, data sent to a peripheral device (not shown, including an IoT device) on the client device 6 side, or may control the operation of the peripheral device. Further, the event metadata may include location information (URL, etc.) for accessing a specific information resource.

イベントデータ挿入部13がイベント用メタデータを挿入する位置については、後で図4を参照しながら説明する。なお、イベント用メタデータは、例えばemsgと呼ばれるデータであってもよいし、その他のデータであってもよい。 The position where the event data insertion unit 13 inserts the event metadata will be described later with reference to FIG. The event metadata may be, for example, data called emsg or other data.

コンテンツ出力部14は、イベントデータ挿入部13から受け取った映像データを、外部の装置に向けて出力する。後述するシステム100の構成(図2を参照)においては、コンテンツ出力部14は、コンテンツデリバリーネットワーク5内の配信装置4等に、映像データを渡す。 The content output unit 14 outputs the video data received from the event data insertion unit 13 to an external device. In the configuration of the system 100 (see FIG. 2) described later, the content output unit 14 passes the video data to the distribution device 4 or the like in the content delivery network 5.

コンテンツ配信部15は、イベントデータ挿入部13から受け取った映像データを、クライアント装置6からのリクエストに応じて、配信する。コンテンツ配信部15は、例えば、フレーム単位で、映像データをクライアント装置6に渡す。コンテンツ配信部15が配信する映像データには、イベントデータ挿入部13によって、イベント用メタデータが挿入されている場合がある。 The content distribution unit 15 distributes the video data received from the event data insertion unit 13 in response to a request from the client device 6. The content distribution unit 15 passes video data to the client device 6 in frame units, for example. Event metadata may be inserted into the video data distributed by the content distribution unit 15 by the event data insertion unit 13.

図2は、本実施形態のメタデータ挿入装置1を含むシステム全体の機能構成を示すブロック図である。図示するように、システム100は、メタデータ挿入装置1と、映像供給装置2と、エンコーダー装置3と、配信装置4と、コンテンツデリバリーネットワーク5と、クライアント装置6とを含んで構成される。 FIG. 2 is a block diagram showing a functional configuration of the entire system including the metadata insertion device 1 of the present embodiment. As shown in the figure, the system 100 includes a metadata insertion device 1, a video supply device 2, an encoder device 3, a distribution device 4, a content delivery network 5, and a client device 6.

メタデータ挿入装置1は、図1を参照しながら説明した装置である。メタデータ挿入装置1は、エンコード済みの映像データをエンコーダー装置3から受信する。メタデータ挿入装置1は、任意のタイミングで、イベント用メタデータであるemsgを映像データ内に挿入する。メタデータ挿入装置1は、イベント用メタデータを挿入済みの映像データを、出力する。メタデータ挿入装置1は、コンテンツデリバリーネットワーク5を経由してクライアント装置6に、あるいは、直接的にクライアント装置6に、イベント用メタデータを挿入済みの映像データを配信する。 The metadata insertion device 1 is a device described with reference to FIG. The metadata insertion device 1 receives the encoded video data from the encoder device 3. The metadata insertion device 1 inserts the event metadata emsg into the video data at an arbitrary timing. The metadata insertion device 1 outputs video data in which event metadata has been inserted. The metadata insertion device 1 distributes video data in which event metadata has been inserted to the client device 6 via the content delivery network 5 or directly to the client device 6.

映像供給装置2は、映像を供給する。映像供給装置2は、映像を、エンコーダー装置3に渡す。ここでの映像は、予め収録された映像であってもよいし、ライブの映像であってもよい。 The video supply device 2 supplies video. The video supply device 2 passes the video to the encoder device 3. The video here may be a pre-recorded video or a live video.

エンコーダー装置3は、映像供給装置2から渡される映像を基に、所定のエンコーディング処理を行い、出力する。エンコーダー装置3は、CMAFのULLの形式の映像データを、メタデータ挿入装置1に渡す。 The encoder device 3 performs a predetermined encoding process based on the video passed from the video supply device 2 and outputs it. The encoder device 3 passes the video data in the ULL format of the CMAF to the metadata insertion device 1.

配信装置4は、コンテンツを配信する機能を持つ装置である。配信装置4は、コンテンツデリバリーネットワーク5内に設けられている。配信装置4は、メタデータ挿入装置1から渡されたコンテンツを、クライアント装置6からの要求に応じて、クライアント装置6に対して配信する。 The distribution device 4 is a device having a function of distributing content. The distribution device 4 is provided in the content delivery network 5. The distribution device 4 distributes the content passed from the metadata insertion device 1 to the client device 6 in response to a request from the client device 6.

コンテンツデリバリーネットワーク5は、CDNとも呼ばれ、コンテンツ(映像コンテンツ等)をクライアント装置6に配信するために特に設けられたネットワークである。コンテンツデリバリーネットワーク5は、多数の配信装置4を含んで構成されてよい。クライアント装置6は、コンテンツの配信を受けるために、コンテンツデリバリーネットワーク5内の適切な配信装置4にアクセスすることができる。コンテンツデリバリーネットワーク5は、配信装置4とクライアント装置6との間の総トラフィックが最適になるような調整機構を備えていてもよい。 The content delivery network 5, also called a CDN, is a network particularly provided for distributing content (video content, etc.) to the client device 6. The content delivery network 5 may be configured to include a large number of distribution devices 4. The client device 6 can access an appropriate distribution device 4 in the content delivery network 5 in order to receive the distribution of the content. The content delivery network 5 may include a coordinating mechanism that optimizes the total traffic between the distribution device 4 and the client device 6.

クライアント装置6は、通信ネットワークを介してコンテンツを受信し、画面やスピーカー等からユーザーにそのコンテンツを提示する機能を持つ装置である。クライアント装置6は、例えば、スマートホン(スマホ)や、テレビ受像機(いわゆる「テレビ」)や、タブレット型端末装置や、パーソナルコンピューター(PC)などを用いて実現される。クライアント装置6は、有線あるいは無線の通信手段を用いて、上記のコンテンツを受信する。クライアント装置6は、コンテンツデリバリーネットワーク5内の配信装置4からコンテンツを受信することもできるし、メタデータ挿入装置1から直接コンテンツを受信することもできる。クライアント装置6は、コンテンツを再生して、映像や音声としてユーザーに対して提示する機能(プレーヤーの機能)を備える。 The client device 6 is a device having a function of receiving content via a communication network and presenting the content to a user from a screen, a speaker, or the like. The client device 6 is realized by using, for example, a smart phone (smartphone), a television receiver (so-called "television"), a tablet-type terminal device, a personal computer (PC), or the like. The client device 6 receives the above content by using a wired or wireless communication means. The client device 6 can receive the content from the distribution device 4 in the content delivery network 5, or can receive the content directly from the metadata insertion device 1. The client device 6 has a function (player function) of reproducing the content and presenting it to the user as video or audio.

図3は、受信部11がエンコーダー装置3から受信するデータの構成の例を示す概略図である。同図は、1セグメント分のデータの構成を示している。映像コンテンツは、通常は、多数のセグメントから成るものである。セグメントを細かい粒度で分割したデータがチャンクであり、Chunked Transfer Encodingによって断続的に送られるデータがフレームである。 FIG. 3 is a schematic diagram showing an example of the configuration of data received by the receiving unit 11 from the encoder device 3. The figure shows the structure of data for one segment. Video content usually consists of a large number of segments. The data obtained by dividing the segment into fine particles is the chunk, and the data sent intermittently by the Chunked Transfer Encoding is the frame.

図示する例では、1セグメントは、4つのチャンクから成る。1チャンクは、4つのフレームから成る。つまり、図中における、第1~第4フレームは第1チャンクに属し、第5~第8フレームは第2チャンクに属し、第9~第12フレームは第3チャンクに属し、第13~第16フレームは第4チャンクに属する。物理的なデータの伝送は、セグメント単位で行われる。 In the illustrated example, one segment consists of four chunks. One chunk consists of four frames. That is, in the figure, the first to fourth frames belong to the first chunk, the fifth to eighth frames belong to the second chunk, the ninth to twelfth frames belong to the third chunk, and the thirteenth to sixteenth frames. The frame belongs to the 4th chunk. The transmission of physical data is done on a segment-by-segment basis.

また、各チャンクは、制御データと、映像の実体を持つmdatとで構成される。第1チャンクが持つ制御データは、styp、sidx、およびmoofである。第2チャンクから第4チャンクのそれぞれが持つ制御データは、moofである。これらの制御データは、標準規格によって規定されるものである。図示する例では、各チャンクにおける先頭のフレームが、制御データおよびmdatを含む。各チャンクにおける先頭以外のフレームは、mdatを含む。 Further, each chunk is composed of control data and mdat having the substance of the image. The control data of the first chunk are type, sidex, and moof. The control data possessed by each of the second chunk to the fourth chunk is moof. These control data are defined by the standard. In the illustrated example, the first frame in each chunk contains control data and mdat. Frames other than the beginning in each chunk contain mdat.

図4は、イベントデータ挿入部13が出力するデータの構成の例を示す概略図である。同図は、1セグメント分のデータの構成を示している。映像コンテンツは、通常は、多数のセグメントから成るものである。図4に示すデータは、図3で示したデータに、イベントを表すメタデータを挿入したものである。言い換えれば、イベントデータ挿入部13は、受信部11が受信したデータに、メタデータとしてemsgを挿入することができる。 FIG. 4 is a schematic diagram showing an example of the configuration of data output by the event data insertion unit 13. The figure shows the structure of data for one segment. Video content usually consists of a large number of segments. The data shown in FIG. 4 is obtained by inserting metadata representing an event into the data shown in FIG. In other words, the event data insertion unit 13 can insert emsg as metadata into the data received by the reception unit 11.

図3に示した場合と同様に、図4に示すデータにおいても、1セグメントは、4つのチャンクから成る。また、1チャンクは、4つのフレームから成る。図4に示すデータでは、各チャンクのmoofの直前に、イベントを表す制御データであるemsgを挿入することが可能である。つまり、イベントデータ挿入部13は、クライアント装置6側に伝送するべきイベントがある場合に、適切なセグメントの適切なチャンクにおけるmoofの直前に、emsgを挿入する。なお、挿入すべきイベントがないチャンクにおいては、emsgが存在しなくてもよい。言い換えれば、各チャンクにおけるemsgは、0ビット以上の長さを持つことができる。 Similar to the case shown in FIG. 3, in the data shown in FIG. 4, one segment consists of four chunks. Also, one chunk consists of four frames. In the data shown in FIG. 4, it is possible to insert emsg, which is control data representing an event, immediately before the moof of each chunk. That is, the event data insertion unit 13 inserts emsg immediately before the moof in the appropriate chunk of the appropriate segment when there is an event to be transmitted to the client device 6 side. It should be noted that emsg may not exist in chunks in which there is no event to be inserted. In other words, emsg in each chunk can have a length of 0 bits or more.

つまり、図4に示すデータでは、各チャンクは、制御データと、映像の実体を持つmdatとで構成される。第1チャンクが持ち得る制御データは、styp、sidx、emsg、およびmoofである。第2チャンクから第4チャンクのそれぞれが持ち得る制御データは、emsg、およびmoofである。各チャンクにおける制御データおよびmdatは、その長さに応じて、適宜、フレームに割り当てられる。 That is, in the data shown in FIG. 4, each chunk is composed of control data and mdat having an actual image. The control data that the first chunk can have are type, sidex, emsg, and moof. The control data that can be possessed by each of the second chunk to the fourth chunk are emsg and moof. The control data and mdat in each chunk are appropriately assigned to frames according to their length.

上記のように、本実施形態におけるイベント情報の伝送は、in-band伝送である。即ち、マニュフェストファイル内などにイベント情報を載せて伝送するのではなく、コンテンツファイル自体の中にイベント情報を載せて伝送する。また、従来技術ではセグメントの先頭部分のみにイベント用のメタデータemsgを挿入することができるのに対して、本実施形態では、イベントデータ挿入部13は、セグメント内の任意のチャンクの先頭部分にメタデータemsgを挿入することができる。つまり、本実施形態では、従来技術と比べて、イベント用データを挿入することのできる機会が増える。つまり、メタデータ挿入装置1を用いることにより、時間的により細かい粒度でイベント用メタデータを挿入することが可能となり、配信の遅延を少なくすることができるようになる。 As described above, the transmission of event information in this embodiment is in-band transmission. That is, the event information is not put in the manifest file and transmitted, but the event information is put in the content file itself and transmitted. Further, in the prior art, the metadata emsg for the event can be inserted only in the head portion of the segment, whereas in the present embodiment, the event data insertion unit 13 is inserted in the head portion of any chunk in the segment. Metadata emsg can be inserted. That is, in the present embodiment, there are more opportunities to insert event data as compared with the conventional technique. That is, by using the metadata insertion device 1, it becomes possible to insert event metadata with finer particle size in time, and it becomes possible to reduce the delay in delivery.

図5は、メタデータ挿入装置1が出力するコンテンツの具体的な配信方法の例を示す概略図である。本例では、メタデータ挿入装置1が出力するコンテンツは、コンテンツデリバリーネットワーク5から、クライアント装置6に配信される。図5に示す配信方法の場合、メタデータ挿入装置1のコンテンツ出力部14が、コンテンツデリバリーネットワーク5に向けて、コンテンツデータ(映像データ)を順次出力する。コンテンツ出力部14は、一例として、HTTPプロキシとしてコンテンツデータをプッシュ(push)する。コンテンツデリバリーネットワーク5内には、配信装置4が存在する。コンテンツデリバリーネットワーク5内に複数の配信装置4が存在してもよい。コンテンツ出力部14が出力したコンテンツデータは、配信装置4において保持される。クライアント装置6は、ユーザーの操作等に基づいて、コンテンツデリバリーネットワーク5内のいずれかの配信装置4に対してコンテンツデータのリクエストを送信する。配信装置4は、そのリクエストを受信し、リクエストに応じたコンテンツデータを、レスポンスとしてクライアント装置6に対して送信する。このコンテンツデータは、メタデータ挿入装置1が出力したコンテンツデータである。このコンテンツデータは、メタデータ挿入装置1のイベントデータ挿入部13が挿入したイベント用メタデータを含む場合がる。 FIG. 5 is a schematic diagram showing an example of a specific distribution method of the content output by the metadata insertion device 1. In this example, the content output by the metadata insertion device 1 is delivered from the content delivery network 5 to the client device 6. In the case of the distribution method shown in FIG. 5, the content output unit 14 of the metadata insertion device 1 sequentially outputs content data (video data) to the content delivery network 5. As an example, the content output unit 14 pushes content data as an HTTP proxy. The distribution device 4 exists in the content delivery network 5. A plurality of distribution devices 4 may exist in the content delivery network 5. The content data output by the content output unit 14 is held in the distribution device 4. The client device 6 transmits a content data request to any of the distribution devices 4 in the content delivery network 5 based on the user's operation or the like. The distribution device 4 receives the request and transmits the content data corresponding to the request to the client device 6 as a response. This content data is the content data output by the metadata insertion device 1. This content data may include event metadata inserted by the event data insertion unit 13 of the metadata insertion device 1.

図6は、メタデータ挿入装置1が出力するコンテンツの具体的な配信方法の、別の例を示す概略図である。本例では、コンテンツデリバリーネットワーク5を経由せずに、メタデータ挿入装置1が、直接、クライアント装置6に対してコンテンツデータを配信する。図6に示す配信方法の場合、クライアント装置6は、ユーザーの操作等に基づいて、メタデータ挿入装置1に対して、コンテンツデータのリクエストを送信する。メタデータ挿入装置1のコンテンツ配信部15は、クライアント装置6からのリクエストを受信し、リクエストに応じたコンテンツデータを、レスポンスとしてクライアント装置6に対して送信する。このコンテンツデータは、イベントデータ挿入部13が挿入したイベント用メタデータを含む場合がる。 FIG. 6 is a schematic diagram showing another example of a specific distribution method of the content output by the metadata insertion device 1. In this example, the metadata insertion device 1 directly delivers the content data to the client device 6 without going through the content delivery network 5. In the case of the distribution method shown in FIG. 6, the client device 6 transmits a content data request to the metadata insertion device 1 based on a user operation or the like. The content distribution unit 15 of the metadata insertion device 1 receives a request from the client device 6 and transmits the content data corresponding to the request to the client device 6 as a response. This content data may include event metadata inserted by the event data insertion unit 13.

つまり、本実施形態では、図5に示したように、エンコーダー装置3とコンテンツデリバリーネットワーク5との間に、メタデータ挿入装置1を設けることができる。エンコーダー装置3からメタデータ挿入装置1を介さずにコンテンツデリバリーネットワーク5にコンテンツデータを渡す系統は、従来の系統である。つまり、本実施形態では、従来の系統の途中に、メタデータ挿入装置1を設けることができる。また、本実施形態では、図6に示したように、エンコーダー装置3とクライアント装置6との間にメタデータ挿入装置1を設けることができる。この場合には、メタデータ挿入装置1が持つコンテンツ配信部15が、クライアント装置6に対する配信の処理を行う。 That is, in the present embodiment, as shown in FIG. 5, the metadata insertion device 1 can be provided between the encoder device 3 and the content delivery network 5. The system for passing content data from the encoder device 3 to the content delivery network 5 without going through the metadata insertion device 1 is a conventional system. That is, in the present embodiment, the metadata insertion device 1 can be provided in the middle of the conventional system. Further, in the present embodiment, as shown in FIG. 6, a metadata insertion device 1 can be provided between the encoder device 3 and the client device 6. In this case, the content distribution unit 15 of the metadata insertion device 1 performs distribution processing to the client device 6.

一般的なChunked Transfer Encodingは、断続的に送信する動画データが送信完了したことを示すために、最後に0バイト(0 byte)のデータを送信する。そのため、動画の送信や配信をHTTPのセッションとしてデータ処理する場合は、0バイトのデータをファイルの切れ目としてセッション管理を行えばよい。一方で、動画配信部の機能によっては、Chunked Transfer Encodingで受信されたデータを逐次ファイルとして処理することも考えられる。ファイルとして処理する場合は、配信部はクライアントに配信する動画データ(mdat)が完成しているのかが判別できない。そのため、イベントデータ挿入部13は、受信しているコンテンツのMP4データがまだ作成中(mdatが作成中)であるのか、MP4データが完成した(mdatが完成した)のかを示す情報を挿入してもよい。具体的には、イベントデータ挿入部13は、動画データ(mdat)が完成した時点で、動画の切れ目として識別子となる、boxデータ(例えば、eods)を挿入してよい。コンテンツ配信部15は、クライアント装置6からの映像のリクエストに対してレスポンスするデータが、作成中なのか既に完成しているのかを判断する必要がある。コンテンツ配信部15は、その判断のために、イベントデータ挿入部13が挿入する上記のeodsの有無を判定する。クライアント装置6からリクエストされたコンテンツが完了している(eodsがある)場合には、コンテンツ配信部15は、そのコンテンツをレスポンスとして配信する。クライアント装置6からリクエストされたコンテンツが作成中である(eodsがない)場合には、コンテンツ配信部15は、リクエストのセッションを維持しながら、コンテンツが完了した後でそのコンテンツを配信するよう動作する。
In general Chunked Transfer Encoding, 0 bytes (0 bytes) of data are finally transmitted to indicate that the video data to be transmitted intermittently has been transmitted. Therefore, when data processing of video transmission or distribution as an HTTP session, session management may be performed using 0-byte data as a file break. On the other hand, depending on the function of the video distribution unit, it is possible to process the data received by Chunked Transfer Encoding as a sequential file. When processing as a file, the distribution unit cannot determine whether the video data (mdat) to be distributed to the client is completed. Therefore, the event data insertion unit 13 inserts information indicating whether the MP4 data of the received content is still being created (mdat is being created) or the MP4 data is completed (mdat is completed). May be good. Specifically, the event data insertion unit 13 may insert box data (for example, odes) which is an identifier as a break of the moving image when the moving image data (mdat) is completed. The content distribution unit 15 needs to determine whether the data that responds to the video request from the client device 6 is being created or has already been completed. The content distribution unit 15 determines the presence or absence of the above-mentioned odes inserted by the event data insertion unit 13 for the determination. When the content requested from the client device 6 is completed (there are odes), the content distribution unit 15 distributes the content as a response. When the content requested from the client device 6 is being created (there is no odes), the content distribution unit 15 operates to distribute the content after the content is completed while maintaining the session of the request. ..

第1実施形態の構成をまとめると、次の通りである。受信部11は、HTTPストリーミング用にエンコーディングされた映像データを受信する。イベントデータ挿入部13は、受信された前記映像データの、任意のチャンク内にイベント用メタデータを挿入する。ここで、前記映像データは、複数のセグメントで構成されるものである。また、前記チャンクは、前記セグメントをさらに分割した単位である、というものである(図4を参照)。 The configuration of the first embodiment is summarized as follows. The receiving unit 11 receives the video data encoded for HTTP streaming. The event data insertion unit 13 inserts event metadata into an arbitrary chunk of the received video data. Here, the video data is composed of a plurality of segments. Further, the chunk is a unit obtained by further dividing the segment (see FIG. 4).

受信部11が受信する前記映像データは、コモンメディアアプリケーションフォーマットの超低遅延(CMAFのULL)の形式のデータであってよい。さらに、前記セグメントは、複数の前記チャンクで構成されていてよい。このとき、前記セグメント内の先頭のチャンクは、制御データであるstypとsidxとmoofと、動画データであるmdatと、を含み、前記セグメント内の先頭以外のチャンクは、制御データであるmoofと、動画データであるmdatと、を含む。そして、イベントデータ挿入部13は、任意のチャンク(イベントを挿入するスケジュールや、突発的なイベントが発生したタイミング等に依存する)の、前記moofの直前に前記イベント用メタデータであるemsgを挿入してよい。 The video data received by the receiving unit 11 may be data in the form of ultra-low delay (CMAF ULL) in the common media application format. Further, the segment may be composed of a plurality of the chunks. At this time, the first chunk in the segment includes the control data style, sidx, and moof, and the moving image data mdat, and the chunks other than the first chunk in the segment include the control data moof. Includes mdat, which is moving image data. Then, the event data insertion unit 13 inserts the event metadata emsg immediately before the moof of an arbitrary chunk (depending on the schedule for inserting the event, the timing at which a sudden event occurs, and the like). You can do it.

メタデータ挿入装置1は、イベントデータ挿入部13が出力する前記映像データを、コンテンツデリバリーネットワーク5内の配信装置4に送信するコンテンツ出力部14を備えてよい。また、メタデータ挿入装置1は、イベントデータ挿入部13が出力する前記映像データを、クライアント装置6からのリクエストに対応するレスポンスとして配信するコンテンツ配信部15を備えてよい。 The metadata insertion device 1 may include a content output unit 14 that transmits the video data output by the event data insertion unit 13 to the distribution device 4 in the content delivery network 5. Further, the metadata insertion device 1 may include a content distribution unit 15 that distributes the video data output by the event data insertion unit 13 as a response corresponding to a request from the client device 6.

以上、説明した第1実施形態によれば、例えば既存のシステムの、エンコーダー装置3とコンテンツデリバリーネットワーク5との間にメタデータ挿入装置1を設けることにより、低遅延でイベント用メタデータを伝送することができるようになる。即ち、既存の設備のハードウェアを改修する必要がない。具体的には、メタデータ挿入装置1は、セグメント単位ではなく、チャンク単位で、イベント用メタデータを挿入できるようになる。これにより、イベント用メタデータの伝送の低遅延化を実現できる。一例として、1セグメントに対応する時間の長さが8秒、1チャンクに対応する時間の長さが2秒、1フレームに対応する時間の長さを500ミリ秒とすることができる。この例の場合には、従来技術では、1セグメントに1回、即ち8秒に1回しかイベント用メタデータを挿入する箇所はなかった。これに対して、上で説明した実施形態では、2秒に1回、イベント用メタデータを挿入する箇所が存在する。この2秒に加えて、様々な時間的なオーバーヘッドがあることを考慮しても、最大で約3秒程度の遅延で、クライアント装置に対してイベント用メタデータを配信することが可能となる。即ち、上で説明した実施形態では、従来技術に比べて短い遅延時間で、イベント用メタデータを配信することが可能となる。1チャンクの長さがここで例示した2秒以外の場合にも、その長さに応じて、従来技術に比べて短い遅延時間で、イベント用メタデータを配信することが可能となる。 According to the first embodiment described above, for example, by providing the metadata insertion device 1 between the encoder device 3 and the content delivery network 5 of the existing system, the event metadata is transmitted with low delay. You will be able to. That is, there is no need to repair the hardware of the existing equipment. Specifically, the metadata insertion device 1 can insert event metadata in chunk units instead of segment units. As a result, it is possible to reduce the delay in the transmission of event metadata. As an example, the length of time corresponding to one segment can be 8 seconds, the length of time corresponding to one chunk can be 2 seconds, and the length of time corresponding to one frame can be 500 milliseconds. In the case of this example, in the prior art, there was a place where the event metadata was inserted only once per segment, that is, once every 8 seconds. On the other hand, in the embodiment described above, there is a place where event metadata is inserted once every two seconds. In addition to these 2 seconds, even considering various time overheads, it is possible to deliver event metadata to the client device with a delay of about 3 seconds at the maximum. That is, in the embodiment described above, the event metadata can be delivered with a shorter delay time as compared with the conventional technique. Even when the length of one chunk is other than the two seconds exemplified here, it is possible to deliver the event metadata with a shorter delay time as compared with the prior art, depending on the length.

このように、本実施形態によれば、ネット動画配信においても、放送のEMと同等の速さで、迅速にイベント用メタデータをクライアント装置6に届けることが可能となる。また、本実施形態を用いて、放送のEMの代替手段を、インターネットにより実現できる。つまり、例えば、映像や音声を放送で伝送し、イベント用メタデータのみをインターネットで伝送するといったことも可能となる。 As described above, according to the present embodiment, it is possible to quickly deliver the event metadata to the client device 6 at the same speed as the EM of broadcasting even in the online video distribution. Further, by using this embodiment, an alternative means of broadcasting EM can be realized by the Internet. That is, for example, it is possible to transmit video and audio by broadcasting and transmit only event metadata on the Internet.

[第2実施形態]
次に、本発明の第2実施形態について説明する。なお、前実施形態において既に説明した事項については以下において説明を省略する場合がある。ここでは、本実施形態に特有の事項を中心に説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The matters already described in the previous embodiment may be omitted below. Here, the matters peculiar to the present embodiment will be mainly described.

図7は、第2実施形態によるメタデータ挿入装置の概略機能構成を示すブロック図である。図示するように、本実施形態のメタデータ挿入装置8は、受信部11と、解析部12と、イベントデータ挿入部13と、コンテンツ出力部14と、コンテンツ配信部15と、挿入条件記憶部17とを含んで構成される。これらのうち、受信部11と、解析部12と、イベントデータ挿入部13と、コンテンツ出力部14と、コンテンツ配信部15とは、第1実施形態におけるそれらが持つ機能と同様の機能を持つ。本実施形態の特徴は、メタデータ挿入装置8が挿入条件記憶部17を持つ点である。コンテンツ配信部15は、挿入条件記憶部17に記憶されている挿入条件に基づいて映像データにイベント用メタデータを挿入することができる。また、コンテンツ配信部15は、挿入条件記憶部17が持つ条件に基づいて、所定の条件に合うクライアント装置6にはイベント用メタデータが挿入されたコンテンツデータを配信することができる。また、コンテンツ配信部15は、他のクライアント装置6にはイベント用メタデータが挿入されていないコンテンツデータを配信することができる。 FIG. 7 is a block diagram showing a schematic functional configuration of the metadata insertion device according to the second embodiment. As shown in the figure, the metadata insertion device 8 of the present embodiment includes a reception unit 11, an analysis unit 12, an event data insertion unit 13, a content output unit 14, a content distribution unit 15, and an insertion condition storage unit 17. Consists of including. Of these, the receiving unit 11, the analysis unit 12, the event data inserting unit 13, the content output unit 14, and the content distribution unit 15 have the same functions as those of the first embodiment. The feature of this embodiment is that the metadata insertion device 8 has an insertion condition storage unit 17. The content distribution unit 15 can insert event metadata into the video data based on the insertion conditions stored in the insertion condition storage unit 17. Further, the content distribution unit 15 can distribute the content data in which the event metadata is inserted to the client device 6 that meets the predetermined conditions based on the conditions of the insertion condition storage unit 17. Further, the content distribution unit 15 can distribute the content data in which the event metadata is not inserted into the other client device 6.

挿入条件記憶部17は、どのような状況においてイベント用メタデータが挿入されたコンテンツデータが出力されるべきであり、どのような状況においてイベント用メタデータが挿入されていないコンテンツデータが出力されるべきであるかを表す情報を記憶する。具体的には、挿入条件記憶部17は、第1のパターンとして、コンテンツごとに、イベント用メタデータを挿入すべきであるか否かを表す情報を記憶してよい。また、挿入条件記憶部17は、第2のパターンとして、クライアント装置6のユーザーごとに、イベント用メタデータを挿入すべきであるか否かを表す情報を記憶してよい。また、挿入条件記憶部17は、第3のパターンとして、クライアント装置6のユーザーの属性ごとに、イベント用メタデータを挿入すべきであるか否かを表す情報を記憶してよい。次に、これらのパターンごとに、挿入条件記憶部17が記憶する情報について説明する。 The insertion condition storage unit 17 should output the content data in which the event metadata is inserted in any situation, and outputs the content data in which the event metadata is not inserted in any situation. Memorize information that indicates whether it should be. Specifically, the insertion condition storage unit 17 may store information indicating whether or not event metadata should be inserted for each content as the first pattern. Further, as the second pattern, the insertion condition storage unit 17 may store information indicating whether or not event metadata should be inserted for each user of the client device 6. Further, as the third pattern, the insertion condition storage unit 17 may store information indicating whether or not event metadata should be inserted for each user attribute of the client device 6. Next, the information stored in the insertion condition storage unit 17 will be described for each of these patterns.

図8は、上記第1のパターンに対応するものである。図8は、挿入条件記憶部17が、コンテンツごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。図示するように、挿入条件記憶部17は、テーブルを記憶する。このテーブルは、コンテンツIDと、イベント情報挿入の有無(真偽)を表す項目を持つ。つまり、挿入条件記憶部17は、コンテンツIDごとに、イベント情報を挿入すべきである(T、真)か、イベント情報を挿入すべきではない(F、偽)か、を表す情報を記憶する。イベントデータ挿入部13は、このような挿入条件記憶部17の情報を参照することにより、対象とするコンテンツのコンテンツIDに応じて、必要な場合のみに、イベント用メタデータを挿入する。つまり、イベントデータ挿入部13は、コンテンツIDに対応するイベント情報挿入の値が「T」のときには、そのコンテンツにイベント用メタデータを挿入する。そして、イベント情報挿入の値が「F」のときには、そのコンテンツにイベント用メタデータを挿入しない。 FIG. 8 corresponds to the first pattern. FIG. 8 is a schematic diagram showing a data configuration example when the insertion condition storage unit 17 stores information indicating whether or not event metadata should be inserted for each content. As shown in the figure, the insertion condition storage unit 17 stores the table. This table has a content ID and an item indicating whether or not event information is inserted (true / false). That is, the insertion condition storage unit 17 stores information indicating whether the event information should be inserted (T, true) or the event information should not be inserted (F, false) for each content ID. .. By referring to the information of the insertion condition storage unit 17, the event data insertion unit 13 inserts the event metadata only when necessary according to the content ID of the target content. That is, when the event information insertion value corresponding to the content ID is "T", the event data insertion unit 13 inserts the event metadata into the content. Then, when the value of the event information insertion is "F", the event metadata is not inserted into the content.

上記の第1のパターンの場合には、イベントデータ挿入部13が出力したコンテンツデータは、コンテンツ出力部14から(図5に示した形態)、あるいはコンテンツ配信部15から(図6に示した形態)のどちらの形態でも出力され得る。 In the case of the first pattern described above, the content data output by the event data insertion unit 13 is from the content output unit 14 (the form shown in FIG. 5) or from the content distribution unit 15 (the form shown in FIG. 6). ) Can be output in either form.

図9は、上記第2のパターンに対応するものである。図9は、挿入条件記憶部17が、クライアント装置6のユーザーごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。図示するように、挿入条件記憶部17は、テーブルを記憶する。このテーブルは、ユーザーIDと、イベント情報挿入の有無(真偽)を表す項目を持つ。つまり、挿入条件記憶部17は、ユーザーIDごとに、イベント情報を挿入すべきである(T、真)か、イベント情報を挿入すべきではない(F、偽)か、を表す情報を記憶する。この場合、イベントデータ挿入部13は、イベント用メタデータを挿入したコンテンツデータと、イベント用メタデータを挿入しないコンテンツデータとの、両方を作成し、コンテンツ配信部15に渡す。コンテンツ配信部15は、挿入条件記憶部17を参照し、ユーザーIDに対応して、条件を判定し、イベント用メタデータの挿入の有りまたは無しの、いずれかのコンテンツデータを、クライアント装置6に配信する。具体的には、コンテンツデータの要求元であるクライアント装置6に関連付くユーザーIDの、イベント情報挿入の値が「T」のときには、コンテンツ配信部15は、イベント用メタデータが挿入されたコンテンツデータを、そのクライアント装置6に配信する。コンテンツデータの要求元であるクライアント装置6に関連付くユーザーIDの、イベント情報挿入の値が「F」のときには、コンテンツ配信部15は、イベント用メタデータが挿入されていないコンテンツデータを、そのクライアント装置6に配信する。 FIG. 9 corresponds to the second pattern. FIG. 9 is a schematic diagram showing a data configuration example when the insertion condition storage unit 17 stores information indicating whether or not event metadata should be inserted for each user of the client device 6. Is. As shown in the figure, the insertion condition storage unit 17 stores the table. This table has a user ID and an item indicating whether or not event information is inserted (true / false). That is, the insertion condition storage unit 17 stores information indicating whether the event information should be inserted (T, true) or the event information should not be inserted (F, false) for each user ID. .. In this case, the event data insertion unit 13 creates both the content data in which the event metadata is inserted and the content data in which the event metadata is not inserted, and passes the content data to the content distribution unit 15. The content distribution unit 15 refers to the insertion condition storage unit 17, determines the condition corresponding to the user ID, and transfers the content data with or without the insertion of the event metadata to the client device 6. To deliver. Specifically, when the value of the event information insertion of the user ID associated with the client device 6 that is the request source of the content data is "T", the content distribution unit 15 is the content data in which the event metadata is inserted. Is delivered to the client device 6. When the event information insertion value of the user ID associated with the client device 6 that is the request source of the content data is "F", the content distribution unit 15 inputs the content data into which the event metadata is not inserted to the client. Deliver to device 6.

上記の第2のパターンの場合には、ユーザーIDごとにイベント用メタデータの挿入の有無を制御する必要があるため、コンテンツ出力部14からコンテンツデリバリーネットワーク5を経由してのコンテンツの配信(図5に示した形態)は、行われない。第2のパターンの場合には、コンテンツ配信部15からコンテンツの配信を行う形態(図6に示した形態)で、処理が行われる。 In the case of the second pattern described above, since it is necessary to control whether or not the event metadata is inserted for each user ID, the content is distributed from the content output unit 14 via the content delivery network 5 (FIG. The form shown in 5) is not performed. In the case of the second pattern, the processing is performed in the form of distributing the content from the content distribution unit 15 (the form shown in FIG. 6).

図10は、上記第3のパターンに対応するものである。図10は、挿入条件記憶部17が、クライアント装置6のユーザーの属性ごとにイベント用メタデータを挿入すべきであるか否かを表す情報を記憶するものである場合の、データ構成例を示す概略図である。図示するように、挿入条件記憶部17は、テーブルを記憶する。このテーブルは、ユーザーの属性と、イベント情報挿入の有無(真偽)を表す項目を持つ。つまり、挿入条件記憶部17は、ユーザー属性ごとに、イベント情報を挿入すべきである(T、真)か、イベント情報を挿入すべきではない(F、偽)か、を表す情報を記憶する。この場合、イベントデータ挿入部13は、イベント用メタデータを挿入したコンテンツデータと、イベント用メタデータを挿入しないコンテンツデータとの、両方を作成し、コンテンツ配信部15に渡す。コンテンツ配信部15は、挿入条件記憶部17を参照し、要求元のユーザーの属性に対応して、条件を判定し、イベント用メタデータの挿入の有りまたは無しの、いずれかのコンテンツデータを、クライアント装置6に配信する。具体的には、コンテンツデータの要求元であるクライアント装置6に関連付くユーザーの属性に対応する、イベント情報挿入の値が「T」のときには、コンテンツ配信部15は、イベント用メタデータが挿入されたコンテンツデータを、そのクライアント装置6に配信する。コンテンツデータの要求元であるクライアント装置6に関連付くユーザーの属性に対応する、イベント情報挿入の値が「F」のときには、コンテンツ配信部15は、イベント用メタデータが挿入されていないコンテンツデータを、そのクライアント装置6に配信する。 FIG. 10 corresponds to the third pattern. FIG. 10 shows a data configuration example when the insertion condition storage unit 17 stores information indicating whether or not event metadata should be inserted for each user attribute of the client device 6. It is a schematic diagram. As shown in the figure, the insertion condition storage unit 17 stores the table. This table has user attributes and items indicating whether or not event information is inserted (true / false). That is, the insertion condition storage unit 17 stores information indicating whether the event information should be inserted (T, true) or the event information should not be inserted (F, false) for each user attribute. .. In this case, the event data insertion unit 13 creates both the content data in which the event metadata is inserted and the content data in which the event metadata is not inserted, and passes the content data to the content distribution unit 15. The content distribution unit 15 refers to the insertion condition storage unit 17, determines the condition according to the attribute of the requesting user, and inserts or does not insert the event metadata into the content data. Deliver to client device 6. Specifically, when the event information insertion value corresponding to the user attribute associated with the client device 6 that is the request source of the content data is "T", the content distribution unit 15 inserts the event metadata. The content data is distributed to the client device 6. When the value of the event information insertion corresponding to the user attribute associated with the client device 6 that is the request source of the content data is "F", the content distribution unit 15 inputs the content data in which the event metadata is not inserted. , Distribute to the client device 6.

図10に示す例では、クライアント装置6のユーザーの属性が「東京都在住」や「埼玉県在住」である場合には、コンテンツ配信部15は、イベント用メタデータが挿入されたコンテンツデータを、そのクライアント装置6に配信する。クライアント装置6のユーザーの属性が「神奈川県在住」である場合には、コンテンツ配信部15は、イベント用メタデータが挿入されていないコンテンツデータを、そのクライアント装置6に配信する。 In the example shown in FIG. 10, when the user attribute of the client device 6 is "resident in Tokyo" or "resident in Saitama prefecture", the content distribution unit 15 inserts the content data into which the event metadata is inserted. Deliver to the client device 6. When the attribute of the user of the client device 6 is "resident in Kanagawa prefecture", the content distribution unit 15 distributes the content data into which the event metadata is not inserted to the client device 6.

上記の第3のパターンの場合には、ユーザーの属性ごとにイベント用メタデータの挿入の有無を制御する必要があるため、コンテンツ出力部14からコンテンツデリバリーネットワーク5を経由してのコンテンツの配信(図5に示した形態)は、行われない。第3のパターンの場合には、コンテンツ配信部15からコンテンツの配信を行う形態(図6に示した形態)で、処理が行われる。 In the case of the above third pattern, since it is necessary to control whether or not the event metadata is inserted for each user attribute, the content is distributed from the content output unit 14 via the content delivery network 5 ( The form shown in FIG. 5) is not performed. In the case of the third pattern, the processing is performed in the form of distributing the content from the content distribution unit 15 (the form shown in FIG. 6).

なお、ユーザーの属性は、予め登録されている属性には限らない。例えば、コンテンツ配信部15が、クライアント装置6からのリクエストの状況に基づいて、当該クライアント装置6のユーザーの属性を判定するようにしても良い。例えば、コンテンツ配信部15は、コンテンツのリクエストを行うクライアント装置6のユーザーの存在場所を、通信内容から読み取って判定してもよい。また、例えば、コンテンツ配信部15は、特定のクライアント装置6からのリクエストが所定時間以上続いた場合に、そのクライアント装置6のユーザーの属性を「継続視聴ユーザー」として判定してもよい。また、例えば、コンテンツ配信部15は、特定のクライアント装置6からの特定コンテンツに対するリクエストが所定時間以上続いた場合に、そのクライアント装置6のユーザーの属性を、当該コンテンツの継続視聴ユーザーとして判定してもよい。ここに例示したような属性を持つユーザーに対しては、特定の商品あるいはサービス等をレコメンドするためのイベント用メタデータを送信するように制御することもできる。 The user attributes are not limited to the pre-registered attributes. For example, the content distribution unit 15 may determine the attributes of the user of the client device 6 based on the status of the request from the client device 6. For example, the content distribution unit 15 may read the location of the user of the client device 6 requesting the content from the communication content and determine it. Further, for example, the content distribution unit 15 may determine the attribute of the user of the client device 6 as the "continuous viewing user" when the request from the specific client device 6 continues for a predetermined time or longer. Further, for example, when the request for the specific content from the specific client device 6 continues for a predetermined time or more, the content distribution unit 15 determines the attribute of the user of the client device 6 as the continuous viewing user of the content. May be good. It is also possible to control the user having the attributes as illustrated here to send the event metadata for recommending a specific product or service.

なお、イベント用メタデータの種類は、複数であってもよい。また、挿入条件記憶部17は、イベント用メタデータの種類ごとに、図8、図9、図10に示したような情報を記憶してもよい。また、イベントデータ挿入部13は、イベント用メタデータの種類ごとに別々に、イベント用メタデータを挿入するか否かを判断してもよい。また、コンテンツ配信部15は、イベント用メタデータの種類ごとに別々に、各クライアント装置6に対して、イベント用メタデータが挿入されたコンテンツを配信するか、イベント用メタデータが挿入されていないコンテンツを配信するか、を制御してもよい。 There may be a plurality of types of event metadata. Further, the insertion condition storage unit 17 may store information as shown in FIGS. 8, 9, and 10 for each type of event metadata. Further, the event data insertion unit 13 may determine whether or not to insert the event metadata separately for each type of event metadata. Further, the content distribution unit 15 separately distributes the content in which the event metadata is inserted to each client device 6 for each type of event metadata, or the event metadata is not inserted. You may control whether the content is delivered.

第2実施形態の特徴をまとめると、次の通りである。イベントデータ挿入部13は、設定された情報に基づく特定のコンテンツ内の任意のチャンク内のみに前記イベント用メタデータを挿入する。ここで、設定された情報とは、前述の挿入条件記憶部17が記憶するように設定されている情報(図8を参照)である。 The features of the second embodiment are summarized as follows. The event data insertion unit 13 inserts the event metadata only in an arbitrary chunk in a specific content based on the set information. Here, the set information is information set to be stored in the above-mentioned insertion condition storage unit 17 (see FIG. 8).

また、イベントデータ挿入部13は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力してもよい。コンテンツ配信部15は、設定された情報に基づく特定のユーザーの前記クライアント装置6には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーの前記クライアント装置6には前記イベント用メタデータが挿入されていない前記映像データを配信してよい。ここで、設定された情報とは、前述の挿入条件記憶部17が記憶するように設定されている情報(図9、図10を参照)である。 Further, the event data insertion unit 13 may output the video data in which the event metadata is inserted and the video data in which the event metadata is not inserted. The content distribution unit 15 distributes the video data in which the event metadata is inserted into the client device 6 of the specific user based on the set information, and the client of the other user based on the set information. The video data in which the event metadata is not inserted may be delivered to the device 6. Here, the set information is information set to be stored in the above-mentioned insertion condition storage unit 17 (see FIGS. 9 and 10).

以上説明したように、第2実施形態では、さらに、特定のコンテンツのみにイベント用メタデータを挿入したり、特定のユーザーあるいは特定のユーザー属性を有するユーザーのみにイベント用メタデータを挿入したりすることができる。例えば、特定の単数または複数のクライアント装置6のみに、配信中のコンテンツの関連コンテンツをレコメンドするためのイベント用メタデータを送信するようにできる。また、例えば、特定の地域に存在するクライアント装置6のみに、地震速報やその他の災害速報を伝えるためのイベント用メタデータを送信するようにできる。また、例えば、特定の単数または複数のクライアント装置6には、イベント用メタデータを一切送信しないようにできる。 As described above, in the second embodiment, the event metadata is further inserted only in a specific content, or the event metadata is inserted only in a specific user or a user having a specific user attribute. be able to. For example, event metadata for recommending related content of the content being delivered can be transmitted only to a specific single or plurality of client devices 6. Further, for example, event metadata for transmitting earthquake breaking news and other disaster breaking news can be transmitted only to the client device 6 existing in a specific area. Further, for example, it is possible to prevent the event metadata from being transmitted to a specific one or more client devices 6.

以上説明した第1実施形態と第2実施形態のいずれかによれば、メタデータ挿入装置は、セグメント単位ではなく、チャンク単位で、イベント用メタデータを挿入することが可能となる。これにより、イベント用メタデータのクライアント装置への伝送の低遅延化が可能となる。 According to either the first embodiment or the second embodiment described above, the metadata insertion device can insert event metadata in chunk units instead of segment units. This makes it possible to reduce the delay in the transmission of event metadata to the client device.

図11は、第1実施形態や第2実施形態においてメタデータ挿入装置1(あるいは8)の内部構成の一部の例を示すブロック図である。メタデータ挿入装置1(あるいは8)は、コンピューターを用いて実現され得る。図示するように、そのコンピューターは、中央処理装置901と、RAM902と、入出力ポート903と、入出力デバイス904や905等と、バス906と、を含んで構成される。コンピューター自体は、既存技術を用いて実現可能である。中央処理装置901は、RAM902等から読み込んだプログラムに含まれる命令を実行する。中央処理装置901は、各命令にしたがって、RAM902にデータを書き込んだり、RAM902からデータを読み出したり、算術演算や論理演算を行ったりする。RAM902は、データやプログラムを記憶する。RAM902に含まれる各要素は、アドレスを持ち、アドレスを用いてアクセスされ得るものである。なお、RAMは、「ランダムアクセスメモリー」の略である。入出力ポート903は、中央処理装置901が外部の入出力デバイス等とデータのやり取りを行うためのポートである。入出力デバイス904や905は、入出力デバイスである。入出力デバイス904や905は、入出力ポート903を介して中央処理装置901との間でデータをやりとりする。バス906は、コンピューター内部で使用される共通の通信路である。例えば、中央処理装置901は、バス906を介してRAM902のデータを読んだり書いたりする。また、例えば、中央処理装置901は、バス906を介して入出力ポートにアクセスする。 FIG. 11 is a block diagram showing an example of a part of the internal configuration of the metadata insertion device 1 (or 8) in the first embodiment and the second embodiment. The metadata insertion device 1 (or 8) can be realized using a computer. As shown in the figure, the computer includes a central processing unit 901, a RAM 902, an input / output port 903, input / output devices 904 and 905, and a bus 906. The computer itself can be realized using existing technology. The central processing unit 901 executes an instruction included in a program read from RAM 902 or the like. The central processing unit 901 writes data to RAM 902, reads data from RAM 902, and performs arithmetic operations and logical operations according to each instruction. The RAM 902 stores data and programs. Each element contained in the RAM 902 has an address and can be accessed using the address. RAM is an abbreviation for "random access memory". The input / output port 903 is a port for the central processing unit 901 to exchange data with an external input / output device or the like. The input / output devices 904 and 905 are input / output devices. The input / output devices 904 and 905 exchange data with the central processing unit 901 via the input / output ports 903. Bus 906 is a common communication path used inside a computer. For example, the central processing unit 901 reads and writes data in the RAM 902 via the bus 906. Further, for example, the central processing unit 901 accesses the input / output port via the bus 906.

なお、上述した実施形態のメタデータ挿入装置1(あるいは8)の少なくとも一部の機能をコンピューターで実現することができる。その場合、この機能を実現するためのプログラムをコンピューター読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピューターシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピューターシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM、DVD-ROM、USBメモリー等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、一時的に、動的にプログラムを保持するもの、その場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 It should be noted that at least a part of the functions of the metadata insertion device 1 (or 8) of the above-described embodiment can be realized by a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read by a computer system and executed. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. The "computer-readable recording medium" is a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, a DVD-ROM, or a USB memory, or a storage device such as a hard disk built in a computer system. That means. Furthermore, a "computer-readable recording medium" is a device that temporarily and dynamically holds a program, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In that case, it may include a program that holds a program for a certain period of time, such as a volatile memory inside a computer system that is a server or a client. Further, the above-mentioned program may be for realizing a part of the above-mentioned functions, and may be further realized for realizing the above-mentioned functions in combination with a program already recorded in the computer system.

以上、複数の実施形態を説明したが、本発明はさらに次のような変形例でも実施することが可能である。なお、複数の変形例を、組み合わせることが可能な限りにおいて、組み合わせて実施してもよい。 Although a plurality of embodiments have been described above, the present invention can be further implemented in the following modifications. In addition, a plurality of modified examples may be combined and carried out as long as they can be combined.

[第1変形例]
前記の各実施形態では、メタデータ挿入装置1や8は、コンテンツ出力部14とコンテンツ配信部15との両方を備えることとした。この第1変形例では、メタデータ挿入装置1や8は、必ずしもコンテンツ出力部14とコンテンツ配信部15とを備えなくてもよい。コンテンツ出力部14とコンテンツ配信部15のどちらも備えないメタデータ挿入装置1や8は、イベント用メタデータを挿入した映像データを生成することができる。コンテンツ出力部14のみを備えるところのメタデータ挿入装置1や8は、配信装置4に対して、イベント用メタデータを挿入した映像データを渡すことができる。コンテンツ配信部15のみを備えるところのメタデータ挿入装置1や8は、コンテンツデリバリーネットワークを介さずに、クライアント装置6に、イベント用メタデータを挿入した映像データを配信することができる。
[First modification]
In each of the above embodiments, the metadata insertion devices 1 and 8 are provided with both a content output unit 14 and a content distribution unit 15. In this first modification, the metadata insertion devices 1 and 8 do not necessarily have to include the content output unit 14 and the content distribution unit 15. The metadata insertion devices 1 and 8 having neither the content output unit 14 nor the content distribution unit 15 can generate video data in which event metadata is inserted. The metadata insertion device 1 or 8 provided with only the content output unit 14 can pass the video data in which the event metadata is inserted to the distribution device 4. The metadata insertion devices 1 and 8 provided with only the content distribution unit 15 can distribute the video data in which the event metadata is inserted to the client device 6 without going through the content delivery network.

[第2変形例]
前記の第2実施形態では、イベントデータ挿入部13は、セグメント内の任意のチャンク内に、イベント用メタデータを挿入するものであった。この第2変形例では、必ずしも、イベントデータ挿入部13は、任意のチャンク内にイベント用メタデータを挿入するものでなくてもよい。つまり、この第2変形例では、イベントデータ挿入部13は、セグメント内の先頭のチャンクのみに、イベント用メタデータを挿入するものであってもよい。この場合にも、メタデータ挿入装置8は、挿入条件記憶部17が記憶する条件の情報に基づいて、特定のコンテンツのみにイベント用メタデータを挿入したコンテンツを出力したり、特定の(単数または複数の)ユーザーのみのクライアント装置に対してイベント用メタデータを挿入したコンテンツを配信したり、特定の属性を有するユーザーのみのクライアント装置に対してイベント用メタデータを挿入したコンテンツを配信したり、することが可能である。
[Second modification]
In the second embodiment described above, the event data insertion unit 13 inserts event metadata into any chunk in the segment. In this second modification, the event data insertion unit 13 does not necessarily have to insert the event metadata into any chunk. That is, in this second modification, the event data insertion unit 13 may insert event metadata only in the first chunk in the segment. Also in this case, the metadata insertion device 8 may output the content in which the event metadata is inserted only in the specific content, or may output the specific (single or single or) content based on the condition information stored in the insertion condition storage unit 17. Deliver content with event metadata inserted to user-only client devices (multiple), or deliver event metadata-inserted content to user-only client devices with specific attributes. It is possible to do.

この第2変形例では、受信部11は、HTTPストリーミング用にエンコーディングされた映像データを受信する。イベントデータ挿入部13は、受信された前記映像データ内にイベント用メタデータを挿入する。コンテンツ配信部15は、イベントデータ挿入部13が出力する前記映像データを、クライアント装置6からのリクエストに対応するレスポンスとして配信する。そして、イベントデータ挿入部13は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力する。コンテンツ配信部15は、設定された情報(図9、図10等)に基づく特定のユーザーのクライアント装置6には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーのクライアント装置6には前記イベント用メタデータが挿入されていない前記映像データを配信する。 In this second modification, the receiving unit 11 receives the video data encoded for HTTP streaming. The event data insertion unit 13 inserts event metadata into the received video data. The content distribution unit 15 distributes the video data output by the event data insertion unit 13 as a response corresponding to the request from the client device 6. Then, the event data insertion unit 13 outputs the video data in which the event metadata is inserted and the video data in which the event metadata is not inserted. The content distribution unit 15 distributes the video data in which the event metadata is inserted to the client device 6 of a specific user based on the set information (FIGS. 9, 10, etc.), and distributes the video data to the set information. The video data in which the event metadata is not inserted is delivered to the client device 6 of another user based on the above.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 Although the embodiments of the present invention have been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and includes designs and the like within a range that does not deviate from the gist of the present invention.

本発明は、例えば、コンテンツを制作したり配信したりする事業において利用可能である。また、そのための機器を製造したり販売したりする事業において利用可能である。但し、本発明の利用範囲はここに例示したものには限られない。 The present invention can be used, for example, in a business of producing and distributing content. It can also be used in the business of manufacturing and selling equipment for that purpose. However, the scope of use of the present invention is not limited to those exemplified here.

1 メタデータ挿入装置
2 映像供給装置
3 エンコーダー装置
4 配信装置
5 コンテンツデリバリーネットワーク
6 クライアント装置
8 メタデータ挿入装置
11 受信部
12 解析部
13 イベントデータ挿入部
14 コンテンツ出力部
15 コンテンツ配信部
17 挿入条件記憶部
100 システム
901 中央処理装置
902 RAM
903 入出力ポート
904,905 入出力デバイス
906 バス
1 Metadata insertion device 2 Video supply device 3 Encoder device 4 Distribution device 5 Content delivery network 6 Client device 8 Metadata insertion device 11 Receiver 12 Analysis unit 13 Event data insertion unit 14 Content output unit 15 Content distribution unit 17 Insertion condition storage Part 100 System 901 Central processing unit 902 RAM
903 I / O ports 904,905 I / O devices 906 buses

Claims (9)

HTTPストリーミング用にエンコーディングされた映像データを受信する受信部と、
受信された前記映像データの、任意のチャンク内にイベント用メタデータを挿入するイベントデータ挿入部と、
を具備し、
前記映像データは、複数のセグメントで構成されるものであり、
前記チャンクは、前記セグメントをさらに分割した単位である、
メタデータ挿入装置。
A receiver that receives video data encoded for HTTP streaming,
An event data insertion unit that inserts event metadata into an arbitrary chunk of the received video data,
Equipped with
The video data is composed of a plurality of segments and is composed of a plurality of segments.
The chunk is a unit obtained by further dividing the segment.
Metadata insertion device.
受信部が受信する前記映像データは、コモンメディアアプリケーションフォーマットの超低遅延の形式のデータである、
請求項1に記載のメタデータ挿入装置。
The video data received by the receiving unit is data in the ultra-low delay format of the common media application format.
The metadata insertion device according to claim 1.
前記セグメントは、複数の前記チャンクで構成され、
前記セグメント内の先頭のチャンクは、制御データであるstypとsidxとmoofと、動画データであるmdatと、を含み、
前記セグメント内の先頭以外のチャンクは、制御データであるmoofと、動画データであるmdatと、を含み、
前記イベントデータ挿入部は、任意のチャンクの、前記moofの直前に前記イベント用メタデータであるemsgを挿入する、
請求項1または2に記載のメタデータ挿入装置。
The segment is composed of a plurality of the chunks.
The first chunk in the segment includes control data such as type, sidex, and moof, and moving image data, mdat.
Chunks other than the beginning in the segment include control data moof and moving image data mdat.
The event data insertion unit inserts the event metadata emsg immediately before the moof of any chunk.
The metadata insertion device according to claim 1 or 2.
前記イベントデータ挿入部が出力する前記映像データを、コンテンツデリバリーネットワーク内の配信装置に送信するコンテンツ出力部、
をさらに具備する請求項1から3までのいずれか一項に記載のメタデータ挿入装置。
A content output unit that transmits the video data output by the event data insertion unit to a distribution device in the content delivery network.
The metadata insertion device according to any one of claims 1 to 3, further comprising.
前記イベントデータ挿入部が出力する前記映像データを、クライアント装置からのリクエストに対応するレスポンスとして配信するコンテンツ配信部、
をさらに具備する請求項1から4までのいずれか一項に記載のメタデータ挿入装置。
A content distribution unit that distributes the video data output by the event data insertion unit as a response corresponding to a request from a client device.
The metadata insertion device according to any one of claims 1 to 4, further comprising.
前記イベントデータ挿入部は、設定された情報に基づく特定のコンテンツ内の任意のチャンク内のみに前記イベント用メタデータを挿入する、
請求項1から5までのいずれか一項に記載のメタデータ挿入装置。
The event data insertion unit inserts the event metadata only in any chunk in a specific content based on the set information.
The metadata insertion device according to any one of claims 1 to 5.
前記イベントデータ挿入部は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力し、
前記コンテンツ配信部は、設定された情報に基づく特定のユーザーの前記クライアント装置には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーの前記クライアント装置には前記イベント用メタデータが挿入されていない前記映像データを配信する、
請求項5に記載のメタデータ挿入装置。
The event data insertion unit outputs the video data in which the event metadata is inserted and the video data in which the event metadata is not inserted.
The content distribution unit distributes the video data in which the event metadata is inserted to the client device of a specific user based on the set information, and the client device of another user based on the set information. Distributes the video data in which the event metadata is not inserted.
The metadata insertion device according to claim 5.
HTTPストリーミング用にエンコーディングされた映像データを受信する受信部と、
受信された前記映像データ内にイベント用メタデータを挿入するイベントデータ挿入部と、
前記イベントデータ挿入部が出力する前記映像データを、クライアント装置からのリクエストに対応するレスポンスとして配信するコンテンツ配信部と、
を具備し、
前記イベントデータ挿入部は、前記イベント用メタデータが挿入された前記映像データと、前記イベント用メタデータが挿入されていない前記映像データとを出力し、
前記コンテンツ配信部は、設定された情報に基づく特定のユーザーの前記クライアント装置には前記イベント用メタデータが挿入された前記映像データを配信し、設定された情報に基づくその他のユーザーの前記クライアント装置には前記イベント用メタデータが挿入されていない前記映像データを配信する、
メタデータ挿入装置。
A receiver that receives video data encoded for HTTP streaming,
An event data insertion unit that inserts event metadata into the received video data,
A content distribution unit that distributes the video data output by the event data insertion unit as a response corresponding to a request from a client device, and a content distribution unit.
Equipped with
The event data insertion unit outputs the video data in which the event metadata is inserted and the video data in which the event metadata is not inserted.
The content distribution unit distributes the video data in which the event metadata is inserted to the client device of a specific user based on the set information, and the client device of another user based on the set information. Distributes the video data in which the event metadata is not inserted.
Metadata insertion device.
コンピューターを、
請求項1から8までのいずれか一項に記載のメタデータ挿入装置、
として機能させるためのプログラム。
Computer,
The metadata insertion apparatus according to any one of claims 1 to 8.
A program to function as.
JP2020134036A 2020-08-06 2020-08-06 Metadata insertion device and program Active JP7523279B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020134036A JP7523279B2 (en) 2020-08-06 2020-08-06 Metadata insertion device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020134036A JP7523279B2 (en) 2020-08-06 2020-08-06 Metadata insertion device and program

Publications (2)

Publication Number Publication Date
JP2022030209A true JP2022030209A (en) 2022-02-18
JP7523279B2 JP7523279B2 (en) 2024-07-26

Family

ID=80324819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020134036A Active JP7523279B2 (en) 2020-08-06 2020-08-06 Metadata insertion device and program

Country Status (1)

Country Link
JP (1) JP7523279B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2025506017A (en) * 2022-07-12 2025-03-05 テンセント・アメリカ・エルエルシー Bandwidth switching method by CMAF client and DASH client using Addressable Resource Index track and Addressable Resource Index event
JP2025520259A (en) * 2022-07-11 2025-07-03 キヤノン株式会社 Method, device, and computer program for optimizing dynamic encapsulation and parsing of content data - Patents.com

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017741A (en) * 2012-07-10 2014-01-30 Sharp Corp Content transmission device, content reproduction device, content distribution system, control method for content transmission device, control method for content reproduction device, control program, and recording medium
WO2017122554A1 (en) * 2016-01-15 2017-07-20 ソニー株式会社 Reception device, transmission device, and data processing method
WO2018234080A1 (en) * 2017-06-20 2018-12-27 Telefonaktiebolaget Lm Ericsson (Publ) APPARATUSES AND METHODS FOR ADAPTIVE DIRECT UPLINK CONTINUOUS BROADCAST

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017741A (en) * 2012-07-10 2014-01-30 Sharp Corp Content transmission device, content reproduction device, content distribution system, control method for content transmission device, control method for content reproduction device, control program, and recording medium
WO2017122554A1 (en) * 2016-01-15 2017-07-20 ソニー株式会社 Reception device, transmission device, and data processing method
WO2018234080A1 (en) * 2017-06-20 2018-12-27 Telefonaktiebolaget Lm Ericsson (Publ) APPARATUSES AND METHODS FOR ADAPTIVE DIRECT UPLINK CONTINUOUS BROADCAST

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2025520259A (en) * 2022-07-11 2025-07-03 キヤノン株式会社 Method, device, and computer program for optimizing dynamic encapsulation and parsing of content data - Patents.com
JP2025506017A (en) * 2022-07-12 2025-03-05 テンセント・アメリカ・エルエルシー Bandwidth switching method by CMAF client and DASH client using Addressable Resource Index track and Addressable Resource Index event

Also Published As

Publication number Publication date
JP7523279B2 (en) 2024-07-26

Similar Documents

Publication Publication Date Title
EP3520358B1 (en) Request-based encoding for streaming content portions
US10009659B2 (en) System and method for hybrid push-based streaming
EP2618534B1 (en) Method, apparatus, and system for dynamic media content insertion based on http stream
US12363186B2 (en) Event information in a timed metadata track
US10382801B2 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
JP2016154337A (en) Apparatus and method for configuring control message in broadcast system
US10499094B2 (en) Transmission apparatus, transmitting method, reception apparatus, and receiving method
US20070143807A1 (en) Data distribution apparatus, data provision apparatus and data distribution system comprised thereof
WO2014096968A2 (en) Server-based content tracking apparatus and method
US20240422378A1 (en) System and method for storing multimedia files using an archive file format
US11252478B2 (en) Distribution device, distribution method, reception device, reception method, program, and content distribution system
US12273601B2 (en) Live video streaming architecture with real-time frame and subframe level live watermarking
US20150095483A1 (en) Communications terminal, transfer terminal, and content publication method
JP2019071680A (en) Terminal device and receiving device
JP7523279B2 (en) Metadata insertion device and program
US20240155019A1 (en) Synchronizing independent media and data streams using media stream synchronization points
US20230008021A1 (en) Synchronizing independent media and data streams using media stream synchronization points
HK40055141A (en) Method and apparatus for receiving media data and non-transitory computer-readable storage medium
HK40055141B (en) Method and apparatus for receiving media data and non-transitory computer-readable storage medium
CN117256135A (en) Addressable resource index events for CMAF and DASH multimedia streaming

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230706

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240612

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240618

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240716

R150 Certificate of patent or registration of utility model

Ref document number: 7523279

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150