JP2007013610A - Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method - Google Patents

Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method Download PDF

Info

Publication number
JP2007013610A
JP2007013610A JP2005192061A JP2005192061A JP2007013610A JP 2007013610 A JP2007013610 A JP 2007013610A JP 2005192061 A JP2005192061 A JP 2005192061A JP 2005192061 A JP2005192061 A JP 2005192061A JP 2007013610 A JP2007013610 A JP 2007013610A
Authority
JP
Japan
Prior art keywords
packet
data
time stamp
scramble key
encrypted data
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.)
Pending
Application number
JP2005192061A
Other languages
Japanese (ja)
Inventor
Ryosuke Otsuki
良輔 大槻
Yoshikazu Mihara
良和 三原
Sachikazu Kita
祥和 喜多
Masashi Fujita
昌士 藤田
Shigeru Sawada
茂 澤田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2005192061A priority Critical patent/JP2007013610A/en
Publication of JP2007013610A publication Critical patent/JP2007013610A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method for enabling a user to immediately view and listen to different content of a jump destination when jumping to the content due to channel changing or the like. <P>SOLUTION: A stream generating part 15 generates a stream composed of a series of packets including a time stamp. A key sequence table generating part 12 generates a key sequence table in which data of scramble key is described in accordance with the time stamp. An encryption processing part 16 uses the data of the scramble key corresponding to the time stamp included in a packet for encrypted data transmission to encrypt data to be transmitted by the packet for encrypted data transmission. The stream generating part 15 generates such a stream such that the packet for key sequence table transmission is transmitted prior to transmitting a packet for encrypted data transmission. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、放送装置、放送方法、放送受信装置および放送受信方法に関し、特に暗号化された映像データなどを送信する放送装置、放送方法、暗号化された映像データなどを受信する放送受信装置、放送受信方法に関する。   The present invention relates to a broadcast device, a broadcast method, a broadcast reception device, and a broadcast reception method, and more particularly, a broadcast device that transmits encrypted video data, a broadcast method, a broadcast reception device that receives encrypted video data, and the like. It relates to a broadcast receiving method.

デジタル放送では、コンテンツ保護および視聴制限などのために、映像および音声データが暗号化されて伝送される(たとえば、非特許文献1参照)。   In digital broadcasting, video and audio data are encrypted and transmitted for content protection and viewing restriction (see, for example, Non-Patent Document 1).

図9は、従来のデジタル放送で用いられている暗号化方式を説明するための図である。
図9を参照して、放送装置では、スクランブル鍵を用いて、伝送する映像および音声データが暗号化される。このスクランブル鍵は約1秒ごとに更新される。さらに、ワーク鍵を用いて、スクランブル鍵が暗号化されて、暗号化されたスクランブル鍵を含むECM(Entitlement Control Message)が作成される。
FIG. 9 is a diagram for explaining an encryption method used in conventional digital broadcasting.
Referring to FIG. 9, in the broadcasting apparatus, video and audio data to be transmitted are encrypted using a scramble key. This scramble key is updated about every second. Further, the scramble key is encrypted using the work key, and an ECM (Entitlement Control Message) including the encrypted scramble key is created.

図10は、従来のデジタル放送における暗号化された映像および音声データとECMの伝送方法を説明するための図である。   FIG. 10 is a diagram for explaining a transmission method of encrypted video and audio data and ECM in conventional digital broadcasting.

図10を参照して、放送装置は、スクランブル鍵で暗号化された映像および音声データと、暗号化されたスクランブル鍵(ECM)が多重化して伝送する。   Referring to FIG. 10, the broadcasting apparatus multiplexes and transmits video and audio data encrypted with a scramble key and an encrypted scramble key (ECM).

すなわち、スクランブル鍵Aで暗号化された映像および音声データを伝送する前に、ワーク鍵で暗号化されたスクランブル鍵A(ECM)が伝送され、スクランブル鍵Bで暗号化された映像および音声データを伝送する前に、ワーク鍵で暗号化されたスクランブル鍵B(ECM)が伝送され、スクランブル鍵Cで暗号化された映像および音声データを伝送する前に、ワーク鍵で暗号化されたスクランブル鍵C(ECM)が伝送される。ここで、図10に示すように、ワーク鍵で暗号化されたスクランブル鍵が伝送される間隔は約1秒である。   That is, before transmitting the video and audio data encrypted with the scramble key A, the scramble key A (ECM) encrypted with the work key is transmitted, and the video and audio data encrypted with the scramble key B are transmitted. A scramble key B (ECM) encrypted with a work key is transmitted before transmission, and a scramble key C encrypted with a work key before transmitting video and audio data encrypted with the scramble key C. (ECM) is transmitted. Here, as shown in FIG. 10, the interval at which the scramble key encrypted with the work key is transmitted is about 1 second.

図11は、従来のデジタル放送で用いられている暗号復号化方式を説明するための図である。   FIG. 11 is a diagram for explaining an encryption / decryption method used in conventional digital broadcasting.

図11を参照して、放送受信装置では、ワーク鍵を用いて、暗号化されたスクランブル鍵が復号され、さらに復号されたスクランブル鍵を用いて、暗号化された映像および音声データが復号される。
デジタル放送における映像符号化、音声符号化及び多重化方式標準規格 ARIB STD−B32、1.8版、H16年12月、社団法人 電波産業会
Referring to FIG. 11, in the broadcast receiving apparatus, the encrypted scramble key is decrypted using the work key, and the encrypted video and audio data is decrypted using the decrypted scramble key. .
Video coding, audio coding and multiplexing standard in digital broadcasting ARIB STD-B32, 1.8 edition, December, H16, Japan Radio Industry Association

ところで、放送受信装置において、ユーザがチャンネルの切替えなどによって、別のコンテンツへジャンプしたときに、ユーザがジャンプ先のコンテンツの映像および音声を直ぐに視聴できないという問題がある。   By the way, in the broadcast receiving apparatus, when the user jumps to another content due to channel switching or the like, there is a problem that the user cannot immediately watch the video and audio of the jump destination content.

図12は、従来のデジタル放送の伝送方式におけるジャンプ時の問題点を説明するための図である。   FIG. 12 is a diagram for explaining a problem at the time of a jump in a conventional digital broadcast transmission method.

図12を参照して、放送受信装置において、スクランブル鍵Aで暗号化された映像および音声データを復号して再生している時に(図12の時刻t1)、チャンネル切替えによって、スクランブル鍵Bで暗号化された映像および音声データのポイント(図12の時刻t2)にジャンプしたとする。   Referring to FIG. 12, when the video and audio data encrypted with scramble key A is decrypted and reproduced in the broadcast receiving apparatus (time t1 in FIG. 12), encryption is performed with scramble key B by channel switching. Assume that a jump is made to the point of the converted video and audio data (time t2 in FIG. 12).

放送受信装置は、スクランブル鍵Bを取得していないので、スクランブル鍵Bで暗号化された映像および音声データを復号できず、これらのデータを再生することができない。放送受信装置は、時刻t3になってスクランブル鍵Cを取得し、その後、スクランブル鍵Cで暗号化された映像および音声データを取得し、これらのデータをスクランブル鍵Cで復号して再生する。   Since the broadcast receiving apparatus has not acquired the scramble key B, it cannot decrypt the video and audio data encrypted with the scramble key B, and cannot reproduce these data. The broadcast receiving apparatus acquires the scramble key C at time t3, and then acquires video and audio data encrypted with the scramble key C, and decrypts and reproduces these data with the scramble key C.

このように、チャンネル切替えなどによって別のコンテンツにジャンプしたときには、ユーザは、ジャンプ先のコンテンツの直後のフレームの映像および音声のデータを直ぐに見ることができず、しばらく待って初めて(最大でECMが挿入される間隔である1秒間)、ジャンプ先から数フレーム後の映像および音声データを見ることができる。   In this way, when jumping to another content by channel switching or the like, the user cannot immediately see the video and audio data of the frame immediately after the jump destination content, but waits for a while (the ECM is the maximum). The video and audio data after several frames from the jump destination can be seen for one second, which is the insertion interval.

それゆえに、本発明の目的は、チャンネルの切替えなどによって別のコンテンツにジャンプするときに、ユーザにジャンプ先のコンテンツを直ぐに視聴させることができる放送装置、放送方法、放送受信装置および放送受信方法を提供することである。   Therefore, an object of the present invention is to provide a broadcasting device, a broadcasting method, a broadcasting receiving device, and a broadcasting receiving method that allow a user to immediately view a jump destination content when jumping to another content by channel switching or the like. Is to provide.

上記課題を解決するために、本発明の放送装置は、タイムスタンプを含むパケットの連続で構成されるストリームを生成するストリーム生成部と、タイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するテーブル生成部と、暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを用いて暗号化データ伝送用のパケットで伝送するデータを暗号化する暗号処理部とを備え、ストリーム生成部は、テーブル伝送用のパケットを暗号化データ伝送用のパケットよりも送信される時刻が先になるようなストリームを生成し、テーブル伝送用のパケットにはテーブルのデータを含ませ、暗号化データ伝送用のパケットには、そのパケットで伝送するデータを暗号処理部で暗号化したデータを含ませる。   In order to solve the above problems, the broadcasting apparatus of the present invention includes a stream generation unit that generates a stream composed of a series of packets including a time stamp, and a table that describes scramble key data corresponding to the time stamp. A table generation unit for generating, and an encryption processing unit for encrypting data transmitted in the packet for encrypted data transmission using data of a scramble key corresponding to a time stamp included in the packet for encrypted data transmission. The stream generation unit generates a stream such that the transmission time of the packet for table transmission precedes the packet for encrypted data transmission, and the table transmission packet includes the data of the table, The encrypted data transmission packet includes a data obtained by encrypting the data transmitted in the packet by the encryption processing unit. The inclusion of data.

好ましくは、パケットは、TSパケットの先頭にタイムスタンプを付したものである。
また、本発明の放送方法は、タイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するステップと、暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを用いて暗号化データ伝送用のパケットで伝送するデータを暗号化するステップとを含み、タイムスタンプを含むパケットの連続で構成されるストリームを生成するストリーム生成ステップとを含み、ストリーム生成ステップは、テーブル伝送用のパケットを暗号化データ伝送用のパケットよりも送信される時刻が先になるようなストリームを生成し、テーブル伝送用のパケットにはテーブルのデータを含ませ、暗号化データ伝送用のパケットにはそのパケットで伝送するデータを暗号化したデータを含ませる。
Preferably, the packet is a TS packet with a time stamp added to the beginning.
Also, the broadcasting method of the present invention uses a step of generating a table describing scramble key data corresponding to a time stamp, and scramble key data corresponding to the time stamp included in the encrypted data transmission packet. Encrypting data to be transmitted in a packet for encrypted data transmission, and generating a stream composed of a series of packets including a time stamp, and the stream generation step includes table transmission A stream is generated so that the transmission time of the packet for the packet is earlier than the packet for the encrypted data transmission. The table transmission packet includes the data of the table, and the packet for the encrypted data transmission is included. Includes data obtained by encrypting data transmitted in the packet.

好ましくは、パケットは、TSパケットの先頭にタイムスタンプを付したものである。
また、本発明の放送受信装置は、タイムスタンプを含むパケットの連続で構成されるストリームを受信する受信部と、受信したパケットがテーブル伝送用のパケットの場合に、テーブル伝送用のパケットのデータからタイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するテーブル処理部と、受信したパケットが暗号化データ伝送用のパケットの場合に、暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを生成したテーブルから抽出して、抽出したスクランブル鍵のデータを用いて暗号化データ伝送用のパケットに含まれる暗号化されたデータを復号する暗号復号処理部とを備え、暗号復号処理部は、ジャンプ指定があると、ジャンプ先のパケットの直後の暗号化データ伝送用のパケットをジャンプ後の復号開始パケットとし、復号を実行する。
Preferably, the packet is obtained by adding a time stamp to the beginning of the TS packet.
In addition, the broadcast receiving apparatus of the present invention includes a receiving unit that receives a stream composed of a series of packets including a time stamp, and, when the received packet is a packet for table transmission, from the data of the packet for table transmission. A table processing unit that generates a table describing scramble key data corresponding to a time stamp, and if the received packet is a packet for encrypted data transmission, the time stamp included in the packet for encrypted data transmission A corresponding scramble key data is extracted from the generated table, and the encrypted scramble key data is used to decrypt the encrypted data included in the encrypted data transmission packet using the extracted scramble key data, When there is a jump specification, the encryption / decryption processing unit encrypts the encrypted data immediately after the jump destination packet. The packet for transmission to a decoding start packet after the jump, and executes decryption.

好ましくは、パケットは、TSパケットの先頭にタイムスタンプを付したものである。
また、本発明の放送受信方法は、タイムスタンプを含むパケットの連続で構成されるストリームを受信する受信ステップと、受信したパケットがテーブル伝送用のパケットの場合に、テーブル伝送用のパケットのデータからタイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するステップと、受信したパケットが暗号化データ伝送用のパケットの場合に、暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを生成したテーブルから抽出して、抽出したスクランブル鍵のデータを用いて暗号化データ伝送用のパケットに含まれる暗号化されたデータを復号する暗号復号処理ステップとを含み、暗号復号処理ステップは、ジャンプ指定があると、ジャンプ先のパケットの直後の暗号化データ伝送用のパケットをジャンプ後の復号開始パケットとし、復号を実行する。
Preferably, the packet is obtained by adding a time stamp to the beginning of the TS packet.
Also, the broadcast receiving method of the present invention includes a reception step of receiving a stream composed of a series of packets including a time stamp, and, when the received packet is a packet for table transmission, from the data of the packet for table transmission. A step of generating a table describing scramble key data corresponding to a time stamp, and corresponding to a time stamp included in the packet for encrypted data transmission when the received packet is a packet for encrypted data transmission An encryption / decryption step including extracting the scramble key data from the generated table and decrypting the encrypted data included in the encrypted data transmission packet using the extracted scramble key data. If a jump is specified for a processing step, immediately after the jump destination packet The packet for transmission the encrypted data and the decoding start packet after the jump, and executes decryption.

好ましくは、パケットは、TSパケットの先頭にタイムスタンプを付したものである。   Preferably, the packet is a TS packet with a time stamp added to the beginning.

本発明によれば、チャンネルの切替えなどによって別のコンテンツにジャンプするときに、ユーザにジャンプ先のコンテンツを直ぐに視聴させることができる。   According to the present invention, when jumping to another content by channel switching or the like, the user can immediately view the jump destination content.

以下、本発明の実施の形態について図面を用いて説明する。
(放送装置の構成)
図1は、本発明の実施形態に係る放送装置の機能ブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Configuration of broadcasting device)
FIG. 1 is a functional block diagram of a broadcasting apparatus according to an embodiment of the present invention.

図1を参照して、この放送装置10は、スクランブル鍵記憶部11と、キーシーケンステーブル生成部12と、キーシーケンステーブル記憶部13と、コンテンツ記憶部14と、暗号処理部16と、ストリーム生成部15とを備える。   Referring to FIG. 1, this broadcasting apparatus 10 includes a scramble key storage unit 11, a key sequence table generation unit 12, a key sequence table storage unit 13, a content storage unit 14, an encryption processing unit 16, and a stream generation. Part 15.

ストリーム生成部15は、TTS(Timestamped Transport Stream)パケットからなるストリームを生成する。   The stream generation unit 15 generates a stream composed of TTS (Timestamped Transport Stream) packets.

図2は、TTSパケットの構成を示す図である。
図2を参照して、TTSパケットは、TS(Transport Stream)パケットの先頭にタイムスタンプを付けたものであって、タイムスタンプと、ヘッダと、ペイロードとからなる。
FIG. 2 is a diagram illustrating a configuration of a TTS packet.
Referring to FIG. 2, a TTS packet is a TS (Transport Stream) packet with a time stamp added to the head, and includes a time stamp, a header, and a payload.

タイムスタンプは、TTSパケットの送信順序を表わすものである。先頭のTTSパケットのタイムスタンプは0(0x0000_0000)であり、後続のTTSパケットのタイムスタンプは1ずつ増加する。   The time stamp represents the transmission order of TTS packets. The time stamp of the first TTS packet is 0 (0x0000 — 0000), and the time stamp of the subsequent TTS packet is incremented by one.

ヘッダは、TSパケットのヘッダと同一のものである。ヘッダは、PID(パケット識別子)を含む。PIDは、TTSパケットが伝送するデータの種類を表わす。   The header is the same as the header of the TS packet. The header includes a PID (packet identifier). The PID represents the type of data transmitted by the TTS packet.

ペイロードは、TSパケットのペイロードと同一のものである。キーシーケンステーブル、同一コンテンツ(同一チャンネル)の映像データ、同一コンテンツ(同一チャンネル)の音声データ、および同一種類のセクションデータは、同一のPIDを有するTTSパケットに分割して伝送される。   The payload is the same as the payload of the TS packet. The key sequence table, video data of the same content (same channel), audio data of the same content (same channel), and section data of the same type are divided and transmitted in TTS packets having the same PID.

スクランブル鍵記憶部11は、スクランブル鍵のデータを記憶する。
キーシーケンステーブル生成部12は、スクランブル鍵記憶部11内のスクランブル鍵のデータを用いてキーシーケンステーブルを生成する。
The scramble key storage unit 11 stores scramble key data.
The key sequence table generation unit 12 generates a key sequence table using the scramble key data in the scramble key storage unit 11.

キーシーケンステーブルは、TTSパケットに付されるタイムスタンプに対応させてスクランブル鍵のデータを記述したものである。TTSパケットのペイロードが暗号化される映像または音声データの場合に、そのTTSパケットのタイムスタンプに対応するスクランブル鍵のデータがキーシーケンステーブルに記述されている。   The key sequence table describes scramble key data corresponding to the time stamp attached to the TTS packet. When the payload of a TTS packet is encrypted video or audio data, the scramble key data corresponding to the time stamp of the TTS packet is described in the key sequence table.

図3は、キーシーケンステーブルの例を表わす図である。
図3を参照して、映像データまたは音声データを伝送するTTSパケットは、そのタイムスタンプが0x0000_0010〜0x0000_001fの場合には、ペイロード部分を暗号化するスクランブル鍵のデータが第1奇数鍵のデータの欄に記述されており、そのタイムスタンプが0x0000_1010〜0x0000_101fの場合には、ペイロード部分を暗号化するスクランブル鍵のデータが第1偶数鍵のデータの欄に記述されており、そのタイムスタンプが0x0000_2010〜0x0000_201fの場合には、ペイロード部分を暗号化するスクランブル鍵のデータが第2奇数鍵のデータの欄に記述されており、そのタイムスタンプが0x0000_3010〜0x0000_301fの場合には、ペイロード部分を暗号化するスクランブル鍵のデータが第2偶数鍵のデータの欄に記述されている。
FIG. 3 is a diagram illustrating an example of a key sequence table.
Referring to FIG. 3, when the time stamp of the TTS packet for transmitting video data or audio data is 0x0000 — 0010 to 0x0000 — 001f, the scramble key data for encrypting the payload portion is the first odd key data column. If the time stamp is 0x0000 — 1010 to 0x0000 — 101f, the scramble key data for encrypting the payload portion is described in the data field of the first even key, and the time stamp is 0x0000 — 2010 to 0x0000 — 201f. In this case, the scramble key data for encrypting the payload part is described in the second odd key data field, and the time stamp is 0x0000 — 3010 to 0x0000 — 301f, the payload part Data scramble key for encrypting are described in the column of data in the second even key.

キーシーケンステーブル記憶部13は、キーシーケンステーブル生成部12で生成されたキーシーケンステーブルを記憶する。   The key sequence table storage unit 13 stores the key sequence table generated by the key sequence table generation unit 12.

コンテンツ記憶部14は、多重化伝送の対象である複数個のコンテンツデータ(すなわち同一時間帯の複数個のチャンネルのコンテンツデータ)およびセクションデータ(番組表など)を記憶する。本発明の実施形態では、コンテンツデータは、映像データおよび音声データからなるものとする。映像データおよび音声データは、MPEG(Moving Picture Experts Group)−2規格にしたがってエンコードされているものとする。   The content storage unit 14 stores a plurality of content data to be multiplexed and transmitted (that is, content data of a plurality of channels in the same time zone) and section data (program guide etc.). In the embodiment of the present invention, the content data is assumed to consist of video data and audio data. It is assumed that video data and audio data are encoded in accordance with MPEG (Moving Picture Experts Group) -2 standard.

暗号処理部16は、暗号化を要するデータ、すなわち映像データおよび音声データをスクランブル鍵で暗号化する。すなわち、暗号処理部16は、暗号化を要するデータ、すなわち映像データまたは音声データの伝送用のTTSパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータをキーシーケンステーブルから抽出して、抽出したスクランブル鍵のデータで、コンテンツ記憶部14内の映像データのうちのそのTTSパケットで伝送するデータ、またはコンテンツ記憶部14内の音声データのうちのそのTTSパケットで伝送するデータを暗号化する。   The encryption processing unit 16 encrypts data that requires encryption, that is, video data and audio data with a scramble key. That is, the encryption processing unit 16 extracts the scramble key data corresponding to the time stamp included in the TTS packet for transmission of data that requires encryption, that is, video data or audio data, from the key sequence table. The data transmitted by the TTS packet in the video data in the content storage unit 14 or the data transmitted by the TTS packet in the audio data in the content storage unit 14 is encrypted with the key data.

図4は、TTSストリームの例を表わす図である。
図4を参照して、TTSストリームは、TTSパケットの連続で構成される。先頭の16個のTTSパケット、すなわち、タイムスタンプが0x0000_0000〜0x0000_000fのTTSパケットのペイロードには、キーシーケンステーブルが分割されて挿入される。それ以降のTTSパケット、すなわち、タイムスタンプが0x0000_0010以降のTTSパケットのペイロードには、多重化伝送の対象である複数のコンテンツデータ(すなわち同一時間帯の複数個のチャンネルのコンテンツデータ)およびセクションデータ(番組表など)が分割されて挿入される。ただし、コンテンツデータを構成する映像データおよび音声データは暗号化されて挿入される。
FIG. 4 is a diagram illustrating an example of a TTS stream.
Referring to FIG. 4, a TTS stream is composed of a series of TTS packets. The key sequence table is divided and inserted into the payload of the first 16 TTS packets, that is, the payloads of TTS packets having time stamps of 0x0000 — 0000 to 0x0000 — 000f. Subsequent TTS packets, that is, payloads of TTS packets having a time stamp of 0x0000_0010 or later, include a plurality of content data (that is, content data of a plurality of channels in the same time zone) and section data (to be multiplexed). Program guide etc.) are divided and inserted. However, the video data and audio data constituting the content data are encrypted and inserted.

送信部17は、生成されたTTSストリームを送信する。
(放送装置の動作)
図5は、放送装置の動作手順を表わすフローチャートである。
The transmission unit 17 transmits the generated TTS stream.
(Broadcaster operation)
FIG. 5 is a flowchart showing the operation procedure of the broadcasting apparatus.

図5を参照して、キーシーケンステーブル生成部12は、TTSパケットに付されるタイムスタンプに対応させてスクランブル鍵のデータを記述するキーシーケンステーブルを生成して、キーシーケンステーブル記憶部13に保存する(ステップS101)。   Referring to FIG. 5, key sequence table generation unit 12 generates a key sequence table that describes scramble key data in association with a time stamp attached to a TTS packet, and stores it in key sequence table storage unit 13. (Step S101).

ストリーム生成部15は、制御変数NTを0とする(ステップS102)。
ストリーム生成部15は、キーシーケンステーブル記憶部13内のキーシーケンステーブルのすべてのデータを読出していないときには(ステップS103でYES)、未読出し部分の先頭から184バイトのデータを読出す。ストリーム生成部15は、未読出し部分が184バイト未満の場合には、未読出し部分をすべて読出し、読出したデータの後をゼロパディングして、184バイトのデータを生成する(ステップS104)。
The stream generation unit 15 sets the control variable NT to 0 (step S102).
When the stream generation unit 15 has not read all the data in the key sequence table in the key sequence table storage unit 13 (YES in step S103), the stream generation unit 15 reads 184 bytes of data from the top of the unread portion. When the unread portion is less than 184 bytes, the stream generation unit 15 reads all the unread portions and zero-pads the read data to generate 184 bytes of data (step S104).

ストリーム生成部15は、キーシーケンステーブルのすべてのデータを読出している場合には(ステップS103でNO)、全ビットが0の184バイトのデータを生成する(ステップS105)。   When all the data in the key sequence table has been read (NO in step S103), the stream generation unit 15 generates 184 bytes of data with all bits set to 0 (step S105).

ストリーム生成部15は、キーシーケンステーブル伝送用のTTSパケットを生成する。すなわち、ストリーム生成部15は、タイムスタンプを制御変数NTとし、ヘッダ部分のPIDにキーシーケンステーブルを表わすIDとし、ペイロード部分を前述のように生成または読出した184バイトのデータとしたTTSパケットを生成する(ステップS106)。   The stream generation unit 15 generates a TTS packet for key sequence table transmission. That is, the stream generation unit 15 generates a TTS packet having the time stamp as a control variable NT, the header part PID as an ID representing a key sequence table, and the payload part as 184-byte data generated or read as described above. (Step S106).

送信部17は、生成されたTTSパケットを送信する(ステップS107)。
ストリーム生成部15は、制御変数NTを1だけインクリメントする(ステップS108)。
The transmission unit 17 transmits the generated TTS packet (step S107).
The stream generation unit 15 increments the control variable NT by 1 (step S108).

ストリーム生成部15は、制御変数NTが16未満のときには(ステップS109でNO)、ステップS103に戻り、制御変数NTが16以上のときには(ステップS109でYES)、ステップS110に進む。   When the control variable NT is less than 16 (NO in step S109), the stream generating unit 15 returns to step S103, and when the control variable NT is 16 or more (YES in step S109), the stream generating unit 15 proceeds to step S110.

次に、ストリーム生成部15は、コンテンツ記憶部14内の多重化伝送の対象の複数個のコンテンツデータおよびセクションデータのすべてを読出していないときには(ステップS110でYES)、コンテンツ記憶部14から所定の順序にしたがって、多重化伝送の対象である複数個のコンテンツデータ(映像データおよび音声データ)またはセクションデータのいずれかの未読出しデータを読出す。すなわち、ストリーム生成部15は、セクションデータの未読出し部分の先頭から184バイトのデータ、映像データの未読出し部分の先頭から184バイトのデータ、または音声データの未読出し部分の先頭から184バイトのデータを読出す。ストリーム生成部15は、未読出し部分が184バイト未満の場合には、未読出し部分をすべて読出し、読出したデータの後をゼロパディングして、184バイトのデータを生成する(ステップS111)。   Next, when the stream generation unit 15 has not read all of the plurality of content data and section data to be multiplexed and transmitted in the content storage unit 14 (YES in step S110), the stream generation unit 15 performs a predetermined process from the content storage unit 14. In accordance with the order, unread data of either a plurality of content data (video data and audio data) or section data to be multiplexed is read. That is, the stream generation unit 15 receives 184 bytes of data from the beginning of the unread portion of the section data, 184 bytes of data from the beginning of the unread portion of the video data, or 184 bytes of data from the beginning of the unread portion of the audio data. Read out. When the unread portion is less than 184 bytes, the stream generation unit 15 reads all the unread portions and zero-pads the read data to generate 184 bytes of data (step S111).

ストリーム生成部15は、前述のように読出しまたは生成したデータがセクションデータを含む場合は(ステップS112でYES)、セクションデータ伝送用のTTSパケットを生成する。すなわち、ストリーム生成部15は、タイムスタンプを制御変数NTとし、ヘッダ部分のPIDを読出したセクションデータの種類を表わすIDとし、ペイロード部分を前述のように生成または読出したデータとしたTTSパケットを生成する(ステップS113)。   When the data read or generated as described above includes section data (YES in step S112), the stream generation unit 15 generates a TTS packet for section data transmission. That is, the stream generation unit 15 generates a TTS packet having the time stamp as the control variable NT, the header part PID as the ID indicating the type of the section data read out, and the payload part as the data generated or read out as described above. (Step S113).

ストリーム生成部15は、読出したデータが映像データを含む場合には(ステップS112でNO、ステップS114でYES)、キーシーケンステーブルを参照して、制御変数NTに対応するスクランブル鍵のデータを抽出し(ステップS115)、暗号処理部16を指示して、抽出したスクランブル鍵のデータで、読出した映像データを暗号化させる(ステップS116)。   When the read data includes video data (NO in step S112, YES in step S114), the stream generation unit 15 refers to the key sequence table and extracts the scramble key data corresponding to the control variable NT. (Step S115) The encryption processing unit 16 is instructed to encrypt the read video data with the extracted scramble key data (Step S116).

次に、ストリーム生成部15は、映像データ伝送用のTTSパケットを生成する。すなわち、ストリーム生成部15は、タイムスタンプを制御変数NTとし、ヘッダ部分のPIDを読出した映像データの種類(チャンネルと映像を表わす)を表すIDとし、ペイロード部分を暗号化した映像データとしたTTSパケットを生成する(ステップS117)。   Next, the stream generation unit 15 generates a TTS packet for video data transmission. That is, the stream generation unit 15 sets the time stamp as the control variable NT, the PID of the header portion as the ID indicating the type of the read video data (representing the channel and video), and the TTS as the video data obtained by encrypting the payload portion. A packet is generated (step S117).

ストリーム生成部15は、読出したデータが音声データを含む場合には(ステップS114でNO)、キーシーケンステーブルを参照して、制御変数NTに対応するスクランブル鍵のデータを抽出し(ステップS118)、暗号処理部16を指示して、抽出したスクランブル鍵のデータで、読出した音声データを暗号化させる(ステップS119)。   When the read data includes audio data (NO in step S114), the stream generation unit 15 refers to the key sequence table and extracts scramble key data corresponding to the control variable NT (step S118). The encryption processing unit 16 is instructed to encrypt the read voice data with the extracted scramble key data (step S119).

次に、ストリーム生成部15は、音声データ伝送用のTTSパケットを生成する。すなわち、ストリーム生成部15は、タイムスタンプを制御変数NTとし、ヘッダ部分のPIDを読出した音声データの種類(チャンネルと音声を表わす)を表すIDとし、ペイロード部分を暗号化した音声データとしたTTSパケットを生成する(ステップS120)。   Next, the stream generation unit 15 generates a TTS packet for audio data transmission. That is, the stream generation unit 15 uses the time stamp as the control variable NT, the PID of the header part as the ID indicating the type of audio data (representing the channel and audio), and the payload part as the encrypted audio data TTS. A packet is generated (step S120).

ステップS113、S117、S120の後、送信部17は、生成されたTTSパケットを送信し、ステップS110に戻る(ステップS121)。   After steps S113, S117, and S120, the transmission unit 17 transmits the generated TTS packet and returns to step S110 (step S121).

ステップS110でNOのとき、すなわち、コンテンツ記憶部14内の多重化伝送の対象に属するコンテンツデータおよびセクションデータのすべてを読出しているときには、終了する。   If NO in step S110, that is, if all the content data and section data belonging to the multiplex transmission target in the content storage unit 14 have been read, the process ends.

(放送受信装置の構成)
図6は、本発明の実施形態に係る放送受信装置の機能ブロック図である。
(Configuration of broadcast receiver)
FIG. 6 is a functional block diagram of the broadcast receiving apparatus according to the embodiment of the present invention.

図6を参照して、この放送受信装置20は、受信部21と、TTSデコーダ22と、キーシーケンステーブル処理部23と、キーシーケンステーブル記憶部24と、セクション処理部25と、暗号復号化処理部26と、映像デコーダ27と、音声デコーダ29と、映像再生部28と、音声再生部30とを備える。   Referring to FIG. 6, this broadcast receiving apparatus 20 includes a receiving unit 21, a TTS decoder 22, a key sequence table processing unit 23, a key sequence table storage unit 24, a section processing unit 25, and an encryption / decryption process. Unit 26, video decoder 27, audio decoder 29, video playback unit 28, and audio playback unit 30.

受信部21は、TTSパケットが連続して構成されるTTSストリームを受信する。
TTSデコーダ22は、通常の再生のときには、順次受信したTTSパケットについて、ジャンプ指定があったときにはジャンプ先のTTSパケット以降に順次受信したTTSパケットについてその種類を調べる。TTSデコーダ22は、キーシーケンステーブル伝送用のTTSパケットをキーシーケンステーブル処理部23に出力し、TTSパケットが暗号化データ伝送用のTTSパケットを暗号復号化処理部26に出力し、セクションデータ伝送用のTTSパケットをセクション処理部25に出力する。
The receiving unit 21 receives a TTS stream composed of continuous TTS packets.
The TTS decoder 22 checks the type of sequentially received TTS packets during normal reproduction, and the type of TTS packets sequentially received after the jump destination TTS packet when a jump is designated. The TTS decoder 22 outputs a TTS packet for key sequence table transmission to the key sequence table processing unit 23, and the TTS packet outputs a TTS packet for encrypted data transmission to the encryption / decryption processing unit 26 for section data transmission. Are output to the section processing unit 25.

キーシーケンステーブル処理部23は、TTSデコーダ22からキーシーケンステーブル伝送用のTTSパケットを受けると、そのTTSパケットのペイロード部分のデータを抽出してキーシーケンステーブルを構築して、キーシーケンステーブル記憶部24に保存する。   When the key sequence table processing unit 23 receives the TTS packet for key sequence table transmission from the TTS decoder 22, the key sequence table processing unit 23 extracts the data of the payload part of the TTS packet to construct the key sequence table, and the key sequence table storage unit 24 Save to.

キーシーケンステーブル記憶部24は、キーシーケンステーブル処理部23で構築されたキーシーケンステーブルを記憶する。   The key sequence table storage unit 24 stores the key sequence table constructed by the key sequence table processing unit 23.

セクション処理部25は、TTSデコーダ22からセクションデータ伝送用のTTSパケットを受けると、そのTTSパケットのペイロード部分のデータを抽出してセクションデータを構築して、セクションデータに基づく各種の処理、たとえば番組表の表示などを行なう。   When the section processing unit 25 receives a TTS packet for section data transmission from the TTS decoder 22, the section processing unit 25 extracts the data of the payload portion of the TTS packet to construct section data, and performs various processes based on the section data, for example, a program Display the table.

暗号復号化処理部26は、TTSデコーダ22から暗号化データ伝送用のTTSパケットを受けると、そのTTSパケットのタイムスタンプに対応するスクランブル鍵のデータをキーシーケンステーブルから抽出し、抽出したスクランブル鍵のデータでそのTTSパケットのペイロード部分のデータを復号する。暗号復号化処理部26は、ジャンプ指定があると、TTSデコーダ22からジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットを受けて、そのTTSパケットを復号開始パケットとして、復号を実行する。   When receiving the TTS packet for encrypted data transmission from the TTS decoder 22, the encryption / decryption processing unit 26 extracts the scramble key data corresponding to the time stamp of the TTS packet from the key sequence table, and the extracted scramble key The data of the payload part of the TTS packet is decoded with the data. When there is a jump specification, the encryption / decryption processing unit 26 receives a TTS packet for encrypted data transmission immediately after the jump-target TTS packet from the TTS decoder 22, and executes decryption using the TTS packet as a decryption start packet. To do.

映像デコーダ27は、MPEG2規格にしたがって映像データをデコードする。
音声デコーダ29は、MPEG2規格にしたがって音声データをデコードする。
The video decoder 27 decodes video data according to the MPEG2 standard.
The audio decoder 29 decodes audio data in accordance with the MPEG2 standard.

映像再生部28は、デコードされた映像データを再生する。
音声再生部30は、デコードされた音声データを再生する。
The video playback unit 28 plays back the decoded video data.
The audio reproducing unit 30 reproduces the decoded audio data.

(放送受信装置の動作)
図7は、放送受信装置のTTSストリームの受信処理の動作手順を表わすフローチャートである。
(Broadcast receiver operation)
FIG. 7 is a flowchart showing an operation procedure of TTS stream reception processing of the broadcast receiving apparatus.

まず、受信部21は、TTSパケットが連続して構成されるTTSストリームを受信する(ステップS201)。   First, the reception unit 21 receives a TTS stream composed of continuous TTS packets (step S201).

TTSデコーダ22は、通常の再生のときには、順次受信したTTSパケットについて、ジャンプ指定があったときにはジャンプ先のTTSパケット以降に順次受信したTTSパケットについてその種類を調べる。   The TTS decoder 22 checks the type of sequentially received TTS packets during normal reproduction, and the type of TTS packets sequentially received after the jump destination TTS packet when a jump is designated.

TTSデコーダ22は、TTSパケットがキーシーケンステーブル伝送用のパケットの場合、すなわち、TTSパケットのタイムスタンプが(0x0000_0000〜0x0000_000f)の場合に(ステップS202でYES)、TTSパケットをキーシーケンステーブル処理部23に出力する(ステップS203)。   When the TTS packet is a key sequence table transmission packet, that is, when the time stamp of the TTS packet is (0x0000 — 0000 to 0x0000 — 000f) (YES in step S202), the TTS decoder 22 transmits the TTS packet to the key sequence table processing unit 23. (Step S203).

次に、キーシーケンステーブル処理部23は、TTSパケットのペイロード部分のデータを抽出してキーシーケンステーブルを構築して、キーシーケンステーブル記憶部24に保存する(ステップS204)。   Next, the key sequence table processing unit 23 extracts the data of the payload part of the TTS packet, constructs a key sequence table, and stores it in the key sequence table storage unit 24 (step S204).

一方、TTSデコーダ22は、TTSパケットが暗号化データ(映像データおよび音声データ)伝送用のパケットの場合、すなわち、TTSパケットのタイムスタンプが(0x0000_0010〜)の場合で(ステップS202でNO)、かつTTSヘッダのPIDが指定されたチャンネルの映像データまたは音声データに対応する場合には(ステップS205でYES)、TTSパケットを暗号復号化処理部26に出力する(ステップS206)。   On the other hand, when the TTS packet is a packet for transmitting encrypted data (video data and audio data), that is, when the time stamp of the TTS packet is (0x0000 — 0010−) (NO in step S202), the TTS decoder 22 If the PID of the TTS header corresponds to the video data or audio data of the designated channel (YES in step S205), the TTS packet is output to the encryption / decryption processing unit 26 (step S206).

次に、暗号化復号処理部は、TTSデコーダ22から出力されたTTSパケットのタイムスタンプに対応するスクランブル鍵のデータをキーシーケンステーブルから抽出し(ステップS207)、抽出したスクランブル鍵のデータでTTSパケットのペイロード部分のデータを復号して、映像データの場合には映像デコーダ27に出力し、音声データの場合には音声デコーダに出力する(ステップS208)。   Next, the encryption / decryption processing unit extracts the scramble key data corresponding to the time stamp of the TTS packet output from the TTS decoder 22 from the key sequence table (step S207), and uses the extracted scramble key data as a TTS packet. In the case of video data, it is output to the video decoder 27, and in the case of audio data, it is output to the audio decoder (step S208).

復号されたデータが映像データの場合には(ステップS209でYES)、映像デコーダ27は、暗号復号処理部から出力される映像データをデコードして、映像再生部28に出力する(ステップS210)。   If the decrypted data is video data (YES in step S209), the video decoder 27 decodes the video data output from the encryption / decryption processing unit and outputs the decoded video data to the video playback unit 28 (step S210).

次に、映像再生部28は、映像デコーダ27から出力されるデータから映像データを構築して、映像データを再生する(ステップS211)。   Next, the video reproduction unit 28 constructs video data from the data output from the video decoder 27 and reproduces the video data (step S211).

復号されたデータが音声データの場合には(ステップS209でNO)、音声デコーダ29は、暗号復号処理部から出力される音声データをデコードして、音声再生部30に出力する(ステップS212)。   If the decrypted data is audio data (NO in step S209), the audio decoder 29 decodes the audio data output from the encryption / decryption processing unit and outputs it to the audio reproduction unit 30 (step S212).

次に、音声再生部30は、音声デコーダ29から出力されるデータから音声データを構築して、音声データを再生する(ステップS213)。   Next, the audio reproducing unit 30 constructs audio data from the data output from the audio decoder 29, and reproduces the audio data (step S213).

また、TTSデコーダ22は、TTSパケットがセクションデータ伝送用のパケットの場合、すなわち、TTSパケットのタイムスタンプが(0x0000_0010〜)の場合で(ステップS202でNO)、かつTTSヘッダのPIDがセクションデータに対応する場合には(ステップS205でNO)、TTSパケットをセクション処理部25に出する(ステップS214)。   Further, the TTS decoder 22 determines that the TTS packet is a packet for section data transmission, that is, when the time stamp of the TTS packet is (0x0000 — 0010−) (NO in step S202), and the PID of the TTS header is converted to the section data. If it corresponds (NO in step S205), the TTS packet is output to the section processing unit 25 (step S214).

次に、セクション処理部25は、TTSパケットのペイロード部分のデータを抽出してセクションデータを構築して、セクションデータに基づく各種の処理、たとえば番組表の表示などを行なう(ステップS215)。   Next, the section processing unit 25 extracts the data of the payload portion of the TTS packet to construct section data, and performs various processes based on the section data, for example, display of a program guide (step S215).

ステップS204、S211、S213およびS215の後、受信したTTSストリームのうち、未処理のTTSパケットがある場合(ステップS216でYES)、ステップS202に戻る。   After steps S204, S211, S213, and S215, if there is an unprocessed TTS packet in the received TTS stream (YES in step S216), the process returns to step S202.

(具体例)
図8は、本発明の実施形態の伝送方式におけるジャンプ時の動作を説明するための図である。
(Concrete example)
FIG. 8 is a diagram for explaining an operation at the time of a jump in the transmission method according to the embodiment of the present invention.

図8を参照して、放送受信装置において、タイムスタンプが0x0000_0102であるTTSパケットを復号して再生している時に(図のt1)、チャンネル切替えによって、タイムスタンプが0x0000_0105であるTTSパケット(図のt2)にジャンプしたとする。   Referring to FIG. 8, when a broadcast receiving apparatus decodes and reproduces a TTS packet with a time stamp of 0x0000 — 0102 (t1 in the figure), a TTS packet with a time stamp of 0x0000 — 0105 (in the figure) is switched by channel switching. It is assumed that a jump is made to t2).

放送受信装置は、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットを受信すると、そのTTSパケットのタイムスタンプが0x0000_0106であるのがわかり、放送受信装置は、タイムスタンプが0x0000_0106に対応するスクランブル鍵のデータをキーシーケンステーブルから抽出する。そして、放送受信装置は、抽出したスクランブル鍵でTTSパケットのペイロードを復号する。   When the broadcast receiving apparatus receives the TTS packet for encrypted data transmission immediately after the jump destination TTS packet, the broadcast receiving apparatus recognizes that the time stamp of the TTS packet is 0x0000 — 0106, and the broadcast receiving apparatus corresponds to the time stamp of 0x0000 — 0106. The scramble key data to be extracted is extracted from the key sequence table. Then, the broadcast receiving apparatus decrypts the payload of the TTS packet with the extracted scramble key.

このように、本発明の実施形態では、チャンネル切替えなどによって別のコンテンツにジャンプしたときには、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットのタイムスタンプからキーシーケンステーブルを用いて、その直後の暗号化データ伝送用のTTSパケットのペイロードを暗号化したスクランブル鍵のデータを抽出できるので、その直後の暗号化データ伝送用のTTSパケットから復号ができ、ユーザは待ち時間を感じることなくジャンプ先のコンテンツを視聴することができる。これにより、従来のように最大1秒間(ECMが挿入される間隔)も待たないとジャンプ先のコンテンツが視聴できないという問題を回避することができる。   As described above, in the embodiment of the present invention, when jumping to another content by channel switching or the like, the key sequence table is used from the time stamp of the encrypted data transmission TTS packet immediately after the jump destination TTS packet. Since the scramble key data obtained by encrypting the payload of the encrypted data transmission TTS packet immediately after that can be extracted, the encrypted data transmission TTS packet immediately after that can be decrypted, and the user does not feel the waiting time. You can watch the content of the jump destination. As a result, it is possible to avoid the problem that the content at the jump destination cannot be viewed unless waiting for a maximum of 1 second (interval at which ECM is inserted) as in the prior art.

(変形例)
本発明は、上記実施の形態に限定されるものではなく、たとえば、以下の変形例も包含する。
(Modification)
The present invention is not limited to the above embodiment, and includes, for example, the following modifications.

(1) キーシーケンステーブルについて
本発明の実施形態では、放送装置は、まず、スクランブル鍵のデータを含むキーシーケンステーブルを生成して、暗号化を行なう際に、キーシーケンステーブルからスクランブル鍵のデータを抽出したが、これに限定するものではない。
(1) About Key Sequence Table In the embodiment of the present invention, the broadcasting device first generates a key sequence table including scramble key data, and then encrypts the scramble key data from the key sequence table when performing encryption. Although extracted, it is not limited to this.

放送装置は、タイムスタンプとスクランブル鍵との対応のみを定めたテーブルを作成し(あるいは予め作成されたものを記憶しておき)、暗号化を行なう際に、このテーブルに基づいてスクランブル鍵を特定して、特定したスクランブル鍵のデータをスクランブル鍵記憶部から読出すものとしてもよい。   The broadcasting device creates a table that defines only the correspondence between the time stamp and the scramble key (or stores the table created in advance), and specifies the scramble key based on this table when performing encryption. The specified scramble key data may be read from the scramble key storage unit.

(2) タイムスタンプについて
本発明の実施形態では、TTSパケットのタイムスタンプは、後続のものほど1ずつ増加するようにしたが、これに限定するものではなく、タイムスタンプとスクランブル鍵との対応を定めたテーブルを伝送しさえすれば、タイムスタンプはどのようなものであってもよい。したがって、増加させる数は、任意の数でもよく、変化するものであってもよい。あるいは後続のものほど減少するものであってもよい。
(2) Time stamp In the embodiment of the present invention, the time stamp of a TTS packet is incremented by one as the subsequent one is not limited to this, and the correspondence between the time stamp and the scramble key is not limited to this. Any time stamp may be used as long as a predetermined table is transmitted. Therefore, the number to be increased may be an arbitrary number or may vary. Or it may decrease as the subsequent ones decrease.

(3) TTSパケットについて
本発明の実施形態では、伝送するパケットは、TSパケットの先頭にタイムスタンプを付したパケットとしたが、これに限定するものではなく、タイムスタンプを含むパケットであればよい。ただし、ジャンプ時の視聴待ち時間を従来よりも少なくするため、パケットのサイズが大きすぎないようにする必要がある。具体的には、従来よりもジャンプ時の待ち時間を少なくするために、パケットの伝送時間=(パケットのサイズ/伝送速度)が1秒を超えないようなパケットのサイズにする必要がある。
(3) TTS packet In the embodiment of the present invention, the packet to be transmitted is a packet with a time stamp added to the beginning of the TS packet. However, the present invention is not limited to this, and any packet including a time stamp may be used. . However, it is necessary to prevent the packet size from being too large in order to reduce the waiting time for viewing at the time of jumping. Specifically, in order to reduce the waiting time at the time of jumping as compared with the prior art, it is necessary to set the packet size such that the packet transmission time = (packet size / transmission speed) does not exceed 1 second.

(4) 番組内ジャンプについて
本発明の実施形態では、チャンネルの切替えによって番組間ジャンプが生じた場合について説明したが、番組内のジャンプが生じた場合についても同様の方法で復号処理を行なうことができる。
(4) Intra-program jump In the embodiment of the present invention, the case where an inter-program jump occurs due to channel switching has been described. However, a decoding process can also be performed in the same way when a intra-program jump occurs. it can.

(5) キーシーケンステーブルからのスクランブル鍵の抽出について
本発明の実施形態では、ジャンプ処理時には、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットを受信して(つまりジャンプした後)、そのTTSパケットのタイムスタンプを調べて、そのタイムスタンプに対応するスクランブル鍵のデータをキーシーケンステーブルから抽出し、抽出したスクランブル鍵で受信したTTSパケットのペイロードを復号したが、これに限定するものではない。たとえば時間を指定した番組内ジャンプなどでは、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットのタイムスタンプが算出できることもあるので、このような場合には、ジャンプ前にキーシーケンステーブルからスクランブル鍵のデータを抽出してもよい。
(5) Extraction of scramble key from key sequence table In the embodiment of the present invention, at the time of jump processing, a TTS packet for encrypted data transmission immediately after the jump destination TTS packet is received (that is, after jumping). The time stamp of the TTS packet is examined, the scramble key data corresponding to the time stamp is extracted from the key sequence table, and the payload of the received TTS packet is decrypted with the extracted scramble key. is not. For example, in a program jump in which time is specified, the time stamp of the TTS packet for encrypted data transmission immediately after the jump destination TTS packet may be calculated. In such a case, the key sequence table before the jump is calculated. The scramble key data may be extracted from.

すなわち、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットのタイムスタンプを算出できるような場合には、キーシーケンステーブルから算出したタイムスタンプに対応するスクランブル鍵のデータを抽出してから、ジャンプ先のTTSパケットの直後の暗号化データ伝送用のTTSパケットを受信して(つまりジャンプした後)、抽出したスクランブル鍵でTTSパケットのペイロードを復号するものとしてもよい。   That is, when the time stamp of the TTS packet for encrypted data transmission immediately after the jump destination TTS packet can be calculated, the scramble key data corresponding to the time stamp calculated from the key sequence table is extracted. Alternatively, the encrypted data transmission TTS packet immediately after the jump destination TTS packet may be received (that is, after jumping), and the payload of the TTS packet may be decrypted with the extracted scramble key.

(6) キーシーケンステーブルの繰返し送信について
本発明の実施形態では、ストリーム内の先頭の16個のTSパケットでキーシーケンステーブルを伝送することによって、コンテンツデータの伝送前にキーシーケンステーブルを伝送することにしたが、キーシーケンステーブルを周期的、あるいはランダムにストリームに埋め込んで伝送するものとしてもよい。これによりコンテンツを途中から視聴することも可能となる。
(6) Repetitive transmission of key sequence table In the embodiment of the present invention, the key sequence table is transmitted before the content data is transmitted by transmitting the key sequence table with the first 16 TS packets in the stream. However, the key sequence table may be transmitted by being embedded in the stream periodically or randomly. As a result, the content can be viewed from the middle.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の実施形態に係る放送装置の機能ブロック図である。It is a functional block diagram of the broadcasting apparatus which concerns on embodiment of this invention. TTSパケットの構成を示す図である。It is a figure which shows the structure of a TTS packet. キーシーケンステーブルの例を表わす図である。It is a figure showing the example of a key sequence table. TTSストリームの例を表わす図である。It is a figure showing the example of a TTS stream. 放送装置の動作手順を表わすフローチャートである。It is a flowchart showing the operation | movement procedure of a broadcasting apparatus. 本発明の実施形態に係る放送受信装置の機能ブロック図である。It is a functional block diagram of the broadcast receiving apparatus which concerns on embodiment of this invention. 放送受信装置のTTSパケットの受信処理の動作手順を表わすフローチャートである。It is a flowchart showing the operation | movement procedure of the reception process of the TTS packet of a broadcast receiver. 本発明の実施形態の伝送方式におけるジャンプ時の動作を説明するための図である。It is a figure for demonstrating the operation | movement at the time of the jump in the transmission system of embodiment of this invention. 従来のデジタル放送で用いられている暗号化方式を説明するための図である。It is a figure for demonstrating the encryption system used by the conventional digital broadcasting. 従来のデジタル放送における暗号化された映像または音声データとECMの伝送方法を説明するための図である。It is a figure for demonstrating the transmission method of the image | video or audio | voice data and ECM which were encrypted in the conventional digital broadcasting. 従来のデジタル放送で用いられている暗号復号化方式を説明するための図である。It is a figure for demonstrating the encryption / decryption system used by the conventional digital broadcasting. 従来のデジタル放送の伝送方式におけるジャンプ時の問題点を説明するための図である。It is a figure for demonstrating the problem at the time of the jump in the transmission system of the conventional digital broadcast.

符号の説明Explanation of symbols

10 放送装置、11 スクランブル鍵記憶部、12 キーシーケンステーブル生成部、13 キーシーケンステーブル記憶部、14 コンテンツ記憶部、15 ストリーム生成部、16 暗号処理部、17 送信部、20 放送受信装置、21 受信部、22 TTSデコーダ、23 キーシーケンステーブル処理部、24 キーシーケンステーブル記憶部、25 セクション処理部、26 暗号復号化処理部、27 映像デコーダ、28 映像再生部、29 音声デコーダ、30 音声再生部。   DESCRIPTION OF SYMBOLS 10 Broadcast apparatus, 11 Scramble key memory | storage part, 12 Key sequence table production | generation part, 13 Key sequence table memory | storage part, 14 Content storage part, 15 Stream production | generation part, 16 Encryption processing part, 17 Transmission part, 20 Broadcast reception apparatus, 21 Reception Unit, 22 TTS decoder, 23 key sequence table processing unit, 24 key sequence table storage unit, 25 section processing unit, 26 encryption / decryption processing unit, 27 video decoder, 28 video playback unit, 29 audio decoder, 30 audio playback unit.

Claims (8)

タイムスタンプを含むパケットの連続で構成されるストリームを生成するストリーム生成部と、
前記タイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するテーブル生成部と、
暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを用いて前記暗号化データ伝送用のパケットで伝送するデータを暗号化する暗号処理部とを備え、
前記ストリーム生成部は、テーブル伝送用のパケットを暗号化データ伝送用のパケットよりも送信される時刻が先になるようなストリームを生成し、前記テーブル伝送用のパケットには前記テーブルのデータを含ませ、前記暗号化データ伝送用のパケットには、そのパケットで伝送するデータを前記暗号処理部で暗号化したデータを含ませる、放送装置。
A stream generation unit that generates a stream composed of a series of packets including a time stamp;
A table generation unit for generating a table describing scramble key data corresponding to the time stamp;
An encryption processing unit that encrypts data to be transmitted in the encrypted data transmission packet using scramble key data corresponding to a time stamp included in the encrypted data transmission packet;
The stream generation unit generates a stream such that a time for transmitting a packet for table transmission is earlier than a packet for encrypted data transmission, and the table transmission packet includes data of the table. However, the encrypted data transmission packet includes data obtained by encrypting data transmitted in the packet by the encryption processing unit.
前記パケットは、TSパケットの先頭に前記タイムスタンプを付したものである、請求項1記載の放送装置。   The broadcasting apparatus according to claim 1, wherein the packet is a TS packet with the time stamp added to a head thereof. タイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するステップと、
暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを用いて前記暗号化データ伝送用のパケットで伝送するデータを暗号化するステップとを含み、
前記タイムスタンプを含むパケットの連続で構成されるストリームを生成するストリーム生成ステップとを含み、
前記ストリーム生成ステップは、テーブル伝送用のパケットを暗号化データ伝送用のパケットよりも送信される時刻が先になるようなストリームを生成し、前記テーブル伝送用のパケットには前記テーブルのデータを含ませ、前記暗号化データ伝送用のパケットにはそのパケットで伝送するデータを暗号化したデータを含ませる、放送方法。
Generating a table describing scramble key data corresponding to a time stamp;
Encrypting data to be transmitted in the encrypted data transmission packet using scramble key data corresponding to a time stamp included in the encrypted data transmission packet,
A stream generation step of generating a stream composed of a series of packets including the time stamp,
The stream generation step generates a stream in which a packet for table transmission is transmitted earlier than a packet for encrypted data transmission, and the table transmission packet includes the data of the table. A broadcast method in which the encrypted data transmission packet includes data obtained by encrypting data transmitted in the packet.
前記パケットは、TSパケットの先頭に前記タイムスタンプを付したものである、請求項3記載の放送方法。   The broadcasting method according to claim 3, wherein the packet is a TS packet with the time stamp added to a head thereof. タイムスタンプを含むパケットの連続で構成されるストリームを受信する受信部と、
受信したパケットがテーブル伝送用のパケットの場合に、前記テーブル伝送用のパケットのデータからタイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するテーブル処理部と、
受信したパケットが暗号化データ伝送用のパケットの場合に、前記暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを前記生成したテーブルから抽出して、前記抽出したスクランブル鍵のデータを用いて前記暗号化データ伝送用のパケットに含まれる暗号化されたデータを復号する暗号復号処理部とを備え、
前記暗号復号処理部は、ジャンプ指定があると、ジャンプ先のパケットの直後の暗号化データ伝送用のパケットをジャンプ後の復号開始パケットとし、前記復号を実行する、放送受信装置。
A receiving unit for receiving a stream composed of a series of packets including a time stamp;
When the received packet is a table transmission packet, a table processing unit that generates a table describing scramble key data corresponding to a time stamp from the data of the table transmission packet;
When the received packet is an encrypted data transmission packet, the scramble key data corresponding to the time stamp included in the encrypted data transmission packet is extracted from the generated table, and the extracted scramble key An encryption / decryption processing unit for decrypting encrypted data included in the packet for encrypted data transmission using the data of
When the jump designation is made, the encryption / decryption processing unit executes the decryption using the encrypted data transmission packet immediately after the jump destination packet as a decryption start packet after the jump.
前記パケットは、TSパケットの先頭に前記タイムスタンプを付したものである、請求項5記載の放送受信装置。   The broadcast receiving apparatus according to claim 5, wherein the packet is obtained by adding the time stamp to a head of a TS packet. タイムスタンプを含むパケットの連続で構成されるストリームを受信する受信ステップと、
受信したパケットがテーブル伝送用のパケットの場合に、前記テーブル伝送用のパケットのデータからタイムスタンプに対応させてスクランブル鍵のデータを記述したテーブルを生成するステップと、
受信したパケットが暗号化データ伝送用のパケットの場合に、前記暗号化データ伝送用のパケットに含まれるタイムスタンプに対応するスクランブル鍵のデータを前記生成したテーブルから抽出して、前記抽出したスクランブル鍵のデータを用いて前記暗号化データ伝送用のパケットに含まれる暗号化されたデータを復号する暗号復号処理ステップとを含み、
前記暗号復号処理ステップは、ジャンプ指定があると、ジャンプ先のパケットの直後の暗号化データ伝送用のパケットをジャンプ後の復号開始パケットとし、前記復号を実行する、放送受信方法。
A receiving step of receiving a stream composed of a series of packets including a time stamp;
When the received packet is a packet for table transmission, generating a table describing scramble key data in correspondence with a time stamp from the data of the table transmission packet;
When the received packet is an encrypted data transmission packet, the scramble key data corresponding to the time stamp included in the encrypted data transmission packet is extracted from the generated table, and the extracted scramble key And decrypting the encrypted data included in the packet for encrypted data transmission using the data of
The broadcast receiving method, wherein when the jump is designated, the encryption / decryption processing step uses the encrypted data transmission packet immediately after the jump destination packet as a decryption start packet after the jump, and executes the decryption.
前記パケットは、TSパケットの先頭に前記タイムスタンプを付したものである、請求項7記載の放送受信方法。   The broadcast receiving method according to claim 7, wherein the packet is obtained by adding the time stamp to a head of a TS packet.
JP2005192061A 2005-06-30 2005-06-30 Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method Pending JP2007013610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005192061A JP2007013610A (en) 2005-06-30 2005-06-30 Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005192061A JP2007013610A (en) 2005-06-30 2005-06-30 Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method

Publications (1)

Publication Number Publication Date
JP2007013610A true JP2007013610A (en) 2007-01-18

Family

ID=37751491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005192061A Pending JP2007013610A (en) 2005-06-30 2005-06-30 Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method

Country Status (1)

Country Link
JP (1) JP2007013610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234362A (en) * 2010-04-26 2011-11-17 Logiways France Method for sharing information ciphering/deciphering key, and key sharing system and access control system applying the same
JP2016116065A (en) * 2014-12-15 2016-06-23 日本放送協会 Receiver, transmitter, and method for receiving content

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002247547A (en) * 2000-12-15 2002-08-30 Matsushita Electric Ind Co Ltd Broadcasting device and receiver providing storage type service
JP2004179755A (en) * 2002-11-25 2004-06-24 Toshiba Corp Transmitter, receiver, and reception method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002247547A (en) * 2000-12-15 2002-08-30 Matsushita Electric Ind Co Ltd Broadcasting device and receiver providing storage type service
JP2004179755A (en) * 2002-11-25 2004-06-24 Toshiba Corp Transmitter, receiver, and reception method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234362A (en) * 2010-04-26 2011-11-17 Logiways France Method for sharing information ciphering/deciphering key, and key sharing system and access control system applying the same
JP2016116065A (en) * 2014-12-15 2016-06-23 日本放送協会 Receiver, transmitter, and method for receiving content

Similar Documents

Publication Publication Date Title
EP2018059A1 (en) Digital video broadcast receiver and method for decrypting of digital data streams
JP2009505516A (en) Protect elementary stream content
JPH11176091A (en) Digital information input output device, receiving device, recording device, and reproducing device
KR20100089228A (en) Method and apparatus for encrypting transport stream of multimedia content, method and apparatus for descrypting transport stream of multimedia content
US20060015750A1 (en) Storage of encrypted digital signals
JP2004088505A (en) Parallel stream encrypting/decrypting device, its method and parallel stream encrypting/decrypting program
US7287160B2 (en) Recording medium, reproducing device, and recording/reproducing device
JP2006203671A (en) Content encryption and decoding device, their method and their program
JP4291525B2 (en) Scramble method, transmission method, transmission device, and receiver
JP2005109861A (en) Encrypting device of transport stream, and editing device, and methods for them
JP2007013610A (en) Broadcasting device, broadcasting method, broadcasting receiver and broadcast receiving method
JP3995207B2 (en) Content transmission apparatus, content transmission method, content transmission program and content reproduction apparatus, content reproduction method, and content reproduction program
JP4794956B2 (en) Scrambler
JP2007288357A (en) Image reproduction device
JP2007311842A (en) Data stream radio transmitter, data stream radio receiver, radio transmission system, imaging apparatus, reproducing apparatus, and data stream radio transmission method and program
JP2007096896A (en) Broadcast recorder, broadcast recording and reproducing device and broadcast recording and reproduction program
JP7247036B2 (en) How to send digital content
JP5901438B2 (en) DIGITAL BROADCAST RECEIVING DEVICE, ITS PROGRAM, AND DIGITAL BROADCAST TRANSMITTING DEVICE
JP4115627B2 (en) Transmitter and receiver for conditional access system
JP7146702B2 (en) digital content transmitter
JP2001292432A (en) Limited reception control system
JP2005051514A (en) Information transmission system and method therefor
JP2003087736A (en) Recording medium, reproducing device, and recording and reproducing device
JP2004357171A (en) Data transmitter, data receiver and restricted receiving system
JPH08265723A (en) Scramble control method, scramble device and de-scramble device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100618

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101207