JP2013070247A - Digital broadcast transmitter, digital broadcast receiver and digital broadcast system - Google Patents

Digital broadcast transmitter, digital broadcast receiver and digital broadcast system Download PDF

Info

Publication number
JP2013070247A
JP2013070247A JP2011207480A JP2011207480A JP2013070247A JP 2013070247 A JP2013070247 A JP 2013070247A JP 2011207480 A JP2011207480 A JP 2011207480A JP 2011207480 A JP2011207480 A JP 2011207480A JP 2013070247 A JP2013070247 A JP 2013070247A
Authority
JP
Japan
Prior art keywords
program
digital broadcast
key
information
access control
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.)
Ceased
Application number
JP2011207480A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kawakita
裕之 川喜田
Tomonari Nishimoto
友成 西本
Yosuke Endo
洋介 遠藤
Tomoyuki Inoue
友幸 井上
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 JP2011207480A priority Critical patent/JP2013070247A/en
Publication of JP2013070247A publication Critical patent/JP2013070247A/en
Ceased legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a digital broadcast transmitter which delivers an access control program by data carousel.SOLUTION: A digital broadcast transmitter 1 comprises distribution data generation means 13 for generating the distribution data of data carousel by encrypting an access control program with a program encryption key, distribution data scramble means 14 for generating encrypted distribution data by encrypting the distribution data with a scramble key, common information generation means 15 for generating common information by encrypting the scramble key with a transmission line protection key, individual information generation means 19 for generating individual information by encrypting the transmission line protection key and the program encryption key with an effective device key, download table generation means 20 for generating a download table including an identifier indicating that the access control program is transmitted by data carousel, and multiplexing means 22 for multiplexing the information thus generated.

Description

本発明は、デジタル放送の放送番組のアクセス制御に関するプログラムを送受信するデジタル放送送信装置、デジタル放送受信装置およびデジタル放送システムに関する。   The present invention relates to a digital broadcast transmission device, a digital broadcast reception device, and a digital broadcast system that transmit and receive a program related to access control of a broadcast program of a digital broadcast.

現行のデジタル放送では、契約者の受信装置のみに放送番組(以下、コンテンツという)を限定受信させる機能や、正規の受信装置のみにコンテンツを受信させたり、コピー制限を行ったりすることで著作権保護を行う機能を、アクセス制御方式であるCAS(Conditional Access System)を用いて実現している。
具体的には、アクセス制御に関する機能(例えば、暗号化されたコンテンツを復号するための鍵の復号等)を耐タンパモジュールであるICカード(CASカード)に実装し、ICカードと受信装置とを組み合わせることで、アクセス制限を行っている。
In the current digital broadcasting, the copyright can be obtained by restricting the broadcast program (hereinafter referred to as “content”) only to the subscriber's receiving device, allowing the content to be received only by a legitimate receiving device, or performing copy restrictions. The function of performing protection is realized using CAS (Conditional Access System) which is an access control method.
Specifically, a function related to access control (for example, decryption of a key for decrypting encrypted content) is mounted on an IC card (CAS card) which is a tamper-resistant module, and the IC card and the receiving device are mounted. In combination, access is restricted.

しかし、このアクセス制御に関する機能は、内部に保持する鍵の流出や、アルゴリズムの解析等によって、セキュリティが破られる可能性がある。このような場合、セキュリティ強度を高めたICカードを再配布する方法が考えられるが、ICカードの配布コストやICカードの差し替え等、ユーザに負担を強いるため、現実的には実施困難である。また、セキュリティ問題を解決する以外にも、アクセス制御に関する機能を拡張したいという要望もある。   However, there is a possibility that security of this function related to access control may be broken due to outflow of keys held inside, analysis of algorithms, or the like. In such a case, a method of redistributing an IC card with increased security strength is conceivable. However, since it imposes a burden on the user such as IC card distribution costs and IC card replacement, it is practically difficult to implement. In addition to solving security problems, there is a desire to expand functions related to access control.

そこで、ICカードに実装するアクセス制御に関する機能を、CASプログラムとして受信装置に蓄積するとともに、放送波を介して、CASプログラムを更新する技術が開示されている(特許文献1参照)。
この特許文献1に開示された技術では、コンテンツ権利保護関連の共通情報であるECM−RMP(ECM:Entitlement Control Message、RMP:Rights Management and Protection)に、暗号化したCASプログラムを配置して配信している。
また、特許文献1に開示された技術では、コンテンツ権利保護関連の個別情報であるEMM−RMP(EMM:Entitlement Management Message)に、暗号化したCASプログラムを復号するための鍵を配置して配信している。
これによって、受信装置では、EMM−RMPで配信される鍵によって、ECM−RMPで配信される暗号化されたCASプログラムをダウンロードし復号することで、CASプログラムの蓄積、更新を行うことが可能になる。
Therefore, a technique for accumulating functions related to access control mounted on an IC card as a CAS program in a receiving apparatus and updating the CAS program via a broadcast wave is disclosed (see Patent Document 1).
In the technology disclosed in Patent Document 1, an encrypted CAS program is arranged and distributed in ECM-RMP (ECM: Entitlement Control Message, RMP: Rights Management and Protection), which is common information related to content right protection. ing.
In the technique disclosed in Patent Document 1, a key for decrypting an encrypted CAS program is arranged and distributed in EMM-RMP (EMM: Entitlement Management Message), which is individual information related to content right protection. ing.
As a result, the receiving apparatus can store and update the CAS program by downloading and decrypting the encrypted CAS program distributed by ECM-RMP using the key distributed by EMM-RMP. Become.

特開2009−267605号公報JP 2009-267605 A

特許文献1で開示されている従来技術では、セキュリティパラメータとしての役割を持つECM(ECM−RMP)やEMM(EMM−RMP)を用いて、CASプログラムの配信を実現している。このECMやEMMといったセキュリティパラメータは、秘密情報として耐タンパモジュール等で処理する必要がある。
一般に、耐タンパモジュールは、処理速度が低速であるため、例えば、300kbps程度までしかビットレートを高めることができない。すなわち、従来技術では、送信側から、低ビットレートでCASプログラムを送出しなければならない。
このため、従来技術では、CASプログラムを確実に配信するためには、長期間にわたって放送し続ける必要があり、放送帯域を圧迫してしまうという問題がある。
In the prior art disclosed in Patent Document 1, CAS program distribution is realized by using ECM (ECM-RMP) or EMM (EMM-RMP) having a role as a security parameter. Security parameters such as ECM and EMM must be processed as confidential information by a tamper resistant module or the like.
In general, since the tamper resistant module has a low processing speed, for example, the bit rate can be increased only to about 300 kbps. That is, in the prior art, the CAS program must be transmitted from the transmission side at a low bit rate.
For this reason, in the prior art, in order to reliably distribute the CAS program, it is necessary to continue broadcasting for a long period of time, and there is a problem that the broadcast band is compressed.

本発明は、以上のような問題点に鑑みてなされたものであり、CASプログラムの改ざん、漏洩等に対する安全性を確保しつつ、CASプログラムを高速にダウンロードすることが可能なデジタル放送送信装置、デジタル放送受信装置およびデジタル放送システムを提供することを課題とする。   The present invention has been made in view of the above problems, and a digital broadcast transmission device capable of downloading a CAS program at high speed while ensuring safety against alteration, leakage, etc. of the CAS program, An object is to provide a digital broadcast receiving apparatus and a digital broadcast system.

本発明は、前記課題を解決するために創案されたものであり、まず、請求項1に記載のデジタル放送送信装置は、放送波を介して送信されるコンテンツへのアクセスを制御するためのアクセス制御プログラムをデジタル放送受信装置に送信するデジタル放送送信装置であって、デバイス鍵リスト記憶手段と、無効設定手段と、配信データ生成手段と、配信データスクランブル手段と、共通情報生成手段と、デバイス鍵選択手段と、個別情報生成手段と、ダウンロードテーブル生成手段と、起動プログラム指定手段と、多重化手段と、を備える構成とした。   The present invention has been developed to solve the above-mentioned problems. First, the digital broadcast transmission apparatus according to claim 1 is an access for controlling access to content transmitted via a broadcast wave. A digital broadcast transmitting apparatus for transmitting a control program to a digital broadcast receiving apparatus, comprising: a device key list storage unit; an invalid setting unit; a distribution data generation unit; a distribution data scramble unit; a common information generation unit; The configuration includes a selection unit, an individual information generation unit, a download table generation unit, a startup program designation unit, and a multiplexing unit.

かかる構成において、デジタル放送送信装置は、デバイス鍵リスト記憶手段にデジタル放送受信装置に固有のデバイス鍵と、当該デバイス鍵が有効か無効かを示す情報を対応付けて記憶する。そして、デジタル放送送信装置は、無効設定手段によって、外部から特定のデバイス鍵の無効を指示されることで、デバイス鍵リスト記憶手段に記憶されている対応するデバイス鍵を、無効な鍵として設定する。
これによって、例えば、デジタル放送受信装置において、デバイス鍵が漏洩した場合、当該デバイス鍵を無効な鍵として管理することができる。
そして、デジタル放送送信装置は、配信データ生成手段によって、デジタル放送受信装置で共通のプログラム暗号化鍵で配信用のアクセス制御プログラムを暗号化するとともに、当該アクセス制御プログラムを識別する識別情報を付加して、データカルーセルのデータ形式の配信データを生成する。この識別情報は、例えば、アクセス制御プログラムの識別子やバージョンである。
In such a configuration, the digital broadcast transmitting apparatus stores a device key unique to the digital broadcast receiving apparatus in association with information indicating whether the device key is valid or invalid in the device key list storage unit. Then, the digital broadcast transmitting apparatus sets the corresponding device key stored in the device key list storage unit as an invalid key by instructing the invalidity of the specific device key from the outside by the invalid setting unit. .
Thereby, for example, when a device key leaks in the digital broadcast receiving apparatus, the device key can be managed as an invalid key.
The digital broadcast transmitting apparatus encrypts the access control program for distribution with the program encryption key common to the digital broadcast receiving apparatus by the distribution data generating means, and adds identification information for identifying the access control program. To generate distribution data in the data format of the data carousel. This identification information is, for example, an identifier or version of the access control program.

そして、デジタル放送送信装置は、配信データスクランブル手段によって、配信データ生成手段で生成された配信データをスクランブル鍵で暗号化して、暗号化配信データを生成する。これによって、アクセス制御プログラムは、データカルーセルで配信可能なデータとなる。   Then, the digital broadcast transmission apparatus encrypts the distribution data generated by the distribution data generation unit with the scramble key by the distribution data scramble unit, and generates encrypted distribution data. As a result, the access control program becomes data that can be distributed in the data carousel.

また、デジタル放送送信装置は、共通情報生成手段によって、デジタル放送受信装置に送信する伝送路保護鍵でスクランブル鍵を暗号化して、デジタル放送受信装置で共通の共通情報を生成する。これによって、正規のデジタル放送受信装置であれば、復号可能なようにスクランブル鍵を暗号化する。   Further, the digital broadcast transmission device encrypts the scramble key with the transmission path protection key transmitted to the digital broadcast reception device by the common information generation means, and generates common common information in the digital broadcast reception device. Thus, the scramble key is encrypted so that it can be decrypted if it is a legitimate digital broadcast receiving apparatus.

そして、デジタル放送送信装置は、デバイス鍵選択手段によって、デジタル放送受信装置ごとに、デバイス鍵リスト記憶手段から、有効な鍵として設定されているデバイス鍵を選択する。これによって、無効化されたデバイス鍵は選択されず、有効なデバイス鍵のみが選択されることになる。   Then, the digital broadcast transmission device selects a device key set as an effective key from the device key list storage unit for each digital broadcast reception device by the device key selection unit. As a result, the invalidated device key is not selected, and only a valid device key is selected.

さらに、デジタル放送送信装置は、個別情報生成手段によって、デバイス鍵選択手段で選択されたデバイス鍵で伝送路保護鍵およびプログラム暗号化鍵を暗号化して、デジタル放送受信装置ごとの個別情報を生成する。これによって、個別の有効なデバイス鍵を有するデジタル放送受信装置のみが復号可能なように伝送路保護鍵およびプログラム暗号化鍵を暗号化する。   Further, the digital broadcast transmitting apparatus generates individual information for each digital broadcast receiving apparatus by encrypting the transmission path protection key and the program encryption key with the device key selected by the device key selecting means by the individual information generating means. . As a result, the transmission path protection key and the program encryption key are encrypted so that only the digital broadcast receiving apparatus having an individual effective device key can decrypt.

また、デジタル放送送信装置は、ダウンロードテーブル生成手段によって、データカルーセルにより配信用のアクセス制御プログラムを送信する旨を示す識別子を付加するとともに、アクセス制御プログラムを識別する識別情報を含んだダウンロードテーブルを生成する。このダウンロードテーブルによって、デジタル放送受信装置は、データカルーセルによりアクセス制御プログラムをダウンロードすることが可能であることを認識し、ダウンロードを開始することができる。   In addition, the digital broadcast transmitting apparatus generates an download table including identification information for identifying the access control program, and adds an identifier indicating that the access control program for distribution is transmitted by the data carousel by the download table generating means. To do. From this download table, the digital broadcast receiving apparatus can recognize that the access control program can be downloaded by the data carousel and can start downloading.

また、デジタル放送送信装置は、起動プログラム指定手段によって、起動用のアクセス制御プログラムを特定するための第2識別情報を、番組配列情報であるPSI(Program Specific Information)/SI(Service Information)の情報テーブルに配置する。例えば、CAT(Conditional Access Table)またはPMT(Program Map Table)に配置する。   Also, the digital broadcast transmission apparatus uses the activation program designating means to specify the second identification information for identifying the access control program for activation as PSI (Program Specific Information) / SI (Service Information) information that is program arrangement information. Place on the table. For example, it is arranged in CAT (Conditional Access Table) or PMT (Program Map Table).

そして、デジタル放送送信装置は、多重化手段によって、生成された暗号化配信データと、共通情報と、個別情報と、ダウンロードテーブルと、番組配列情報の情報テーブルとを生成されたタイミングで順次多重化してデジタル放送受信装置に送信する多重化信号を生成する。   Then, the digital broadcast transmitting apparatus sequentially multiplexes the generated encrypted distribution data, common information, individual information, download table, and information table of program arrangement information at the generated timing by the multiplexing means. To generate a multiplexed signal to be transmitted to the digital broadcast receiver.

このように、デジタル放送送信装置は、暗号化したアクセス制御プログラムを高速なデータカルーセルで伝送することができる。また、デジタル放送送信装置は、アクセス制御プログラムを暗号化する際に、無効となったデバイス鍵を用いないため、有効なデバイス鍵を有するデジタル放送受信装置のみがアクセス制御プログラムを使用可能に制御することができる。   As described above, the digital broadcast transmitting apparatus can transmit the encrypted access control program by using a high-speed data carousel. Further, since the digital broadcast transmitting apparatus does not use the invalid device key when encrypting the access control program, only the digital broadcast receiving apparatus having a valid device key controls the access control program to be usable. be able to.

また、請求項2に記載のデジタル放送送信装置は、請求項1に記載のデジタル放送送信装置において、配信データ生成手段が、署名値演算手段と、分割手段と、暗号化手段と、データカルーセル用データ生成手段と、を備える構成とした。   The digital broadcast transmission apparatus according to claim 2 is the digital broadcast transmission apparatus according to claim 1, wherein the distribution data generation means includes a signature value calculation means, a division means, an encryption means, and a data carousel. And a data generation means.

かかる構成において、デジタル放送送信装置は、署名値演算手段によって、配信用のアクセス制御プログラムに対して、秘密鍵を用いて、デジタル署名の署名値を演算する。
また、デジタル放送送信装置は、分割手段によって、配信用のアクセス制御プログラムをデータカルーセルのブロックサイズに分割する。そして、デジタル放送送信装置は、暗号化手段によって、分割データをプログラム暗号化鍵で暗号化して、暗号化分割データを生成する。
In such a configuration, the digital broadcast transmitting apparatus calculates the signature value of the digital signature using the secret key with respect to the access control program for distribution by the signature value calculation means.
Also, the digital broadcast transmitting apparatus divides the distribution access control program into data carousel block sizes by the dividing means. Then, the digital broadcast transmitting apparatus encrypts the divided data with the program encryption key by the encryption unit, and generates the encrypted divided data.

そして、デジタル放送送信装置は、データカルーセル用データ生成手段によって、署名値と識別情報とを含んだDIIメッセージを生成するとともに、暗号化分割データごとに当該暗号化分割データを含んだDDBメッセージを生成することで、配信データを生成する。これによって、アクセス制御プログラムは、デジタル署名が付加された状態でデータカルーセルのデータ形式で配信されることになる。
なお、デジタル署名の署名値の演算に使用した秘密鍵に対応する検証鍵は、当該検証鍵を含んだルート公開鍵証明書として、個別情報生成手段によって、個別情報に付加されて、デジタル放送受信装置に送信される。
Then, the digital broadcast transmission device generates a DII message including the signature value and the identification information by the data carousel data generation means, and generates a DDB message including the encrypted divided data for each encrypted divided data. By doing so, distribution data is generated. As a result, the access control program is distributed in the data carousel data format with the digital signature added.
The verification key corresponding to the secret key used for the calculation of the signature value of the digital signature is added to the individual information by the individual information generating means as a root public key certificate including the verification key, and received by digital broadcasting Sent to the device.

また、請求項3に記載のデジタル放送送信装置は、請求項1または請求項2に記載のデジタル放送送信装置において、個別情報生成手段が、デジタル放送受信装置が保持するデバイス鍵を更新するためのパラメータであるシードをさらに付加して個別情報を生成する構成とした。   The digital broadcast transmission device according to claim 3 is the digital broadcast transmission device according to claim 1 or 2, wherein the individual information generating means updates the device key held by the digital broadcast reception device. The configuration is such that individual information is generated by further adding a seed as a parameter.

かかる構成において、デジタル放送送信装置は、個別情報生成手段において、デバイス鍵を更新するパラメータ(乱数)であるシードを個別情報に付加することで、デジタル放送送信装置からデジタル放送受信装置に保持されているデバイス鍵を更新させることが可能になる。   In such a configuration, the digital broadcast transmission device is held by the digital broadcast transmission device from the digital broadcast transmission device by adding a seed, which is a parameter (random number) for updating the device key, to the individual information in the individual information generation means. It is possible to update the existing device key.

また、請求項4に記載のデジタル放送送信装置は、請求項1から請求項3のいずれか一項に記載のデジタル放送送信装置において、共通情報生成手段が、配信用のアクセス制御プログラムのハッシュ値をさらに付加して共通情報を生成する構成とした。   The digital broadcast transmission device according to claim 4 is the digital broadcast transmission device according to any one of claims 1 to 3, wherein the common information generation unit includes a hash value of an access control program for distribution. Is added to generate common information.

かかる構成において、デジタル放送送信装置は、共通情報生成手段によって、デジタル放送受信装置と共通のハッシュ関数で演算したハッシュ値を共通情報に付加する。これによって、ハッシュ値は、デジタル放送送信装置において、アクセス制御プログラムの正当性を検証するためのセキュリティパラメータとして機能する。   In such a configuration, the digital broadcast transmission apparatus adds a hash value calculated by a common hash function common to the digital broadcast reception apparatus to the common information by the common information generation unit. Thus, the hash value functions as a security parameter for verifying the validity of the access control program in the digital broadcast transmitting apparatus.

さらに、請求項5に記載のデジタル放送送信装置は、請求項1から請求項4のいずれか一項に記載のデジタル放送送信装置において、共通情報生成手段が、起動用のアクセス制御プログラムを特定する第2識別情報をさらに付加して共通情報を生成する構成とした。   Further, in the digital broadcast transmission device according to claim 5, in the digital broadcast transmission device according to any one of claims 1 to 4, the common information generation unit specifies an access control program for activation. The second identification information is further added to generate common information.

かかる構成において、デジタル放送送信装置は、共通情報生成手段によって、起動用のアクセス制御プログラムを特定する第2識別情報を付加して共通情報を生成することで、デジタル放送受信装置では、PSI/SIの情報テーブルで指示される起動用のアクセス制御プログラムを特定する第2識別情報を検証することが可能になる。   In such a configuration, the digital broadcast transmission device generates the common information by adding the second identification information for specifying the access control program for activation by the common information generation unit. It is possible to verify the second identification information for specifying the access control program for activation specified in the information table.

また、請求項6に記載のデジタル放送送信装置は、請求項1から請求項5のいずれか一項に記載のデジタル放送送信装置において、ダウンロードテーブル生成手段が、外部からの指示により、データカルーセルにより配信用のアクセス制御プログラムを送信している旨を示す識別子に換えて、配信用のアクセス制御プログラムを、通信回線を介して指定したサーバから取得する旨を示す識別子を含んだダウンロードテーブルを生成する構成とした。   The digital broadcast transmission device according to claim 6 is the digital broadcast transmission device according to any one of claims 1 to 5, wherein the download table generating means is configured to perform data carousel in response to an instruction from the outside. Instead of an identifier indicating that the distribution access control program is being transmitted, a download table including an identifier indicating that the distribution access control program is acquired from the server designated via the communication line is generated. The configuration.

かかる構成において、デジタル放送送信装置は、ダウンロードテーブルによって、デジタル放送受信装置に、アクセス制御プログラムを、データカルーセルよって取得するのか、通信回線を介して取得するのかを指示することができる。   In such a configuration, the digital broadcast transmitting apparatus can instruct the digital broadcast receiving apparatus whether to acquire the access control program using the data carousel or via the communication line, using the download table.

また、請求項7に記載のデジタル放送受信装置は、放送波を介して送信されるコンテンツへのアクセス制御をアクセス制御プログラムによって行うデジタル放送受信装置において、分離手段と、ダウンロードテーブル解析手段と、個別情報復号手段と、共通情報復号手段と、配信データデスクランブル手段と、配信データ分離手段と、プログラム復号手段と、プログラム記憶手段と、起動プログラム特定手段と、プログラム起動手段と、を備える構成とした。   The digital broadcast receiving apparatus according to claim 7 is a digital broadcast receiving apparatus that performs access control to content transmitted via a broadcast wave by an access control program. In the digital broadcast receiving apparatus, a separating unit, a download table analyzing unit, An information decoding unit, a common information decoding unit, a distribution data descrambling unit, a distribution data separation unit, a program decoding unit, a program storage unit, an activation program specifying unit, and a program activation unit are provided. .

かかる構成において、デジタル放送受信装置は、分離手段によって、暗号化配信データと、共通情報と、個別情報と、ダウンロードテーブルと、番組配列情報の情報テーブルと、を含んだ多重化信号からそれぞれの情報を分離する。
そして、デジタル放送受信装置は、ダウンロードテーブル解析手段によって、データカルーセルによりアクセス制御プログラムを送信する旨を示す識別子および当該アクセス制御プログラムを識別する識別情報を含んだダウンロードテーブルに記述されている識別子により、データカルーセルでアクセス制御プログラムが送信されていることを判定する。
In such a configuration, the digital broadcast receiving apparatus uses the separating means to transmit each information from the multiplexed signal including the encrypted distribution data, the common information, the individual information, the download table, and the information table of the program arrangement information. Isolate.
Then, the digital broadcast receiving device uses the identifier described in the download table including the identifier indicating that the access control program is transmitted by the data carousel and the identification information for identifying the access control program by the download table analyzing unit, It is determined that the access control program is transmitted in the data carousel.

また、デジタル放送受信装置は、個別情報復号手段によって、デジタル放送送信装置と共通のデバイス鍵で個別情報を復号して、伝送路保護鍵およびプログラム暗号化鍵を取得する。そして、デジタル放送受信装置は、共通情報復号手段によって、伝送路保護鍵で共通情報を復号してスクランブル鍵を取得する。そして、デジタル放送受信装置は、配信データデスクランブル手段によって、データカルーセルのデータをスクランブル鍵で復号する。
さらに、デジタル放送受信装置は、配信データ分離手段によって、データカルーセルのデータ形式の配信データから、暗号化されたアクセス制御プログラムおよび当該アクセス制御プログラムを識別する識別情報を分離する。
Further, the digital broadcast receiving apparatus decrypts the individual information with the device key common to the digital broadcast transmitting apparatus by the individual information decrypting means, and acquires the transmission path protection key and the program encryption key. Then, the digital broadcast receiving apparatus acquires the scramble key by decoding the common information with the transmission path protection key by the common information decoding means. Then, the digital broadcast receiving apparatus decrypts the data carousel data with the scramble key by the distribution data descrambling means.
Furthermore, the digital broadcast receiving apparatus separates the encrypted access control program and the identification information for identifying the access control program from the distribution data in the data carousel data format by the distribution data separation means.

そして、デジタル放送受信装置は、プログラム復号手段によって、暗号化されたアクセス制御プログラムを、個別情報復号手段で取得したプログラム暗号化鍵で復号し、アクセス制御プログラムを識別情報と対応付けてプログラム記憶手段に記憶する。   The digital broadcast receiving apparatus decrypts the access control program encrypted by the program decrypting means with the program encryption key acquired by the individual information decrypting means, and associates the access control program with the identification information and stores the program storage means. To remember.

このように、デジタル放送受信装置は、アクセス制御プログラムを高速なデータカルーセルで受信することができる。また、デジタル放送受信装置は、アクセス制御プログラムを暗号化したプログラム暗号化鍵を、有効なデバイス鍵を有するデジタル放送受信装置のみが復号可能なように暗号化した個別情報として受信する。   In this way, the digital broadcast receiving apparatus can receive the access control program with a high-speed data carousel. Also, the digital broadcast receiving apparatus receives the program encryption key obtained by encrypting the access control program as individual information encrypted so that only the digital broadcast receiving apparatus having a valid device key can decrypt it.

また、請求項8に記載のデジタル放送受信装置は、請求項7に記載のデジタル放送受信装置において、プログラム復号手段に署名検証手段を備える構成とした。   Further, the digital broadcast receiving apparatus according to claim 8 is the digital broadcast receiving apparatus according to claim 7, wherein the program decryption means includes signature verification means.

かかる構成において、デジタル放送受信装置は、署名検証手段によって、デジタル放送送信装置で配信データに付加されたデジタル署名の署名値を、個別情報で送信されるルート公開鍵証明書に含まれている検証鍵を用いて検証する。   In such a configuration, the digital broadcast receiving apparatus verifies the signature value of the digital signature added to the distribution data by the digital broadcast transmitting apparatus by the signature verification means included in the root public key certificate transmitted as individual information. Verify using the key.

また、請求項9に記載のデジタル放送受信装置は、請求項7または請求項8に記載のデジタル放送受信装置において、デバイス鍵生成・更新手段をさらに備える構成とした。   The digital broadcast receiving apparatus according to claim 9 is the digital broadcast receiving apparatus according to claim 7 or claim 8, further comprising device key generation / update means.

かかる構成において、デジタル放送受信装置は、デバイス鍵生成・更新手段によって、個別情報に、デバイス鍵を更新するためのパラメータであるシードが含まれている場合に、当該シードを基にデバイス鍵を生成し、当該デジタル放送受信装置で使用するデバイス鍵を更新する。これによって、デジタル放送送信装置からの指示によってデバイス鍵を更新することができる。   In such a configuration, the digital broadcast receiving device generates a device key based on the seed when the device key generating / updating unit includes a seed that is a parameter for updating the device key in the individual information. Then, the device key used in the digital broadcast receiving apparatus is updated. As a result, the device key can be updated by an instruction from the digital broadcast transmission apparatus.

さらに、請求項10に記載のデジタル放送受信装置は、請求項7から請求項9のいずれか一項に記載のデジタル放送受信装置において、共通情報には、アクセス制御プログラムのハッシュ値が付加されており、プログラム起動手段が、起動プログラム特定手段で抽出された第2識別情報に対応するアクセス制御プログラムのハッシュ値を演算し、共通情報に付加されているハッシュ値と一致する場合に、当該アクセス制御プログラムを起動させる構成とした。   Furthermore, the digital broadcast receiver according to claim 10 is the digital broadcast receiver according to any one of claims 7 to 9, wherein the hash value of the access control program is added to the common information. When the program starting unit calculates the hash value of the access control program corresponding to the second identification information extracted by the starting program specifying unit and matches the hash value added to the common information, the access control The program is activated.

かかる構成において、デジタル放送受信装置は、プログラム起動手段によって、起動させるアクセス制御プログラムのハッシュ値が、共通情報で通知されるハッシュ値と異なる場合、当該アクセス制御プログラムの起動を停止する。   In such a configuration, when the hash value of the access control program to be activated is different from the hash value notified by the common information by the program activation unit, the digital broadcast receiving apparatus stops the activation of the access control program.

また、請求項11に記載のデジタル放送受信装置は、請求項7から請求項10のいずれか一項に記載のデジタル放送受信装置において、共通情報には、起動用のアクセス制御プログラムを識別する第2識別情報が付加されており、プログラム起動手段が、起動プログラム特定手段で抽出された第2識別情報と、共通情報に付加されている第2識別情報とが一致する場合に、当該第2識別情報に対応してプログラム記憶手段に記憶されているアクセス制御プログラムを起動させる構成とした。   The digital broadcast receiving apparatus according to claim 11 is the digital broadcast receiving apparatus according to any one of claims 7 to 10, wherein the common information includes a first access control program for identifying an activation access control program. 2 identification information is added, and when the program identification means matches the second identification information extracted by the activation program identification means and the second identification information added to the common information, the second identification information is added. The access control program stored in the program storage means is started corresponding to the information.

かかる構成において、デジタル放送受信装置は、プログラム起動手段によって、起動させるアクセス制御プログラムの第2識別情報が、共通情報で通知される第2識別情報と異なる場合、当該アクセス制御プログラムの起動を停止する。   In such a configuration, when the second identification information of the access control program to be activated is different from the second identification information notified by the common information by the program activation unit, the digital broadcast receiving apparatus stops the activation of the access control program. .

さらに、請求項12に記載のデジタル放送受信装置は、請求項7から請求項11のいずれか一項に記載のデジタル放送受信装置において、通信ダウンロード手段をさらに備える構成とした。   Furthermore, the digital broadcast receiving apparatus according to claim 12 is the digital broadcast receiving apparatus according to any one of claims 7 to 11, further comprising a communication download unit.

かかる構成において、デジタル放送受信装置は、通信ダウンロード手段によって、ダウンロードテーブルに、アクセス制御プログラムを、通信回線を介して指定したサーバから取得する旨を示す識別子が記述されている場合に、当該サーバから暗号化されたアクセス制御プログラムを取得する。これによって、デジタル放送受信装置は、アクセス制御プログラムをデジタル放送送信装置の指示によって、アクセス制御プログラムを、放送波を介してデータカルーセルによってダウンロードしたり、通信回線を介してサーバからダウンロードしたりすることができる。   In such a configuration, the digital broadcast receiving apparatus, when an identifier indicating that the access control program is acquired from the server designated via the communication line is described in the download table by the communication download unit, from the server. Obtain an encrypted access control program. As a result, the digital broadcast receiving apparatus downloads the access control program according to the instruction of the digital broadcast transmitting apparatus, by the data carousel via the broadcast wave, or from the server via the communication line. Can do.

また、請求項13に記載のデジタル放送システムは、放送波を介してコンテンツを送信するデジタル放送送信装置と、前記コンテンツを受信するデジタル放送受信装置とで構成され、前記コンテンツへのアクセスを制御するためのアクセス制御プログラムを、前記デジタル放送送信装置から前記デジタル放送受信装置に送信するデジタル放送システムであって、デジタル放送送信装置が、デバイス鍵リスト記憶手段と、無効設定手段と、配信データ生成手段と、配信データスクランブル手段と、共通情報生成手段と、デバイス鍵選択手段と、個別情報生成手段と、ダウンロードテーブル生成手段と、起動プログラム指定手段と、多重化手段と、を備え、デジタル放送受信装置が、分離手段と、ダウンロードテーブル解析手段と、個別情報復号手段と、共通情報復号手段と、配信データデスクランブル手段と、配信データ分離手段と、プログラム復号手段と、プログラム記憶手段と、起動プログラム特定手段と、プログラム起動手段と、を備える構成とした。   The digital broadcast system according to claim 13 includes a digital broadcast transmission device that transmits content via a broadcast wave and a digital broadcast reception device that receives the content, and controls access to the content. A digital broadcast system for transmitting an access control program from the digital broadcast transmission apparatus to the digital broadcast reception apparatus, the digital broadcast transmission apparatus including a device key list storage unit, an invalid setting unit, and a distribution data generation unit A digital broadcast receiving apparatus comprising: distribution data scrambling means; common information generating means; device key selecting means; individual information generating means; download table generating means; start program specifying means; Separating means, download table analyzing means, and individual information decoding A stage, and the common information decoding means, and the delivery data descrambling means, and delivering data separation means, and the program decoding means, program storage means, an activation program specifying means, a program starting unit, configured to include a.

本発明は、以下に示す優れた効果を奏するものである。
請求項1,7,13に記載の発明によれば、デジタル放送送信装置からデジタル放送受信装置に対して、データカルーセルでアクセス制御プログラム(CASプログラム)を配信し、アクセス制御プログラムの識別情報、鍵等を、セキュリティパラメータである共通情報や個別情報で配信することができる。これによって、本発明は、アクセス制御プログラムの改ざん等を防止し、アクセス制御プログラムをセキュリティパラメータとして配信する場合と比べ、高速に配信することができ、放送帯域の圧迫を抑制することができる。
また、請求項1,7,13に記載の発明によれば、デバイス鍵やプログラム暗号化鍵が漏洩した場合であっても、伝送路保護鍵およびプログラム暗号化鍵を更新し、新たなアクセス制御プログラムを配信することで、デバイス鍵が漏洩したデジタル放送受信装置を無効化(リボーク)するとともに、新しいアクセス制御プログラムの漏洩を防ぐことができる。
また、請求項1,7,13に記載の発明によれば、アクセス制御プログラムのセキュリティが破られた場合であっても、高速にアクセス制御プログラムを更新することができる。さらに、放送事業者が、提供したいサービスに応じてアクセス制御プログラムを変更することができる。
The present invention has the following excellent effects.
According to the first, seventh, and thirteenth aspects of the present invention, the access control program (CAS program) is distributed from the digital broadcast transmitting device to the digital broadcast receiving device by the data carousel, and the identification information, the key Can be distributed as common information or individual information as security parameters. As a result, the present invention prevents falsification of the access control program and the like, can be distributed at a higher speed than the case where the access control program is distributed as a security parameter, and can suppress the compression of the broadcast band.
According to the first, seventh, and thirteenth aspects of the present invention, even when the device key or the program encryption key is leaked, the transmission path protection key and the program encryption key are updated, and new access control is performed. By distributing the program, it is possible to invalidate (revoke) the digital broadcast receiving apparatus in which the device key has been leaked, and to prevent leakage of a new access control program.
Further, according to the first, seventh, and thirteenth aspects, the access control program can be updated at high speed even when the security of the access control program is broken. Further, the broadcaster can change the access control program according to the service desired to be provided.

請求項2,8に記載の発明によれば、アクセス制御プログラムにデジタル署名を付加するため、ダウンロードするアクセス制御プログラムの改ざんを防止することができる。
請求項3,9に記載の発明によれば、デジタル放送送信装置からデジタル放送受信装置が保持するデバイス鍵を更新することができ、漏洩したデバイス鍵を無効化することができる。
According to the second and eighth aspects of the present invention, since a digital signature is added to the access control program, the downloaded access control program can be prevented from being falsified.
According to the third and ninth aspects of the present invention, the device key held by the digital broadcast receiving device can be updated from the digital broadcast transmitting device, and the leaked device key can be invalidated.

請求項4,10に記載の発明によれば、セキュリティパラメータとなる共通情報で配信されるアクセス制御プログラムのハッシュ値によって、起動するアクセス制御プログラムの正当性を検証することができるため、デジタル放送受信装置において、アクセス制御プログラムの改ざんを防止することができる。   According to the fourth and tenth aspects of the present invention, since the validity of the access control program to be activated can be verified by the hash value of the access control program distributed with the common information serving as the security parameter, digital broadcast reception In the apparatus, the access control program can be prevented from being falsified.

請求項5,11に記載の発明によれば、デジタル放送送信装置から起動を指定したアクセス制御プログラムの(第2)識別情報と、セキュリティパラメータとなる共通情報で配信される(第2)識別情報との両方で、起動するアクセス制御プログラムを特定するため、不正により、他のアクセス制御プログラムを起動することを防止することができる。   According to the fifth and eleventh aspects of the invention, the (second) identification information of the access control program designated to be activated from the digital broadcast transmitting apparatus and the common information serving as the security parameter are distributed (second) identification information. In both cases, the access control program to be activated is specified, so that it is possible to prevent other access control programs from being illegally activated.

請求項6,12に記載の発明によれば、アクセス制御プログラムの配信を、放送波または通信回線で切り替えて配信することができる。これによって、データカルーセルによってアクセス制御プログラムを一定期間配信後、通信回線によるアクセス制御プログラムの配信に切り替えることができ、放送帯域の圧迫を防止することができる。   According to the sixth and twelfth aspects of the present invention, it is possible to switch and distribute the access control program by broadcast waves or communication lines. As a result, after the access control program is distributed for a certain period by the data carousel, it can be switched to the distribution of the access control program through the communication line, and the broadcast band can be prevented from being compressed.

本発明の実施形態に係るデジタル放送システムの構成を示す概略構成図である。It is a schematic block diagram which shows the structure of the digital broadcasting system which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送送信装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the digital broadcast transmitter which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送送信装置の配信データ生成手段の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the delivery data production | generation means of the digital broadcast transmitter which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送受信装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the digital broadcast receiver which concerns on embodiment of this invention. DIIメッセージの内容を示すデータ構造図である。It is a data structure figure which shows the content of a DII message. DDBメッセージの内容を示すデータ構造図である。It is a data structure figure which shows the content of a DDB message. デバイス鍵リスト記憶手段の記憶内容を説明するための図である。It is a figure for demonstrating the memory content of a device key list memory | storage means. ダウンロードテーブルの内容を示すデータ構造図である。It is a data structure figure which shows the content of a download table. ダウンロードコンテンツ記述子の内容を示すデータ構造図である。It is a data structure figure which shows the content of a download content descriptor. ネットワークダウンロードコンテンツ記述子の内容を示すデータ構造図である。It is a data structure figure which shows the content of a network download content descriptor. 本発明の実施形態に係るデジタル放送送信装置におけるアクセス制御プログラム(CASプログラム)の配信動作を示すフローチャートである。It is a flowchart which shows the delivery operation | movement of the access control program (CAS program) in the digital broadcast transmitter which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送受信装置におけるアクセス制御プログラム(CASプログラム)の受信動作を示すフローチャートである。It is a flowchart which shows the reception operation | movement of the access control program (CAS program) in the digital broadcast receiver which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送送信装置におけるアクセス制御プログラム(CASプログラム)の起動指示動作を示すフローチャートである。It is a flowchart which shows starting instruction | indication operation | movement of the access control program (CAS program) in the digital broadcast transmitter which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル放送受信装置におけるアクセス制御プログラム(CASプログラム)の起動動作を示すフローチャートである。It is a flowchart which shows the starting operation | movement of the access control program (CAS program) in the digital broadcast receiver which concerns on embodiment of this invention.

以下、本発明の実施形態について図面を参照して説明する。
[デジタル放送システムの概要]
最初に、図1を参照して、本発明の実施形態に係るデジタル放送システムの概要について説明する。
Embodiments of the present invention will be described below with reference to the drawings.
[Outline of digital broadcasting system]
First, an overview of a digital broadcasting system according to an embodiment of the present invention will be described with reference to FIG.

デジタル放送システムSは、放送事業者が有するデジタル放送送信装置1と、各家庭等に設置されたデジタル放送受信装置3,3,3,…とで構成され、デジタル放送送信装置1からデジタル放送の放送波Wで送信されるコンテンツ(放送番組)をデジタル放送受信装置3において受信し、視聴者が視聴するシステムである。なお、放送波Wは、地上デジタル放送、衛星放送、ケーブル放送等、無線、有線を問わない。   The digital broadcast system S is composed of a digital broadcast transmission device 1 owned by a broadcaster and digital broadcast reception devices 3, 3, 3,... Installed in each home. This is a system in which a content (broadcast program) transmitted by a broadcast wave W is received by a digital broadcast receiver 3 and viewed by a viewer. The broadcast wave W may be wireless or wired, such as terrestrial digital broadcast, satellite broadcast, and cable broadcast.

デジタル放送送信装置1は、放送波Wを介して、コンテンツをデジタル放送受信装置3に送信するものである。なお、このデジタル放送送信装置1は、放送波Wを介して、コンテンツへのアクセス制御に関する機能を有するCAS(Conditional Access System)プログラム(アクセス制御プログラム)を、デジタル放送のデータカルーセルで伝送し、更新する機能を有する。   The digital broadcast transmission device 1 transmits content to the digital broadcast reception device 3 via the broadcast wave W. The digital broadcast transmitting apparatus 1 transmits a CAS (Conditional Access System) program (access control program) having a function related to content access control via a broadcast wave W in a digital broadcast data carousel, and updates it. It has the function to do.

デジタル放送受信装置3は、放送波Wを介してコンテンツを受信するものである。なお、このデジタル放送受信装置3は、デジタル放送送信装置1から、データカルーセル伝送により配信されるCASプログラムを受信し、更新する機能を有する。
すなわち、デジタル放送システムSは、デジタル放送受信装置3において使用するCASプログラムの鍵の流出等、セキュリティが破られたとき、あるいは、提供するサービスに応じて使用するCASプログラムを更新したいとき等に、放送事業者が、デジタル放送送信装置1によって、新たなCASプログラムを、デジタル放送受信装置3に配信するシステムである。
The digital broadcast receiving device 3 receives content via a broadcast wave W. The digital broadcast receiving device 3 has a function of receiving and updating a CAS program distributed by data carousel transmission from the digital broadcast transmitting device 1.
That is, the digital broadcasting system S is used when security is broken, such as the leakage of the key of the CAS program used in the digital broadcast receiving apparatus 3, or when it is desired to update the CAS program used according to the service to be provided. In this system, a broadcaster distributes a new CAS program to the digital broadcast receiver 3 by the digital broadcast transmitter 1.

なお、データカルーセルは、社団法人電波産業会(ARIB)のSTD−B24で規定されている同一データを一定期間繰り返して配信することで、デジタル放送受信装置3が任意のタイミングで必要なデータの取得を可能にする伝送方式である。
このデジタル放送システムSでは、同一のCASプログラム(CAS P〜P)を一定期間繰り返して伝送することで、CASプログラムを、デジタル放送受信装置3に配信する。
The data carousel repeatedly distributes the same data defined in STD-B24 of the Radio Industries Association (ARIB) for a certain period of time, so that the digital broadcast receiver 3 can acquire necessary data at an arbitrary timing. It is a transmission method that enables
In the digital broadcasting system S, the same CAS program (CAS P 1 to P n ) is repeatedly transmitted for a certain period, so that the CAS program is distributed to the digital broadcast receiving device 3.

さらに、デジタル放送システムSは、データカルーセルによるCASプログラムの配信に加え、通信回線Nを介してCASプログラムを配信する機能を有している。
ここでは、デジタル放送システムSは、CASプログラムを蓄積するとともに、通信回線Nを介してCASプログラムを送信するサーバ(CASサーバ5)を備え、デジタル放送送信装置1が、放送波Wを介してCASプログラムの所在(URL:Uniform Resource Locator)をデジタル放送受信装置3に通知する。そして、デジタル放送受信装置3が、通信回線Nを介して、CASサーバ5から、CASプログラムを取得し、更新を行う。
Further, the digital broadcasting system S has a function of distributing the CAS program via the communication line N in addition to the distribution of the CAS program by the data carousel.
Here, the digital broadcast system S includes a server (CAS server 5) that stores the CAS program and transmits the CAS program via the communication line N, and the digital broadcast transmission apparatus 1 receives the CAS via the broadcast wave W. The digital broadcast receiver 3 is notified of the location of the program (URL: Uniform Resource Locator). Then, the digital broadcast receiving apparatus 3 acquires a CAS program from the CAS server 5 through the communication line N and updates it.

このように、デジタル放送システムSは、データカルーセル伝送を行うことで、CASプログラムを高速に伝送することができ、CASプログラムを配信する期間を、例えば、1週間程度と短くすることができる。
また、デジタル放送システムSは、データカルーセルによるCASプログラムの伝送期間が終了した場合であっても、通信回線Nを介して、CASプログラムを配信することができる。これによって、デジタル放送システムSは、放送波WによるCASプログラムの配信に伴う放送帯域の圧迫を低減することができる。
As described above, the digital broadcasting system S can transmit the CAS program at high speed by performing the data carousel transmission, and the period for distributing the CAS program can be shortened to, for example, about one week.
Further, the digital broadcast system S can distribute the CAS program via the communication line N even when the transmission period of the CAS program by the data carousel has ended. As a result, the digital broadcasting system S can reduce the compression of the broadcast band accompanying the distribution of the CAS program by the broadcast wave W.

以下、デジタル放送システムSにおいて、CASプログラムの伝送上の安全性を高めてCASプログラムの更新を可能とするデジタル放送送信装置1およびデジタル放送受信装置3について、その構成および動作について詳細に説明を行う。   Hereinafter, in the digital broadcast system S, the configuration and operation of the digital broadcast transmission apparatus 1 and the digital broadcast reception apparatus 3 that can update the CAS program by increasing the safety in transmission of the CAS program will be described in detail. .

[デジタル放送送信装置の構成]
まず、図2を参照(適宜図1参照)して、本発明の実施形態に係るデジタル放送送信装置の構成について説明する。ここでは、デジタル放送送信装置1は、コンテンツスクランブル手段10と、ECM−CAS生成手段11と、EMM−CAS生成手段12と、配信データ生成手段13と、配信データスクランブル手段14と、ECM−RMP生成手段15と、デバイス鍵リスト記憶手段16と、無効設定手段17と、デバイス鍵選択手段18と、EMM−RMP生成手段19と、ダウンロードテーブル生成手段20と、起動プログラム指定手段21と、多重化手段22と、を備えている。
[Configuration of digital broadcasting transmitter]
First, referring to FIG. 2 (refer to FIG. 1 as appropriate), the configuration of the digital broadcast transmitting apparatus according to the embodiment of the present invention will be described. Here, the digital broadcast transmission apparatus 1 includes content scramble means 10, ECM-CAS generation means 11, EMM-CAS generation means 12, distribution data generation means 13, distribution data scramble means 14, and ECM-RMP generation. Means 15, device key list storage means 16, invalid setting means 17, device key selection means 18, EMM-RMP generation means 19, download table generation means 20, startup program designation means 21, multiplexing means 22.

なお、図2中、破線部分で示したA部分の構成については、CASプログラムごとに複数備えることとする。例えば、配信するCASプログラムがデジタル放送受信装置3のメーカごとに異なる場合、A部分は、メーカごとに複数備えるものとする。   In FIG. 2, a plurality of configurations of the A portion indicated by the broken line portion are provided for each CAS program. For example, when the CAS program to be distributed differs for each manufacturer of the digital broadcast receiving apparatus 3, a plurality of A parts are provided for each manufacturer.

コンテンツスクランブル手段10は、入力されたコンテンツ(映像、音声、データ等)Ctをスクランブル鍵Ks1でスクランブル(暗号化)するものである。
このスクランブル鍵Ks1による暗号化は、一般的な共通鍵暗号アルゴリズムを用いればよく、例えば、MULTI2暗号により暗号化する。このようにスクランブルされたコンテンツ(暗号化コンテンツSct)は、多重化手段22に出力される。
The content scramble means 10 scrambles (encrypts) input content (video, audio, data, etc.) Ct with a scramble key Ks1.
For the encryption with the scramble key Ks1, a common common key encryption algorithm may be used. For example, the encryption is performed by the MULTI2 encryption. The scrambled content (encrypted content Sct) is output to the multiplexing means 22.

なお、スクランブル鍵Ks1は、時間によって更新されるものであって、数秒に1回程度更新されるものである。ここでは、スクランブル鍵Ks1は、図示を省略した記憶手段に記憶され、適宜、外部から新たなスクランブル鍵Ks1が入力されることで更新されるものとする。   The scramble key Ks1 is updated according to time, and is updated about once every several seconds. Here, it is assumed that the scramble key Ks1 is stored in a storage unit (not shown) and is appropriately updated by inputting a new scramble key Ks1 from the outside.

ECM−CAS生成手段11は、コンテンツスクランブル手段10で用いたスクランブル鍵Ks1をワーク鍵Kwで暗号化し、暗号化されたスクランブル鍵Ks1を含む共通情報を生成するものである。この共通情報は、すべてのデジタル放送受信装置3に共通のセキュリティ情報である。
このワーク鍵Kwによる暗号化には、一般的な共通鍵暗号アルゴリズムを用いればよい。また、ECM−CAS生成手段11は、共通情報を、MPEG(Moving Picture Experts Group)−2 Systemsで定義されるECM(Entitlement Control Message)構造を有するメッセージとして生成する。このように生成された共通情報(ECM−CAS)は、多重化手段22に出力される。
The ECM-CAS generation unit 11 encrypts the scramble key Ks1 used in the content scramble unit 10 with the work key Kw, and generates common information including the encrypted scramble key Ks1. This common information is security information common to all digital broadcast receiving apparatuses 3.
A common common key encryption algorithm may be used for encryption with the work key Kw. Further, the ECM-CAS generation unit 11 generates the common information as a message having an ECM (Entitlement Control Message) structure defined by MPEG (Moving Picture Experts Group) -2 Systems. The common information (ECM-CAS) generated in this way is output to the multiplexing means 22.

なお、ワーク鍵Kwは、スクランブル鍵Ksに比べ、更新時間が長く、例えば、1ヶ月程度で更新されるものである。ここでは、ワーク鍵Kwは、図示を省略した記憶手段に記憶され、適宜、外部から新たなワーク鍵Kwが入力されることで更新されるものとする。   The work key Kw has a longer update time than the scramble key Ks, and is updated in about one month, for example. Here, it is assumed that the work key Kw is stored in a storage unit (not shown) and appropriately updated by inputting a new work key Kw from the outside.

EMM−CAS生成手段12は、ECM−CAS生成手段11で用いたワーク鍵Kwをマスタ鍵Kmで暗号化し、暗号化されたワーク鍵Kwを含む個別情報を生成するものである。この個別情報は、デジタル放送受信装置3ごとに個別のセキュリティ情報である。   The EMM-CAS generation unit 12 encrypts the work key Kw used in the ECM-CAS generation unit 11 with the master key Km, and generates individual information including the encrypted work key Kw. This individual information is individual security information for each digital broadcast receiver 3.

このマスタ鍵Kmによる暗号化には、一般的な共通鍵暗号アルゴリズムを用いればよい。また、EMM−CAS生成手段12は、個別情報を、MPEG−2 Systemsで定義されるEMM(Entitlement Management Message)構造を有するメッセージとして生成する。このとき、個別情報(EMM−CAS)には、個々のデジタル放送受信装置3を識別するための識別子IDが付加される。このように生成された個別情報(EMM−CAS)は、多重化手段22に出力される。   A common common key encryption algorithm may be used for encryption using the master key Km. Further, the EMM-CAS generation unit 12 generates the individual information as a message having an EMM (Entitlement Management Message) structure defined by MPEG-2 Systems. At this time, an identifier ID for identifying the individual digital broadcast receiving device 3 is added to the individual information (EMM-CAS). The individual information (EMM-CAS) generated in this way is output to the multiplexing means 22.

なお、マスタ鍵Kmは、デジタル放送受信装置3ごとに異なり、予め個々のデジタル放送受信装置3に配布されている暗号鍵である。ここでは、マスタ鍵Kmは、図示を省略した記憶手段に記憶されているものとする。   The master key Km is an encryption key that is different for each digital broadcast receiving device 3 and is distributed to each digital broadcast receiving device 3 in advance. Here, it is assumed that the master key Km is stored in a storage unit (not shown).

ECM−CAS生成手段11が生成する共通情報(ECM−CAS)や、EMM−CAS生成手段12が生成する個別情報(EMM−CAS)は、受信契約がなされているデジタル放送受信装置3のみがスクランブルを解くことが可能な限定受信のためのセキュリティ情報である。   The common information (ECM-CAS) generated by the ECM-CAS generation unit 11 and the individual information (EMM-CAS) generated by the EMM-CAS generation unit 12 are scrambled only by the digital broadcast receiving apparatus 3 with which a reception contract is made. It is security information for limited reception that can be solved.

配信データ生成手段13は、デジタル放送受信装置3に配信するCASプログラムPを、データカルーセルのデータ形式に変換し、配信用のデータ(配信データ)を生成するものである。この配信データ生成手段13で生成された配信データは、配信データスクランブル手段14に出力される。
なお、配信データ生成手段13には、図示を省略した入力手段を介して、更新を行う新たなCASプログラムが入力されるものとする。
The distribution data generation means 13 converts the CAS program P distributed to the digital broadcast receiving device 3 into a data carousel data format and generates distribution data (distribution data). The distribution data generated by the distribution data generation unit 13 is output to the distribution data scramble unit 14.
Note that a new CAS program to be updated is input to the distribution data generation unit 13 via an input unit (not shown).

ここで、図3を参照して、配信データ生成手段13の構成について詳細に説明する。図3に示すように、配信データ生成手段13は、署名値演算手段13aと、分割手段13bと、暗号化手段13cと、データカルーセル用データ生成手段13dと、を備えている。   Here, with reference to FIG. 3, the structure of the delivery data generation means 13 is demonstrated in detail. As shown in FIG. 3, the distribution data generating unit 13 includes a signature value calculating unit 13a, a dividing unit 13b, an encrypting unit 13c, and a data carousel data generating unit 13d.

署名値演算手段13aは、更新を行う新たなCASプログラムPに対して、デジタル署名の署名値を演算するものである。すなわち、署名値演算手段13aは、予めデジタル放送受信装置3と共通のハッシュ関数によって、CASプログラムPからハッシュ値を生成する。そして、署名値演算手段13aは、公開鍵暗号方式におけるデジタル放送受信装置3の公開鍵(検証鍵)に対応する秘密鍵Kpsで、ハッシュ値を暗号化することで署名値を演算する。このように演算された署名値は、データカルーセル用データ生成手段13dに出力される。この署名値演算手段13aが生成する署名値は、一般的なDSA、RSAによって演算することができる。   The signature value calculation means 13a calculates the signature value of the digital signature for the new CAS program P to be updated. That is, the signature value calculation unit 13a generates a hash value from the CAS program P in advance by using a hash function common to the digital broadcast receiving device 3. The signature value calculation means 13a calculates the signature value by encrypting the hash value with the secret key Kps corresponding to the public key (verification key) of the digital broadcast receiving apparatus 3 in the public key cryptosystem. The signature value calculated in this way is output to the data carousel data generation means 13d. The signature value generated by the signature value calculation means 13a can be calculated by general DSA and RSA.

なお、署名値演算手段13aが署名値を演算するために用いた秘密鍵Kpsに対応したデジタル署名を検証する公開鍵(検証鍵)は、ルート公開鍵証明書RPKC(図2参照)として、後記するEMM−RMP生成手段19によって、EMM−RMPでデジタル放送受信装置3に配信される。   A public key (verification key) for verifying the digital signature corresponding to the secret key Kps used for calculating the signature value by the signature value calculation means 13a is a root public key certificate RPKC (see FIG. 2), which will be described later. Then, the EMM-RMP generating means 19 performs distribution to the digital broadcast receiving apparatus 3 by EMM-RMP.

分割手段13bは、更新を行う新たなCASプログラムPを所定の大きさに分割するものである。ここでは、分割手段13bは、データカルーセル伝送を行う際のDDB(Download Data Block)メッセージのブロックサイズで、CASプログラムPを分割する。このように分割されたデータ(分割データ)は、暗号化手段13cに出力される。   The dividing means 13b divides a new CAS program P to be updated into a predetermined size. Here, the dividing means 13b divides the CAS program P by the block size of a DDB (Download Data Block) message when performing data carousel transmission. The data thus divided (divided data) is output to the encryption means 13c.

暗号化手段13cは、分割手段13bで分割されたCASプログラムP(分割データ)を、プログラム暗号化鍵Kpeで暗号化するものである。この暗号化手段13cにおける暗号化は、一般的な共通鍵暗号アルゴリズムを用いればよい。
このプログラム暗号化鍵Kpeは、すべてのデジタル放送受信装置3で共通の鍵であって、図示を省略した記憶手段に記憶しておく。このように暗号化された分割データ(暗号化分割データ)は、データカルーセル用データ生成手段13dに出力される。
The encryption unit 13c encrypts the CAS program P (divided data) divided by the dividing unit 13b with the program encryption key Kpe. The encryption in the encryption means 13c may use a common common key encryption algorithm.
The program encryption key Kpe is a key common to all the digital broadcast receiving apparatuses 3, and is stored in a storage unit (not shown). The divided data thus encrypted (encrypted divided data) is output to the data carousel data generation means 13d.

なお、プログラム暗号化鍵Kpeは、後記するEMM−RMP生成手段19において、EMM−RMPを生成する際に、予めデジタル放送受信装置3内に記憶されているデバイス鍵Kdで暗号化される。しかし、デジタル放送受信装置3からデバイス鍵Kdが漏洩した場合、プログラム暗号化鍵Kpeが解読され、CASプログラムPそのものが漏洩してしまうことになる。
そこで、このプログラム暗号化鍵Kpeは、デバイス鍵Kdが漏洩した場合、あるいは、定期的に、更新されるものとする。
The program encryption key Kpe is encrypted with the device key Kd stored in advance in the digital broadcast receiving apparatus 3 when the EMM-RMP generating means 19 described later generates the EMM-RMP. However, when the device key Kd is leaked from the digital broadcast receiving apparatus 3, the program encryption key Kpe is decrypted and the CAS program P itself is leaked.
Therefore, it is assumed that the program encryption key Kpe is updated when the device key Kd is leaked or periodically.

データカルーセル用データ生成手段13dは、暗号化手段13cで暗号化されたCASプログラムPの分割データ(暗号化分割データ)から、データカルーセル用のデータを生成するものである。すなわち、データカルーセル用データ生成手段13dは、暗号化分割データをDDBメッセージとしてセクション化するとともに、その構成情報をDII(Download Info Indication)メッセージとしてセクション化する。   The data carousel data generation unit 13d generates data carousel data from the divided data (encrypted divided data) of the CAS program P encrypted by the encryption unit 13c. That is, the data carousel data generating unit 13d sections the encrypted divided data as a DDB message and sections the configuration information as a DII (Download Info Indication) message.

また、データカルーセル用データ生成手段13dは、CASプログラムPの識別子(CAS−ID)やバージョン(CAS−Ver)を外部から入力し、DII内部に配置する。これによって、データカルーセルで配信するCASプログラムの識別子やバージョンを、デジタル放送受信装置3に通知することができる。   Further, the data carousel data generation means 13d inputs the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P from the outside and arranges them inside the DII. Thereby, the identifier and version of the CAS program distributed by the data carousel can be notified to the digital broadcast receiving apparatus 3.

また、データカルーセル用データ生成手段13dは、DIIをセクション化する際に、署名値演算手段13aで演算されたCASプログラムPの署名値をDII内部に配置する。これによって、デジタル放送受信装置3は、データカルーセルによって受信したCASプログラムPが、正規なものであるか否かをデジタル署名により検証することが可能になる。   The data carousel data generation unit 13d arranges the signature value of the CAS program P calculated by the signature value calculation unit 13a in the DII when sectioning the DII. As a result, the digital broadcast receiving apparatus 3 can verify whether or not the CAS program P received by the data carousel is a legitimate one using the digital signature.

ここで、図5,図6を参照(適宜図2,図3参照)して、配信データ生成手段13が生成するDIIおよびDDBのデータ構造の例について説明する。なお、ARIBのSTD−B24で規定されているデータについては説明を省略し、本発明において、特に設定を必要とするデータについて説明を行うこととする。   Here, with reference to FIGS. 5 and 6 (refer to FIGS. 2 and 3 as appropriate), examples of data structures of DII and DDB generated by the distribution data generation means 13 will be described. Note that the description of the data defined in the ARIB STD-B24 is omitted, and in the present invention, the data that particularly needs to be set will be described.

図5は、CASプログラムをデータカルーセル伝送する際のDIIメッセージのデータ構造の一例を示している。
この図5に示すように、デジタル放送送信装置1は、DIIメッセージ内に、コンパチビリティ記述子を配置する。このコンパチビリティ識別子は、DDBで配信するCASプログラムPのメタ情報を記述するものである。ここでは、コンパチビリティ記述子内(図5中、「CAS_version」領域)に、CASプログラムPの識別子(CAS−ID)と、バージョン(CAS−Ver)とを記述する。なお、この識別子(CAS−ID)およびバージョン(CAS−Ver)は、CASプログラムPのダウンロード時に外部から入力され、データカルーセル用データ生成手段13dによって書き込まれる情報である。
FIG. 5 shows an example of the data structure of the DII message when the CAS program is transmitted in the data carousel.
As shown in FIG. 5, the digital broadcast transmitting apparatus 1 arranges a compatibility descriptor in the DII message. This compatibility identifier describes the meta information of the CAS program P distributed by DDB. Here, the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P are described in the compatibility descriptor (“CAS_version” area in FIG. 5). The identifier (CAS-ID) and version (CAS-Ver) are information input from the outside when the CAS program P is downloaded and written by the data carousel data generation means 13d.

また、図5に示すように、デジタル放送送信装置1は、DIIメッセージ内(「CAS_digital_signature」領域)に、CASプログラムPの署名値を配置する。なお、この署名値は、配信データ生成手段13の署名値演算手段13aによって生成され、データカルーセル用データ生成手段13dによって書き込まれる情報である。   Further, as shown in FIG. 5, the digital broadcast transmitting apparatus 1 places the signature value of the CAS program P in the DII message (“CAS_digital_signature” area). The signature value is information generated by the signature value calculation unit 13a of the distribution data generation unit 13 and written by the data carousel data generation unit 13d.

図6は、CASプログラムPをデータカルーセル伝送する際のDDBメッセージのデータ構造の一例を示している。
この図6に示すように、デジタル放送送信装置1は、DDBメッセージ内(「blockDataByte」領域;ペイロード領域)に、分割暗号化されたCASプログラムPを配置する。なお、このペイロード領域のデータは、配信データ生成手段13の暗号化手段13cによって暗号化され、データカルーセル用データ生成手段13dによって書き込まれる情報である。
FIG. 6 shows an example of the data structure of the DDB message when the CAS program P is transmitted in the data carousel.
As shown in FIG. 6, the digital broadcast transmitting apparatus 1 arranges the divided and encrypted CAS program P in the DDB message (“blockDataByte” area; payload area). The data in the payload area is information that is encrypted by the encryption unit 13c of the distribution data generation unit 13 and written by the data carousel data generation unit 13d.

また、デジタル放送送信装置1は、DDBメッセージ内(ここでは、「blockNumber」領域)に分割されたCASプログラムPのブロックの順番を示す数(ブロックナンバ)を配置する。なお、このブロックナンバは、配信データ生成手段13のデータカルーセル用データ生成手段13dによって、順次、ブロックごとにインクリメントされて書き込まれる情報である。
これによって、デジタル放送受信装置3は、DIIメッセージを取得後、DDBメッセージによって、暗号化されたCASプログラムを再構成することが可能になる。
図2に戻って、デジタル放送送信装置1の構成について説明を続ける。
Also, the digital broadcast transmitting apparatus 1 arranges a number (block number) indicating the order of the blocks of the CAS program P divided in the DDB message (here, “blockNumber” area). The block number is information that is sequentially incremented and written for each block by the data carousel data generation unit 13d of the distribution data generation unit 13.
As a result, the digital broadcast receiving apparatus 3 can reconstruct the encrypted CAS program using the DDB message after obtaining the DII message.
Returning to FIG. 2, the description of the configuration of the digital broadcast transmitting apparatus 1 will be continued.

配信データスクランブル手段14は、配信データ生成手段13で生成されたデータカルーセル用のデータである配信データ(DII、DDB)を、スクランブル鍵Ks2でスクランブル(暗号化)するものである。
このスクランブル鍵Ks2による暗号化は、一般的な共通鍵暗号アルゴリズムを用いればよく、例えば、MULTI2暗号により暗号化する。このようにスクランブルされたデータ(暗号化配信データScas)は、多重化手段22に出力される。
The distribution data scramble means 14 scrambles (encrypts) the distribution data (DII, DDB), which is data for the data carousel generated by the distribution data generation means 13, with the scramble key Ks2.
For the encryption with the scramble key Ks2, a common common key encryption algorithm may be used. For example, the encryption is performed with the MULTI2 encryption. The scrambled data (encrypted distribution data Scas) is output to the multiplexing means 22.

なお、スクランブル鍵Ks2は、スクランブル鍵Ks1と同様、時間によって更新されるものであって、数秒に1回程度更新されるものである。また、スクランブル鍵Ks2は、スクランブル鍵Ks1と同じものを用いてもよいが、CASプログラムの安全性を高めるため、スクランブル鍵Ks1よりも鍵長を長くする等、別の鍵として管理することが望ましい。ここでは、スクランブル鍵Ks2は、図示を省略した記憶手段に記憶され、適宜、外部から新たなスクランブル鍵Ks2が入力されることで更新されるものとする。   Note that, as with the scramble key Ks1, the scramble key Ks2 is updated with time, and is updated about once every few seconds. The scramble key Ks2 may be the same as the scramble key Ks1, but it is desirable to manage the scramble key Ks2 as another key, for example, by making the key length longer than the scramble key Ks1 in order to increase the security of the CAS program. . Here, it is assumed that the scramble key Ks2 is stored in a storage unit (not shown) and is appropriately updated by inputting a new scramble key Ks2 from the outside.

ECM−RMP生成手段(共通情報生成手段)15は、配信データスクランブル手段14で用いたスクランブル鍵Ks2を伝送路保護鍵Kpで暗号化し、暗号化されたスクランブル鍵Ks2を含む共通情報を生成するものである。この共通情報は、すべてのデジタル放送受信装置3に共通のセキュリティ情報である。   The ECM-RMP generating means (common information generating means) 15 encrypts the scramble key Ks2 used in the distribution data scramble means 14 with the transmission path protection key Kp, and generates common information including the encrypted scramble key Ks2. It is. This common information is security information common to all digital broadcast receiving apparatuses 3.

この伝送路保護鍵Kpによる暗号化には、一般的な共通鍵暗号アルゴリズムを用いればよい。また、ECM−RMP生成手段15は、共通情報を、MPEG−2 Systemsで定義されるECM構造を有するメッセージとして生成する。このように生成された共通情報(ECM−RMP)は、多重化手段22に出力される。
なお、伝送路保護鍵Kpは、受信契約にかかわらず正規のデジタル放送受信装置3に配送される鍵である。ここでは、伝送路保護鍵Kpは、図示を省略した記憶手段に記憶され、適宜、外部から新たな伝送路保護鍵Kpが入力されることで更新されるものとする。
A common common key encryption algorithm may be used for encryption using the transmission path protection key Kp. Further, the ECM-RMP generation unit 15 generates common information as a message having an ECM structure defined by MPEG-2 Systems. The common information (ECM-RMP) generated in this way is output to the multiplexing means 22.
The transmission path protection key Kp is a key delivered to the regular digital broadcast receiving apparatus 3 regardless of the reception contract. Here, it is assumed that the transmission path protection key Kp is stored in a storage unit (not shown) and is appropriately updated when a new transmission path protection key Kp is input from the outside.

また、ECM−RMP生成手段15は、後記する起動プログラム指定手段21によって起動したいCASプログラムを指定する場合、PSI/SIで配送されるCASプログラムPの識別子(CAS−ID)やバージョン(CAS−Ver)、および、CASプログラムPのハッシュ値(CAS−H)を、共通情報(ECM−RMP)に付加することとする。なお、このハッシュ値は、デジタル放送受信装置3と共通のハッシュ関数を用いて演算した値である。   Further, the ECM-RMP generating unit 15 specifies an identifier (CAS-ID) or version (CAS-Ver) of the CAS program P delivered by PSI / SI when the CAS program to be started is specified by the starting program specifying unit 21 described later. ) And the hash value (CAS-H) of the CAS program P is added to the common information (ECM-RMP). This hash value is a value calculated using a hash function common to the digital broadcast receiving device 3.

これによって、デジタル放送受信装置3では、PSI/SIで配送されるCASプログラムPの識別子(CAS−ID)やバージョン(CAS−Ver)の改ざんによる誤動作を防止したり、デジタル放送受信装置3に蓄積したCASプログラムPのハッシュ値の不整合を検出して誤動作を防止したりすることができる。   As a result, the digital broadcast receiving apparatus 3 prevents malfunction due to alteration of the identifier (CAS-ID) or version (CAS-Ver) of the CAS program P delivered by PSI / SI, or stores it in the digital broadcast receiving apparatus 3. It is possible to prevent malfunctions by detecting inconsistencies in the hash values of the CAS program P.

デバイス鍵リスト記憶手段16は、デジタル放送受信装置3に固有のデバイス鍵と、当該デバイス鍵が有効か無効かを示す情報とを対応付けて記憶するものであって、一般的なハードディスク等の記憶装置である。
ここでは、デバイス鍵リスト記憶手段16は、デジタル放送受信装置3のメーカごと、あるいは、デジタル放送受信装置3の機種(セットモデル)ごとの固有の識別子である受信機識別子RIDに対して、デバイス鍵Kdと、そのデバイス鍵Kdが有効か無効かを示す情報(フラグ)とを対応付けて記憶しておく。例えば、有効なデバイス鍵Kdについては、「有効」を示す値(“0”)、無効なデバイス鍵Kdについては、「無効」を示す値(“1”)を設定する。
なお、このデバイス鍵リスト記憶手段16には、初期値として、予めすべてのデバイス鍵について、「有効」の値が設定されているものとする。
The device key list storage unit 16 stores a device key unique to the digital broadcast receiving apparatus 3 and information indicating whether the device key is valid or invalid in association with each other. Device.
Here, the device key list storage unit 16 is configured to use a device key for a receiver identifier RID that is a unique identifier for each manufacturer of the digital broadcast receiver 3 or for each model (set model) of the digital broadcast receiver 3. Kd is stored in association with information (flag) indicating whether the device key Kd is valid or invalid. For example, a value (“0”) indicating “valid” is set for the valid device key Kd, and a value (“1”) indicating “invalid” is set for the invalid device key Kd.
In this device key list storage unit 16, it is assumed that “valid” values are set in advance for all device keys as initial values.

ここで、デバイス鍵Kdは、予めデジタル放送受信装置3に記憶され、後記するEMM−RMP生成手段19でEMM−RMPを生成する際に用いられるとともに、デジタル放送受信装置3において当該EMM−RMPの情報を復号する鍵である。
例えば、図7に示すように、ある受信機識別子RID3において、デバイス鍵Kd30が漏洩した場合、デバイス鍵リスト記憶手段16のリスト中、デバイス鍵Kd30には、「無効」が設定される。
Here, the device key Kd is stored in advance in the digital broadcast receiving device 3 and used when the EMM-RMP generating unit 19 described later generates an EMM-RMP, and the digital broadcast receiving device 3 uses the EMM-RMP. It is a key for decrypting information.
For example, as shown in FIG. 7, when the device key Kd30 leaks in a certain receiver identifier RID3, “invalid” is set in the device key Kd30 in the list of the device key list storage unit 16.

なお、その後、新しいデバイス鍵Kd(Kd31)が、受信機識別子RID3のデジタル放送受信装置3に配布された場合、デバイス鍵リスト記憶手段16には、図示を省略した入力手段を介して、新しいデバイス鍵Kd31が記憶され、「有効」が設定される。
ここで、新しいデバイス鍵Kdは、後記するEMM−RMP生成手段19によって、デジタル放送受信装置3に通知されるシード(Seed:デバイス鍵を生成するためのパラメータ)と同じ値を基に、放送事業者が生成する。このデバイス鍵を生成するアルゴリズムは、デジタル放送受信装置3と同じアルゴリズムである。
After that, when a new device key Kd (Kd31) is distributed to the digital broadcast receiver 3 with the receiver identifier RID3, the device key list storage unit 16 stores the new device key via an input unit (not shown). The key Kd31 is stored and “valid” is set.
Here, the new device key Kd is based on the same value as the seed (Seed: parameter for generating a device key) notified to the digital broadcast receiving device 3 by the EMM-RMP generating means 19 to be described later. Generated by the person. The algorithm for generating the device key is the same algorithm as that of the digital broadcast receiving apparatus 3.

なお、デジタル放送送信装置1内で、デバイス鍵を生成するのであれば、例えば、デジタル放送送信装置1内に、図示を省略したデバイス鍵生成手段を備え、デジタル放送受信装置3にシードを通知する前に、当該シードを用いて、デバイス鍵生成手段によって、デバイス鍵を生成し、デバイス鍵リスト記憶手段16を更新、すなわち、前のデバイス鍵を「無効」、生成したデバイス鍵を「有効」に設定する。また、デバイス鍵生成手段(不図示)のデバイス鍵生成アルゴリズムは、後記するデジタル放送受信装置3のデバイス鍵生成・更新手段31gと同一とする。   If the device key is generated in the digital broadcast transmission device 1, for example, the digital broadcast transmission device 1 includes device key generation means (not shown), and notifies the digital broadcast reception device 3 of the seed. Before, using the seed, a device key is generated by the device key generation unit, and the device key list storage unit 16 is updated, that is, the previous device key is “invalid” and the generated device key is set to “valid”. Set. The device key generation algorithm of the device key generation means (not shown) is the same as the device key generation / update means 31g of the digital broadcast receiving apparatus 3 described later.

無効設定手段17は、外部からの指示により、デバイス鍵リスト記憶手段16において、デバイス鍵Kdを無効化するものである。
この無効設定手段17は、外部から受信機識別子RIDおよびデバイス鍵Kdを入力されることで、デバイス鍵リスト記憶手段16に記憶されている対応するデバイス鍵Kdの有効/無効フラグに「無効」を設定する。
The invalidity setting means 17 invalidates the device key Kd in the device key list storage means 16 according to an instruction from the outside.
The invalidity setting means 17 inputs “receiver” to the validity / invalidity flag of the corresponding device key Kd stored in the device key list storage means 16 by receiving the receiver identifier RID and the device key Kd from the outside. Set.

デバイス鍵選択手段18は、デバイス鍵リスト記憶手段16に記憶されているデバイス鍵Kdのうちで、無効化されていないデバイス鍵を選択するものである。すなわち、デバイス鍵選択手段18は、図7に示したように、「有効」が設定されている有効なデバイス鍵Kdを選択して、対応する受信機識別子RIDとともに、EMM−RMP生成手段19に出力する。
これによって、EMM−RMPを生成する際に、無効化されたデバイス鍵Kdが使用されないことになる。
The device key selection unit 18 selects a device key that has not been revoked from among the device keys Kd stored in the device key list storage unit 16. That is, as shown in FIG. 7, the device key selection unit 18 selects a valid device key Kd for which “valid” is set, and sends it to the EMM-RMP generation unit 19 together with the corresponding receiver identifier RID. Output.
As a result, when the EMM-RMP is generated, the revoked device key Kd is not used.

なお、図2中、破線部分で示したA部分の構成は、CASプログラムごとに複数備えることとするため、例えば、配信するCASプログラムがデジタル放送受信装置3のメーカごとに異なる場合、デバイス鍵選択手段18は、予め定めたメーカ固有の受信機識別子RIDに対応するデバイス鍵Kdのみを選択することとする。   In FIG. 2, the configuration of the portion A indicated by the broken line portion is provided for each CAS program. For example, when the CAS program to be distributed differs for each manufacturer of the digital broadcast receiving device 3, the device key selection is performed. The means 18 selects only the device key Kd corresponding to a predetermined manufacturer-specific receiver identifier RID.

EMM−RMP生成手段(個別情報生成手段)19は、プログラム暗号化鍵KpeおよびECM−RMP生成手段15で用いた伝送路保護鍵Kpを、デバイス鍵選択手段18で選択されたデバイス鍵Kdで暗号化し、対応する受信機識別子RID、暗号化されたプログラム暗号化鍵Kpeおよび伝送路保護鍵Kpを含む個別情報を生成するものである。この個別情報は、デジタル放送受信装置3で共通のセキュリティ情報である。   The EMM-RMP generation means (individual information generation means) 19 encrypts the program encryption key Kpe and the transmission path protection key Kp used by the ECM-RMP generation means 15 with the device key Kd selected by the device key selection means 18. To generate individual information including the corresponding receiver identifier RID, encrypted program encryption key Kpe, and transmission path protection key Kp. This individual information is security information common to the digital broadcast receiving device 3.

このデバイス鍵Kdによる暗号化には、一般的な共通鍵暗号アルゴリズムを用いればよい。また、EMM−RMP生成手段19は、個別情報を、MPEG−2 Systemsで定義されるEMM構造を有するEMM−RMPとして生成する。なお、このEMM−RMPには、配信データ生成手段13で署名値を生成する際に用いた秘密鍵Kps(図3参照)に対応した公開鍵(検証鍵)に、予め認証局のデジタル署名を付加したルート公開鍵証明書RPKCを付加することとする。   A common common key encryption algorithm may be used for encryption using the device key Kd. Further, the EMM-RMP generating unit 19 generates the individual information as an EMM-RMP having an EMM structure defined by MPEG-2 Systems. In this EMM-RMP, the digital signature of the certificate authority is preliminarily added to the public key (verification key) corresponding to the secret key Kps (see FIG. 3) used when the distribution data generation means 13 generates the signature value. The added root public key certificate RPKC is added.

また、EMM−RMP生成手段19は、外部から、デバイス鍵更新制御情報KDcを入力された場合、デバイス鍵更新制御情報KDcを含んだ識別子(デバイス鍵更新識別子)をECM−RMPに付加することとする。
ここで、デバイス鍵更新制御情報KDcは、デジタル放送受信装置3で用いられるデバイス鍵Kdの更新を指示するための情報である。このデバイス鍵更新制御情報KDcには、デバイス鍵Kdを新たに生成するためのパラメータとなるシード(Seed)が含まれている。
これによって、デバイス鍵Kdが漏洩した場合に、放送事業者が、放送波Wを介して、デジタル放送受信装置3のデバイス鍵の更新を制御することができる。
このようにEMM−RMP生成手段19で生成された共通情報(ECM−RMP)は、多重化手段22に出力される。
Further, when the device key update control information KDc is input from the outside, the EMM-RMP generation unit 19 adds an identifier (device key update identifier) including the device key update control information KDc to the ECM-RMP. To do.
Here, the device key update control information KDc is information for instructing to update the device key Kd used in the digital broadcast receiving apparatus 3. The device key update control information KDc includes a seed that is a parameter for newly generating the device key Kd.
Thereby, when the device key Kd is leaked, the broadcaster can control the update of the device key of the digital broadcast receiving apparatus 3 via the broadcast wave W.
Thus, the common information (ECM-RMP) generated by the EMM-RMP generating unit 19 is output to the multiplexing unit 22.

ECM−RMP生成手段15が生成する共通情報(ECM−RMP)や、EMM−RMP生成手段19が生成する個別情報(EMM−RMP)は、正規のデジタル放送受信装置3のすべてがスクランブルを解くことができるセキュリティ情報である。
この共通情報(ECM−RMP)や個別情報(EMM−RMP)は、CASプログラムPを暗号配送するために用いられる情報としての役割を有している。
The common information (ECM-RMP) generated by the ECM-RMP generating unit 15 and the individual information (EMM-RMP) generated by the EMM-RMP generating unit 19 are all scrambled by the authorized digital broadcast receiving device 3. Security information that can be
The common information (ECM-RMP) and individual information (EMM-RMP) have a role as information used for cryptographic delivery of the CAS program P.

ダウンロードテーブル生成手段20は、デジタル放送受信装置3がCASプログラムPをダウンロードする際の各種情報を示す制御情報(ダウンロード制御情報Dc)を、図示を省略した入力手段を介して入力し、セクション形式のテーブル(ダウンロードテーブル)として生成するものである。
ここで、ダウンロード制御情報Dcとは、配信対象のCASプログラムPを特定するための識別情報である。例えば、CASプログラムPの識別子(CAS−ID)、バージョン(CAS−Ver)等である。
The download table generating means 20 inputs control information (download control information Dc) indicating various information when the digital broadcast receiving apparatus 3 downloads the CAS program P through an input means (not shown), It is generated as a table (download table).
Here, the download control information Dc is identification information for specifying the CAS program P to be distributed. For example, the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P.

ここでは、さらに、ダウンロード制御情報Dcとして、放送によってCASプログラムPを配信するか、通信によってCASプログラムPを配信するかのいずれかを識別するための情報を含ませることとする。例えば、放送(データカルーセル)によってCASプログラムPを配信する場合、DII/DDBのモジュール数、モジュール識別、モジュールサイズ等を含ませ、通信によってCASプログラムPを配信する場合、CASプログラムPを保持しているCASサーバ5のURL、IPアドレス等を含ませることとする。   Here, the download control information Dc further includes information for identifying whether the CAS program P is distributed by broadcasting or the CAS program P is distributed by communication. For example, when the CAS program P is distributed by broadcasting (data carousel), the number of DII / DDB modules, module identification, module size, etc. are included, and when the CAS program P is distributed by communication, the CAS program P is held. The URL, IP address, etc. of the existing CAS server 5 are included.

なお、放送によってCASプログラムPを配信するか、通信によってCASプログラムPを配信するかは、適宜、操作者(放送事業者)が設定することで切り替えるものとする。例えば、新たにCASプログラムを配信する場合、放送によって一斉にCASプログラムを配信し、一定期間(例えば、1週間)経過後、通信による配信に切り替える。これによって、CAPプログラムを放送によって長期間にわたって送り続ける必要がなく、放送帯域への圧迫を低減することができる。   Note that whether the CAS program P is distributed by broadcasting or the CAS program P is distributed by communication is appropriately switched by an operator (broadcaster). For example, when a CAS program is newly distributed, the CAS program is distributed all at once by broadcasting, and after a certain period (for example, one week) has elapsed, the distribution is switched to communication. As a result, it is not necessary to continue sending the CAP program over a long period of time, and pressure on the broadcast band can be reduced.

ここで、図8〜図10を参照(適宜図2参照)して、ダウンロードテーブル生成手段20が生成するダウンロードテーブルのデータ構造の例について説明する。なお、図8〜図10に示したダウンロードテーブル、ダウンロードコンテンツ記述子、ネットワークダウンロードコンテンツ記述子は、既存のデジタル放送において使用されているセクション形式に準拠してデータ配置したテーブル、記述子の例を示している。よって、ここでは、本発明に直接関係するデータについてのみ説明を行う。   Here, an example of the data structure of the download table generated by the download table generating means 20 will be described with reference to FIGS. 8 to 10 (refer to FIG. 2 as appropriate). The download table, download content descriptor, and network download content descriptor shown in FIGS. 8 to 10 are examples of tables and descriptors in which data is arranged in accordance with the section format used in the existing digital broadcasting. Show. Therefore, only the data directly related to the present invention will be described here.

図8に示すように、ダウンロードテーブルに、「target_version(ターゲットバージョン)」領域を設け、ダウンロードテーブル生成手段20は、更新対象のCASプログラムのバージョンを設定する。これによって、デジタル放送受信装置3では、自身が保持するCASプログラムが更新対象となっているか否かを判定し、必要に応じてCASプログラムをダウンロードすることができる。
また、ダウンロードテーブルに、「new_version(新バージョン)」領域を設け、ダウンロードテーブル生成手段20は、今回更新するCASプログラムのバージョンを設定する。これによって、当該CASプログラムをダウンロードしたデジタル放送受信装置3は、自身が保持するCASプログラムのバージョンを管理することができる。なお、このCASプログラムのバージョンは、配信データ生成手段13で設定されるバージョン(CAS−Ver)と同一の値である。
As shown in FIG. 8, a “target_version (target version)” area is provided in the download table, and the download table generation unit 20 sets the version of the CAS program to be updated. As a result, the digital broadcast receiving apparatus 3 can determine whether or not the CAS program held by the digital broadcast receiving apparatus 3 is an update target, and can download the CAS program as necessary.
In addition, a “new_version (new version)” area is provided in the download table, and the download table generation means 20 sets the version of the CAS program to be updated this time. As a result, the digital broadcast receiving apparatus 3 that has downloaded the CAS program can manage the version of the CAS program held by itself. Note that the version of the CAS program is the same value as the version (CAS-Ver) set by the distribution data generation means 13.

また、ダウンロードテーブルに、「download_level(ダウンロードレベル)」領域を設け、デジタル放送受信装置3において、更新を強制的に行うか、任意に行うかを制御することとしてもよい。例えば、「ダウンロードレベル」の値が“01”の場合、「更新対象バージョン」のCASプログラムを保持するデジタル放送受信装置3は、必ずCASプログラムの更新を行う。一方、「ダウンロードレベル」の値が“00”の場合には、「更新対象バージョン」のCASプログラムを保持するデジタル放送受信装置3は、任意にCASプログラムの更新を行う。   In addition, a “download_level (download level)” area may be provided in the download table, and the digital broadcast receiving apparatus 3 may be controlled to forcibly or arbitrarily update. For example, when the value of “download level” is “01”, the digital broadcast receiving apparatus 3 that holds the CAS program of “update target version” always updates the CAS program. On the other hand, when the value of “download level” is “00”, the digital broadcast receiving apparatus 3 holding the CAS program of “update target version” arbitrarily updates the CAS program.

また、ダウンロードテーブルに、「version_indication(バージョン表示)」領域を設け、更新対象となるCASプログラムをバージョンによって制御することとしてもよい。例えば、「バージョン表示」の値が“00”の場合、「ターゲットバージョン」の指定を無効とし、すべてのバージョンのCASプログラムを更新対象とする。また、「バージョン表示」の値が“01”の場合、「ターゲットバージョン」で指定されたバージョン以降のCASプログラムを更新対象とする。また、「バージョン表示」の値が“02”の場合、「ターゲットバージョン」で指定されたバージョン以前のCASプログラムを更新対象とする。また、「バージョン表示」の値が“03”の場合、「ターゲットバージョン」で指定されたバージョンのみのCASプログラムを更新対象とする。   In addition, a “version_indication (version display)” area may be provided in the download table, and the CAS program to be updated may be controlled by version. For example, when the value of “version display” is “00”, designation of “target version” is invalidated, and all versions of the CAS program are to be updated. When the value of “version display” is “01”, the CAS program after the version specified by “target version” is set as the update target. When the value of “version display” is “02”, the CAS program before the version specified by “target version” is set as the update target. When the value of “version display” is “03”, only the CAS program of the version specified by “target version” is to be updated.

また、図8に示すように、ダウンロードテーブルに、「descriptor()(記述子)」領域を設け、ダウンロードテーブル生成手段20は、放送(データカルーセル)によってCASプログラムPを配信する場合、この記述子領域に「ダウンロードコンテンツ記述子」を配置する。また、通信によってCASプログラムPを配信する場合、この記述子領域に「ネットワークダウンロードコンテンツ記述子」を配置する。   Also, as shown in FIG. 8, when a “descriptor () (descriptor)” area is provided in the download table and the download table generating means 20 distributes the CAS program P by broadcasting (data carousel), this descriptor “Download content descriptor” is placed in the area. Further, when the CAS program P is distributed by communication, a “network download content descriptor” is arranged in this descriptor area.

このように、記述子領域に「ダウンロードコンテンツ記述子」を配置することで、デジタル放送受信装置3は、放送(データカルーセル)によってCASプログラムPを取得し、「ネットワークダウンロードコンテンツ記述子」を配置することで、デジタル放送受信装置3は、通信によってCASサーバ5(図1参照)からCASプログラムPを取得する。
以下、「ダウンロードコンテンツ記述子」および「ネットワークダウンロードコンテンツ記述子」について説明を行う。
In this way, by arranging the “download content descriptor” in the descriptor area, the digital broadcast receiving device 3 acquires the CAS program P by broadcasting (data carousel) and arranges the “network download content descriptor”. Thus, the digital broadcast receiving apparatus 3 acquires the CAS program P from the CAS server 5 (see FIG. 1) through communication.
Hereinafter, the “download content descriptor” and the “network download content descriptor” will be described.

まず、図9を参照して、ダウンロードコンテンツ記述子のデータ構造の例について説明する。図9に示すように、ダウンロードコンテンツ記述子は、CASプログラムを、データカルーセルによって受信する際に必要となる各種情報を設定した記述子である。例えば、CASプログラムを伝送するデータカルーセルのDII/DDBのモジュール数、モジュール識別、モジュールサイズ等である。また、ここでは、ダウンロードコンテンツ記述子にDIIメッセージ(図5参照)に配置したものと同じコンパチビリティ記述子を配置する。このコンパチビリティ記述子は、図5に示したように、CASプログラムの識別子(CAS−ID)、バージョン(CAS−Ver)を含んでいるため、デジタル放送受信装置3において、すでに対象となるCASプログラムが蓄積されていれば、ダウンロードを行わないように制御することができる。   First, an example of the data structure of the download content descriptor will be described with reference to FIG. As shown in FIG. 9, the download content descriptor is a descriptor in which various information necessary for receiving the CAS program by the data carousel is set. For example, the number of DII / DDB modules of the data carousel that transmits the CAS program, module identification, module size, and the like. Further, here, the same compatibility descriptor as that arranged in the DII message (see FIG. 5) is arranged in the download content descriptor. As shown in FIG. 5, since the compatibility descriptor includes the identifier (CAS-ID) and version (CAS-Ver) of the CAS program, the digital broadcast receiving apparatus 3 already has a target CAS program. Can be controlled not to be downloaded.

次に、図10を参照して、ネットワークダウンロード識別子のデータ構造の例について説明する。図10に示すように、ネットワークダウンロードコンテンツ記述子は、CASプログラムを、ネットワークを介して受信する際に必要となる各種情報を設定した記述子である。例えば、CASプログラムを提供する通信サーバ(CASサーバ)のURLまたはIPアドレス等である。また、ここでは、ネットワークダウンロードコンテンツ記述子は、ダウンロードコンテンツ記述子と同様、DIIメッセージ(図5参照)に配置したものと同じコンパチビリティ記述子を配置する。これによって、デジタル放送受信装置3は、すでに対象となるCASプログラムが蓄積されていれば、サーバからのCASプログラムの取得を行わないように制御することができる。
図2に戻って、デジタル放送送信装置1の構成について説明を続ける。
Next, an example of the data structure of the network download identifier will be described with reference to FIG. As shown in FIG. 10, the network download content descriptor is a descriptor in which various information necessary for receiving the CAS program via the network is set. For example, the URL or IP address of a communication server (CAS server) that provides a CAS program. Here, the network download content descriptor is arranged with the same compatibility descriptor as that arranged in the DII message (see FIG. 5), like the download content descriptor. Accordingly, the digital broadcast receiving device 3 can control not to acquire the CAS program from the server if the target CAS program has already been accumulated.
Returning to FIG. 2, the description of the configuration of the digital broadcast transmitting apparatus 1 will be continued.

起動プログラム指定手段21は、デジタル放送受信装置3において起動させたいCASプログラムを指定するものである。この起動プログラム指定手段21は、PSI/SI(番組配列情報)に、デジタル放送受信装置3において起動させたいCASプログラムを指定するための情報(プログラム指定情報)を付加する。このプログラム指定情報は、CASプログラムの識別子(CAS−ID)およびそのバージョン(CAS−Ver)とする。これによって、デジタル放送送信装置1は、デジタル放送受信装置3において、指定したCASプログラムを起動させることが可能になる。   The start program specifying means 21 is for specifying a CAS program to be started in the digital broadcast receiving apparatus 3. The activation program designation means 21 adds information (program designation information) for designating a CAS program to be activated in the digital broadcast receiving device 3 to PSI / SI (program arrangement information). This program designation information is an identifier (CAS-ID) of a CAS program and its version (CAS-Ver). As a result, the digital broadcast transmitting apparatus 1 can activate the designated CAS program in the digital broadcast receiving apparatus 3.

なお、起動プログラム指定手段21は、プログラム指定情報を、PSI/SIのCAT(Conditional Access Table)またはPMT(Program Map Table)に配置することとする。ここで、CATに配置するかPMTに配置するかは、予め定めておくこととする。
このCATまたはPMTには、それぞれのテーブルの記述子領域に、例えば、CASプログラムの識別子(CAS−ID)およびそのバージョン(CAS−Ver)を含んだコンパチビリティ記述子(図5参照)を配置する。
このように、プログラム指定情報が付加されたPSI/SIは、多重化手段22に出力される。
The activation program specifying means 21 arranges the program specifying information in a PSI / SI CAT (Conditional Access Table) or PMT (Program Map Table). Here, it is determined in advance whether to arrange in the CAT or the PMT.
In this CAT or PMT, for example, a compatibility descriptor (see FIG. 5) including an identifier (CAS-ID) of a CAS program and its version (CAS-Ver) is arranged in the descriptor area of each table. .
In this way, the PSI / SI to which the program designation information is added is output to the multiplexing means 22.

多重化手段22は、コンテンツスクランブル手段10が生成した暗号化コンテンツSctと、ECM−CAS生成手段11が生成した共通情報(ECM−CAS)と、EMM−CAS生成手段12が生成した個別情報(EMM−CAS)と、配信データスクランブル手段14が生成した暗号化配信データ(DII,DDB)Scasと、ECM−RMP生成手段15が生成した共通情報(ECM−RMP)と、EMM−RMP生成手段19が生成した個別情報(EMM−RMP)と、ダウンロードテーブル生成手段20が生成したダウンロードテーブルTdと、起動プログラム指定手段21によってプログラム指定情報が付加されたPSI/SIとを多重化して、多重化信号を生成するものである。   The multiplexing unit 22 includes the encrypted content Sct generated by the content scramble unit 10, the common information (ECM-CAS) generated by the ECM-CAS generation unit 11, and the individual information (EMM generated by the EMM-CAS generation unit 12). -CAS), encrypted distribution data (DII, DDB) Scas generated by the distribution data scramble means 14, common information (ECM-RMP) generated by the ECM-RMP generation means 15, and EMM-RMP generation means 19 The generated individual information (EMM-RMP), the download table Td generated by the download table generating means 20, and the PSI / SI to which the program specifying information is added by the activation program specifying means 21 are multiplexed, and a multiplexed signal is obtained. Is to be generated.

ここでは、多重化手段22は、入力された各情報を、MPEG−2 Systemsで定義されるTS(トランスポートストリーム)の形式(MPEG−2 TS)に多重化するものとする。この多重化された多重化信号(MPEG−2 TS)は、送出装置(図示せず)によって、放送波を介して、デジタル放送受信装置3に配信される。   Here, it is assumed that the multiplexing means 22 multiplexes each input information into a TS (transport stream) format (MPEG-2 TS) defined by MPEG-2 Systems. The multiplexed multiplexed signal (MPEG-2 TS) is delivered to the digital broadcast receiving device 3 via a broadcast wave by a sending device (not shown).

このようにデジタル放送送信装置1を構成することで、CASプログラムPを、データカルーセルでデジタル放送受信装置3に配信することができる。また、このとき、CASプログラムPを暗号復号するための情報や、検証するための情報を、ECM−RMPやEMM−RMPによってデジタル放送受信装置3に配信するため、CASプログラムPの安全性を高めて、配信することができる。   By configuring the digital broadcast transmitting apparatus 1 in this way, the CAS program P can be distributed to the digital broadcast receiving apparatus 3 by a data carousel. At this time, since the information for decrypting and verifying the CAS program P and the information for verification are distributed to the digital broadcast receiving device 3 by ECM-RMP or EMM-RMP, the safety of the CAS program P is improved. Can be delivered.

また、デジタル放送送信装置1は、漏洩したデバイス鍵をリスト化(ブラックリスト化)して記憶し、漏洩したデバイス鍵Kdでは個別情報(EMM−RMP)を生成しないため、伝送路保護鍵Kpやプログラム暗号化鍵Kpeを、デバイス鍵Kdが漏洩していないデジタル放送受信装置3に配信することができる。   Further, the digital broadcast transmitting apparatus 1 lists and stores leaked device keys (blacklist), and since the leaked device key Kd does not generate individual information (EMM-RMP), the transmission path protection key Kp or The program encryption key Kpe can be distributed to the digital broadcast receiving apparatus 3 in which the device key Kd is not leaked.

これによって、たとえ、デバイス鍵Kdおよびプログラム暗号化鍵Kpeが漏洩した場合であっても、伝送路保護鍵Kpやプログラム暗号化鍵Kpeを更新し、新たなCASプログラムPを、放送または通信で配信することで、デバイス鍵Kdを漏洩したデジタル放送受信装置3を無効化(リボーク)するとともに、新しいCASプログラムPの漏洩を防ぐことができる。   Thereby, even if the device key Kd and the program encryption key Kpe are leaked, the transmission path protection key Kp and the program encryption key Kpe are updated, and the new CAS program P is distributed by broadcasting or communication. By doing so, the digital broadcast receiving device 3 that has leaked the device key Kd can be invalidated (revoked), and leakage of the new CAS program P can be prevented.

さらに、デジタル放送送信装置1は、CASプログラムPの配信を、放送によるデータカルーセル伝送から、CASサーバ5を用いた通信による配信に切り替えることができる。これによって、デジタル放送送信装置1は、長期間にわたる放送帯域の使用の無駄を防止することができる。
なお、デジタル放送送信装置1は、一般的なコンピュータを前記した各手段として機能させるプログラム(CASプログラム送信プログラム)により動作させることができる。
Further, the digital broadcast transmitting apparatus 1 can switch the distribution of the CAS program P from the data carousel transmission by broadcasting to the distribution by communication using the CAS server 5. As a result, the digital broadcast transmitting apparatus 1 can prevent wasteful use of the broadcast band over a long period of time.
The digital broadcast transmission apparatus 1 can be operated by a program (CAS program transmission program) that causes a general computer to function as each of the above-described means.

[デジタル放送受信装置の構成]
次に、図4を参照(適宜図1参照)して、本発明の実施形態に係るデジタル放送受信装置の構成について説明する。ここでは、デジタル放送受信装置3は、分離手段30と、プログラム実行手段31と、ダウンロードテーブル解析手段32と、配信データ分離手段33と、プログラム復号手段34と、記憶手段35と、起動プログラム特定手段36と、プログラム起動手段37と、通信ダウンロード手段38と、を備えている。
[Configuration of digital broadcast receiver]
Next, referring to FIG. 4 (refer to FIG. 1 as appropriate), the configuration of the digital broadcast receiving apparatus according to the embodiment of the present invention will be described. Here, the digital broadcast receiving apparatus 3 includes a separating unit 30, a program executing unit 31, a download table analyzing unit 32, a distribution data separating unit 33, a program decoding unit 34, a storage unit 35, and an activation program specifying unit. 36, a program starting unit 37, and a communication downloading unit 38.

分離手段30は、デジタル放送送信装置1から送信されたデジタル放送(多重化信号;MPEG−2 TS)を分離するものである。この分離手段30は、MPEG−2 TSから、暗号化コンテンツSctと、限定受信用の情報を含んだ個別情報(EMM−CAS)および共通情報(ECM−CAS)と、CASプログラムの暗号伝送用の情報を含んだ個別情報(EMM−RMP)および共通情報(ECM−RMP)と、データカルーセルのデータ(暗号化配信データScas)と、ダウンロードテーブルTdと、PSI/SIのCATまたはPMTと、を分離する。
また、分離手段30は、ダウンロードテーブル解析手段32から、データカルーセルのデータを分離する旨の指示を通知された段階で、MPEG−2 TSから、データカルーセルのデータ(DII,DDB)を分離する。
The separating means 30 separates the digital broadcast (multiplexed signal; MPEG-2 TS) transmitted from the digital broadcast transmitting apparatus 1. This separating means 30 is used to encrypt encrypted content Sct, individual information (EMM-CAS) and common information (ECM-CAS) including information for limited reception, and encrypted transmission of CAS programs from MPEG-2 TS. Separate information (EMM-RMP) and common information (ECM-RMP) including information, data carousel data (encrypted distribution data Scas), download table Td, and PSI / SI CAT or PMT To do.
The separating unit 30 separates the data carousel data (DII, DDB) from the MPEG-2 TS when the download table analyzing unit 32 receives an instruction to separate the data carousel data.

プログラム実行手段31は、分離手段30で分離された暗号化コンテンツSctや暗号化配信データScasを復号するものである。
このプログラム実行手段31は、デジタル放送送信装置1から配信されるCASプログラムの実体であって、後記するプログラム起動手段37によって実行される。なお、このプログラム実行手段31は、FPGA(Field Programmable Gate Array)等のプログラマブルデバイスで構成してもよいし、OS(Operating System)上のミドルウェアで動作する仮想マシン、例えば、Java(登録商標)仮想マシン(Java Virtual Machine,Java VM)等で構成してもよい。
The program execution means 31 decrypts the encrypted content Sct and the encrypted delivery data Scas separated by the separation means 30.
The program execution means 31 is the substance of the CAS program distributed from the digital broadcast transmission apparatus 1 and is executed by the program activation means 37 described later. The program execution means 31 may be configured by a programmable device such as an FPGA (Field Programmable Gate Array), or a virtual machine that operates with middleware on an OS (Operating System), such as a Java (registered trademark) virtual machine. You may comprise with a machine (Java Virtual Machine, Java VM) etc.

プログラマブルデバイスでプログラム実行手段31を構成する場合、CASプログラムは、回路情報で構成されることになる。また、OS上で動作するソフトウェアとしてプログラム実行手段31を構成する場合、CASプログラムは、バイナリプログラムで構成されることになる。   When the program execution means 31 is configured by a programmable device, the CAS program is configured by circuit information. When the program execution means 31 is configured as software that operates on the OS, the CAS program is configured as a binary program.

ここでは、プログラム実行手段31は、EMM−CAS復号手段31aと、ECM−CAS復号手段31bと、コンテンツデスクランブル手段31cと、EMM−RMP復号手段31dと、ECM−RMP復号手段31eと、配信データデスクランブル手段31fと、デバイス鍵生成・更新手段31gと、を備えている。   Here, the program execution unit 31 includes an EMM-CAS decoding unit 31a, an ECM-CAS decoding unit 31b, a content descrambling unit 31c, an EMM-RMP decoding unit 31d, an ECM-RMP decoding unit 31e, and distribution data. A descrambling unit 31f and a device key generating / updating unit 31g are provided.

EMM−CAS復号手段31aは、分離手段30で分離された個別情報(EMM−CAS)をマスタ鍵Kmで復号するものである。このEMM−CAS復号手段31aは、EMM−CASの非暗号化領域に含まれているデジタル放送受信装置3を識別するための識別子が、予め記憶手段35に記憶されている識別子(不図示)と一致する場合にのみ、予め記憶手段35に記憶されているマスタ鍵Kmで、EMM−CASの暗号化領域を復号し、ワーク鍵Kwを抽出する。これによって、正規に契約した受信装置においてのみ、ワーク鍵Kwを復号することができる。
このEMM−CAS復号手段31aで復号されたワーク鍵Kwは、ECM−CAS復号手段31bに出力される。
The EMM-CAS decrypting means 31a decrypts the individual information (EMM-CAS) separated by the separating means 30 with the master key Km. The EMM-CAS decrypting means 31a includes an identifier (not shown) stored in the storage means 35 in advance for an identifier for identifying the digital broadcast receiving device 3 included in the non-encrypted area of the EMM-CAS. Only when they match, the EMM-CAS encryption area is decrypted with the master key Km stored in advance in the storage means 35, and the work key Kw is extracted. As a result, the work key Kw can be decrypted only by the receiving apparatus with which a regular contract is made.
The work key Kw decrypted by the EMM-CAS decrypting means 31a is output to the ECM-CAS decrypting means 31b.

ECM−CAS復号手段31bは、分離手段30で分離された共通情報(ECM−CAS)を、EMM−CAS復号手段31aで復号されたワーク鍵Kwで復号するものである。このECM−CASには、暗号化コンテンツSctをスクランブルする際に用いたスクランブル鍵Ks1が含まれており、ECM−CAS復号手段31bは、ECM−CASを復号することで、スクランブル鍵Ks1を抽出する。
このECM−CAS復号手段31bで復号されたスクランブル鍵Ks1は、コンテンツデスクランブル手段31cに出力される。
The ECM-CAS decrypting unit 31b decrypts the common information (ECM-CAS) separated by the separating unit 30 with the work key Kw decrypted by the EMM-CAS decrypting unit 31a. This ECM-CAS includes the scramble key Ks1 used when the encrypted content Sct is scrambled, and the ECM-CAS decrypting means 31b extracts the scramble key Ks1 by decrypting the ECM-CAS. .
The scramble key Ks1 decrypted by the ECM-CAS decrypting unit 31b is output to the content descrambling unit 31c.

コンテンツデスクランブル手段31cは、分離手段30で分離された暗号化コンテンツSctを、ECM−CAS復号手段31bで復号されたスクランブル鍵Ks1でデスクランブル(復号)するものである。このコンテンツデスクランブル手段31cでデスクランブルされたコンテンツCtは、図示を省略した映像・音声デコード手段によってデコード(符号復号)されて、表示装置(不図示)に出力される。   The content descrambling means 31c descrambles (decrypts) the encrypted content Sct separated by the separating means 30 with the scramble key Ks1 decrypted by the ECM-CAS decrypting means 31b. The content Ct descrambled by the content descrambling means 31c is decoded (encoded) by a video / audio decoding means (not shown) and output to a display device (not shown).

EMM−RMP復号手段(個別情報復号手段)31dは、分離手段30で分離された個別情報(EMM−RMP)をデバイス鍵Kdで復号するものである。このEMM−RMP復号手段31dは、EMM−RMPの非暗号化領域に含まれているデジタル放送受信装置3を識別するための受信機識別子RIDが、予め記憶手段35に記憶されている識別子(不図示)と一致する場合にのみ、予め記憶手段35に記憶されているデバイス鍵Kdで、EMM−RMPの暗号化領域を復号し、伝送路保護鍵Kpを抽出する。
このEMM−RMP復号手段31dで復号された伝送路保護鍵Kpは、ECM−RMP復号手段31eに出力される。
The EMM-RMP decryption means (individual information decryption means) 31d decrypts the individual information (EMM-RMP) separated by the separation means 30 with the device key Kd. The EMM-RMP decrypting means 31d uses an identifier (non-identifier) in which a receiver identifier RID for identifying the digital broadcast receiving device 3 included in the non-encrypted area of EMM-RMP is stored in the storage means 35 in advance. Only when it matches the figure, the device key Kd previously stored in the storage means 35 is used to decrypt the EMM-RMP encryption area and extract the transmission path protection key Kp.
The transmission path protection key Kp decrypted by the EMM-RMP decrypting means 31d is output to the ECM-RMP decrypting means 31e.

なお、EMM−RMP復号手段31dは、EMM−RMPにルート公開鍵証明書RPKCが含まれている場合、ルート公開鍵証明書RPKCを抽出し、記憶手段35または図示を省略した耐タンパモジュールに記憶しておく。
また、EMM−RMP復号手段31dは、EMM−RMPにプログラム暗号化鍵Kpeが含まれている場合、プログラム暗号化鍵Kpeを抽出し、記憶手段35または図示を省略した耐タンパモジュールに記憶しておく。
また、EMM−RMPに、デバイス鍵更新識別子が含まれている場合、このデバイス鍵更新識別子に含まれているデバイス鍵Kdを生成するためのシード(Seed)を、デバイス鍵生成・更新手段31gに出力する。
The EMM-RMP decrypting unit 31d extracts the root public key certificate RPKC when the EMM-RMP includes the root public key certificate RPKC, and stores it in the storage unit 35 or the tamper-resistant module not shown. Keep it.
Further, when the EMM-RMP includes the program encryption key Kpe, the EMM-RMP decryption unit 31d extracts the program encryption key Kpe and stores it in the storage unit 35 or the tamper-resistant module not shown. deep.
When the device key update identifier is included in the EMM-RMP, a seed for generating the device key Kd included in the device key update identifier is sent to the device key generation / update unit 31g. Output.

ECM−RMP復号手段(共通情報復号手段)31eは、分離手段30で分離された共通情報(ECM−RMP)を、EMM−RMP復号手段31dで復号された伝送路保護鍵Kpで復号するものである。このECM−RMPには、配信データ(DII、DDB)をスクランブルする際に用いたスクランブル鍵Ks2が含まれており、ECM−RMP復号手段31eは、ECM−RMPを復号することで、スクランブル鍵Ks2を抽出する。   The ECM-RMP decryption means (common information decryption means) 31e decrypts the common information (ECM-RMP) separated by the separation means 30 with the transmission path protection key Kp decrypted by the EMM-RMP decryption means 31d. is there. The ECM-RMP includes a scramble key Ks2 used when the distribution data (DII, DDB) is scrambled. The ECM-RMP decrypting means 31e decrypts the ECM-RMP, thereby scramble key Ks2. To extract.

このECM−RMP復号手段31eで復号されたスクランブル鍵Ks2は、配信データデスクランブル手段31fに出力される。
なお、ECM−RMPに、PSI/SIで配送されるCASプログラムPの識別子(CAS−ID)やバージョン(CAS−Ver)、および、CASプログラムPのハッシュ値(CAS−H)が付加されている場合、ECM−RMP復号手段31eは、これらの識別情報(CAS−ID、CAS−Ver、CAS−H)を、プログラム起動手段37に出力する。
The scramble key Ks2 decrypted by the ECM-RMP decrypting means 31e is output to the distribution data descrambling means 31f.
Note that the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P delivered by PSI / SI and the hash value (CAS-H) of the CAS program P are added to the ECM-RMP. In this case, the ECM-RMP decoding unit 31e outputs these identification information (CAS-ID, CAS-Ver, CAS-H) to the program starting unit 37.

配信データデスクランブル手段31fは、分離手段30で分離されたデータカルーセルのデータ(暗号化配信データScas)を、ECM−RMP復号手段31eで復号されたスクランブル鍵Ks2でデスクランブル(復号)するものである。この配信データデスクランブル手段31fでデスクランブルされた配信データ(DII,DDB)casは、配信データ分離手段33に出力される。   The delivery data descrambling means 31f descrambles (decrypts) the data carousel data (encrypted delivery data Scas) separated by the separating means 30 with the scramble key Ks2 decrypted by the ECM-RMP decrypting means 31e. is there. The distribution data (DII, DDB) cas descrambled by the distribution data descrambling means 31 f is output to the distribution data separating means 33.

デバイス鍵生成・更新手段31gは、個別情報(EMM−RMP)を復号するデバイス鍵Kdを新たに生成し、更新するものである。
このデバイス鍵生成・更新手段31gは、EMM−RMP復号手段31dから、シード(Seed)を通知された段階で、デバイス鍵Kdを新たに生成する。ここでは、デバイス鍵生成・更新手段31gは、例えば、デバイス鍵Kdとして、擬似乱数を生成するもので、シードを基に乱数を生成する。このように生成された乱数は、新たなデバイス鍵Kdとして、記憶手段35に記憶しておく。
また、デバイス鍵生成・更新手段31gが、デバイス鍵を生成するアルゴリズム(乱数発生アルゴリズム)は、予め放送事業者のデバイス鍵生成アルゴリズムと同一とする。
The device key generation / update means 31g newly generates and updates a device key Kd for decrypting the individual information (EMM-RMP).
The device key generating / updating means 31g newly generates a device key Kd when a seed is notified from the EMM-RMP decrypting means 31d. Here, the device key generating / updating means 31g generates a pseudo random number as the device key Kd, for example, and generates a random number based on the seed. The random number generated in this way is stored in the storage unit 35 as a new device key Kd.
Further, the algorithm (random number generation algorithm) by which the device key generating / updating means 31g generates a device key is the same as the broadcaster's device key generating algorithm in advance.

なお、ここでは、デバイス鍵生成・更新手段31gを、プログラム実行手段31内部、すなわち、CASプログラムの内部の構成として実現したが、CASプログラムの外部、すなわち、デジタル放送受信装置3がもともの有する固有の手段として構成してもよい。その場合、デバイス鍵生成アルゴリズムの漏洩を防ぐため、デバイス鍵生成・更新手段31gは、図示を省略した耐タンパモジュール内に構成することが望ましい。   Here, the device key generating / updating means 31g is realized as a configuration inside the program executing means 31, that is, inside the CAS program. You may comprise as an intrinsic | native means. In this case, in order to prevent leakage of the device key generation algorithm, it is desirable that the device key generation / update means 31g is configured in a tamper resistant module (not shown).

ダウンロードテーブル解析手段32は、分離手段30で分離されたセクション形式のダウンロードテーブルTdを解析し、CASプログラムPを放送によってダウンロードするのか、通信によってダウンロードするのかを判定するものである。
具体的には、ダウンロードテーブル解析手段32は、図8で説明したダウンロードテーブルで、「descriptor()(記述子)」領域に、放送によってダウンロードを行うことを示すダウンロードコンテンツ記述子(図9参照)が記述されているのか、通信によってダウンロードを行うことを示すネットワークダウンロードコンテンツ記述子(図10参照)が記述されているのかを、記述子タグの値によって判定する。
The download table analysis means 32 analyzes the section format download table Td separated by the separation means 30 and determines whether the CAS program P is downloaded by broadcasting or communication.
Specifically, the download table analysis means 32 is a download content descriptor (see FIG. 9) indicating that the download is performed by broadcasting in the “descriptor () (descriptor)” area in the download table described in FIG. Whether a network download content descriptor (see FIG. 10) indicating that download is performed by communication is described based on the value of the descriptor tag.

ここで、ダウンロードテーブルTdにダウンロードコンテンツ記述子が記述されている場合、ダウンロードテーブル解析手段32は、分離手段30に、PMTに配置されているデータカルーセルのパケット識別(PID)でフィルタリングすることで、データカルーセルのデータを配信データデスクランブル手段31fに出力する旨を指示する。これによって、分離手段30は、MPEG−2 TSから、データカルーセルのデータ(DII,DDB)を分離抽出して配信データデスクランブル手段31fに出力する。   Here, when the download content descriptor is described in the download table Td, the download table analysis unit 32 performs filtering by the packet identification (PID) of the data carousel arranged in the PMT in the separation unit 30. An instruction is given to output the data in the data carousel to the distribution data descrambling means 31f. As a result, the separating means 30 separates and extracts the data carousel data (DII, DDB) from the MPEG-2 TS and outputs the data carousel data to the distribution data descrambling means 31f.

一方、ダウンロードテーブルTdにネットワークダウンロードコンテンツ記述子が記述されている場合、ダウンロードテーブル解析手段32は、ネットワークダウンロードコンテンツ記述子に記述されている通信サーバ(CASサーバ5)のURLまたはIPアドレス、並びに、コンパチビリティ記述子に記述されているCASプログラムの識別子(CAS−ID)およびバージョン(CAS−Ver)を通信ダウンロード手段38に出力する。これによって、通信ダウンロード手段38が、ネットワーク(通信回線N)を介して、CASプログラムPのダウンロードを開始する。   On the other hand, when the network download content descriptor is described in the download table Td, the download table analysis unit 32 includes the URL or IP address of the communication server (CAS server 5) described in the network download content descriptor, and The identifier (CAS-ID) and version (CAS-Ver) of the CAS program described in the compatibility descriptor are output to the communication download means 38. As a result, the communication download means 38 starts downloading the CAS program P via the network (communication line N).

なお、ダウンロードテーブル解析手段32は、ダウンロードテーブルTdに記述されている識別子(CAS−ID)やバージョン(CAS−Ver)に対応するCASプログラムPが、すでに記憶手段35に記憶されている場合は、ダウンロードの実行を行わないこととする。これによって、不要なダウンロード動作をなくすことができる。
さらに、ダウンロードテーブル解析手段32は、図8で説明したように、ダウンロードテーブルTdの「target_version(ターゲットバージョン)」、「new_version(新バージョン)」、「download_level(ダウンロードレベル)」、「version_indication(バージョン表示)」を参照し、ダウンロードの可否を判定することとしてもよい。
Note that the download table analysis unit 32, when the CAS program P corresponding to the identifier (CAS-ID) and version (CAS-Ver) described in the download table Td is already stored in the storage unit 35, Do not execute the download. Thereby, an unnecessary download operation can be eliminated.
Further, as described with reference to FIG. 8, the download table analysis unit 32 performs “target_version (target version)”, “new_version (new version)”, “download_level (download level)”, “version_indication (version display) of the download table Td. ) ", And whether or not download is possible may be determined.

配信データ分離手段33は、配信データデスクランブル手段31fでデスクランブルされたデータカルーセルのデータ(配信データcas)から、CASプログラムP(暗号化されたCASプログラムP)を分離して抽出するものである。
すなわち、配信データ分離手段33は、配信データcasのDIIメッセージから、次のDIIメッセージまでのDDBメッセージに含まれるデータ(図6中、「blockDataByte」領域のデータ)を連結することで、暗号化されたCASプログラムPを分離して抽出する。
The distribution data separation means 33 separates and extracts the CAS program P (encrypted CAS program P) from the data carousel data (distribution data cas) descrambled by the distribution data descrambling means 31f. .
That is, the distribution data separation means 33 is encrypted by concatenating data included in the DDB message from the DII message of the distribution data cas to the next DII message (data in the “blockDataByte” area in FIG. 6). The CAS program P is separated and extracted.

さらに、配信データ分離手段33は、DIIメッセージ内のコンパチビリティ記述子内(図5中、「CAS_version」領域)のCASプログラムPの識別子(CAS−ID)およびバージョン(CAS−Ver)を抽出するとともに、DIIメッセージ内(図5中、「CAS_digital_signature」領域)のCASプログラムPの署名値を抽出する。
この配信データ分離手段33は、分離抽出した暗号化されたCASプログラムP、識別子(CAS−ID)、バージョン(CAS−Ver)および署名値を、プログラム復号手段34に出力する。
Further, the distribution data separating means 33 extracts the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P in the compatibility descriptor (“CAS_version” area in FIG. 5) in the DII message. , The signature value of the CAS program P in the DII message ("CAS_digital_signature" area in FIG. 5) is extracted.
The distribution data separation means 33 outputs the separated and extracted encrypted CAS program P, identifier (CAS-ID), version (CAS-Ver), and signature value to the program decryption means 34.

プログラム復号手段34は、配信データ分離手段33で分離抽出された暗号化されたCASプログラムP、または、通信ダウンロード手段38を介してダウンロードした暗号化されたCASプログラムPを復号するものである。ここでは、プログラム復号手段34は、暗号復号手段34aと、署名検証手段34bと、書込手段34cと、を備えている。   The program decryption means 34 decrypts the encrypted CAS program P separated and extracted by the distribution data separation means 33 or the encrypted CAS program P downloaded via the communication download means 38. Here, the program decryption unit 34 includes an encryption / decryption unit 34a, a signature verification unit 34b, and a writing unit 34c.

暗号復号手段34aは、配信データ分離手段33または通信ダウンロード手段38から入力した暗号化されたCASプログラムPを、プログラム暗号化鍵Kpeで復号するものである。このプログラム暗号化鍵Kpeは、デジタル放送送信装置1において、CASプログラムPを暗号化したものと同一の鍵であって、EMM−RMP復号手段31dによって復号された鍵である。
この復号されたCASプログラムPは、署名検証手段34bに出力される。
The encryption / decryption unit 34a decrypts the encrypted CAS program P input from the distribution data separation unit 33 or the communication download unit 38 with the program encryption key Kpe. This program encryption key Kpe is the same key as that obtained by encrypting the CAS program P in the digital broadcast transmitting apparatus 1, and is a key decrypted by the EMM-RMP decrypting means 31d.
The decrypted CAS program P is output to the signature verification unit 34b.

署名検証手段34bは、配信データ分離手段33または通信ダウンロード手段38から入力した、CASプログラムPに付加されているデジタル署名を検証するものである。
すなわち、署名検証手段34bは、署名値演算手段13a(図3参照)と共通のハッシュ関数によって、CASプログラムPのハッシュ値を生成する。そして、署名検証手段34bは、CASプログラムPの署名値を記憶手段35または図示を省略した耐タンパモジュールに記憶しているルート公開鍵証明書RPKCに含まれる公開鍵(検証鍵)Kppで復号する。この復号した値と、CASプログラムPのハッシュ値とが一致する場合に、署名検証手段34bは、ダウンロードしたCASプログラムPを、改ざん等がなされていない正規のものであると判定する。
この署名検証手段34bは、ダウンロードしたCASプログラムPの検証により、正規のCASプログラムPのみを、書込手段34cに出力する。
The signature verification unit 34b verifies the digital signature added to the CAS program P input from the distribution data separation unit 33 or the communication download unit 38.
That is, the signature verification unit 34b generates a hash value of the CAS program P by a hash function common to the signature value calculation unit 13a (see FIG. 3). Then, the signature verification unit 34b decrypts the signature value of the CAS program P with the public key (verification key) Kpp included in the root public key certificate RPKC stored in the storage unit 35 or the tamper-resistant module (not shown). . If the decrypted value matches the hash value of the CAS program P, the signature verification unit 34b determines that the downloaded CAS program P is a genuine one that has not been tampered with.
The signature verification unit 34b outputs only the regular CAS program P to the writing unit 34c by verifying the downloaded CAS program P.

書込手段34cは、署名検証手段34bから入力したCASプログラムPを、配信データ分離手段33または通信ダウンロード手段38から入力したCASプログラムPの識別子(CAS−ID)およびバージョン(CAS−Ver)と対応付けて記憶手段35に書き込むものである。
このように、プログラム復号手段34は、ダウンロードしたCASプログラムPを署名検証することで、改ざん等がなされていないCASプログラムPのみを記憶手段35に書き込み蓄積する。
The writing unit 34c corresponds to the CAS program P input from the signature verification unit 34b with the identifier (CAS-ID) and version (CAS-Ver) of the CAS program P input from the distribution data separation unit 33 or the communication download unit 38. In addition, it is written in the storage means 35.
Thus, the program decryption means 34 writes and accumulates only the CAS program P that has not been tampered with or the like by verifying the signature of the downloaded CAS program P.

記憶手段(プログラム記憶手段)35は、CASプログラムPを識別子(CAS−ID)とバージョン(CAS−Ver)とに対応付けて複数記憶するものである。例えば、記憶手段35は、不揮発性メモリ等の一般的な記憶媒体である。
この記憶手段35は、プログラム復号手段34の書込手段34cによって、識別子(CAS−ID)とバージョン(CAS−Ver)とに対応付けてCASプログラムPが書き込まれ、後記するプログラム起動手段37によって、識別子(CAS−ID)とバージョン(CAS−Ver)とをキーとしてCASプログラムPが検索され読み出される。
なお、この記憶手段35には、予め少なくとも1つのCASプログラムPが記憶されており、他のCASプログラムがダウンロードされる。
The storage means (program storage means) 35 stores a plurality of CAS programs P in association with identifiers (CAS-ID) and versions (CAS-Ver). For example, the storage unit 35 is a general storage medium such as a nonvolatile memory.
In this storage means 35, the CAS program P is written in association with the identifier (CAS-ID) and the version (CAS-Ver) by the writing means 34c of the program decoding means 34, and the program starting means 37 described later The CAS program P is retrieved and read using the identifier (CAS-ID) and version (CAS-Ver) as keys.
Note that at least one CAS program P is stored in advance in the storage means 35, and other CAS programs are downloaded.

起動プログラム特定手段36は、分離手段30で分離されたPSI/SI(番組配列情報)のCATまたはPMTから、プログラム指定情報であるCASプログラムPの識別子(CAS−ID)およびそのバージョン(CAS−Ver)を抽出し、起動するCASプログラムPを特定するものである。
この抽出されたCASプログラムPの識別子(CAS−ID)およびバージョン(CAS−Ver)は、プログラム起動手段37に出力される。
The activation program specifying means 36 uses the CAT or PMT of PSI / SI (program arrangement information) separated by the separation means 30 to identify the CAS program P identifier (CAS-ID) and its version (CAS-Ver) as program designation information. ) To identify the CAS program P to be started.
The identifier (CAS-ID) and version (CAS-Ver) of the extracted CAS program P are output to the program starting means 37.

プログラム起動手段37は、起動プログラム特定手段36で特定されたCASプログラムPを記憶手段35から読み出して実行するものである。
このプログラム起動手段37は、起動プログラム特定手段36から通知される識別子(CAS−ID)およびそのバージョン(CAS−Ver)をキーとして、記憶手段35において検索し、対応するCASプログラムPを読み出す。そして、プログラム起動手段37は、読み出したCASプログラムPを、プログラム実行手段31として起動する。
なお、初期起動時、すなわち、まだ、CASプログラムPがダウンロードされていない状態において、プログラム起動手段37は、予め記憶手段35に記憶されているCASプログラムPを起動することとする。
The program starting unit 37 reads the CAS program P specified by the starting program specifying unit 36 from the storage unit 35 and executes it.
The program starting unit 37 searches the storage unit 35 using the identifier (CAS-ID) and the version (CAS-Ver) notified from the starting program specifying unit 36 as keys, and reads the corresponding CAS program P. Then, the program activation unit 37 activates the read CAS program P as the program execution unit 31.
Note that the program activation unit 37 activates the CAS program P stored in advance in the storage unit 35 at the initial activation, that is, in a state where the CAS program P has not yet been downloaded.

また、プログラム起動手段37は、ECM−RMP復号手段31eから通知される識別子(CAS−ID)およびバージョン(CAS−Ver)と、起動プログラム特定手段36から通知される識別子(CAS−ID)およびバージョン(CAS−Ver)とが一致するか否かを判定し、一致しない場合、CASプログラムの起動を行わないこととする。
これによって、プログラム起動手段37は、PSI/SIで配信される識別子(CAS−ID)およびバージョン(CAS−Ver)と、ECM−RMPで送信される識別子(CAS−ID)およびバージョン(CAS−Ver)とを比較することで、PSI/SIで配信される識別子(CAS−ID)およびバージョン(CAS−Ver)が改ざんされて、CASプログラムPが誤動作することを防止することができる。
Further, the program activation unit 37 includes an identifier (CAS-ID) and version (CAS-Ver) notified from the ECM-RMP decoding unit 31e, and an identifier (CAS-ID) and version notified from the activation program specifying unit 36. It is determined whether or not (CAS-Ver) matches. If they do not match, the CAS program is not started.
As a result, the program activation unit 37 uses the identifier (CAS-ID) and version (CAS-Ver) distributed by PSI / SI, and the identifier (CAS-ID) and version (CAS-Ver) transmitted by ECM-RMP. ), The identifier (CAS-ID) and version (CAS-Ver) distributed by PSI / SI are falsified, and it is possible to prevent the CAS program P from malfunctioning.

さらに、プログラム起動手段37は、読み出したCASプログラムPのハッシュ値を計算し、当該ハッシュ値と、ECM−RMP復号手段31eから通知されるCASプログラムPのハッシュ値(CAS−H)とが一致するか否かを判定し、一致しない場合、CASプログラムPの起動を行わないこととする。これによって、不正なCASプログラムPの起動を防止することができる。なお、プログラム起動手段37のハッシュ値の演算を行うハッシュ関数は、CASプログラムPの送信側と同じものとする。   Furthermore, the program starting unit 37 calculates the hash value of the read CAS program P, and the hash value matches the hash value (CAS-H) of the CAS program P notified from the ECM-RMP decoding unit 31e. If it does not match, the CAS program P is not started. As a result, it is possible to prevent the unauthorized CAS program P from being activated. Note that the hash function for calculating the hash value of the program activation unit 37 is the same as that on the transmission side of the CAS program P.

通信ダウンロード手段38は、ダウンロードテーブル解析手段32から通知される通信サーバから、ネットワーク(通信回線N)を介して、CASプログラムPをダウンロードするものである。この通信ダウンロード手段38は、ダウンロードテーブル解析手段32から通知される通信サーバ(CASサーバ5)のURLまたはIPアドレス、並びに、CASプログラムの識別子(CAS−ID)およびバージョン(CAS−Ver)に基づいて、指定された通信サーバ(CASサーバ5)から、CASプログラムをダウンロードする。   The communication download means 38 downloads the CAS program P from the communication server notified from the download table analysis means 32 via the network (communication line N). The communication download means 38 is based on the URL or IP address of the communication server (CAS server 5) notified from the download table analysis means 32, and the identifier (CAS-ID) and version (CAS-Ver) of the CAS program. The CAS program is downloaded from the designated communication server (CAS server 5).

この通信ダウンロード手段38は、ダウンロードした暗号化されたCASプログラムP、並びに、ダウンロードテーブル解析手段32から通知された識別子(CAS−ID)およびバージョン(CAS−Ver)を、プログラム復号手段34に出力する。なお、通信サーバ(CASサーバ5)からダウンロードするCASプログラムPには、署名値が付加されており、通信ダウンロード手段38は、この署名値も、プログラム復号手段34に出力する。   The communication download unit 38 outputs the downloaded encrypted CAS program P and the identifier (CAS-ID) and version (CAS-Ver) notified from the download table analysis unit 32 to the program decryption unit 34. . A signature value is added to the CAS program P downloaded from the communication server (CAS server 5), and the communication download means 38 also outputs this signature value to the program decryption means 34.

このようにデジタル放送受信装置3を構成することで、デジタル放送受信装置3は、データカルーセル伝送によって、CASプログラムPをダウンロードすることができる。また、たとえ、データカルーセルによるCASプログラムPの配信が終了した場合であっても、ネットワーク(通信回線N)を介して、CASプログラムPをダウンロードすることができる。
なお、デジタル放送受信装置3は、一般的なコンピュータを前記した各手段として機能させるプログラム(CASプログラム受信プログラム)により動作させることができる。
By configuring the digital broadcast receiving apparatus 3 in this way, the digital broadcast receiving apparatus 3 can download the CAS program P by data carousel transmission. Further, even if the distribution of the CAS program P by the data carousel is completed, the CAS program P can be downloaded via the network (communication line N).
The digital broadcast receiving apparatus 3 can be operated by a program (CAS program receiving program) that causes a general computer to function as each of the means described above.

[デジタル放送システムの動作]
次に、本発明の実施形態に係るデジタル放送システムSの動作について説明する。なお、限定受信方式によるコンテンツの配信動作については、従来技術と同様であるため、ここでは説明を省略し、CASプログラムの配信・受信動作、および、CASプログラムの起動動作について主に説明を行う。
[Operation of digital broadcasting system]
Next, the operation of the digital broadcast system S according to the embodiment of the present invention will be described. Since the content distribution operation by the conditional access method is the same as that of the prior art, the description is omitted here, and the CAS program distribution / reception operation and the CAS program start operation are mainly described.

(CASプログラムの配信動作:デジタル放送送信装置)
最初に、図11を参照(構成については適宜図2、図3参照)して、CASプログラムの配信時におけるデジタル放送送信装置1の動作について説明する。
(CAS program distribution operation: digital broadcast transmitter)
First, with reference to FIG. 11 (refer to FIG. 2 and FIG. 3 as appropriate for the configuration), the operation of the digital broadcast transmitting apparatus 1 when the CAS program is distributed will be described.

まず、デジタル放送送信装置1は、配信データ生成手段13によって、データカルーセル伝送によって伝送するCASプログラムPを、データカルーセルのデータ形式に変換し、配信用のデータ(DII,DDB)を生成する。
すなわち、デジタル放送送信装置1は、配信データ生成手段13の署名値演算手段13aによって、CASプログラムPを外部から入力し、秘密鍵Kpsを用いて、CASプログラムPのデジタル署名の署名値を演算する(ステップS1)。
First, the digital broadcast transmitting apparatus 1 uses the distribution data generation means 13 to convert the CAS program P transmitted by data carousel transmission into the data format of the data carousel, and generates distribution data (DII, DDB).
That is, the digital broadcast transmission apparatus 1 inputs the CAS program P from the outside by the signature value calculation unit 13a of the distribution data generation unit 13, and calculates the signature value of the digital signature of the CAS program P using the secret key Kps. (Step S1).

また、デジタル放送送信装置1は、分割手段13bによって、CASプログラムPを、データカルーセル伝送を行う際のDDBメッセージのブロックサイズで分割する(ステップS2)。そして、デジタル放送送信装置1は、暗号化手段13cによって、ステップS2で分割された分割データを、デジタル放送受信装置3と共通のプログラム暗号化鍵Kpeで暗号化する(ステップS3)。   Further, the digital broadcast transmitting apparatus 1 divides the CAS program P by the block size of the DDB message used when performing the data carousel transmission by the dividing unit 13b (step S2). Then, the digital broadcast transmission device 1 encrypts the divided data divided in step S2 by the encryption unit 13c with the program encryption key Kpe common to the digital broadcast reception device 3 (step S3).

その後、デジタル放送送信装置1は、ステップS1で演算された署名値と、外部から入力されるCASプログラムの識別子(CAS−ID)およびバージョン(CAS−Ver)とを配置して、DIIメッセージ(図5参照)を生成するとともに、ステップS3で暗号化された暗号化分割データを配置して、DDBメッセージ(図6参照)を生成することで、データカルーセル用データ(配信データ)を生成する(ステップS4)。   Thereafter, the digital broadcast transmitting apparatus 1 arranges the signature value calculated in step S1, the identifier (CAS-ID) and the version (CAS-Ver) of the CAS program input from the outside, and the DII message (FIG. 5) and at the same time, the encrypted divided data encrypted in step S3 is arranged and a DDB message (see FIG. 6) is generated to generate data carousel data (distribution data) (step S4).

そして、デジタル放送送信装置1は、配信データスクランブル手段14によって、ステップS4で生成されたデータカルーセル用データを、スクランブル鍵Ks2でスクランブル(暗号化)する(ステップS5)。
そして、デジタル放送送信装置1は、ECM−RMP生成手段15によって、ステップS5で用いたスクランブル鍵Ks2を伝送路保護鍵Kpで暗号化して、すべてのデジタル放送受信装置3で共通の共通情報(ECM−RMP)を生成する(ステップS6)。
The digital broadcast transmitting apparatus 1 then scrambles (encrypts) the data carousel data generated in step S4 with the scramble key Ks2 by the distribution data scramble means 14 (step S5).
Then, the digital broadcast transmission device 1 encrypts the scramble key Ks2 used in step S5 with the transmission path protection key Kp by the ECM-RMP generation means 15, and common information (ECM common to all the digital broadcast reception devices 3). -RMP) is generated (step S6).

そして、デジタル放送送信装置1は、デバイス鍵選択手段18によって、デバイス鍵リスト記憶手段16に記憶されているデバイス鍵の中で、無効化されていないデバイス鍵Kd、および、それに対応する受信機識別子RIDを順次選択する(ステップS7)。   Then, the digital broadcast transmitting apparatus 1 uses the device key selection unit 18 to select a device key Kd that has not been revoked among the device keys stored in the device key list storage unit 16 and a receiver identifier corresponding thereto. RIDs are sequentially selected (step S7).

さらに、デジタル放送送信装置1は、EMM−RMP生成手段19によって、ステップS3で用いたプログラム暗号化鍵Kpeと、ステップS6で用いた伝送路保護鍵Kpと、
ステップS7で選択された受信機識別子RIDと、ステップS1で用いた秘密鍵Kpsに対応したデジタル署名を検証する公開鍵(検証鍵)を含んだルート公開鍵証明書RPKCとを、ステップS7で順次選択された受信機識別子RIDに対応するデバイス鍵Kdで暗号化して、デジタル放送受信装置3ごとの個別情報(EMM−RMP)を生成する(ステップS8)。
なお、デジタル放送受信装置3で使用するデバイス鍵Kdを更新させる場合、ステップS8において、個別情報(EMM−RMP)に、シードを含んだデバイス鍵更新制御情報KDcを含ませればよい。
Furthermore, the digital broadcast transmitting apparatus 1 uses the EMM-RMP generating unit 19 to program the encryption key Kpe used in step S3, the transmission path protection key Kp used in step S6,
The receiver identifier RID selected in step S7 and the root public key certificate RPKC including the public key (verification key) for verifying the digital signature corresponding to the secret key Kps used in step S1 are sequentially added in step S7. Encryption is performed with the device key Kd corresponding to the selected receiver identifier RID, and individual information (EMM-RMP) for each digital broadcast receiving apparatus 3 is generated (step S8).
When the device key Kd used in the digital broadcast receiving device 3 is updated, the device key update control information KDc including the seed may be included in the individual information (EMM-RMP) in step S8.

そして、デジタル放送送信装置1は、ダウンロードテーブル生成手段20によって、配信対象のCASプログラムPを特定するための情報(ダウンロード制御情報Dc)から、セクション形式のテーブルであるダウンロードテーブルTd(図8参照)を生成する(ステップS9)。なお、ここでは、CASプログラムを、放送によって配信することとし、ダウンロードテーブルTd内には、放送によるCASプログラムを配信することを示すダウンロード記述子(図9参照)を配置することとする。   Then, the digital broadcast transmitting apparatus 1 uses the download table generating means 20 to download a table Td (see FIG. 8) that is a section format table from information (download control information Dc) for specifying the CAS program P to be distributed. Is generated (step S9). Here, the CAS program is distributed by broadcasting, and a download descriptor (see FIG. 9) indicating that the CAS program by broadcasting is distributed is arranged in the download table Td.

そして、デジタル放送送信装置1は、多重化手段22によって、ステップS5でスクランブルされたデータカルーセル用データ(暗号化配信データ)と、ステップS6で生成されたECM−RMPと、ステップS8で生成されたEMM−RMPと、ステップS9で生成されたダウンロードテーブルTdとを多重化して多重化信号(MPEG−2 TS)を生成し、送信する(ステップS10)。
以上の動作によって、デジタル放送送信装置1は、データカルーセルによって、CASプログラムPを配信することができる。
Then, the digital broadcast transmission device 1 is generated by the multiplexing means 22 in the data carousel data (encrypted distribution data) scrambled in step S5, the ECM-RMP generated in step S6, and generated in step S8. The EMM-RMP and the download table Td generated in step S9 are multiplexed to generate a multiplexed signal (MPEG-2 TS) and transmit it (step S10).
Through the above operation, the digital broadcast transmitting apparatus 1 can distribute the CAS program P by the data carousel.

(CASプログラムの受信動作:デジタル放送受信装置)
次に、図12を参照(構成については適宜図4参照)して、CASプログラムの配信時におけるデジタル放送受信装置3の動作について説明する。なお、デジタル放送受信装置3は、CASプログラムPをダウンロードしていない場合であっても、予め少なくとも1つのCASプログラムPが記憶手段35に記憶されており、初期状態では、当該CASプログラムPが、プログラム起動手段37によって起動され、プログラム実行手段31として動作しているものとする。
(Receiving operation of CAS program: digital broadcast receiving device)
Next, referring to FIG. 12 (refer to FIG. 4 as appropriate for the configuration), the operation of the digital broadcast receiving apparatus 3 at the time of CAS program distribution will be described. Note that the digital broadcast receiving apparatus 3 stores at least one CAS program P in the storage unit 35 in advance even when the CAS program P has not been downloaded. It is assumed that the program is started by the program starting unit 37 and is operating as the program executing unit 31.

この状態で、デジタル放送受信装置3は、デジタル放送送信装置1から送信される多重化信号(MPEG−2 TS)を受信し、分離手段30によって、各信号に分離する(ステップS11)。   In this state, the digital broadcast receiving apparatus 3 receives the multiplexed signal (MPEG-2 TS) transmitted from the digital broadcast transmitting apparatus 1 and separates it into each signal by the separating means 30 (step S11).

そして、デジタル放送受信装置3は、EMM−RMP復号手段31dによって、分離手段30で分離されたEMM−RMP(個別情報)を、デバイス鍵Kdで復号し、伝送路保護鍵Kpと、プログラム暗号化鍵Kpeと、受信機識別子RIDと、ルート公開鍵証明書RPKCとを抽出する(ステップS12)。
なお、プログラム暗号化鍵Kpeおよびルート公開鍵証明書RPKCに含まれている公開鍵(検証鍵)Kppは、記憶手段35に記憶しておく。また、EMM−RMP(個別情報)に、デバイス鍵更新制御情報KDcが含まれている場合、デバイス鍵生成・更新手段31gは、新たなデバイス鍵Kdを生成し、記憶手段35に記憶する。
Then, the digital broadcast receiving apparatus 3 decrypts the EMM-RMP (individual information) separated by the separating means 30 by the EMM-RMP decrypting means 31d with the device key Kd, and the transmission path protection key Kp and the program encryption The key Kpe, the receiver identifier RID, and the root public key certificate RPKC are extracted (step S12).
The program encryption key Kpe and the public key (verification key) Kpp included in the root public key certificate RPKC are stored in the storage unit 35. When the device key update control information KDc is included in the EMM-RMP (individual information), the device key generation / update unit 31g generates a new device key Kd and stores it in the storage unit 35.

さらに、デジタル放送受信装置3は、ECM−RMP復号手段31eによって、分離手段30で分離されたECM−RMP(共通情報)を、ステップS12で復号(抽出)された伝送路保護鍵Kpで復号し、スクランブル鍵Ks2を抽出する(ステップS13)。   Further, the digital broadcast receiving apparatus 3 uses the ECM-RMP decrypting unit 31e to decrypt the ECM-RMP (common information) separated by the separating unit 30 with the transmission path protection key Kp decrypted (extracted) in step S12. Then, the scramble key Ks2 is extracted (step S13).

その後、デジタル放送受信装置3は、ダウンロードテーブル解析手段32によって、分離手段30で分離されたセクション形式のダウンロードテーブルTdを解析し(ステップS14)、当該テーブルの記述子領域に、ダウンロードコンテンツ記述子(図9参照)が記述されているのか、ネットワークダウンロードコンテンツ記述子(図10参照)が記述されているのかを判定する(ステップS15)。   Thereafter, the digital broadcast receiving apparatus 3 analyzes the download table Td in the section format separated by the separating means 30 by the download table analyzing means 32 (step S14), and download content descriptor ( It is determined whether or not a network download content descriptor (see FIG. 10) is described (see FIG. 9) (step S15).

このステップS15において、記述子領域に、ダウンロードコンテンツ記述子が記述されている場合(“放送”)、デジタル放送受信装置3は、ダウンロードテーブル解析手段32からの指示で、分離手段30によって、データカルーセル用データ(暗号化配信データ)を分離抽出する(ステップS16)。   In this step S15, when the download content descriptor is described in the descriptor area (“broadcast”), the digital broadcast receiving apparatus 3 performs the data carousel by the separating means 30 in response to an instruction from the download table analyzing means 32. Data (encrypted distribution data) is separated and extracted (step S16).

そして、デジタル放送受信装置3は、配信データデスクランブル手段31fによって、ステップS16で分離抽出されたデータカルーセル用データ(暗号化配信データ;DII,DDB)を、ステップS13で抽出されたスクランブル鍵Ks2でデスクランブル(復号)する(ステップS17)。   Then, the digital broadcast receiving apparatus 3 uses the distribution data descrambling means 31f to extract the data carousel data (encrypted distribution data; DII, DDB) separated and extracted in step S16 with the scramble key Ks2 extracted in step S13. Descrambling (decoding) is performed (step S17).

そして、デジタル放送受信装置3は、配信データ分離手段33によって、ステップS17でデスクランブルされたデータカルーセル用データから、CASプログラムP(暗号化されたCASプログラムP)を分離して抽出する(ステップS18)。すなわち、このステップS18において、配信データ分離手段33は、DDBメッセージの各ブロックのデータを連結して暗号化されたCASプログラムPを再構成する。また、このとき、配信データ分離手段33は、DIIメッセージから、CASプログラムPの署名値、識別子(CAS−ID)およびバージョン(CAS−Ver)を取得する。   Then, the digital broadcast receiving device 3 separates and extracts the CAS program P (encrypted CAS program P) from the data carousel data descrambled in step S17 by the distribution data separating means 33 (step S18). ). That is, in this step S18, the distribution data separating means 33 reconstructs the encrypted CAS program P by concatenating the data of each block of the DDB message. At this time, the distribution data separation means 33 acquires the signature value, identifier (CAS-ID) and version (CAS-Ver) of the CAS program P from the DII message.

一方、ステップS15において、記述子領域に、ネットワークダウンロードコンテンツ記述子が記述されている場合(“通信”)、デジタル放送受信装置3は、通信ダウンロード手段38によって、ネットワークダウンロードコンテンツ記述子に記述されている通信サーバ(CASサーバ5)から、通信回線Nを介して、暗号化されたCASプログラムPを取得する(ステップS19)。なお、CASサーバ5から取得するCASプログラムPには、署名(署名値)、識別子(CAS−ID)、バージョン(CAS−Ver)が付加されているものとする。   On the other hand, in step S15, when the network download content descriptor is described in the descriptor area (“communication”), the digital broadcast receiving device 3 is described in the network download content descriptor by the communication download means 38. The encrypted CAS program P is acquired from the existing communication server (CAS server 5) via the communication line N (step S19). It is assumed that a signature (signature value), an identifier (CAS-ID), and a version (CAS-Ver) are added to the CAS program P acquired from the CAS server 5.

そして、デジタル放送受信装置3は、プログラム復号手段34の暗号復号手段34aによって、ステップS18で分離抽出した(暗号化)CASプログラム、または、ステップS19で取得した(暗号化)CASプログラムを、ステップS12で復号され、記憶されているプログラム暗号化鍵Kpeで復号する(ステップS20)。   Then, the digital broadcast receiving apparatus 3 uses the encryption / decryption means 34a of the program decryption means 34 to obtain the (encrypted) CAS program separated and extracted in step S18 or the (encrypted) CAS program acquired in step S19 in step S12. And decrypted with the stored program encryption key Kpe (step S20).

さらに、デジタル放送受信装置3は、署名検証手段34bによって、ステップS20で復号したCASプログラムの署名検証を行う(ステップS21)。すなわち、署名検証手段34bは、ステップS12で抽出したルート公開鍵証明書RPKCに含まれる公開鍵(検証鍵)KppでCASプログラムに付加されている署名値を復号し、CASプログラムのハッシュ値と一致するか否かにより、CASプログラムの検証を行う。   Further, the digital broadcast receiving apparatus 3 performs signature verification of the CAS program decrypted in step S20 by the signature verification unit 34b (step S21). That is, the signature verification unit 34b decrypts the signature value added to the CAS program with the public key (verification key) Kpp included in the root public key certificate RPKC extracted in step S12, and matches the hash value of the CAS program. The CAS program is verified depending on whether or not to do so.

そして、デジタル放送受信装置3は、ステップS21における検証結果に問題がなければ、書込手段34cによって、ステップS20で復号されたCASプログラムPを、記憶手段35に、識別子(CAS−ID)およびバージョン(CAS−Ver)に対応付けて書き込み記憶させる(ステップS22)。
以上の動作によって、デジタル放送受信装置3は、暗号化され、かつ、デジタル署名が付された状態でCASプログラムPをダウンロードすることができ、CASプログラムに対する不正を防止することができる。
If there is no problem in the verification result in step S21, the digital broadcast receiving apparatus 3 stores the CAS program P decrypted in step S20 by the writing unit 34c in the storage unit 35 with the identifier (CAS-ID) and version. It is written and stored in association with (CAS-Ver) (step S22).
Through the above-described operation, the digital broadcast receiving apparatus 3 can download the CAS program P in an encrypted and digitally signed state, and can prevent fraud with respect to the CAS program.

(CASプログラムの起動指示動作:デジタル放送送信装置)
次に、図13を参照(構成については適宜図2参照)して、デジタル放送受信装置3で指定したCASプログラムPを起動させるデジタル放送送信装置1の動作について説明する。
(CAS program start instruction operation: digital broadcast transmitter)
Next, referring to FIG. 13 (refer to FIG. 2 as appropriate for the configuration), the operation of the digital broadcast transmitting apparatus 1 for starting up the CAS program P designated by the digital broadcast receiving apparatus 3 will be described.

まず、デジタル放送送信装置1は、ECM−RMP生成手段15によって、起動対象となるCASプログラムPの識別子(CAS−ID)、バージョン(CAS−Ver)およびCASプログラムPのハッシュ値(CAS−H)を、伝送路保護鍵Kpで暗号化して、すべてのデジタル放送受信装置3で共通の共通情報(ECM−RMP)を生成する(ステップS31)。   First, the digital broadcast transmitting apparatus 1 uses the ECM-RMP generating means 15 to identify the CAS program P to be activated (CAS-ID), the version (CAS-Ver), and the hash value (CAS-H) of the CAS program P. Is encrypted with the transmission path protection key Kp, and common information (ECM-RMP) common to all the digital broadcast receiving apparatuses 3 is generated (step S31).

また、デジタル放送送信装置1は、デバイス鍵選択手段18によって、デバイス鍵リスト記憶手段16に記憶されているデバイス鍵の中で、無効化されていないデバイス鍵Kdを順次選択する(ステップS32)。
また、デジタル放送送信装置1は、EMM−RMP生成手段19によって、ステップS31で用いた伝送路保護鍵Kpを、ステップS32で順次選択されたデバイス鍵Kdで暗号化して、デジタル放送受信装置3ごとの個別情報(EMM−RMP)を生成する(ステップS33)。
In the digital broadcast transmitting apparatus 1, the device key selecting unit 18 sequentially selects device keys Kd that have not been revoked from among the device keys stored in the device key list storage unit 16 (step S32).
Also, the digital broadcast transmitting apparatus 1 encrypts the transmission path protection key Kp used in step S31 with the device key Kd sequentially selected in step S32 by the EMM-RMP generation means 19, and for each digital broadcast receiving apparatus 3. Individual information (EMM-RMP) is generated (step S33).

さらに、デジタル放送送信装置1は、起動プログラム指定手段21によって、起動させたいCASプログラムPを指定するための情報(プログラム指定情報)として、CASプログラムPの識別子(CAS−ID)およびバージョン(CAS−Ver)を、PSI/SIのCATまたはPMTに配置する(ステップS34)。
そして、デジタル放送送信装置1は、多重化手段22によって、ステップS31で生成されたECM−RMPと、ステップS33で生成されたEMM−RMPと、ステップS34で識別子等が配置されたPSI/SIとを多重化して多重化信号(MPEG−2 TS)を生成し、送信する(ステップS35)。
Further, the digital broadcast transmitting apparatus 1 uses the activation program designating means 21 as information (program designation information) for designating the CAS program P to be activated, as an identifier (CAS-ID) and version (CAS-ID) of the CAS program P. Ver) is placed in the PSI / SI CAT or PMT (step S34).
Then, the digital broadcast transmitting apparatus 1 uses the multiplexing means 22 to generate the ECM-RMP generated in step S31, the EMM-RMP generated in step S33, and the PSI / SI in which the identifier and the like are arranged in step S34. Are multiplexed and a multiplexed signal (MPEG-2 TS) is generated and transmitted (step S35).

以上の動作によって、デジタル放送送信装置1は、起動させたいCASプログラムPを、PSI/SIに配置したプログラム指定情報で指定することができる。また、デジタル放送送信装置1は、プログラム指定情報で指定したCASプログラムPの識別子(CAS−ID)およびバージョン(CAS−Ver)と、CASプログラムPのハッシュ値(CAS−H)とを、ECM−RMPでデジタル放送受信装置3に送信することで、デジタル放送受信装置3において、識別子(CAS−ID)およびバージョン(CAS−Ver)の整合性や、CASプログラムPの正当性を検証することが可能になる。   Through the above operation, the digital broadcast transmitting apparatus 1 can specify the CAS program P to be started by the program specifying information arranged in the PSI / SI. Also, the digital broadcast transmitting apparatus 1 uses the ECM-P for the CAS program P identifier (CAS-ID) and version (CAS-Ver) designated by the program designation information and the hash value (CAS-H) of the CAS program P. By transmitting to the digital broadcast receiver 3 by RMP, it is possible to verify the consistency of the identifier (CAS-ID) and version (CAS-Ver) and the validity of the CAS program P in the digital broadcast receiver 3. become.

(CASプログラムの起動動作:デジタル放送受信装置)
次に、図14を参照(構成については適宜図4参照)して、デジタル放送送信装置1から指定されたCASプログラムPを起動するデジタル放送受信装置3の動作について説明する。
(CAS program start-up operation: digital broadcast receiver)
Next, referring to FIG. 14 (refer to FIG. 4 as appropriate for the configuration), the operation of the digital broadcast receiving apparatus 3 that activates the CAS program P designated by the digital broadcast transmitting apparatus 1 will be described.

まず、デジタル放送受信装置3は、デジタル放送送信装置1から送信される多重化信号(MPEG−2 TS)を受信し、分離手段30によって、各信号に分離する(ステップS41)。
そして、デジタル放送受信装置3は、起動プログラム特定手段36によって、PSI/SI(番組配列情報)のCATまたはPMTから、プログラム指定情報であるCASプログラムPの識別子(CAS−ID)およびそのバージョン(CAS−Ver)を抽出する(ステップS42)。
First, the digital broadcast receiving apparatus 3 receives the multiplexed signal (MPEG-2 TS) transmitted from the digital broadcast transmitting apparatus 1, and separates it into each signal by the separating means 30 (step S41).
Then, the digital broadcast receiving apparatus 3 uses the activation program specifying means 36 to determine the CAS program P identifier (CAS-ID) and its version (CAS) from the CAT or PMT of PSI / SI (program sequence information). -Ver) is extracted (step S42).

そして、デジタル放送受信装置3は、EMM−RMP復号手段31dによって、ステップS41で分離されたEMM−RMP(個別情報)を、デバイス鍵Kdで復号し、伝送路保護鍵Kpを抽出する(ステップS43)。   Then, the digital broadcast receiving apparatus 3 uses the EMM-RMP decrypting means 31d to decrypt the EMM-RMP (individual information) separated in step S41 with the device key Kd and extract the transmission path protection key Kp (step S43). ).

さらに、デジタル放送受信装置3は、ECM−RMP復号手段31eによって、ステップS41で分離したECM−RMP(共通情報)を、ステップS43で復号(抽出)した伝送路保護鍵Kpで復号し、CASプログラムの識別子(CAS−ID)およびバージョン(CAS−Ver)と、CASプログラムのハッシュ値(CAS−H)を抽出する(ステップS44)。   Further, the digital broadcast receiving apparatus 3 uses the ECM-RMP decrypting means 31e to decrypt the ECM-RMP (common information) separated in step S41 with the transmission path protection key Kp decrypted (extracted) in step S43, and to create a CAS program. The identifier (CAS-ID) and version (CAS-Ver) and the hash value (CAS-H) of the CAS program are extracted (step S44).

そして、デジタル放送受信装置3は、プログラム起動手段37によって、ステップS42で抽出した識別子(CAS−ID)およびバージョン(CAS−Ver)と、ステップS44で抽出した識別子(CAS−ID)およびバージョン(CAS−Ver)とが、それぞれ一致するか否かを判定する(ステップS45)。
ここで、識別子(CAS−ID)およびバージョン(CAS−Ver)がそれぞれ一致しなかった場合(ステップS45でNo)、デジタル放送受信装置3は、指示されたCASプログラムPの起動動作を終了する。
Then, the digital broadcast receiving apparatus 3 uses the program activation unit 37 to identify the identifier (CAS-ID) and version (CAS-Ver) extracted in step S42 and the identifier (CAS-ID) and version (CAS) extracted in step S44. -Ver) are determined to match each other (step S45).
Here, when the identifier (CAS-ID) and the version (CAS-Ver) do not match (No in step S45), the digital broadcast receiving device 3 ends the start operation of the instructed CAS program P.

一方、識別子(CAS−ID)およびバージョン(CAS−Ver)が一致した場合(ステップS45でYes)、デジタル放送受信装置3は、プログラム起動手段37によって、記憶手段35に記憶されている起動を指示されたCASプログラムPのハッシュ値を演算し(ステップS46)、ステップS44で抽出したCASプログラムPのハッシュ値(CAS−H)と一致するか否かを判定する(ステップS47)。   On the other hand, when the identifier (CAS-ID) and the version (CAS-Ver) match (Yes in step S45), the digital broadcast receiving device 3 instructs the activation stored in the storage unit 35 by the program activation unit 37. The hash value of the CAS program P thus obtained is calculated (step S46), and it is determined whether or not it matches the hash value (CAS-H) of the CAS program P extracted in step S44 (step S47).

ここで、ハッシュ値が一致しない場合(ステップS47でNo)、デジタル放送受信装置3は、指示されたCASプログラムPの起動動作を終了する。
一方、ハッシュ値が一致した場合(ステップS47でYes)、デジタル放送受信装置3は、プログラム起動手段37によって、記憶手段35から、指定されたCASプログラムPを読み出して、プログラム実行手段31として起動させる(ステップS48)。
Here, if the hash values do not match (No in step S47), the digital broadcast receiving apparatus 3 ends the activation operation of the instructed CAS program P.
On the other hand, if the hash values match (Yes in step S47), the digital broadcast receiving device 3 reads the designated CAS program P from the storage unit 35 by the program activation unit 37 and activates it as the program execution unit 31. (Step S48).

以上の動作によって、デジタル放送受信装置3は、デジタル放送送信装置1から指定されたCASプログラムPを起動させることができる。また、このとき、デジタル放送受信装置3は、ECM−RMP(共通情報)で通知されるCASプログラムPの識別子(CAS−ID)、バージョン(CAS−Ver)およびハッシュ値(CAS−H)によって、指定された正しいバージョンで、かつ、改ざん等が行われていない正規のCASプログラムのみを起動させることができる。   Through the above operation, the digital broadcast receiving device 3 can activate the CAS program P designated by the digital broadcast transmitting device 1. At this time, the digital broadcast receiving device 3 uses the identifier (CAS-ID), version (CAS-Ver), and hash value (CAS-H) of the CAS program P notified by ECM-RMP (common information). It is possible to start only a regular CAS program that is in the specified correct version and has not been tampered with.

以上説明したように、本発明によれば、データカルーセル伝送によって、デジタル放送送信装置1からデジタル放送受信装置3に、高速にCASプログラムPを配信することができる。これによって、CASプログラムPにおけるアクセス制御に関する機能のセキュリティが破られた場合であっても、セキュリティ機能を変更したCASプログラムPを配信することができるため、セキュリティが破られた際の影響を最小限に抑えることができる。
また、本発明によれば、放送によるCASプログラムPの配信を終了した場合であっても、通信回線を介してCASプログラムPを配信することができ、放送帯域の使用を短期間で終わらせることができる。
As described above, according to the present invention, the CAS program P can be distributed from the digital broadcast transmitting apparatus 1 to the digital broadcast receiving apparatus 3 at high speed by data carousel transmission. As a result, even if the security of the function related to access control in the CAS program P is broken, the CAS program P with the changed security function can be distributed, so that the influence when the security is broken is minimized. Can be suppressed.
Further, according to the present invention, even when the distribution of the CAS program P by broadcasting is completed, the CAS program P can be distributed through the communication line, and the use of the broadcast band can be completed in a short period of time. Can do.

また、本発明によれば、データカルーセルでCASプログラムPを配信する際に、検証によって、CASプログラムPの改ざん等を防止することができる。また、本発明によれば、デジタル放送送信装置1が、起動させたいCASプログラムPを指定した場合、デジタル放送受信装置3において、バージョン等の整合性をチェックすることができ、さらに、起動するCASプログラムPの正当性をハッシュ値によりチェックすることができるため、起動するCASプログラムPに対する不正を防止することができる。   Further, according to the present invention, when the CAS program P is distributed in the data carousel, the CAS program P can be prevented from being falsified by the verification. Further, according to the present invention, when the digital broadcast transmitting apparatus 1 designates the CAS program P to be activated, the digital broadcast receiving apparatus 3 can check the consistency of the version, etc. Since the validity of the program P can be checked by the hash value, fraud with respect to the CAS program P to be started can be prevented.

また、本発明によれば、デバイス鍵Kdやプログラム暗号化鍵Kpeが漏洩した場合であっても、伝送路保護鍵Kpおよびプログラム暗号化鍵Kpeを更新した後に、CASプログラムを更新し、放送または通信によって配信することで、デバイス鍵Kdの漏洩元となったデジタル放送受信装置3の使用を停止(リボーク)させることができる。これによって、新しいCASプログラムの漏洩を防止することができる。   Further, according to the present invention, even when the device key Kd and the program encryption key Kpe are leaked, after updating the transmission path protection key Kp and the program encryption key Kpe, the CAS program is updated and broadcast or By distributing by communication, the use of the digital broadcast receiving apparatus 3 that is the source of leakage of the device key Kd can be stopped (revoked). As a result, leakage of a new CAS program can be prevented.

また、本発明によれば、デジタル放送送信装置1から、PSI/SIによって、起動するCASプログラムPを切り替えることができ、放送事業者が、提供するサービスに応じてCASプログラムPを選択することが可能になる。   Further, according to the present invention, the CAS program P to be activated can be switched from the digital broadcast transmitting apparatus 1 by PSI / SI, and the broadcaster can select the CAS program P according to the service provided. It becomes possible.

S デジタル放送システム
1 デジタル放送送信装置
10 コンテンツスクランブル手段
11 ECM−CAS生成手段
12 EMM−CAS生成手段
13 配信データ生成手段
13a 署名値演算手段
13b 分割手段
13c 暗号化手段
13d データカルーセル用データ生成手段
14 配信データスクランブル手段
15 ECM−RMP生成手段(共通情報生成手段)
16 デバイス鍵リスト記憶手段
17 無効設定手段
18 デバイス鍵選択手段
19 EMM−RMP生成手段(個別情報生成手段)
20 ダウンロードテーブル生成手段
21 起動プログラム指定手段
22 多重化手段
3 デジタル放送受信装置
30 分離手段
21 プログラム実行手段
31a EMM−CAS復号手段
31b ECM−CAS復号手段
31c コンテンツデスクランブル手段
31d EMM−RMP復号手段(個別情報復号手段)
31e ECM−RMP復号手段(共通情報復号手段)
31f 配信データデスクランブル手段
31g デバイス鍵生成・更新手段
32 ダウンロードテーブル解析手段
33 配信データ分離手段
34 プログラム復号手段
34a 暗号復号手段
34b 署名検証手段
34c 書込手段
35 記憶手段(プログラム記憶手段)
36 起動プログラム特定手段
37 プログラム起動手段
38 通信ダウンロード手段
5 CASサーバ
S Digital Broadcasting System 1 Digital Broadcasting Transmitter 10 Content Scrambling Unit 11 ECM-CAS Generation Unit 12 EMM-CAS Generation Unit 13 Distribution Data Generation Unit 13a Signature Value Calculation Unit 13b Division Unit 13c Encryption Unit 13d Data Carousel Data Generation Unit 14 Distribution data scramble means 15 ECM-RMP generation means (common information generation means)
16 Device key list storage means 17 Invalid setting means 18 Device key selection means 19 EMM-RMP generation means (individual information generation means)
20 download table generation means 21 start program designation means 22 multiplexing means 3 digital broadcast receiver 30 separation means 21 program execution means 31a EMM-CAS decoding means 31b ECM-CAS decoding means 31c content descrambling means 31d EMM-RMP decoding means ( Individual information decoding means)
31e ECM-RMP decoding means (common information decoding means)
31f Distribution data descrambling means 31g Device key generation / update means 32 Download table analysis means 33 Distribution data separation means 34 Program decryption means 34a Encryption decryption means 34b Signature verification means 34c Write means 35 Storage means (program storage means)
36 starting program specifying means 37 program starting means 38 communication downloading means 5 CAS server

Claims (13)

放送波を介して送信されるコンテンツへのアクセスを制御するためのアクセス制御プログラムをデジタル放送受信装置に送信するデジタル放送送信装置であって、
前記デジタル放送受信装置に固有のデバイス鍵と、当該デバイス鍵が有効か無効かを示す情報を対応付けて記憶するデバイス鍵リスト記憶手段と、
外部から特定のデバイス鍵の無効を指示されることで、前記デバイス鍵リスト記憶手段に記憶されている対応するデバイス鍵を、無効な鍵として設定する無効設定手段と、
前記デジタル放送受信装置で共通のプログラム暗号化鍵で配信用の前記アクセス制御プログラムを暗号化するとともに、当該アクセス制御プログラムを識別する識別情報を付加して、データカルーセルのデータ形式の配信データを生成する配信データ生成手段と、
この配信データ生成手段で生成された配信データをスクランブル鍵で暗号化して、暗号化配信データを生成する配信データスクランブル手段と、
前記デジタル放送受信装置に送信する伝送路保護鍵で前記スクランブル鍵を暗号化して、前記デジタル放送受信装置で共通の共通情報を生成する共通情報生成手段と、
前記デジタル放送受信装置ごとに、前記デバイス鍵リスト記憶手段から、有効な鍵として設定されているデバイス鍵を選択するデバイス鍵選択手段と、
このデバイス鍵選択手段で選択されたデバイス鍵で前記伝送路保護鍵および前記プログラム暗号化鍵を暗号化して、前記デジタル放送受信装置ごとの個別情報を生成する個別情報生成手段と、
前記データカルーセルにより前記配信用のアクセス制御プログラムを送信する旨を示す識別子を付加するとともに、前記識別情報を含んだダウンロードテーブルを生成するダウンロードテーブル生成手段と、
起動用のアクセス制御プログラムを特定する第2識別情報を、番組配列情報であるPSI/SIの情報テーブルに配置する起動プログラム指定手段と、
前記暗号化配信データと、前記共通情報と、前記個別情報と、前記ダウンロードテーブルと、前記番組配列情報の情報テーブルとを多重化して、前記デジタル放送受信装置に送信する多重化信号を生成する多重化手段と、
を備えることを特徴とするデジタル放送送信装置。
A digital broadcast transmitting apparatus that transmits an access control program for controlling access to content transmitted via a broadcast wave to a digital broadcast receiving apparatus,
A device key list storage means for storing a device key unique to the digital broadcast receiving apparatus and information indicating whether the device key is valid or invalid;
An invalid setting means for setting a corresponding device key stored in the device key list storage means as an invalid key by being instructed from the outside to invalidate a specific device key;
The digital broadcast receiver encrypts the access control program for distribution with a common program encryption key and adds identification information for identifying the access control program to generate distribution data in a data carousel data format Distribution data generation means for
A distribution data scramble means for encrypting the distribution data generated by the distribution data generation means with a scramble key and generating encrypted distribution data;
Common information generating means for encrypting the scramble key with a transmission path protection key to be transmitted to the digital broadcast receiver, and generating common information common to the digital broadcast receiver;
Device key selection means for selecting a device key set as a valid key from the device key list storage means for each digital broadcast receiving device;
Individual information generating means for encrypting the transmission path protection key and the program encryption key with the device key selected by the device key selecting means, and generating individual information for each digital broadcast receiving device;
A download table generating means for adding an identifier indicating that the access control program for distribution is transmitted by the data carousel, and generating a download table including the identification information;
Activation program specifying means for arranging second identification information for specifying an access control program for activation in an information table of PSI / SI as program arrangement information;
Multiplexing that multiplexes the encrypted delivery data, the common information, the individual information, the download table, and the information table of the program arrangement information to generate a multiplexed signal to be transmitted to the digital broadcast receiving device And
A digital broadcast transmitting apparatus comprising:
前記配信データ生成手段は、
前記配信用のアクセス制御プログラムに対して、秘密鍵を用いて、デジタル署名の署名値を演算する署名値演算手段と、
前記配信用のアクセス制御プログラムを前記データカルーセルのブロックサイズに分割する分割手段と、
この分割手段で分割された分割データを前記プログラム暗号化鍵で暗号化して、暗号化分割データを生成する暗号化手段と、
前記署名値と前記識別情報とを含んだDIIメッセージを生成するとともに、前記暗号化分割データごとに当該暗号化分割データを含んだDDBメッセージを生成することで、前記配信データを生成するデータカルーセル用データ生成手段と、を備え、
前記個別情報生成手段は、前記秘密鍵に対応する検証鍵を含んだルート公開鍵証明書をさらに付加して前記個別情報を生成することを特徴とする請求項1に記載のデジタル放送送信装置。
The delivery data generating means
Signature value calculation means for calculating a signature value of a digital signature using a secret key for the distribution access control program,
Dividing means for dividing the access control program for distribution into block sizes of the data carousel;
Encryption means for encrypting the divided data divided by the dividing means with the program encryption key to generate encrypted divided data;
A data carousel for generating the distribution data by generating a DII message including the signature value and the identification information and generating a DDB message including the encrypted divided data for each encrypted divided data Data generating means,
2. The digital broadcast transmission apparatus according to claim 1, wherein the individual information generating unit generates the individual information by further adding a root public key certificate including a verification key corresponding to the secret key.
前記個別情報生成手段は、前記デジタル放送受信装置が保持するデバイス鍵を更新するためのパラメータであるシードをさらに付加して前記個別情報を生成することを特徴とする請求項1または請求項2に記載のデジタル放送送信装置。   3. The individual information generation unit generates the individual information by further adding a seed that is a parameter for updating a device key held by the digital broadcast receiving apparatus. The digital broadcast transmission device described. 前記共通情報生成手段は、前記配信用のアクセス制御プログラムを前記デジタル放送受信装置と共通のハッシュ関数で演算したハッシュ値をさらに付加して前記共通情報を生成することを特徴とする請求項1から請求項3のいずれか一項に記載のデジタル放送送信装置。   2. The common information generating means further generates the common information by adding a hash value obtained by calculating the distribution access control program using a hash function common to the digital broadcast receiving apparatus. The digital broadcast transmission apparatus according to claim 3. 前記共通情報生成手段は、前記第2識別情報をさらに付加して前記共通情報を生成することを特徴とする請求項1から請求項4のいずれか一項に記載のデジタル放送送信装置。   5. The digital broadcast transmission apparatus according to claim 1, wherein the common information generation unit generates the common information by further adding the second identification information. 6. 前記ダウンロードテーブル生成手段は、外部からの指示により、前記データカルーセルにより前記配信用のアクセス制御プログラムを送信している旨を示す識別子に換えて、前記配信用のアクセス制御プログラムを、通信回線を介して指定したサーバから取得する旨を示す識別子を含んだ前記ダウンロードテーブルを生成することを特徴とする請求項1から請求項5のいずれか一項に記載のデジタル放送送信装置。   The download table generating means replaces the distribution access control program via a communication line instead of an identifier indicating that the distribution access control program is transmitted by the data carousel according to an instruction from the outside. The digital broadcast transmitting apparatus according to claim 1, wherein the download table including an identifier indicating acquisition from a designated server is generated. 放送波を介して送信されるコンテンツへのアクセス制御をアクセス制御プログラムによって行うデジタル放送受信装置において、
前記アクセス制御プログラムを分割し、プログラム暗号化鍵で暗号化した後、データカルーセルのデータ形式とした配信データをスクランブル鍵でさらに暗号化した暗号化配信データと、前記スクランブル鍵を伝送路保護鍵で暗号化し生成した共通情報と、前記伝送路保護鍵および前記プログラム暗号化鍵をデバイス鍵で暗号化し生成した個別情報と、前記データカルーセルにより前記アクセス制御プログラムを送信する旨を示す識別子および当該アクセス制御プログラムを識別する識別情報を含んだダウンロードテーブルと、起動用のアクセス制御プログラムを特定する第2識別情報を含んだ番組配列情報の情報テーブルと、を含んだ多重化信号からそれぞれの情報を分離する分離手段と、
前記ダウンロードテーブルに記述されている識別子により、前記データカルーセルで前記アクセス制御プログラムが送信されていることを判定するダウンロードテーブル解析手段と、
前記デジタル放送送信装置と共通のデバイス鍵で前記個別情報を復号して、前記伝送路保護鍵および前記プログラム暗号化鍵を取得する個別情報復号手段と、
この個別情報復号手段で取得した伝送路保護鍵で前記共通情報を復号して、前記スクランブル鍵を取得する共通情報復号手段と、
前記ダウンロードテーブル解析手段で前記データカルーセルにより前記アクセス制御プログラムが送信されていることを検出した後、前記データカルーセルのデータを前記スクランブル鍵で復号する配信データデスクランブル手段と、
この配信データデスクランブル手段で復号されたデータカルーセルのデータ形式の配信データから、暗号化されたアクセス制御プログラムおよび当該アクセス制御プログラムを識別する識別情報を分離する配信データ分離手段と、
前記暗号化されたアクセス制御プログラムを、前記個別情報復号手段で取得したプログラム暗号化鍵で復号するプログラム復号手段と、
このプログラム復号手段で復号されたアクセス制御プログラムを前記識別情報と対応付けて記憶するプログラム記憶手段と、
前記情報テーブルから前記第2識別情報を抽出する起動プログラム特定手段と、
この起動プログラム特定手段で抽出された第2識別情報に対応するアクセス制御プログラムを、前記プログラム記憶手段から読み出して起動させるプログラム起動手段と、
を備えることを特徴とするデジタル放送受信装置。
In a digital broadcast receiving apparatus that performs access control to content transmitted via broadcast waves by an access control program,
After the access control program is divided and encrypted with a program encryption key, the encrypted distribution data obtained by further encrypting the distribution data in the data carousel data format with the scramble key, and the scramble key with the transmission path protection key Common information generated by encryption, individual information generated by encrypting the transmission path protection key and the program encryption key with a device key, an identifier indicating that the access control program is transmitted by the data carousel, and the access control Each information is separated from the multiplexed signal including the download table including the identification information for identifying the program and the information table of the program arrangement information including the second identification information for identifying the access control program for activation. Separating means;
Download table analysis means for determining that the access control program is transmitted in the data carousel by the identifier described in the download table;
Individual information decrypting means for decrypting the individual information with a device key common to the digital broadcast transmitting apparatus and obtaining the transmission path protection key and the program encryption key;
Common information decryption means for decrypting the common information with the transmission path protection key obtained by the individual information decryption means and obtaining the scramble key;
Distribution data descrambling means for decrypting data of the data carousel with the scramble key after detecting that the access control program is transmitted by the data carousel in the download table analysis means;
Distribution data separating means for separating the encrypted access control program and identification information for identifying the access control program from the distribution data in the data format of the data carousel decrypted by the distribution data descrambling means;
Program decryption means for decrypting the encrypted access control program with a program encryption key acquired by the individual information decryption means;
Program storage means for storing the access control program decoded by the program decoding means in association with the identification information;
An activation program specifying means for extracting the second identification information from the information table;
An access control program corresponding to the second identification information extracted by the activation program specifying means, read from the program storage means and activated, and program activation means;
A digital broadcast receiving apparatus comprising:
前記配信データには、デジタル放送送信装置の秘密鍵を用いて生成されたデジタル署名の署名値が付加され、前記個別情報には、前記秘密鍵に対応する検証鍵を含んだルート公開鍵証明書がさらに付加されており、
前記個別情報復号手段は、前記個別情報から前記ルート公開鍵証明書を抽出し、
前記プログラム復号手段は、前記ルート公開鍵証明書に含まれている検証鍵を用いて、前記署名値を検証する署名検証手段を備えていることを特徴とする請求項7に記載のデジタル放送受信装置。
The distribution data is appended with a signature value of a digital signature generated using a private key of the digital broadcast transmitting apparatus, and the individual information includes a root public key certificate including a verification key corresponding to the private key Is added,
The individual information decryption means extracts the root public key certificate from the individual information,
8. The digital broadcast receiving apparatus according to claim 7, wherein the program decrypting unit includes a signature verifying unit that verifies the signature value by using a verification key included in the root public key certificate. apparatus.
前記デバイス鍵を生成し、更新するデバイス鍵生成・更新手段をさらに備え、
前記デバイス鍵生成・更新手段は、前記個別情報に、前記デバイス鍵を更新するためのパラメータであるシードが含まれている場合に、当該シードを基にデバイス鍵を生成し、当該デジタル放送受信装置で使用するデバイス鍵を更新することを特徴とする請求項7または請求項8に記載のデジタル放送受信装置。
A device key generating / updating unit for generating and updating the device key;
The device key generation / update means generates a device key based on the seed when the individual information includes a seed that is a parameter for updating the device key, and the digital broadcast receiving apparatus The digital broadcast receiving apparatus according to claim 7, wherein the device key used in the update is updated.
前記共通情報には、前記アクセス制御プログラムを当該デジタル放送受信装置と共通のハッシュ関数で演算したハッシュ値がさらに付加されており、
前記共通情報復号手段は、前記共通情報から前記ハッシュ値を抽出し、
前記プログラム起動手段は、前記起動プログラム特定手段で抽出された第2識別情報に対応して前記プログラム記憶手段に記憶されているアクセス制御プログラムのハッシュ値を演算し、前記共通情報から抽出したハッシュ値と一致する場合に、当該アクセス制御プログラムを起動させることを特徴とする請求項7から請求項9のいずれか一項に記載のデジタル放送受信装置。
In the common information, a hash value obtained by calculating the access control program with a hash function common to the digital broadcast receiving device is further added,
The common information decoding means extracts the hash value from the common information,
The program starting means calculates a hash value of an access control program stored in the program storage means corresponding to the second identification information extracted by the starting program specifying means, and a hash value extracted from the common information The digital broadcast receiving apparatus according to any one of claims 7 to 9, wherein the access control program is started when the two coincide with each other.
前記共通情報には、起動用のアクセス制御プログラムを識別する前記第2識別情報が付加されており、
前記共通情報復号手段は、前記共通情報から前記第2識別情報を抽出し、
前記プログラム起動手段は、前記共通情報から抽出された第2識別情報と、前記起動プログラム特定手段で抽出された第2識別情報とが一致する場合に、当該第2識別情報に対応して前記プログラム記憶手段に記憶されているアクセス制御プログラムを起動させることを特徴とする請求項7から請求項10のいずれか一項に記載のデジタル放送受信装置。
The common information includes the second identification information for identifying an access control program for activation,
The common information decoding means extracts the second identification information from the common information;
When the second identification information extracted from the common information matches the second identification information extracted by the activation program specifying means, the program activation unit corresponds to the second identification information. The digital broadcast receiving apparatus according to any one of claims 7 to 10, wherein an access control program stored in the storage unit is activated.
前記ダウンロードテーブルには、前記データカルーセルにより前記アクセス制御プログラムを送信している旨を示す識別子と、前記アクセス制御プログラムを通信回線を介して指定したサーバから取得する旨を示す識別子とのいずれか一方が記述され、
前記ダウンロードテーブルに、前記アクセス制御プログラムを前記サーバから取得する旨を示す識別子が記述されている場合に、当該サーバから暗号化された前記アクセス制御プログラムを取得する通信ダウンロード手段をさらに備えることを特徴とする請求項7から請求項11のいずれか一項に記載のデジタル放送受信装置。
In the download table, one of an identifier indicating that the access control program is transmitted by the data carousel and an identifier indicating that the access control program is acquired from a server designated via a communication line Is described,
When the download table describes an identifier indicating that the access control program is acquired from the server, the download table further includes communication download means for acquiring the access control program encrypted from the server. The digital broadcast receiver according to any one of claims 7 to 11.
放送波を介してコンテンツを送信するデジタル放送送信装置と、前記コンテンツを受信するデジタル放送受信装置とで構成され、前記コンテンツへのアクセスを制御するためのアクセス制御プログラムを、前記デジタル放送送信装置から前記デジタル放送受信装置に送信するデジタル放送システムであって、
前記デジタル放送送信装置は、
前記デジタル放送受信装置に固有のデバイス鍵と、当該デバイス鍵が有効か無効かを示す情報を対応付けて記憶するデバイス鍵リスト記憶手段と、
外部から特定のデバイス鍵の無効を指示されることで、前記デバイス鍵リスト記憶手段に記憶されている対応するデバイス鍵を、無効な鍵として設定する無効設定手段と、
前記デジタル放送受信装置で共通のプログラム暗号化鍵で配信用の前記アクセス制御プログラムを暗号化するとともに、当該アクセス制御プログラムを識別する識別情報を付加して、データカルーセルのデータ形式の配信データを生成する配信データ生成手段と、
この配信データ生成手段で生成された配信データをスクランブル鍵で暗号化して、暗号化配信データを生成する配信データスクランブル手段と、
前記デジタル放送受信装置に送信する伝送路保護鍵で前記スクランブル鍵を暗号化して、前記デジタル放送受信装置で共通の共通情報を生成する共通情報生成手段と、
前記デジタル放送受信装置ごとに、前記デバイス鍵リスト記憶手段から、有効な鍵として設定されているデバイス鍵を選択するデバイス鍵選択手段と、
このデバイス鍵選択手段で選択されたデバイス鍵で前記伝送路保護鍵および前記プログラム暗号化鍵を暗号化して、前記デジタル放送受信装置ごとの個別情報を生成する個別情報生成手段と、
前記データカルーセルにより前記配信用のアクセス制御プログラムを送信する旨を示す識別子を付加するとともに、前記識別情報を含んだダウンロードテーブルを生成するダウンロードテーブル生成手段と、
起動用のアクセス制御プログラムを特定する第2識別情報を、番組配列情報であるPSI/SIの情報テーブルに配置する起動プログラム指定手段と、
前記暗号化配信データと、前記共通情報と、前記個別情報と、前記ダウンロードテーブルと、前記番組配列情報の情報テーブルとを多重化して、前記デジタル放送受信装置に送信する多重化信号を生成する多重化手段と、を備え、
前記デジタル放送受信装置は、
前記デジタル放送送信装置で生成された前記多重化信号から、前記暗号化配信データと、前記共通情報と、前記個別情報と、前記ダウンロードテーブルと、前記番組配列情報の情報テーブルとを分離する分離手段と、
前記ダウンロードテーブルに記述されている識別子により、前記データカルーセルで前記アクセス制御プログラムが送信されていることを判定するダウンロードテーブル解析手段と、
前記デジタル放送送信装置と共通のデバイス鍵で前記個別情報を復号して、前記伝送路保護鍵および前記プログラム暗号化鍵を取得する個別情報復号手段と、
この個別情報復号手段で取得した伝送路保護鍵で前記共通情報を復号して、前記スクランブル鍵を取得する共通情報復号手段と、
前記ダウンロードテーブル解析手段で前記データカルーセルにより前記アクセス制御プログラムが送信されていることを検出した後、前記データカルーセルのデータを前記スクランブル鍵で復号する配信データデスクランブル手段と、
この配信データデスクランブル手段で復号されたデータカルーセルのデータ形式の配信データから、暗号化されたアクセス制御プログラムおよび当該アクセス制御プログラムを識別する識別情報を分離する配信データ分離手段と、
前記暗号化されたアクセス制御プログラムを、前記個別情報復号手段で取得したプログラム暗号化鍵で復号するプログラム復号手段と、
このプログラム復号手段で復号されたアクセス制御プログラムを前記識別情報と対応付けて記憶するプログラム記憶手段と、
前記情報テーブルから前記第2識別情報を抽出する起動プログラム特定手段と、
この起動プログラム特定手段で抽出された第2識別情報に対応するアクセス制御プログラムを、前記プログラム記憶手段から読み出して起動させるプログラム起動手段と、
を備えることを特徴とするデジタル放送システム。
An access control program for controlling access to the content is configured from the digital broadcast transmission device, which comprises a digital broadcast transmission device for transmitting content via a broadcast wave and a digital broadcast reception device for receiving the content. A digital broadcast system for transmitting to the digital broadcast receiver,
The digital broadcast transmission device includes:
A device key list storage means for storing a device key unique to the digital broadcast receiving apparatus and information indicating whether the device key is valid or invalid;
An invalid setting means for setting a corresponding device key stored in the device key list storage means as an invalid key by being instructed from the outside to invalidate a specific device key;
The digital broadcast receiver encrypts the access control program for distribution with a common program encryption key and adds identification information for identifying the access control program to generate distribution data in a data carousel data format Distribution data generation means for
A distribution data scramble means for encrypting the distribution data generated by the distribution data generation means with a scramble key and generating encrypted distribution data;
Common information generating means for encrypting the scramble key with a transmission path protection key to be transmitted to the digital broadcast receiver, and generating common information common to the digital broadcast receiver;
Device key selection means for selecting a device key set as a valid key from the device key list storage means for each digital broadcast receiving device;
Individual information generating means for encrypting the transmission path protection key and the program encryption key with the device key selected by the device key selecting means, and generating individual information for each digital broadcast receiving device;
A download table generating means for adding an identifier indicating that the access control program for distribution is transmitted by the data carousel, and generating a download table including the identification information;
Activation program specifying means for arranging second identification information for specifying an access control program for activation in an information table of PSI / SI as program arrangement information;
Multiplexing that multiplexes the encrypted delivery data, the common information, the individual information, the download table, and the information table of the program arrangement information to generate a multiplexed signal to be transmitted to the digital broadcast receiving device And means for
The digital broadcast receiving apparatus includes:
Separating means for separating the encrypted distribution data, the common information, the individual information, the download table, and the information table of the program arrangement information from the multiplexed signal generated by the digital broadcast transmission device When,
Download table analysis means for determining that the access control program is transmitted in the data carousel by the identifier described in the download table;
Individual information decrypting means for decrypting the individual information with a device key common to the digital broadcast transmitting apparatus and obtaining the transmission path protection key and the program encryption key;
Common information decryption means for decrypting the common information with the transmission path protection key obtained by the individual information decryption means and obtaining the scramble key;
Distribution data descrambling means for decrypting data of the data carousel with the scramble key after detecting that the access control program is transmitted by the data carousel in the download table analysis means;
Distribution data separating means for separating the encrypted access control program and identification information for identifying the access control program from the distribution data in the data format of the data carousel decrypted by the distribution data descrambling means;
Program decryption means for decrypting the encrypted access control program with a program encryption key acquired by the individual information decryption means;
Program storage means for storing the access control program decoded by the program decoding means in association with the identification information;
An activation program specifying means for extracting the second identification information from the information table;
An access control program corresponding to the second identification information extracted by the activation program specifying means, read from the program storage means and activated, and program activation means;
A digital broadcasting system comprising:
JP2011207480A 2011-09-22 2011-09-22 Digital broadcast transmitter, digital broadcast receiver and digital broadcast system Ceased JP2013070247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011207480A JP2013070247A (en) 2011-09-22 2011-09-22 Digital broadcast transmitter, digital broadcast receiver and digital broadcast system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011207480A JP2013070247A (en) 2011-09-22 2011-09-22 Digital broadcast transmitter, digital broadcast receiver and digital broadcast system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015172622A Division JP6122922B2 (en) 2015-09-02 2015-09-02 Digital broadcast transmitter and digital broadcast receiver

Publications (1)

Publication Number Publication Date
JP2013070247A true JP2013070247A (en) 2013-04-18

Family

ID=48475428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011207480A Ceased JP2013070247A (en) 2011-09-22 2011-09-22 Digital broadcast transmitter, digital broadcast receiver and digital broadcast system

Country Status (1)

Country Link
JP (1) JP2013070247A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015027076A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027077A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027075A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027074A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015213295A (en) * 2014-04-14 2015-11-26 日本放送協会 Transmitter and receiver
JP2015228646A (en) * 2014-05-09 2015-12-17 日本放送協会 Receiver
JPWO2015122020A1 (en) * 2014-02-17 2017-03-30 富士通株式会社 Receiving apparatus and receiving method
JP2017517934A (en) * 2014-04-18 2017-06-29 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Software upgrade method and apparatus, and device
JP7363992B2 (en) 2015-02-17 2023-10-18 ソニーグループ株式会社 Transmission method, transmitting device, receiving method, and receiving device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015027076A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027077A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027075A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JP2015027074A (en) * 2013-06-20 2015-02-05 日本放送協会 Transmitting device, receiving device, and limited reception system
JPWO2015122020A1 (en) * 2014-02-17 2017-03-30 富士通株式会社 Receiving apparatus and receiving method
JP2015213295A (en) * 2014-04-14 2015-11-26 日本放送協会 Transmitter and receiver
JP2017517934A (en) * 2014-04-18 2017-06-29 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Software upgrade method and apparatus, and device
US10866796B2 (en) 2014-04-18 2020-12-15 Huawei Device Co., Ltd. Software upgrade method and apparatus, and device
JP2015228646A (en) * 2014-05-09 2015-12-17 日本放送協会 Receiver
JP7363992B2 (en) 2015-02-17 2023-10-18 ソニーグループ株式会社 Transmission method, transmitting device, receiving method, and receiving device

Similar Documents

Publication Publication Date Title
JP2013070247A (en) Digital broadcast transmitter, digital broadcast receiver and digital broadcast system
EP2461539B1 (en) Control word protection
DK2052539T3 (en) Procedure for revoking security modules for securing broadcast messages
EP2724546B1 (en) Receiver software protection
US9544276B2 (en) Method for transmitting and receiving a multimedia content
JP5676946B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP2012023547A5 (en)
JP6031360B2 (en) Access control program, transmission device, reception device, and information leakage source identification device
JP6186096B1 (en) Digital broadcast transmitter and digital broadcast receiver
JP6211164B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP6122922B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP6101379B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP5889390B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP5887399B2 (en) Digital broadcast transmitter and digital broadcast receiver
JP6600424B2 (en) Receiver
Moon et al. JavaCard-based two-level user key management for IP conditional access systems
JP6440302B2 (en) Receiving apparatus, broadcasting system, receiving method and program
JP2016063538A (en) Transmitter and receiver
KR101000787B1 (en) Conditional access software system and the method thereof
JP6463654B2 (en) Receiver
JP6374694B2 (en) Transmitter and receiver
JP2015027076A (en) Transmitting device, receiving device, and limited reception system
JP2015027074A (en) Transmitting device, receiving device, and limited reception system
JP2015027075A (en) Transmitting device, receiving device, and limited reception system
KR20110076380A (en) Security method for conditional access system software in downloadable conditional access system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140130

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150306

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150804

A045 Written measure of dismissal of application [lapsed due to lack of payment]

Free format text: JAPANESE INTERMEDIATE CODE: A045

Effective date: 20151222