JP2008182563A - Content distribution server and content distribution system - Google Patents
Content distribution server and content distribution system Download PDFInfo
- Publication number
- JP2008182563A JP2008182563A JP2007015191A JP2007015191A JP2008182563A JP 2008182563 A JP2008182563 A JP 2008182563A JP 2007015191 A JP2007015191 A JP 2007015191A JP 2007015191 A JP2007015191 A JP 2007015191A JP 2008182563 A JP2008182563 A JP 2008182563A
- Authority
- JP
- Japan
- Prior art keywords
- descriptor
- dtcp
- pmt packet
- data
- content distribution
- 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
Links
Images
Abstract
Description
本発明は、地上/BS/CSデジタル放送の番組コンテンツを配信するコンテンツ配信サーバおよびコンテンツ配信システムに関する。 The present invention relates to a content distribution server and a content distribution system for distributing terrestrial / BS / CS digital broadcast program content.
地上/BS/CSデジタル放送の番組コンテンツを受信するための規格は、ARIB(Association of Radio Industries and Businesses)で定められている(非特許文献1,2参照)。 Standards for receiving terrestrial / BS / CS digital broadcast program content are defined by ARIB (Association of Radio Industries and Businesses) (see Non-Patent Documents 1 and 2).
以下、ARIBで定められている番組コンテンツのストリームデータのデータ構造について、図6を参照して説明する。 Hereinafter, the data structure of the stream data of the program content defined by ARIB will be described with reference to FIG.
図6に示すように、番組コンテンツのストリームデータは、番組コンテンツを構成する映像(Video)、音声(Audio)、字幕、データ放送用データのES(Elementary Stream)データを格納するESパケットの前に、それらESパケットを識別するPID(パケットID)を格納したPMT(Program Map Table)パケットが配置され、さらにPMTパケットの前に、そのPMTパケットのPIDを格納したPAT(Program Association Table)パケットが配置された構造になっている。 As shown in FIG. 6, the stream data of the program content is before the ES packet storing ES (Elementary Stream) data of video (Video), audio (Audio), subtitles, and data for data broadcasting constituting the program content. A PMT (Program Map Table) packet storing a PID (packet ID) for identifying these ES packets is arranged, and a PAT (Program Association Table) packet storing the PID of the PMT packet is arranged before the PMT packet. It has a structured.
また、PMTパケットは、184バイトの固定長であるペイロードの部分で、各ESのPIDを指定する構造になっている。 The PMT packet is a payload portion having a fixed length of 184 bytes, and has a structure for designating the PID of each ES.
また、ペイロードは、第1ループ(1st Loop;プログラムループ)のサイズを表すプログラム情報長(Program info length)、第1ループ、第2ループ(2nd Loop;ESループ)、およびCRC(Cyclic Redundancy Check)算出結果が順にセクションに記述され、そのセクションの前に、そのセクションのサイズを表すセクション長(Section length)が記述されている。なお、図6においては、ペイロードのサイズが固定長の184バイトに満たないために、パディング領域(空き領域)が存在している。 The payload includes a program information length indicating the size of a first loop (1st loop), a first loop, a second loop (ES loop), and a CRC (Cyclic Redundancy Check). The calculation results are described in the sections in order, and a section length (Section length) indicating the size of the section is described before the section. In FIG. 6, since the payload size is less than the fixed length of 184 bytes, a padding area (empty area) exists.
また、第1ループは、番組コンテンツのコピーに関する制御情報(例えば、コピー可否、コピー回数を指定する情報)を含むデジタルコピー制御記述子や、番組コンテンツの蓄積および出力に関する制御情報(例えば、出力可否、出力時の解像度を指定する情報)を含むコンテンツ利用記述子等が記述されている。 Further, the first loop includes a digital copy control descriptor including control information related to program content copying (for example, information designating whether copying is permitted, the number of times of copying), and control information related to program content storage and output (for example, whether output is possible). , Content use descriptors including information specifying resolution at the time of output) are described.
また、第2ループは、ESパケットのPIDを格納するES記述子が記述されている。なお、各ES記述子には、上述のデジタルコピー制御記述子が含まれている場合もある。 In the second loop, an ES descriptor for storing the PID of the ES packet is described. Each ES descriptor may include the above-described digital copy control descriptor.
ところで、地上/BS/CSデジタル放送の番組コンテンツをIPネットワーク内で伝送するための規格として、DTCP(Digital Transmission Content Protection)−IPが定められている(非特許文献3,4参照)。このDTCP−IPによれば、IPネットワーク内で番組コンテンツのストリームデータを伝送する場合、PMTパケットにDTCP記述子(DTCP_descriptor)を挿入することが規定されている。 Incidentally, DTCP (Digital Transmission Content Protection) -IP is defined as a standard for transmitting terrestrial / BS / CS digital broadcast program content within an IP network (see Non-Patent Documents 3 and 4). According to the DTCP-IP, it is defined that a DTCP descriptor (DTCP_descriptor) is inserted into a PMT packet when program content stream data is transmitted in an IP network.
DTCP記述子は、第1ループのデジタルコピー制御記述子およびコンテンツ利用記述子を用いて生成される。この場合のDTCP記述子は、番組コンテンツ全体が対象となる。その他にも、DTCP記述子は、第2ループの各ES記述子にデジタルコピー制御記述子が含まれている場合は、そのデジタルコピー制御記述子を用いて生成される。この場合のDTCP記述子は、該当するESデータのみが対象となる。図6では、前者のDTCP記述子のみが存在し、そのサイズは6バイトの固定長となっている。 The DTCP descriptor is generated using the digital copy control descriptor and the content usage descriptor of the first loop. In this case, the DTCP descriptor covers the entire program content. In addition, when a digital copy control descriptor is included in each ES descriptor of the second loop, the DTCP descriptor is generated using the digital copy control descriptor. In this case, only the corresponding ES data is targeted for the DTCP descriptor. In FIG. 6, only the former DTCP descriptor exists, and its size is a fixed length of 6 bytes.
以下、コンテンツ配信サーバからIPネットワーク経由でクライアント端末に対し、番組コンテンツのストリームデータを配信する一般的なコンテンツ配信動作について、図7を参照して説明する。なお、図7では、コンテンツ配信サーバ内のHDDに、番組コンテンツのストリームデータがすでに暗号化されて格納されているものとして説明する。 Hereinafter, a general content distribution operation for distributing stream data of program content from a content distribution server to a client terminal via an IP network will be described with reference to FIG. In FIG. 7, description will be made assuming that the stream data of the program content is already encrypted and stored in the HDD in the content distribution server.
図7に示すように、まず、コンテンツ配信サーバは、IPネットワーク経由でクライアント端末に対し、番組リストを提供する(ステップ701)。 As shown in FIG. 7, the content distribution server first provides a program list to the client terminal via the IP network (step 701).
次に、クライアント端末は、クライアントにより選択された番組コンテンツの配信要求を、IPネットワーク経由でコンテンツ配信サーバに対して行う(ステップ702)。 Next, the client terminal makes a distribution request for the program content selected by the client to the content distribution server via the IP network (step 702).
コンテンツ配信サーバが、番組配信要求を、IPネットワーク経由のクライアント端末からの要求であることを認識すると、以降、次のような動作が行われる。 When the content distribution server recognizes that the program distribution request is a request from a client terminal via the IP network, the following operation is performed.
コンテンツ配信サーバとクライアント端末とは、互いに認証を行い、鍵交換を行う(ステップ703,704)。これにより、コンテンツ配信サーバとクライアント端末との間で、暗号化・復号化に用いる鍵が共有される。
The content distribution server and the client terminal authenticate each other and perform key exchange (
次に、コンテンツ配信サーバは、HDDにすでに暗号化されて格納されている番組コンテンツのストリームデータを復号化し(ステップ705)、DTCP記述子を生成して、復号化されたストリームデータに挿入し(ステップ706)、ストリームデータをDTCP−IPで定義されている暗号方式(AES暗号)で暗号化した上で(ステップ707)、IPネットワーク経由でクライアント端末に対して配信する(ステップ708)。 Next, the content distribution server decrypts the stream data of the program content that is already encrypted and stored in the HDD (step 705), generates a DTCP descriptor, and inserts it into the decrypted stream data ( Step 706), the stream data is encrypted by an encryption method (AES encryption) defined by DTCP-IP (Step 707), and distributed to the client terminal via the IP network (Step 708).
次に、クライアント端末は、コンテンツ配信サーバから配信された番組コンテンツのストリームデータを復号化し(ステップ709)、ストリームデータに付与されたDTCP記述子に含まれる制御情報を解析して出力時の解像度等を認識した上で(ステップ710)、番組コンテンツを画面表示などして出力する(ステップ711)。
ところで、コンテンツ配信サーバにおいて、DTCP−IP規格にしたがって、ストリームデータにDTCP記述子を挿入する場合、PMTパケットのパディング領域のサイズがDTCP記述子のサイズ以上であれば、パディング領域の全部または一部を利用して、DTCP記述子を挿入することができる。 By the way, in the content distribution server, when the DTCP descriptor is inserted into the stream data according to the DTCP-IP standard, if the size of the padding area of the PMT packet is equal to or larger than the size of the DTCP descriptor, all or part of the padding area Can be used to insert a DTCP descriptor.
しかし、図8に示すように、パディング領域のサイズがDTCP記述子のサイズよりも小さい場合、単純にDTCP記述子を挿入すると、PMTパケットからはみ出すデータ(図3では、最後尾のデータ放送用データのES記述子とCRC算出結果)が発生するため、はみ出たデータを格納するために新たなPMTパケットを連続して設ける必要がある。この図の場合、PMTデータを格納するのに2つのPMTパケットが必要になる。 However, as shown in FIG. 8, when the size of the padding area is smaller than the size of the DTCP descriptor, if the DTCP descriptor is simply inserted, the data protruding from the PMT packet (in FIG. 3, the last data broadcasting data Therefore, it is necessary to continuously provide new PMT packets in order to store the protruding data. In the case of this figure, two PMT packets are required to store the PMT data.
その結果、PMTデータを格納するPMTパケットが2つに増えることで、配信する番組コンテンツのデータサイズの増加とESデータの位置ずれが発生してしまい、特殊再生(早送りなど)時に、クライアント端末側で、現在位置から数バイト分先にあるESデータを再生しようとしてそのバイト数を指定しても、クライアント端末側が希望するESデータとは異なるデータ位置が指定されてしまう。 As a result, the number of PMT packets for storing the PMT data increases to two, which increases the data size of the program content to be distributed and the positional deviation of the ES data, and the client terminal side during special playback (such as fast forward) Thus, even if the number of bytes is specified in order to reproduce ES data that is several bytes ahead of the current position, a data position different from the ES data desired by the client terminal side is specified.
したがって、図9に示すように、クライアント端末は、特殊再生時には、コンテンツ配信サーバに対して、必然的に、ESデータを時間(タイムシーク情報)で指定することになる(ステップ901)。 Therefore, as shown in FIG. 9, at the time of special playback, the client terminal inevitably designates ES data by time (time seek information) to the content distribution server (step 901).
この場合、コンテンツ配信サーバは、ESデータの位置をバイト単位でシークする、いわゆるバイトシーク方式を採用していると、クライアント端末により指定された時間をバイトに変換する処理が必要となる(ステップ902)。この時間−バイト変換処理によって、コンテンツ配信サーバの負荷は増大し、クライアント端末の数が増えるに従ってさらに負荷が増大してしまう。なお、図9のステップ903〜906は、図7のステップ705〜708と同様である。
In this case, if the content distribution server adopts a so-called byte seek method that seeks the position of ES data in units of bytes, processing for converting the time specified by the client terminal into bytes is required (step 902). ). This time-byte conversion process increases the load on the content distribution server, and the load further increases as the number of client terminals increases. Note that
このように、PMTパケットの増加によって、番組コンテンツのデータサイズの変化及びデータ位置のずれが発生してしまう場合、特殊再生時のデータ指定方式にバイトシーク方式を使用できなくなるため、PMTパケットが増えないようにPMTデータを格納することが望ましい。 As described above, when the change in the data size of the program content and the shift in the data position occur due to the increase in the PMT packet, the byte seek method cannot be used as the data designation method at the time of the special reproduction, so the PMT packet increases. It is desirable to store the PMT data so that it does not exist.
そこで、本発明の目的は、PMTパケットにDTCP記述子を挿入する場合において、PMTパケットが増加しないようにPMTデータを格納することができるコンテンツ配信サーバおよびコンテンツ配信システムを提供することにある。 Therefore, an object of the present invention is to provide a content distribution server and a content distribution system that can store PMT data so that PMT packets do not increase when a DTCP descriptor is inserted into a PMT packet.
上記目的を達成するために本発明コンテンツ配信サーバは、
DTCP−IP規格にしたがって、地上/BS/CSデジタル放送の番組コンテンツのストリームデータを構成するPMTパケットにDTCP記述子を挿入した上で、該ストリームデータをIPネットワーク経由で配信するコンテンツ配信サーバであって、
前記PMTパケットのパディング領域のサイズを算出するパディングサイズ算出部と、
前記PMTパケットに含まれる制御情報を用いて前記DTCP記述子を生成するDTCP記述子生成部と、
前記PMTパケットのパディング領域のサイズが前記DTCP記述子のサイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記DTCP記述子を前記PMTパケットに挿入するPMTパケット構成部と、を有することを特徴とする。
In order to achieve the above object, the content distribution server of the present invention provides:
A content distribution server that inserts a DTCP descriptor into a PMT packet constituting stream data of terrestrial / BS / CS digital broadcast program content according to the DTCP-IP standard, and distributes the stream data via an IP network. And
A padding size calculator that calculates the size of the padding area of the PMT packet;
A DTCP descriptor generation unit that generates the DTCP descriptor using control information included in the PMT packet;
Until the size of the padding area of the PMT packet becomes equal to or larger than the size of the DTCP descriptor, the operation of deleting the ES descriptor of the data broadcasting data in the second loop of the PMT packet is repeated, and then the DTCP descriptor is changed. And a PMT packet constructing unit to be inserted into the PMT packet.
この場合、前記PMTパケット構成部は、前記PMTパケットの第2ループのデータ放送用データのES記述子を最後尾から順に削除することとしても良い。 In this case, the PMT packet configuration unit may delete the ES descriptor of the data broadcasting data of the second loop of the PMT packet in order from the tail.
また、前記DTCP記述子生成部は、前記PMTパケットの第1ループに含まれる制御情報を用いて前記DTCP記述子を生成するとともに、前記PMTパケットの第2ループの映像、音声、字幕、データ放送用データの各ES記述子に含まれる制御情報を用いて前記DTCP記述子を生成し、
前記DTCP記述子の各々には予め優先度が付与され、
前記PMTパケット構成部は、前記PMTパケットのパディング領域のサイズが、前記DTCP記述子のうち一定の優先度を持つDTCP記述子の合計サイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記一定の優先度を持つDTCP記述子を前記PMTパケットに挿入することとしても良い。
The DTCP descriptor generation unit generates the DTCP descriptor using control information included in the first loop of the PMT packet, and the video, audio, caption, and data broadcast of the second loop of the PMT packet. Generating the DTCP descriptor using control information included in each ES descriptor of the data for use,
Priorities are assigned to each of the DTCP descriptors in advance,
The PMT packet configuration unit performs data broadcasting of the second loop of the PMT packet until the size of the padding area of the PMT packet is equal to or larger than the total size of DTCP descriptors having a certain priority among the DTCP descriptors. It is also possible to repeat the operation of deleting the ES descriptor of the business data, and then insert the DTCP descriptor having the certain priority into the PMT packet.
また、前記一定の優先度を持つDTCP記述子は、前記PMTパケットの第1ループに含まれる制御情報を用いて生成されたDTCP記述子であっても良い。 Further, the DTCP descriptor having the certain priority may be a DTCP descriptor generated using control information included in a first loop of the PMT packet.
また、前記一定の優先度を持つDTCP記述子は、前記PMTパケットの第1ループに含まれる制御情報を用いて生成されたDTCP記述子、および、前記PMTパケットの第2ループの映像、音声、字幕の各ES記述子に含まれる制御情報を用いて生成されたDTCP記述子であっても良い。 In addition, the DTCP descriptor having the predetermined priority includes a DTCP descriptor generated using control information included in the first loop of the PMT packet, and a video, audio of the second loop of the PMT packet, It may be a DTCP descriptor generated using control information included in each ES descriptor of the caption.
上記目的を達成するために本発明コンテンツ配信システムは、
端末と、DTCP−IP規格にしたがって、地上デジタル放送の番組コンテンツのストリームデータを構成するPMTパケットにDTCP記述子を挿入した上で、該ストリームデータをIPネットワーク経由で前記端末に対して配信するコンテンツ配信サーバと、を有してなるコンテンツ配信システムであって、
前記コンテンツ配信サーバは、
前記PMTパケットのパディング領域のサイズを算出するパディングサイズ算出部と、
前記PMTパケットに含まれる制御情報を用いて前記DTCP記述子を生成するDTCP記述子生成部と、
前記PMTパケットのパディング領域のサイズが前記DTCP記述子のサイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記DTCP記述子を前記PMTパケットに挿入するPMTパケット構成部と、を有することを特徴とする。
In order to achieve the above object, the content distribution system of the present invention provides:
Content that distributes the stream data to the terminal via the IP network after inserting the DTCP descriptor into the PMT packet constituting the stream data of the terrestrial digital broadcast program content according to the DTCP-IP standard A content distribution system comprising a distribution server,
The content distribution server is
A padding size calculator that calculates the size of the padding area of the PMT packet;
A DTCP descriptor generation unit that generates the DTCP descriptor using control information included in the PMT packet;
Until the size of the padding area of the PMT packet becomes equal to or larger than the size of the DTCP descriptor, the operation of deleting the ES descriptor of the data broadcasting data in the second loop of the PMT packet is repeated, and then the DTCP descriptor is changed. And a PMT packet constructing unit to be inserted into the PMT packet.
上記のように構成された本発明によれば、コンテンツ配信サーバは、PMTパケットのパディング領域のサイズがDTCP記述子のサイズ以上になるまで、第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後にDTCP記述子をPMTパケットに挿入するため、PMTパケットの増加が発生せず、番組コンテンツのデータサイズを保つ事ができるという効果が得られる。 According to the present invention configured as described above, the content distribution server deletes the ES descriptor of the data broadcasting data for the second loop until the size of the padding area of the PMT packet is equal to or larger than the size of the DTCP descriptor. Since the DTCP descriptor is inserted into the PMT packet after that, the PMT packet is not increased, and the data size of the program content can be maintained.
さらに、その結果、コンテンツ配信サーバに対して番組配信要求を行う端末は、特殊再生時に、バイト指定によってデータを指定できるようになるため、コンテンツ配信サーバは、従来技術のように時間−バイト変換処理を行う必要がなくなり、時間−バイト変換処理による負荷の増大を回避することができるという効果も得られる。 Further, as a result, a terminal that makes a program distribution request to the content distribution server can designate data by byte designation at the time of special reproduction. Therefore, the content distribution server performs time-byte conversion processing as in the prior art. There is no need to perform the process, and an increase in load due to the time-byte conversion process can be avoided.
以下に、本発明を実施するための最良の形態について図面を参照して説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
図1に示すように、本実施形態のコンテンツ配信システムは、クライアント端末10と、地上/BS/CSデジタル放送の番組コンテンツのストリームデータを、IPネットワーク30経由でクライアント端末10に対して配信するコンテンツ配信サーバ20とを有する。
As shown in FIG. 1, the content distribution system according to the present embodiment distributes the
コンテンツ配信サーバ20は、制御部21と、ストリームデータ受信部22と、HDD23と、暗号/復号化処理部24と、ネットワークI/F25とを有する。
The
制御部21は、コンテンツ配信サーバ20で行われる処理全体を制御するものであり、例えば、ストリームデータに含まれる制御情報(デジタルコピー制御記述子、コンテンツ利用記述子等)を解析する処理、クライアント端末10との間で認証および鍵交換を行う処理、DTCP記述子を生成してPMTパケットに挿入する処理等を行う。
The
ストリームデータ受信部22は、図6に示したような地上デジタル放送の番組コンテンツのストリームデータを暗号化された状態で受信する。なお、本発明はこれに限らず、地上/BS/CSデジタル放送の放送波を直接受信し、ストリームデータに変換する構成とすることもできる。その場合は、放送波をストリームデータに変換する手段が必要となる。
The stream
HDD23は、ストリームデータ受信部22で受信された、暗号化されたストリームデータを格納する。
The
暗号/復号化処理部24は、クライアント端末10との間で交換した鍵を用いて、ストリームデータの暗号/復号化処理を行う。例えば、DTCP記述子の生成・挿入処理前は、すでにHDD23に暗号化されて格納されたストリームデータを復号化し、当該処理後は、DTCP記述子が挿入されたストリームデータを再度暗号化する。
The encryption /
ネットワークI/F25は、IPネットワーク30とのインタフェース部分である。例えば、ネットワークI/F25においては、番組コンテンツのストリームデータがIPネットワーク30経由でクライアント端末10に向けて送信され、クライアント端末10からの番組配信要求がIPネットワーク30経由で受信される。
The network I /
クライアント端末10は、制御部11と、ネットワークI/F12と、復号化処理部13と、出力部14とを有する。
The
制御部11は、クライアント端末10で行われる処理全体を制御するものであり、例えば、ストリームデータに含まれる制御情報を解析する処理、コンテンツ配信サーバ20との間で認証および鍵交換を行う処理等を行う。
The
ネットワークI/F12は、IPネットワーク30とのインタフェース部分である。例えば、ネットワークI/F12においては、番組配信要求がIPネットワーク30経由でコンテンツ配信サーバ20に向けて送信され、コンテンツ配信サーバ20からの番組コンテンツのストリームデータがIPネットワーク30経由で受信される。
The network I /
復号化処理部13は、コンテンツ配信サーバ20との間で交換した鍵を用いて、コンテンツ配信サーバ20から配信されたストリームデータを復号化する。
The
出力部14は、制御部11による制御情報の解析結果(例えば、DTCP記述子の解析により得た出力時の解像度等)に応じて、番組コンテンツを画面表示などして出力する。
The
ここで、制御部21を構成する構成要素のうち、DTCP記述子の生成・挿入処理に係る構成要素について、図2を参照して説明する。
Here, among the constituent elements constituting the
図2に示すように、制御部21は、DTCP記述子の生成・挿入処理に係る構成要素として、PMTパケット制御部210と、パディングサイズ算出部211と、DTCP記述子生成部212と、PMTパケット構成部213と、プログラム情報長算出部214と、セクション長算出部215と、CRC算出部216とを有する。
As illustrated in FIG. 2, the
PMTパケット制御部210は、DTCP記述子の生成・挿入処理に係る処理全体を制御する。
The PMT
パディングサイズ算出部211は、PMTパケットのパディング領域のサイズを算出する。 The padding size calculation unit 211 calculates the size of the padding area of the PMT packet.
DTCP記述子生成部212は、第1ループのデジタルコピー制御記述子およびコンテンツ利用記述子を用いてDTCP記述子を生成する。また、第2ループの各ES記述子にデジタルコピー制御記述子が含まれている場合は、そのデジタルコピー制御記述子を用いてDTCP記述子を生成することも行う。
The DTCP
PMTパケット構成部213は、PMTパケットの各データを再構成するものであり、PMTパケットへのDTCP記述子の挿入等を行う。
The PMT
また、PMTパケット構成部213は、本発明の特徴的な動作として、図3に示すように、パディング領域のサイズがDTCP記述子のサイズよりも小さい場合は、データ放送用データのES記述子を削除する。この削除処理を繰り返すによって、DTCP記述子を挿入するためのパディング領域を確保した上で、DTCP記述子を挿入する。なお、PMTパケットから削除されるPMTデータは、データ放送用データそのものではなく、データ放送用データのESパケットのPIDを格納するES記述子に過ぎないため、クライアント端末10側では番組コンテンツを再生(映像、音声、字幕)する際に特段の影響を受けることはない。
Further, as a characteristic operation of the present invention, as shown in FIG. 3, the PMT
プログラム情報長算出部214は、DTCP記述子の挿入後のプログラム情報長を算出し、セクション長算出部215は、DTCP記述子の挿入後のセクション長を算出し、CRC算出部216は、DTCP記述子の挿入後のCRCを算出する。なお、これらの算出結果は、PMTパケット構成部213によりPMTパケットの該当部分に記述される。
The program information
以下、図1および図2に示したコンテンツ配信システムの動作について説明する。なお、本発明のコンテンツ配信動作の全体的な流れは、図7と同様であるため、以下では、本発明の特徴的な動作となる、DTCP記述子の生成・挿入動作について、図4を参照して説明する。なお、図4の動作は、図7のステップ706に相当する。 Hereinafter, an operation of the content distribution system shown in FIGS. 1 and 2 will be described. Since the overall flow of the content distribution operation of the present invention is the same as that in FIG. 7, hereinafter, refer to FIG. 4 for the DTCP descriptor generation / insertion operation, which is a characteristic operation of the present invention. To explain. The operation in FIG. 4 corresponds to step 706 in FIG.
図4に示すように、まず、パディングサイズ算出部211は、セクション長を基にして、PMTパケットのパディング領域のサイズを算出する(ステップ401)。 As shown in FIG. 4, the padding size calculation unit 211 first calculates the size of the padding area of the PMT packet based on the section length (step 401).
次に、DTCP記述子生成部212は、第1ループのデジタルコピー制御記述子およびコンテンツ利用記述子を用いてDTCP記述子を生成する(ステップ402)。なお、第2ループの各ES記述子にデジタルコピー制御記述子が含まれている場合は、そのデジタルコピー制御記述子を用いてDTCP記述子をさらに生成する。
Next, the DTCP
次に、PMT制御部210は、パディング領域のサイズが、DTCP記述子のサイズよりも小さいか否かを判断する(ステップ403)。
Next, the
もし、パディング領域のサイズがDTCP記述子のサイズよりも小さければ、DTCP記述子を挿入するためのパディング領域を確保するために、PMTパケット構成部213は、データ放送用データのES記述子を削除する(ステップ404)。このとき、データ放送用データのES記述子は、最後尾から削除するのが好ましい。
If the size of the padding area is smaller than the size of the DTCP descriptor, the PMT
ここで、再度ステップ403において、PMT制御部210は、データ放送用データのES記述子の削除により増大したパディング領域のサイズを導出し、DTCP記述子のサイズよりも小さいか否かを再度判断する。それでも、DTCP記述子のサイズよりも小さければ、ステップ404において、PMTパケット構成部213は、データ放送用データのES記述子をさらに削除する。以上のステップ403,404の動作を、パディング領域のサイズがDTCP記述子のサイズ以上になるまで繰り返す。
Here, again in
パディング領域のサイズがDTCP記述子のサイズ以上になり、DTCP記述子を挿入するためのパディング領域が確保された時点で、PMTパケット構成部213は、PMTパケットにDTCP記述子を挿入する(ステップ405)。
When the size of the padding area becomes equal to or larger than the size of the DTCP descriptor and the padding area for inserting the DTCP descriptor is secured, the PMT
DTCP記述子の挿入後、プログラム情報長算出部214はプログラム情報長を、セクション長算出部215はセクション長を、CRC算出部216はCRCを、それぞれ算出し、PMTパケット構成部213は、これらの算出結果をPMTパケットの該当部分に記述してPMTデータを置換する(ステップ406)。
After inserting the DTCP descriptor, the program information
なお、本実施形態においては、第1ループに含まれる制御情報を用いて作成されたDTCP記述子、第2ループの映像、音声、字幕、データ放送用データの各ES記述子に含まれる制御情報を用いて作成されたDTCP記述子の全てをPMTパケットに挿入するものとして説明したが、本発明はこれに限定されない。 In the present embodiment, the control information included in each ES descriptor of the DTCP descriptor created using the control information included in the first loop, the video, audio, caption, and data for data broadcasting in the second loop. Although all the DTCP descriptors created using the above are described as being inserted into the PMT packet, the present invention is not limited to this.
すなわち、各DTCP記述子に優先度を付与し、一定の優先度を持つDTCP記述子のみをPMTパケットに挿入することとしても良い。 That is, priority may be given to each DTCP descriptor, and only the DTCP descriptor having a certain priority may be inserted into the PMT packet.
例えば、表1に示すように、各DTCP記述子に優先度“1”〜“3”を付与し、パディングサイズの空きが足りない場合、優先度"3"のDTCP記述子を含むデータ放送用データのES記述子を削除して、優先度が“1”のDTCP記述子のみを挿入したり、または、優先度が“1”および“2”のDTCP記述子のみを挿入したりすることとしても良い。 For example, as shown in Table 1, when priority levels “1” to “3” are assigned to each DTCP descriptor and the padding size is insufficient, data broadcasting including a DTCP descriptor with a priority level “3” is used. Either delete the data ES descriptor and insert only the DTCP descriptor with the priority “1”, or insert only the DTCP descriptors with the priority “1” and “2”. Also good.
表1において、例えば、優先度が“1”および“2”のDTCP記述子のみを挿入する場合には、第1ループおよび第2ループの映像、音声、字幕の各ES記述子に含まれる制御情報を用いて作成されたDTCP記述子を挿入するためのパディング領域が確保されるまで、ステップ403,404の動作を繰り返し、パディング領域が確保された時点で、それらのDTCP記述子を挿入する。仮に、この時点で、パディング領域に余裕があれば、第2ループのデータ放送用データのES記述子に含まれる制御情報を用いて作成された優先度"3"のDTCP記述子を挿入しても良い。
In Table 1, for example, when only DTCP descriptors with priorities of “1” and “2” are inserted, the controls included in the ES descriptors of the video, audio, and subtitles of the first loop and the second loop The operations of
上述したように本実施形態によれば、PMTパケットのパディング領域のサイズがDTCP記述子のサイズ以上になるまで、第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後にDTCP記述子をPMTパケットに挿入するため、PMTパケット数を増やすことなく、PMTデータを格納することができる。 As described above, according to the present embodiment, the operation of deleting the ES descriptor of the data broadcasting data in the second loop is repeated until the size of the padding area of the PMT packet becomes equal to or larger than the size of the DTCP descriptor, and thereafter Since the DTCP descriptor is inserted into the PMT packet, the PMT data can be stored without increasing the number of PMT packets.
その結果、コンテンツ配信サーバ20側でPMTパケット数を増えることがないため、特殊再生時に、クライアント端末10側で、バイト数を指定した場合に、従来技術のように異なるESデータ位置が指定されてしまうことを回避することができる。
As a result, since the number of PMT packets does not increase on the
よって、図5に示すように、コンテンツ配信サーバ20がバイトシーク方式を採用している場合にも、クライアント端末10は、クライアントに指示された時間をバイトに変換し(ステップ501)、変換したバイト数(バイトシーク情報)でESデータをコンテンツ配信サーバ20に対して指定することができる(ステップ502)。なお、図5のステップ503〜506は、図7のステップ705〜708と同様である。
Therefore, as shown in FIG. 5, even when the
したがって、コンテンツ配信サーバ20は、従来技術のように時間−バイト変換処理を行う必要がないため、時間−バイト変換処理による負荷の増大を回避することができる。
Therefore, the
10 クライアント端末
11 制御部
12 ネットワークI/F
13 復号化処理部
14 出力部
20 コンテンツ配信サーバ
21 制御部
22 ストリームデータ受信部
23 HDD
24 暗号/復号化処理部
25 ネットワークI/F
30 IPネットワーク
210 PMTパケット制御部
211 パディングサイズ算出部
212 DTCP記述子生成部
213 PMTパケット構成部
214 プログラム情報長算出部
215 セクション長算出部
216 CRC算出部
10
13
24 Encryption /
30
Claims (6)
前記PMTパケットのパディング領域のサイズを算出するパディングサイズ算出部と、
前記PMTパケットに含まれる制御情報を用いて前記DTCP記述子を生成するDTCP記述子生成部と、
前記PMTパケットのパディング領域のサイズが前記DTCP記述子のサイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記DTCP記述子を前記PMTパケットに挿入するPMTパケット構成部と、を有するコンテンツ配信サーバ。 A content distribution server that inserts a DTCP descriptor into a PMT packet constituting stream data of terrestrial / BS / CS digital broadcast program content according to the DTCP-IP standard, and distributes the stream data via an IP network. And
A padding size calculator that calculates the size of the padding area of the PMT packet;
A DTCP descriptor generation unit that generates the DTCP descriptor using control information included in the PMT packet;
Until the size of the padding area of the PMT packet becomes equal to or larger than the size of the DTCP descriptor, the operation of deleting the ES descriptor of the data broadcasting data in the second loop of the PMT packet is repeated, and then the DTCP descriptor is changed. A content delivery server having a PMT packet constructing unit to be inserted into the PMT packet.
前記DTCP記述子の各々には予め優先度が付与され、
前記PMTパケット構成部は、前記PMTパケットのパディング領域のサイズが、前記DTCP記述子のうち一定の優先度を持つDTCP記述子の合計サイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記一定の優先度を持つDTCP記述子を前記PMTパケットに挿入する、請求項1または2に記載のコンテンツ配信サーバ。 The DTCP descriptor generation unit generates the DTCP descriptor using control information included in the first loop of the PMT packet, and the video, audio, caption, and data broadcasting data of the second loop of the PMT packet Generating the DTCP descriptor using control information included in each ES descriptor of
Priorities are assigned to each of the DTCP descriptors in advance,
The PMT packet configuration unit performs data broadcasting of the second loop of the PMT packet until the size of the padding area of the PMT packet is equal to or larger than the total size of DTCP descriptors having a certain priority among the DTCP descriptors. The content distribution server according to claim 1 or 2, wherein the operation of deleting the ES descriptor of the data for use is repeated, and then the DTCP descriptor having the certain priority is inserted into the PMT packet.
前記コンテンツ配信サーバは、
前記PMTパケットのパディング領域のサイズを算出するパディングサイズ算出部と、
前記PMTパケットに含まれる制御情報を用いて前記DTCP記述子を生成するDTCP記述子生成部と、
前記PMTパケットのパディング領域のサイズが前記DTCP記述子のサイズ以上になるまで、前記PMTパケットの第2ループのデータ放送用データのES記述子を削除する動作を繰り返し、その後に前記DTCP記述子を前記PMTパケットに挿入するPMTパケット構成部と、を有するコンテンツ配信システム。 In accordance with the DTCP-IP standard, after inserting a DTCP descriptor into a PMT packet constituting stream data of terrestrial / BS / CS digital broadcast program content, the stream data is transmitted to the terminal via the IP network. A content distribution system that distributes the content distribution server,
The content distribution server is
A padding size calculator that calculates the size of the padding area of the PMT packet;
A DTCP descriptor generation unit that generates the DTCP descriptor using control information included in the PMT packet;
Until the size of the padding area of the PMT packet becomes equal to or larger than the size of the DTCP descriptor, the operation of deleting the ES descriptor of the data broadcasting data in the second loop of the PMT packet is repeated, and then the DTCP descriptor is changed. A content distribution system comprising: a PMT packet configuration unit to be inserted into the PMT packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007015191A JP4891791B2 (en) | 2007-01-25 | 2007-01-25 | Content distribution server and content distribution system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007015191A JP4891791B2 (en) | 2007-01-25 | 2007-01-25 | Content distribution server and content distribution system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008182563A true JP2008182563A (en) | 2008-08-07 |
JP4891791B2 JP4891791B2 (en) | 2012-03-07 |
Family
ID=39726114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007015191A Active JP4891791B2 (en) | 2007-01-25 | 2007-01-25 | Content distribution server and content distribution system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4891791B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013211759A (en) * | 2012-03-30 | 2013-10-10 | Sumitomo Electric Networks Inc | Stream processing device, stream processing method, and stream processing program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10261268A (en) * | 1997-03-19 | 1998-09-29 | Hitachi Ltd | Digital signal processing method, recording method using it and device therefor |
JP2005252773A (en) * | 2004-03-05 | 2005-09-15 | Matsushita Electric Ind Co Ltd | Packet transmitting apparatus |
JP2005317185A (en) * | 2004-04-01 | 2005-11-10 | Matsushita Electric Ind Co Ltd | Reproducing apparatus, reproducing method, reproducing processing program, and program recording medium whereon reproducing processing program is recorded |
-
2007
- 2007-01-25 JP JP2007015191A patent/JP4891791B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10261268A (en) * | 1997-03-19 | 1998-09-29 | Hitachi Ltd | Digital signal processing method, recording method using it and device therefor |
JP2005252773A (en) * | 2004-03-05 | 2005-09-15 | Matsushita Electric Ind Co Ltd | Packet transmitting apparatus |
JP2005317185A (en) * | 2004-04-01 | 2005-11-10 | Matsushita Electric Ind Co Ltd | Reproducing apparatus, reproducing method, reproducing processing program, and program recording medium whereon reproducing processing program is recorded |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013211759A (en) * | 2012-03-30 | 2013-10-10 | Sumitomo Electric Networks Inc | Stream processing device, stream processing method, and stream processing program |
Also Published As
Publication number | Publication date |
---|---|
JP4891791B2 (en) | 2012-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11928986B2 (en) | Content format conversion verification | |
JP2008507220A (en) | Audio / video content protection method | |
JP2009076154A (en) | Recording/reproducing device, and control method thereof | |
JP6598044B2 (en) | Information processing apparatus and information processing method | |
JP2007200113A (en) | Method and system for preventing content derived from identical content and different in format from being simultaneously used in many places | |
US10380358B2 (en) | MPEG transport frame synchronization | |
CN1529985A (en) | Information providing system and information processing apparatus and method | |
CN105763938A (en) | Method and device for decrypting and encrypting data by Gstreamer | |
JP4891791B2 (en) | Content distribution server and content distribution system | |
US7539292B2 (en) | Contents distribution system, contents server, contents receiving apparatus, contents distribution method, program and storage media | |
US8484754B2 (en) | Output control method | |
JP5350021B2 (en) | File generation device, file reproduction device, and computer program | |
EP3051830B1 (en) | Content supply device, content supply method, program, receiving device, and content supply system | |
JP2006345234A (en) | Encryption device and encryption method, decoder and decoding method, and program | |
JP2008187691A (en) | Content distribution system and method | |
JP6009946B2 (en) | Information processing apparatus, content transfer method, and program | |
JP2013098721A (en) | Transport stream recording device and transport stream recording method | |
JP2007013427A (en) | Information processor, information processing method and computer program | |
JP2010123190A (en) | Editing device and method | |
US20150334343A1 (en) | Converting apparatus, contents converting method, and computer readable recording medium | |
KR20150133125A (en) | Contents converting apparatus, method for converting contents and computer readable recording medium | |
JP2013239803A (en) | Multi-viewpoint image separation method, multi-viewpoint image separation device and multi-viewpoint image separation program | |
JP2013211759A (en) | Stream processing device, stream processing method, and stream processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090518 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20110706 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20110831 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111125 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111213 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111216 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4891791 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141222 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |