JP2022088741A - Scrambling device and scrambling method - Google Patents

Scrambling device and scrambling method Download PDF

Info

Publication number
JP2022088741A
JP2022088741A JP2020200728A JP2020200728A JP2022088741A JP 2022088741 A JP2022088741 A JP 2022088741A JP 2020200728 A JP2020200728 A JP 2020200728A JP 2020200728 A JP2020200728 A JP 2020200728A JP 2022088741 A JP2022088741 A JP 2022088741A
Authority
JP
Japan
Prior art keywords
ecm
key
scramble
unit
content information
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
JP2020200728A
Other languages
Japanese (ja)
Inventor
拓真 池田
Takuma Ikeda
昌也 岩本
Masaya Iwamoto
正寿 山田
Masatoshi Yamada
真二 浅井
Shinji Asai
光晴 海野
Mitsuharu Unno
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2020200728A priority Critical patent/JP2022088741A/en
Publication of JP2022088741A publication Critical patent/JP2022088741A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide a scrambling device to encrypt content information using an ECM generated in an external device, in which an ECM and the content information can be output according to standards for a CAS (Conditional Access System).SOLUTION: A scrambling device 101 includes: a scrambling section which receives an ECM (Entitlement Control Message) including a scramble key, the ECM being sent repeatedly from an ECM transmitter, and encrypts content information using the scramble key included in the ECM; and an output section which outputs the content information encrypted by the scrambling section and the ECM including the scramble key on the scrambling section. That is used to encrypt the content information in the scrambling section. The output section outputs the ECM at timing delayed by predetermined time from output timing of the content information encrypted by using the corresponding scramble key.SELECTED DRAWING: Figure 4

Description

本開示は、スクランブル装置およびスクランブル方法に関する。 The present disclosure relates to scrambling devices and scrambling methods.

従来、デジタル放送により配信されるコンテンツを管理するためのCAS(Conditional Access System)に関する技術が開発されている。 Conventionally, a technique related to CAS (Conditional Access System) for managing contents distributed by digital broadcasting has been developed.

たとえば、JLabs SPEC-035 2.1版、“高度ケーブル自主放送運用仕様”、一般社団法人 日本ケーブルラボ(Japan Cable Laboratories)、2018年12月25日(非特許文献1)には、CASに関する各種規格が開示されている。すなわち、非特許文献1には、ECM(Entitlement Control Message)が適用されるES(Elementary Stream)のスクランブル鍵が変更される場合には、スクランブル鍵の変更に先だってECMが更新される旨が開示されている。また、非特許文献1には、スクランブル鍵の変更において、偶数鍵から奇数鍵、そして奇数鍵から偶数鍵の順に変更され、同一鍵が続けて変更されることはない旨が開示されている。 For example, JLabs SPEC-035 2.1 version, "Advanced Cable Voluntary Broadcasting Operation Specifications", Japan Cable Laboratories, December 25, 2018 (Non-Patent Document 1), various matters related to CAS. The standard is disclosed. That is, Non-Patent Document 1 discloses that when the scramble key of the ES (Elementary Stream) to which the ECM (Entility Control Message) is applied is changed, the ECM is updated prior to the change of the scramble key. ing. Further, Non-Patent Document 1 discloses that when the scramble key is changed, the even key is changed to the odd key, and the odd key is changed to the even key in this order, and the same key is not continuously changed.

JLabs SPEC-035 2.1版、“高度ケーブル自主放送運用仕様”、一般社団法人 日本ケーブルラボ(Japan Cable Laboratories)、2018年12月25日JLabs SPEC-035 2.1 Edition, "Advanced Cable Voluntary Broadcasting Operation Specifications", Japan Cable Laboratories, December 25, 2018

外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことが可能な技術が望まれる。 In a scramble device that encrypts content information using an ECM generated in an external device, a technique capable of outputting the ECM and the content information in accordance with the standards related to CAS is desired.

本開示は、上述の課題を解決するためになされたもので、その目的は、外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことが可能なスクランブル装置およびスクランブル方法を提供することである。 The present disclosure has been made to solve the above-mentioned problems, and an object thereof is a scramble device for encrypting content information using an ECM generated in an external device, in which the ECM and the content information are in accordance with the standards related to CAS. It is to provide a scrambling device and a scrambling method capable of producing an output.

本開示のスクランブル装置は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するECM管理部と、前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部とを備え、前記出力部は、前記ECMを、対応する前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力する。 The scramble device of the present disclosure is a scramble device that receives ECM including a scramble key and encrypts content information repeatedly transmitted from the ECM transmission device, and the ECM is an even key and an odd key as the scramble key. The even key and the odd key are updated alternately, and the ECM management unit that receives the ECM and the scramble key included in the ECM received by the ECM management unit are used. A scramble unit that encrypts the content information, the content information encrypted by the scramble unit, and an output unit that outputs the ECM including the scramble key used for encrypting the content information in the scramble unit. The output unit outputs the ECM at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key.

本開示のスクランブル装置は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するECM管理部と、前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部と、前記スクランブル鍵が更新される周期である更新周期を示す周期情報を取得する取得部とを備え、前記ECM管理部は、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、前記スクランブル部は、前記ECM管理部により前記スクランブル鍵の更新が検知されたタイミングから、前記取得部により取得された前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間が経過したタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える。 The scramble device of the present disclosure is a scramble device that receives ECM including a scramble key and encrypts content information repeatedly transmitted from the ECM transmission device, and the ECM is an even key and an odd key as the scramble key. The even key and the odd key are updated alternately by using the ECM management unit that receives the ECM and the scramble key included in the ECM received by the ECM management unit. A scramble unit that encrypts the content information, the content information encrypted by the scramble unit, and an output unit that outputs the ECM including the scramble key used for encrypting the content information in the scramble unit. The ECM management unit detects the update of the scramble key included in the received ECM, and includes an acquisition unit for acquiring cycle information indicating an update cycle, which is a cycle in which the scramble key is updated. The unit is encrypted at the timing when the time obtained by subtracting the predetermined time from the update cycle indicated by the cycle information acquired by the acquisition unit has elapsed from the timing when the update of the scramble key is detected by the ECM management unit. The scramble key used for encryption is switched between the even key and the odd key.

本開示のスクランブル方法は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置におけるスクランブル方法であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するステップと、受信した前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化し、暗号化した前記コンテンツ情報、および前記コンテンツ情報の暗号化に用いた前記スクランブル鍵を含む前記ECMを出力するステップとを含み、前記コンテンツ情報および前記ECMを出力するステップにおいては、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える切替タイミングと、出力する前記ECMにおける前記スクランブル鍵の更新タイミングとの相対的な時間差を作ることにより、同じ前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力が継続する期間である同一暗号化期間を、前記同一暗号化期間において出力する前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵である使用鍵を含む前記ECMにおける、前記使用鍵とは異なる前記スクランブル鍵の前記更新タイミングよりも所定時間前から始める。 The scramble method of the present disclosure is a scramble method in a scramble device that repeatedly transmits an ECM including a scramble key and encrypts content information, and the ECM is an even key as the scramble key. And the odd key, the even key and the odd key are updated alternately, and the content information is encrypted using the step of receiving the ECM and the scramble key included in the received ECM. Including the step of outputting the ECM including the encrypted content information and the scramble key used for encrypting the content information, the step of outputting the content information and the ECM is used for encryption. Encryption using the same scramble key by creating a relative time difference between the switching timing for switching the scramble key between the even key and the odd key and the update timing of the scramble key in the output ECM. The same encryption period, which is the period during which the output of the content information is continued, is included in the ECM including the key used, which is the scramble key used for encrypting the content information to be output in the same encryption period. It starts from a predetermined time before the update timing of the scramble key different from the used key.

本開示の一態様は、このような特徴的な処理部を備えるスクランブル装置として実現され得るだけでなく、スクランブル装置の一部または全部を実現する半導体集積回路として実現され得たり、スクランブル装置における処理のステップをコンピュータに実行させるためのプログラムとして実現され得たり、スクランブル装置を備える放送システムとして実現され得たり、放送システムの一部または全部を実現する半導体集積回路として実現され得たり、放送システムにおける処理をステップとする方法として実現され得たり、放送システムにおける処理のステップをコンピュータに実行させるためのプログラムとして実現され得る。 One aspect of the present disclosure can be realized not only as a scramble device provided with such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes a part or all of the scramble device, or a process in the scramble device. Can be realized as a program for executing the steps of It can be realized as a method in which processing is a step, or it can be realized as a program for causing a computer to execute a processing step in a broadcasting system.

本開示によれば、外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことができる。 According to the present disclosure, in a scramble device that encrypts content information using an ECM generated in an external device, the ECM and the content information can be output in accordance with the standards related to CAS.

図1は、本開示の第1の実施の形態に係る放送システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a broadcasting system according to the first embodiment of the present disclosure. 図2は、本開示の第1の実施の形態に係るECM送信装置により送信されるECMに含まれるスクランブル鍵の一例を示す図である。FIG. 2 is a diagram showing an example of a scramble key included in the ECM transmitted by the ECM transmission device according to the first embodiment of the present disclosure. 図3は、本開示の第1の実施の形態に係る放送システムにおけるTSパケットのフォーマットを示す図である。FIG. 3 is a diagram showing a format of TS packets in the broadcasting system according to the first embodiment of the present disclosure. 図4は、本開示の第1の実施の形態に係るスクランブル装置の構成を示す図である。FIG. 4 is a diagram showing a configuration of a scrambler according to the first embodiment of the present disclosure. 図5は、本開示の第1の実施の形態に係るスクランブル装置におけるECM検出部によるフォーマット変換の一例を示す図である。FIG. 5 is a diagram showing an example of format conversion by the ECM detection unit in the scrambler according to the first embodiment of the present disclosure. 図6は、本開示の第1の実施の形態に係る放送システムにおけるセクションデータのフォーマットを示す図である。FIG. 6 is a diagram showing the format of section data in the broadcasting system according to the first embodiment of the present disclosure. 図7は、本開示の第1の実施の形態に係るスクランブル装置におけるスクランブル部がTSパケットの暗号化に用いるスクランブル鍵を示す図である。FIG. 7 is a diagram showing a scramble key used by the scramble unit in the scramble device according to the first embodiment of the present disclosure to encrypt a TS packet. 図8は、本開示の第1の実施の形態に係るスクランブル装置において受信および送信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。FIG. 8 is a diagram showing an example of a timing chart showing the update timing of the scramble key received and transmitted in the scramble device according to the first embodiment of the present disclosure and the scramble key used for encrypting the content information. 図9は、本開示の第1の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。FIG. 9 is a flowchart defining an example of an operation procedure when the scramble device according to the first embodiment of the present disclosure performs scrambling processing. 図10は、本開示の第1の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。FIG. 10 is a flowchart defining an example of an operation procedure when the scramble device according to the first embodiment of the present disclosure performs scrambling processing. 図11は、本開示の第2の実施の形態に係るスクランブル装置の構成を示す図である。FIG. 11 is a diagram showing a configuration of a scrambler according to a second embodiment of the present disclosure. 図12は、本開示の第2の実施の形態に係るスクランブル装置において受信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。FIG. 12 is a diagram showing an example of a timing chart showing the update timing of the scramble key received in the scramble device according to the second embodiment of the present disclosure and the scramble key used for encrypting the content information. 図13は、本開示の第2の実施の形態に係るスクランブル装置において受信および送信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。FIG. 13 is a diagram showing an example of a timing chart showing the update timing of the scramble key received and transmitted in the scramble device according to the second embodiment of the present disclosure and the scramble key used for encrypting the content information. 図14は、本開示の第2の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。FIG. 14 is a flowchart defining an example of an operation procedure when the scramble device according to the second embodiment of the present disclosure performs scrambling processing.

最初に、本開示の実施形態の内容を列記して説明する。 First, the contents of the embodiments of the present disclosure will be listed and described.

(1)本開示の実施の形態に係るスクランブル装置は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するECM管理部と、前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部とを備え、前記出力部は、前記ECMを、対応する前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力する。 (1) The scramble device according to the embodiment of the present disclosure is a scramble device that receives ECM including a scramble key repeatedly transmitted from the ECM transmission device and encrypts the content information, and the ECM is the above-mentioned ECM. The scramble key includes an even key and an odd key, and the even key and the odd key are updated alternately, and are included in the ECM management unit that receives the ECM and the ECM received by the ECM management unit. Includes a scramble unit that encrypts the content information using the scramble key, the content information encrypted by the scramble unit, and the scramble key used for encrypting the content information in the scramble unit. The output unit includes an output unit for outputting the ECM, and the output unit outputs the ECM at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key.

このように、ECMを、対応するスクランブル鍵を用いて暗号化されたコンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力する構成により、たとえばECM送信装置から送信されるECMの更新タイミングの変更に合わせてコンテンツ情報の暗号化に用いるスクランブル鍵の切替タイミングを変更することにより、出力するECMの更新タイミングよりも所定時間前のタイミングにおいて、コンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。このため、ECM送信装置から送信されるECMの更新タイミングが変更された場合であっても、CASに関する規格に従ってECMおよびコンテンツ情報を出力することができる。したがって、外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことができる。 In this way, by configuring the ECM to be output at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key, for example, the update timing of the ECM transmitted from the ECM transmission device can be changed. At the same time, by changing the switching timing of the scramble key used for encrypting the content information, the scramble key used for encrypting the content information can be switched at a timing predetermined time before the update timing of the output ECM. Therefore, even when the update timing of the ECM transmitted from the ECM transmission device is changed, the ECM and the content information can be output according to the standard regarding CAS. Therefore, in the scramble device that encrypts the content information by using the ECM generated in the external device, the ECM and the content information can be output according to the standard regarding CAS.

(2)好ましくは、前記ECM管理部は、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、前記スクランブル部は、前記ECM管理部により前記スクランブル鍵の更新が検知されたタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える。 (2) Preferably, the ECM management unit detects the update of the scrambled key contained in the received ECM, and the scramble unit detects the update of the scrambled key by the ECM management unit. The scrambled key used for encryption is switched between the even key and the odd key.

このような構成により、ECM送信装置から送信されるECMの更新タイミングの更新に柔軟に対応してコンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。 With such a configuration, the scramble key used for encrypting the content information can be switched flexibly in response to the update of the update timing of the ECM transmitted from the ECM transmission device.

(3)本開示の実施の形態に係るスクランブル装置は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するECM管理部と、前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部と、前記スクランブル鍵が更新される周期である更新周期を示す周期情報を取得する取得部とを備え、前記ECM管理部は、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、前記スクランブル部は、前記ECM管理部により前記スクランブル鍵の更新が検知されたタイミングから、前記取得部により取得された前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間が経過したタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える。 (3) The scramble device according to the embodiment of the present disclosure is a scramble device that receives ECM including a scramble key repeatedly transmitted from an ECM transmission device and encrypts content information, and the ECM is the above-mentioned ECM. The scrambled key includes an even key and an odd key, and the even key and the odd key are updated alternately, and are included in the ECM management unit that receives the ECM and the ECM that is received by the ECM management unit. Includes a scramble unit that encrypts the content information using the scramble key, the content information encrypted by the scramble unit, and the scramble key used for encrypting the content information in the scramble unit. The ECM management unit includes an output unit that outputs the ECM and an acquisition unit that acquires cycle information indicating an update cycle that is a cycle in which the scramble key is updated, and the ECM management unit includes the scramble key included in the received ECM. The scramble unit has subtracted the predetermined time from the update cycle indicated by the cycle information acquired by the acquisition unit from the timing when the update of the scramble key is detected by the ECM management unit. At the timing when the time has elapsed, the scramble key used for encryption is switched between the even key and the odd key.

このように、ECM送信装置から受信したECMに含まれるスクランブル鍵の更新を検知したタイミングから、取得した周期情報が示す更新周期から所定時間を差し引いた時間が経過したタイミングにおいて、暗号化に用いるスクランブル鍵を切り替える構成により、ECM送信装置から送信されるECMの更新周期が変更される場合であっても、たとえば予め取得した周期情報が示すECMの変更後の更新周期に合わせてコンテンツ情報の暗号化に用いるスクランブル鍵の切替タイミングを変更することにより、ECMの更新タイミングよりも所定時間前のタイミングにおいて、コンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。このため、ECM送信装置から送信されるECMの更新タイミングが変更された場合であっても、CASに関する規格に従ってECMおよびコンテンツ情報を出力することができる。したがって、外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことができる。 In this way, scramble used for encryption at the timing when the update of the scramble key included in the ECM received from the ECM transmission device is detected and the time obtained by subtracting the predetermined time from the update cycle indicated by the acquired cycle information has elapsed. Even if the update cycle of the ECM transmitted from the ECM transmitter is changed by the configuration for switching the key, for example, the content information is encrypted according to the update cycle after the change of the ECM indicated by the cycle information acquired in advance. By changing the switching timing of the scramble key used for the ECM, the scramble key used for encrypting the content information can be switched at a timing predetermined time before the update timing of the ECM. Therefore, even when the update timing of the ECM transmitted from the ECM transmission device is changed, the ECM and the content information can be output according to the standard regarding CAS. Therefore, in the scramble device that encrypts the content information by using the ECM generated in the external device, the ECM and the content information can be output according to the standard regarding CAS.

(4)本開示の実施の形態に係るスクランブル方法は、ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置におけるスクランブル方法であって、前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、前記ECMを受信するステップと、受信した前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化し、暗号化した前記コンテンツ情報、および前記コンテンツ情報の暗号化に用いた前記スクランブル鍵を含む前記ECMを出力するステップとを含み、前記コンテンツ情報および前記ECMを出力するステップにおいては、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える切替タイミングと、出力する前記ECMにおける前記スクランブル鍵の更新タイミングとの相対的な時間差を作ることにより、同じ前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力が継続する期間である同一暗号化期間を、前記同一暗号化期間において出力する前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵である使用鍵を含む前記ECMにおける、前記使用鍵とは異なる前記スクランブル鍵の前記更新タイミングよりも所定時間前から始める。 (4) The scramble method according to the embodiment of the present disclosure is a scramble method in a scramble device that repeatedly receives an ECM including a scramble key and encrypts content information, which is repeatedly transmitted from the ECM transmission device, and is the ECM. Includes an even key and an odd key as the scramble key, and the even key and the odd key are updated alternately, and the step of receiving the ECM and the scramble key included in the received ECM are used. The content information is encrypted using and the ECM including the encrypted content information and the scramble key used for encrypting the content information is output, and the content information and the ECM are output. In the step, the same is performed by creating a relative time difference between the switching timing for switching the scramble key used for encryption between the even key and the odd key and the update timing of the scramble key in the ECM to be output. The scramble key used for encrypting the content information output in the same encryption period during the same encryption period, which is the period during which the output of the content information encrypted using the scramble key continues. It starts from a predetermined time before the update timing of the scramble key different from the used key in the ECM including the used key.

このように、ECM送信装置から繰り返し送信されるECMを受信し、コンテンツ情報を暗号化するスクランブル装置において、同一暗号化期間を、使用鍵を含むECMにおける使用鍵とは異なるスクランブル鍵の更新タイミングよりも所定時間前から始める方法により、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことができる。したがって、外部装置において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置において、CASに関する規格に従ってECMおよびコンテンツ情報の出力を行うことができる。 In this way, in the scramble device that receives the ECM repeatedly transmitted from the ECM transmission device and encrypts the content information, the same encryption period is set from the update timing of the scramble key different from the used key in the ECM including the used key. ECM and content information can be output according to the standards related to CAS by the method starting from a predetermined time before. Therefore, in the scramble device that encrypts the content information by using the ECM generated in the external device, the ECM and the content information can be output according to the standard regarding CAS.

(5)好ましくは、前記ECMを受信するステップにおいては、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングにおいて、暗号化に用いる前記スクランブル鍵を、前記偶数鍵および前記奇数鍵のうちの直前に更新された前記スクランブル鍵とは異なる前記スクランブル鍵に切り替え、前記コンテンツ情報および前記ECMを出力するステップにおいては、前記更新タイミングを前記切替タイミングよりも所定時間遅らせることにより前記時間差を作る。 (5) Preferably, in the step of receiving the ECM, the update of the scramble key included in the received ECM is detected, and in the step of outputting the content information and the ECM, the encryption is performed at the switching timing. In the step of switching the scramble key used for the conversion to the scramble key different from the scramble key updated immediately before the even key and the odd key, and outputting the content information and the ECM, the update The time difference is created by delaying the timing by a predetermined time from the switching timing.

このような方法により、ECM送信装置から送信されるECMの更新タイミングが変更された場合であっても、CASに関する規格に従ってECMおよびコンテンツ情報を出力することができるので、ECM送信装置から受信するECMの更新タイミングの変更に柔軟に対応してコンテンツ情報の暗号化を行うことができる。 By such a method, even if the update timing of the ECM transmitted from the ECM transmission device is changed, the ECM and the content information can be output according to the standard regarding CAS, so that the ECM received from the ECM transmission device can be output. Content information can be encrypted flexibly in response to changes in the update timing of.

(6)好ましくは、前記スクランブル方法は、さらに、前記スクランブル鍵が更新される周期である更新周期を示す周期情報を取得するステップを含み、前記ECMを受信するステップにおいては、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングにおいて、暗号化に用いる前記スクランブル鍵を、前記偶数鍵および前記奇数鍵のうちの直前に更新された前記スクランブル鍵に切り替え、前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングを、前記更新タイミングよりも、取得した前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間遅らせることにより前記時間差を作る。 (6) Preferably, the scramble method further includes a step of acquiring cycle information indicating an update cycle, which is a cycle in which the scramble key is updated, and in a step of receiving the ECM, the received ECM is used. In the step of detecting the update of the included scramble key and outputting the content information and the ECM, at the switching timing, the scramble key used for encryption is immediately before the even key and the odd key. In the step of switching to the updated scramble key and outputting the content information and the ECM, the switching timing is obtained by subtracting the predetermined time from the update cycle indicated by the acquired cycle information from the update timing. The time difference is created by delaying the time.

このような方法により、ECM送信装置から送信されるECMの更新周期が変更される場合であっても、たとえば予め取得した周期情報が示すECMの変更後の更新周期に合わせてコンテンツ情報の暗号化に用いるスクランブル鍵の切替タイミングを変更することにより、CASに関する規格に従ってECMおよびコンテンツ情報を出力することができるので、外部装置から受信するECMの更新タイミングの変更に柔軟に対応してコンテンツ情報の暗号化を行うことができる。 By such a method, even if the update cycle of the ECM transmitted from the ECM transmission device is changed, the content information is encrypted according to the update cycle after the change of the ECM indicated by the cycle information acquired in advance, for example. By changing the switching timing of the scramble key used for, the ECM and content information can be output in accordance with the standards related to CAS, so the content information can be encrypted flexibly in response to changes in the ECM update timing received from the external device. Can be done.

以下、本開示の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。 Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The same or corresponding parts in the drawings are designated by the same reference numerals and the description thereof will not be repeated. In addition, at least a part of the embodiments described below may be arbitrarily combined.

<第1の実施の形態>
[構成および基本動作]
図1は、本開示の第1の実施の形態に係る放送システムの構成を示す図である。図1を参照して、放送システム401は、ECM送信装置201と、EMM(Entitlement Management Message)送信装置202と、スクランブル装置101と、エンコーダ装置111と、リマックス装置121と、複数のSTB(Set Top Box)301とを備える。STB301には、図示しないCASモジュールが接続されている。
<First Embodiment>
[Configuration and basic operation]
FIG. 1 is a diagram showing a configuration of a broadcasting system according to the first embodiment of the present disclosure. With reference to FIG. 1, the broadcasting system 401 includes an ECM transmission device 201, an EMM (Enterprise Management Message) transmission device 202, a scramble device 101, an encoder device 111, a remax device 121, and a plurality of STBs (Set Tops). Box) 301 is provided. A CAS module (not shown) is connected to the STB301.

たとえば、ECM送信装置201およびエンコーダ装置111は、互いに異なる場所に設けられる。より詳細には、ECM送信装置201およびEMM送信装置202は、番組配信センタ251に設けられる。エンコーダ装置111、スクランブル装置101およびリマックス装置121は、ケーブルテレビ局151に設けられる。STB301は、加入者宅351に設けられる。STB301は、図示しないケーブルテレビ放送受信装置を含む。 For example, the ECM transmission device 201 and the encoder device 111 are provided at different locations from each other. More specifically, the ECM transmission device 201 and the EMM transmission device 202 are provided in the program distribution center 251. The encoder device 111, the scramble device 101, and the remax device 121 are provided in the cable television station 151. The STB301 is provided in the subscriber's house 351. The STB301 includes a cable television broadcast receiving device (not shown).

番組配信センタ251は、コンテンツをケーブルテレビ局151経由で加入者宅351へ配信する。番組配信センタ251は、コンテンツと、加入者宅351ごとの契約情報とを一括して管理する。 The program distribution center 251 distributes the content to the subscriber's house 351 via the cable TV station 151. The program distribution center 251 collectively manages the contents and the contract information for each subscriber's house 351.

ECM送信装置201は、コンテンツの一例である番組に関する情報と、映像情報および音声情報等のコンテンツ情報を暗号化するためのスクランブル鍵と、各種制御情報とを含むECMを生成する。当該ECMは、スクランブル鍵として偶数鍵KEおよび奇数鍵KOを含み、かつ偶数鍵KEおよび奇数鍵KOが交互に更新される。たとえば、偶数鍵KEおよび奇数鍵KOは、更新周期UCに従う更新タイミングUTごとに交互に更新される。更新周期UCは、たとえば8秒である。 The ECM transmission device 201 generates an ECM including information about a program which is an example of content, a scramble key for encrypting content information such as video information and audio information, and various control information. The ECM includes an even key KE and an odd key KO as scrambled keys, and the even key KE and the odd key KO are updated alternately. For example, the even-numbered key KE and the odd-numbered key KO are alternately updated at each update timing UT according to the update cycle UC. The update cycle UC is, for example, 8 seconds.

ECM送信装置201は、生成したECMを、ワーク鍵を用いて暗号化し、暗号化したECMをスクランブル装置101へ送信する。より詳細には、ECM送信装置201は、暗号化したECMを含むセクションデータを生成し、生成したセクションデータが複数に分割された情報を含む複数のTSパケットを、たとえば1または複数のIP(Internet Protocol)パケットに含めてIP伝送網211経由でスクランブル装置101へ送信する。IP伝送網211では、IPプロトコルに従って、IPパケットが伝送される。 The ECM transmission device 201 encrypts the generated ECM using the work key, and transmits the encrypted ECM to the scramble device 101. More specifically, the ECM transmission device 201 generates section data including encrypted ECM, and generates a plurality of TS packets containing information in which the generated section data is divided into a plurality of parts, for example, one or a plurality of IPs (Internet). Protocol) Included in a packet and transmitted to the scrambler 101 via the IP transmission network 211. In the IP transmission network 211, IP packets are transmitted according to the IP protocol.

図2は、本開示の第1の実施の形態に係るECM送信装置により送信されるECMに含まれるスクランブル鍵の一例を示す図である。 FIG. 2 is a diagram showing an example of a scramble key included in the ECM transmitted by the ECM transmission device according to the first embodiment of the present disclosure.

図2を参照して、たとえば、ECM送信装置201は、ECMを所定周期PCで繰り返しスクランブル装置101へ送信する。具体的には、ECM送信装置201は、更新タイミングUT1から次の更新タイミングUT2までの期間において、奇数鍵KO1および偶数鍵KE2を含むECM_E1を所定周期PCで繰り返し送信し、更新タイミングUT2から次の更新タイミングUT3までの期間において、偶数鍵KE2および奇数鍵KO3を含むECM_E2を所定周期PCで繰り返し送信し、更新タイミングUT3から次の更新タイミングUT4までの期間において、奇数鍵KO3および偶数鍵KE4を含むECM_E3を所定周期PCで繰り返し送信する。所定周期PCは、たとえば100ミリ秒である。なお、ECM送信装置201は、ECMをスクランブル装置101へ不定期に繰り返し送信する構成であってもよい。 With reference to FIG. 2, for example, the ECM transmission device 201 repeatedly transmits the ECM to the scramble device 101 with a predetermined period PC. Specifically, the ECM transmission device 201 repeatedly transmits ECM_E1 including the odd key KO1 and the even key KE2 by the predetermined cycle PC in the period from the update timing UT1 to the next update timing UT2, and from the update timing UT2 to the next. In the period up to the update timing UT3, the ECM_E2 including the even key KE2 and the odd key KO3 is repeatedly transmitted by the PC at a predetermined cycle, and in the period from the update timing UT3 to the next update timing UT4, the odd key KO3 and the even key KE4 are included. ECM_E3 is repeatedly transmitted by a PC at a predetermined cycle. The predetermined period PC is, for example, 100 milliseconds. The ECM transmission device 201 may be configured to repeatedly transmit the ECM to the scramble device 101 on an irregular basis.

再び図1を参照して、EMM送信装置202は、加入者宅351ごとの契約情報と、暗号化されたECMを復号するためのワーク鍵とを含むEMMを生成する。EMM送信装置202は、生成したEMMを、番組の視聴契約を行った加入者宅351におけるCASモジュールにより復号することができるように設定されたマスタ鍵を用いて暗号化する。EMM送信装置202は、マスタ鍵を用いて暗号化したEMMをスクランブル装置101へ送信する。より詳細には、EMM送信装置202は、暗号化したEMMを含むセクションデータを生成し、生成したセクションデータが複数に分割された情報を含む複数のTSパケットを、たとえば1または複数のIPパケットに含めてIP伝送網211経由でスクランブル装置101およびリマックス装置121へ送信する。 With reference to FIG. 1 again, the EMM transmission device 202 generates an EMM including contract information for each subscriber's house 351 and a work key for decrypting the encrypted ECM. The EMM transmission device 202 encrypts the generated EMM using a master key set so that it can be decrypted by the CAS module at the subscriber's house 351 that has made a viewing contract for the program. The EMM transmission device 202 transmits the EMM encrypted using the master key to the scramble device 101. More specifically, the EMM transmission device 202 generates section data including encrypted EMM, and the generated section data is divided into a plurality of TS packets, for example, into one or a plurality of IP packets. Including, it is transmitted to the scramble device 101 and the remax device 121 via the IP transmission network 211.

ケーブルテレビ局151は、コンテンツ情報をスクランブルすなわち暗号化し、暗号化されたコンテンツ情報を加入者宅351のSTB301へ送信する。 The cable television station 151 scrambles or encrypts the content information, and transmits the encrypted content information to the STB 301 of the subscriber's house 351.

より詳細には、エンコーダ装置111は、コンテンツ事業者としての番組配信センタ251からコンテンツ情報を取得し、取得したコンテンツ情報を符号化することによりコンテンツ情報が複数に分割された情報を含む複数のTSパケットを生成する。エンコーダ装置111は、生成した複数のTSパケットを、たとえば1または複数のIPパケットに含めてスクランブル装置101へ送信する。 More specifically, the encoder device 111 acquires content information from the program distribution center 251 as a content operator, and encodes the acquired content information to encode the acquired content information into a plurality of TSs including information in which the content information is divided into a plurality of pieces. Generate a packet. The encoder device 111 includes the generated plurality of TS packets in, for example, one or a plurality of IP packets and transmits the scrambled device 101.

スクランブル装置101は、ECM送信装置201から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化する。より詳細には、スクランブル装置101は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。 The scramble device 101 receives the ECM including the scramble key repeatedly transmitted from the ECM transmission device 201, and encrypts the content information. More specifically, the scramble device 101 receives an IP packet from the encoder device 111 and acquires a TS packet from the received IP packet.

また、スクランブル装置101は、IP伝送網211経由でEMM送信装置202からIPパケットを受信し、受信したIPパケットに含まれるTSパケットからEMMを取得する。スクランブル装置101は、取得したEMMを、マスタ鍵を用いて復号することにより、EMMからワーク鍵を取得する。スクランブル装置101は、後述するCASモジュールに格納されたワーク鍵を、EMMから取得したワーク鍵に更新する。 Further, the scramble device 101 receives an IP packet from the EMM transmission device 202 via the IP transmission network 211, and acquires the EMM from the TS packet included in the received IP packet. The scramble device 101 acquires a work key from the EMM by decrypting the acquired EMM using the master key. The scramble device 101 updates the work key stored in the CAS module described later with the work key acquired from the EMM.

また、スクランブル装置101は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットに含まれるTSパケットからECMを取得する。スクランブル装置101は、取得したECMを、CASモジュールに格納されたワーク鍵を用いて復号することにより、ECMからスクランブル鍵を取得する。 Further, the scramble device 101 receives an IP packet from the ECM transmission device 201 via the IP transmission network 211, and acquires an ECM from the TS packet included in the received IP packet. The scramble device 101 acquires the scramble key from the ECM by decrypting the acquired ECM using the work key stored in the CAS module.

スクランブル装置101は、エンコーダ装置111から受信したIPパケットから取得したTSパケットを、スクランブル処理して出力する。より詳細には、スクランブル装置101は、TSパケットを、取得したスクランブル鍵を用いて暗号化する。スクランブル装置101は、暗号化したTSパケットおよびTSパケットの暗号化に用いたECMが複数に分割された情報を含む複数のTSパケットを、たとえば1または複数のIPパケットに含めてリマックス装置121へ送信する。 The scramble device 101 scrambles and outputs the TS packet acquired from the IP packet received from the encoder device 111. More specifically, the scramble device 101 encrypts the TS packet using the acquired scramble key. The scramble device 101 includes the encrypted TS packet and a plurality of TS packets including information obtained by dividing the ECM into a plurality of encrypted TS packets into, for example, one or a plurality of IP packets and transmits the encrypted TS packet to the remax device 121. do.

図3は、本開示の第1の実施の形態に係る放送システムにおけるTSパケットのフォーマットを示す図である。図3を参照して、TSパケットは、データ長が188バイトであり、ヘッダと、アダプテーションフィールドと、ペイロードとを含む。ヘッダは、同期バイトと、トランスポートエラーインジケータと、ペイロードユニット開始インジケータと、トランスポート優先度と、PID(Packet Identification)と、トランスポートスクランブル制御と、アダプテーションフィールド制御と、連続性指標すなわちCC(Continuity Counter)値とを含む。 FIG. 3 is a diagram showing a format of TS packets in the broadcasting system according to the first embodiment of the present disclosure. With reference to FIG. 3, the TS packet has a data length of 188 bytes and includes a header, an adaptation field, and a payload. The headers are a synchronization byte, a transport error indicator, a payload unit start indicator, a transport priority, a PID (Packet Identity), a transport scramble control, an adaptation field control, and a continuity index, that is, CC (Continuity). Includes the Counter) value.

PIDは、TSパケットの識別子である。PIDは、13ビットで表現される識別子であり、TSパケットのペイロードの内容に応じた値に設定される。ペイロードユニット開始インジケータは、ペイロードに含まれる情報等が、当該ペイロードから開始されるか否かを示す1ビットのデータである。CC値は、TSパケットの連続性を示す、同じPIDのTSパケットごとにインクリメントされる4ビットのカウンタ値である。トランスポートスクランブル制御は、ペイロードに含まれる情報が暗号化されているか否か、およびペイロードに含まれる情報が偶数鍵KEおよび奇数鍵KOのいずれを用いて暗号化されているか等を示す2ビットのデータである。 The PID is an identifier of the TS packet. The PID is an identifier represented by 13 bits and is set to a value corresponding to the content of the payload of the TS packet. The payload unit start indicator is 1-bit data indicating whether or not the information contained in the payload is started from the payload. The CC value is a 4-bit counter value that indicates the continuity of TS packets and is incremented for each TS packet having the same PID. The transport scramble control is a 2-bit control that indicates whether the information contained in the payload is encrypted, and whether the information contained in the payload is encrypted using the even key KE or the odd key KO. It is data.

再び図1を参照して、リマックス装置121は、IP伝送網211経由でEMM送信装置202からIPパケットを受信する。また、リマックス装置121は、スクランブル装置101からIPパケットを受信する。 With reference to FIG. 1 again, the remax device 121 receives an IP packet from the EMM transmission device 202 via the IP transmission network 211. Further, the remax device 121 receives an IP packet from the scramble device 101.

リマックス装置121は、受信したIPパケットを所定の変調方式により変調することによりRF(Radio Frequency)帯の放送信号を生成する。リマックス装置121は、生成した放送信号をケーブルテレビ網311経由で加入者宅351へ送信する。 The remax device 121 generates an RF (Radio Frequency) band broadcast signal by modulating the received IP packet by a predetermined modulation method. The remax device 121 transmits the generated broadcast signal to the subscriber's house 351 via the cable television network 311.

加入者宅351におけるSTB301は、リマックス装置121から送信された放送信号をケーブルテレビ網311経由で受信する。STB301は、受信した放送信号を復調することにより、暗号化されたコンテンツ情報、ECMおよびEMMを取得する。STB301は、CASモジュールを用いてEMMを復号することによりワーク鍵を取得し、取得したワーク鍵を用いてECMを復号することによりスクランブル鍵を取得し、取得したスクランブル鍵を用いてコンテンツ情報をデスクランブルすなわち復号する。STB301は、復号したコンテンツ情報を図示しないTVモニタへ送信する。当該TVモニタは、STB301から受信したコンテンツ情報に基づいて番組を再生する。 The STB 301 in the subscriber's house 351 receives the broadcast signal transmitted from the remax device 121 via the cable television network 311. The STB301 acquires encrypted content information, ECM and EMM by demodulating the received broadcast signal. The STB301 acquires a work key by decrypting an EMM using a CAS module, acquires a scramble key by decrypting an ECM using the acquired work key, and decodes content information using the acquired scramble key. Scramble or decrypt. The STB301 transmits the decoded content information to a TV monitor (not shown). The TV monitor plays a program based on the content information received from STB301.

[スクランブル装置]
図4は、本開示の第1の実施の形態に係るスクランブル装置の構成を示す図である。図4を参照して、スクランブル装置101は、ECM管理部10と、EMM管理部20と、取得部30と、スクランブル部40と、出力部50と、記憶部60と、CASモジュール70とを備える。ECM管理部10は、ECM検出部11と、鍵出力部12と、ECM復号部13とを含む。CASモジュール70には、ワーク鍵が格納されている。なお、記憶部60は、スクランブル装置101の外部に設けられてもよい。
[Scramble device]
FIG. 4 is a diagram showing a configuration of a scrambler according to the first embodiment of the present disclosure. With reference to FIG. 4, the scramble device 101 includes an ECM management unit 10, an EMM management unit 20, an acquisition unit 30, a scramble unit 40, an output unit 50, a storage unit 60, and a CAS module 70. .. The ECM management unit 10 includes an ECM detection unit 11, a key output unit 12, and an ECM decoding unit 13. The work key is stored in the CAS module 70. The storage unit 60 may be provided outside the scramble device 101.

(取得部)
取得部30は、ECM送信装置201により送信されるECMにおける更新周期UCを示す周期情報を取得する。取得部30は、取得した周期情報を記憶部60に保存する。
(Acquisition department)
The acquisition unit 30 acquires cycle information indicating the update cycle UC in the ECM transmitted by the ECM transmission device 201. The acquisition unit 30 stores the acquired cycle information in the storage unit 60.

たとえば、取得部30は、定期的または不定期に、周期情報を含むIPパケットをIP伝送網211経由でECM送信装置201から受信する。取得部30は、受信したIPパケットから周期情報を取得し、取得した周期情報を記憶部60に保存する。 For example, the acquisition unit 30 receives an IP packet including periodic information from the ECM transmission device 201 via the IP transmission network 211 periodically or irregularly. The acquisition unit 30 acquires periodic information from the received IP packet, and stores the acquired periodic information in the storage unit 60.

あるいは、ケーブルテレビ局151におけるオペレータは、定期的または不定期に、番組配信センタ251から更新周期UCの通知を受ける。当該オペレータは、通知された更新周期UCをキーボードまたはマウスを用いてスクランブル装置101に入力する操作を行う。スクランブル装置101における図示しない受付部は、オペレータによる入力操作を受け付け、更新周期UCを示す周期情報を取得部30へ出力する。取得部30は、当該受付部から周期情報を受けて、受けた周期情報を記憶部60に保存する。 Alternatively, the operator at the cable television station 151 receives notification of the update cycle UC from the program distribution center 251 periodically or irregularly. The operator performs an operation of inputting the notified update cycle UC to the scramble device 101 using a keyboard or a mouse. The reception unit (not shown) in the scramble device 101 receives an input operation by the operator and outputs cycle information indicating the update cycle UC to the acquisition unit 30. The acquisition unit 30 receives the cycle information from the reception unit and stores the received cycle information in the storage unit 60.

(ECM管理部)
ECM管理部10は、ECM送信装置201から送信されるECMを受信する。ECM管理部10は、受信したECMに含まれるスクランブル鍵をスクランブル部40へ出力する。上述したように、ECMは、スクランブル鍵として偶数鍵KEおよび奇数鍵KOを含み、かつ偶数鍵KEおよび奇数鍵KOがたとえば更新タイミングUTごとに交互に更新されるものである。
(ECM Management Department)
The ECM management unit 10 receives the ECM transmitted from the ECM transmission device 201. The ECM management unit 10 outputs the scramble key included in the received ECM to the scramble unit 40. As described above, the ECM includes an even-numbered key KE and an odd-numbered key KO as scrambled keys, and the even-numbered key KE and the odd-numbered key KO are alternately updated, for example, at each update timing UT.

より詳細には、ECM管理部10におけるECM検出部11は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。ECM検出部11は、取得したTSパケットにおけるPID等を参照することにより、当該TSパケットのペイロードに、ECMを含むセクションデータの一部が格納されていると判断した場合、当該TSパケットを出力部50へ出力する。 More specifically, the ECM detection unit 11 in the ECM management unit 10 receives an IP packet from the ECM transmission device 201 via the IP transmission network 211, and acquires a TS packet from the received IP packet. When the ECM detection unit 11 determines that a part of the section data including the ECM is stored in the payload of the TS packet by referring to the PID or the like in the acquired TS packet, the ECM detection unit 11 outputs the TS packet. Output to 50.

また、ECM検出部11は、当該TSパケットのデータフォーマットからセクションデータのデータフォーマットへの変換を行う。 Further, the ECM detection unit 11 converts the data format of the TS packet into the data format of the section data.

図5は、本開示の第1の実施の形態に係るスクランブル装置におけるECM検出部によるフォーマット変換の一例を示す図である。図5を参照して、セクションデータは、たとえば最大1024バイトまたは最大4096バイトのデータ長を有する。セクションデータは、ECM送信装置201において生成され、データ長がたとえば188バイトの複数のTSパケットに分割され、IPパケットに含めて伝送される。セクションデータは、ヘッダ部のフィールドと、データ部のフィールドと、CRC(Cyclic Redundancy Check)32のフィールドとを含む。 FIG. 5 is a diagram showing an example of format conversion by the ECM detection unit in the scrambler according to the first embodiment of the present disclosure. With reference to FIG. 5, the section data has a data length of up to 1024 bytes or up to 4096 bytes, for example. The section data is generated in the ECM transmission device 201, divided into a plurality of TS packets having a data length of, for example, 188 bytes, and included in the IP packet for transmission. The section data includes a field of a header part, a field of a data part, and a field of CRC (Cyclic Redundancy Check) 32.

ECM検出部11は、TSパケットのペイロードに格納されたデータを結合することにより、ECM送信装置201において生成された、暗号化されたECMを含むセクションデータを再構成する。 The ECM detection unit 11 reconstructs the section data including the encrypted ECM generated in the ECM transmission device 201 by combining the data stored in the payload of the TS packet.

図6は、本開示の第1の実施の形態に係る放送システムにおけるセクションデータのフォーマットを示す図である。図6を参照して、セクションデータにおけるヘッダ部は、テーブル識別子と、セクションシンタクス指示と、セクション長と、テーブル識別子拡張と、バージョン番号と、カレントネクスト指示と、セクション番号と、最終セクション番号とを含む。 FIG. 6 is a diagram showing the format of section data in the broadcasting system according to the first embodiment of the present disclosure. With reference to FIG. 6, the header part in the section data includes a table identifier, a section syntax instruction, a section length, a table identifier extension, a version number, a current next instruction, a section number, and a final section number. include.

テーブル識別子は、セクションデータが属するテーブルを示す。テーブル識別子の値は、セクションデータが属するテーブルがECMである場合、すなわちデータ部にECMが格納される場合、「0x82」または「0x83」である。ここで、「0x」で始まる数字は、「0x」以降の数字が16進数で表されていることを意味する。バージョン番号は、テーブルのバージョン番号を示す。バージョン番号の値は、データ部に格納されるECMに含まれるスクランブル鍵の更新に伴って更新される。 The table identifier indicates the table to which the section data belongs. The value of the table identifier is "0x82" or "0x83" when the table to which the section data belongs is an ECM, that is, when the ECM is stored in the data unit. Here, the numbers starting with "0x" mean that the numbers after "0x" are represented by hexadecimal numbers. The version number indicates the version number of the table. The value of the version number is updated with the update of the scramble key included in the ECM stored in the data unit.

ECM検出部11は、再構成したセクションデータのデータ部から、暗号化されたECMを取得し、取得したECMをECM復号部13へ出力する。 The ECM detection unit 11 acquires the encrypted ECM from the data unit of the reconstructed section data, and outputs the acquired ECM to the ECM decoding unit 13.

ECM復号部13は、ECM検出部11からECMを受けて、受けたECMを、CASモジュール70に格納されたワーク鍵を用いて復号する。ECM復号部13は、復号したECMに含まれるスクランブル鍵すなわち偶数鍵KEおよび奇数鍵KOを鍵出力部12へ出力する。 The ECM decoding unit 13 receives the ECM from the ECM detection unit 11 and decodes the received ECM using the work key stored in the CAS module 70. The ECM decoding unit 13 outputs the scrambled key, that is, the even key KE and the odd key KO included in the decoded ECM to the key output unit 12.

鍵出力部12は、ECM復号部13から偶数鍵KEおよび奇数鍵KOを受けて、受けた偶数鍵KEおよび奇数鍵KOのいずれか一方をスクランブル部40へ出力する。 The key output unit 12 receives the even-numbered key KE and the odd-numbered key KO from the ECM decoding unit 13, and outputs either the received even-numbered key KE or the odd-numbered key KO to the scramble unit 40.

ECM管理部10は、受信したECMに含まれるスクランブル鍵の更新を検知する。たとえば、ECM検出部11は、再構成したセクションデータのヘッダ部に格納された情報に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。 The ECM management unit 10 detects the update of the scramble key included in the received ECM. For example, the ECM detection unit 11 detects the update of the scramble key included in the ECM stored in the data unit of the section data based on the information stored in the header unit of the reconstructed section data.

一例として、ECM検出部11は、再構成したセクションデータのバージョン番号の値に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。より詳細には、ECM検出部11は、セクションデータを再構成するたびに、再構成したセクションデータからバージョン番号の値を取得し、取得したバージョン番号の値と、直前に再構成したセクションデータから取得したバージョン番号の値とを比較することにより、バージョン番号の変化を検知する。 As an example, the ECM detection unit 11 detects the update of the scramble key included in the ECM stored in the data unit of the section data based on the value of the version number of the reconstructed section data. More specifically, each time the section data is reconstructed, the ECM detection unit 11 acquires the value of the version number from the reconstructed section data, and from the acquired version number value and the section data reconstructed immediately before. By comparing with the acquired version number value, the change of the version number is detected.

ECM検出部11は、セクションデータのバージョン番号の変化を検知した場合、セクションデータに格納されたECMに含まれるスクランブル鍵が更新されたと判断し、バージョン番号の変化を検知したタイミングである検知タイミングDTを示す検知情報を鍵出力部12へ出力する。 When the ECM detection unit 11 detects a change in the version number of the section data, it determines that the scramble key included in the ECM stored in the section data has been updated, and detects the change in the version number, which is the detection timing DT. The detection information indicating the above is output to the key output unit 12.

鍵出力部12は、ECM検出部11から検知情報を受けて、記憶部60から周期情報を取得する。鍵出力部12は、当該検知情報が示す検知タイミングDTから、当該周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。 The key output unit 12 receives the detection information from the ECM detection unit 11 and acquires the cycle information from the storage unit 60. The key output unit 12 outputs a scramble key to be output to the scramble unit 40 as an even number key at the timing when the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC indicated by the cycle information has elapsed from the detection timing DT indicated by the detection information. Switch between KE and odd key KO.

(EMM管理部)
EMM管理部20は、IP伝送網211経由でEMM送信装置202からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。EMM管理部20は、取得したTSパケットにおけるPID等を参照することにより、当該TSパケットのペイロードに、EMMを含むセクションデータの一部EMMが格納されていると判断した場合、ECM復号部13と同様に、当該TSパケットのデータフォーマットからセクションデータのデータフォーマットへの変換を行う。
(EMM Management Department)
The EMM management unit 20 receives an IP packet from the EMM transmission device 202 via the IP transmission network 211, and acquires a TS packet from the received IP packet. When the EMM management unit 20 determines that a part of the section data including the EMM is stored in the payload of the TS packet by referring to the PID or the like in the acquired TS packet, the EMM management unit 20 and the ECM decoding unit 13 Similarly, the data format of the TS packet is converted into the data format of the section data.

EMM管理部20は、TSパケットのペイロードに格納されたデータを結合することにより、EMM送信装置202において生成された、暗号化されたEMMを含むセクションデータを再構成する。 The EMM management unit 20 reconstructs the section data including the encrypted EMM generated in the EMM transmission device 202 by combining the data stored in the payload of the TS packet.

EMM管理部20は、再構成したセクションデータのデータ部のフィールドから、暗号化されたEMMを取得し、取得したEMMを、たとえば予め番組配信センタ251から付与されたマスタ鍵を用いて復号することにより、EMMからワーク鍵を取得する。EMM管理部20は、CASモジュール70に格納されたワーク鍵を、EMMから取得したワーク鍵に更新する。 The EMM management unit 20 acquires an encrypted EMM from the field of the data unit of the reconstructed section data, and decodes the acquired EMM using, for example, a master key assigned in advance from the program distribution center 251. To obtain the work key from EMM. The EMM management unit 20 updates the work key stored in the CAS module 70 with the work key acquired from the EMM.

(スクランブル部)
スクランブル部40は、ECM管理部10により受信されたECMに含まれるスクランブル鍵を用いてコンテンツ情報を暗号化する。
(Scramble part)
The scramble unit 40 encrypts the content information by using the scramble key included in the ECM received by the ECM management unit 10.

より詳細には、スクランブル部40は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれるTSパケットを、鍵出力部12から受けたスクランブル鍵を用いて暗号化する。 More specifically, the scramble unit 40 receives an IP packet from the encoder device 111, and encrypts the TS packet included in the received IP packet by using the scramble key received from the key output unit 12.

図7は、本開示の第1の実施の形態に係るスクランブル装置におけるスクランブル部がTSパケットの暗号化に用いるスクランブル鍵を示す図である。図7は、非特許文献1に記載の規格に定められている、ECMの更新タイミングと暗号化に用いるスクランブル鍵の切り替えタイミングとを示している。 FIG. 7 is a diagram showing a scramble key used by the scramble unit in the scramble device according to the first embodiment of the present disclosure to encrypt a TS packet. FIG. 7 shows the update timing of the ECM and the switching timing of the scramble key used for encryption, which are defined in the standard described in Non-Patent Document 1.

図7を参照して、上記規格において、更新周期UCを、n回目の更新タイミングUTnから始まる期間T1と、期間T1の終了時刻から(n+1)回目の更新タイミングUT(n+1)までの期間T2とに分けたときに、期間T2および更新タイミングUT(n+1)から始まる期間において同一のスクランブル鍵を用いてコンテンツ情報の暗号化を行うことが定められている。ここで、nは1以上の整数である。また、上記規格において、期間T1は7600ミリ秒より大きく、期間T2はゼロ秒より大きく、かつ期間T1と期間T2との和は8000ミリ秒より大きく設定することが定められている。 With reference to FIG. 7, in the above standard, the update cycle UC is defined as a period T1 starting from the nth update timing UTn and a period T2 from the end time of the period T1 to the (n + 1) th update timing UT (n + 1). It is stipulated that the content information is encrypted using the same scramble key in the period starting from the period T2 and the update timing UT (n + 1). Here, n is an integer of 1 or more. Further, in the above standard, it is stipulated that the period T1 is set to be larger than 7600 milliseconds, the period T2 is set to be larger than zero seconds, and the sum of the period T1 and the period T2 is set to be larger than 8000 milliseconds.

以下、期間T1において用いるべきスクランブル鍵をカレント鍵とも称し、期間T2において用いるべきスクランブル鍵をネクスト鍵とも称する。 Hereinafter, the scrambled key to be used in the period T1 is also referred to as a current key, and the scrambled key to be used in the period T2 is also referred to as a next key.

スクランブル部40は、スクランブル鍵の切り替えに関する当該規格に従って、期間T1においてカレント鍵を用いてTSパケットを暗号化し、期間T2においてネクスト鍵を用いてTSパケットを暗号化する。スクランブル部40における、暗号化に用いるスクランブル鍵の切り替えの詳細については後述する。スクランブル部40は、暗号化したTSパケットを出力部50へ出力する。 The scramble unit 40 encrypts the TS packet using the current key in the period T1 and encrypts the TS packet using the next key in the period T2 according to the standard regarding the switching of the scramble key. The details of switching the scramble key used for encryption in the scramble unit 40 will be described later. The scramble unit 40 outputs the encrypted TS packet to the output unit 50.

(出力部)
出力部50は、スクランブル部40により暗号化されたコンテンツ情報、およびスクランブル部40においてコンテンツ情報の暗号化に用いられたスクランブル鍵を含むECMを出力する。
(Output section)
The output unit 50 outputs the content information encrypted by the scramble unit 40 and the ECM including the scramble key used for encrypting the content information in the scramble unit 40.

より詳細には、出力部50は、スクランブル部40から受けた、暗号化されたTSパケットと、ECM検出部11から受けた、ECMを含むセクションデータの一部が格納されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。 More specifically, the output unit 50 takes the encrypted TS packet received from the scramble unit 40 and the TS packet received from the ECM detection unit 11 in which a part of the section data including the ECM is stored. It is multiplexed in the axial direction, and each TS packet after multiplexing is transmitted to the remax device 121.

スクランブル装置101は、出力コンテンツに用いられている暗号化鍵すなわちスクランブル鍵の継続期間が、出力ECMにおいて当該暗号化鍵の継続する期間内となるようにコンテンツおよびECMを出力する。より詳細には、出力部50は、スクランブル鍵を用いて暗号化されたコンテンツ情報を出力する期間が、当該スクランブル鍵を含むECMを出力する期間に含まれるように、コンテンツ情報を含む暗号化されたTSパケットと、ECMを含むセクションデータの一部が格納されたTSパケットとを多重化してリマックス装置121へ送信する。 The scramble device 101 outputs the content and the ECM so that the duration of the encryption key used for the output content, that is, the scramble key is within the duration of the encryption key in the output ECM. More specifically, the output unit 50 is encrypted including the content information so that the period for outputting the content information encrypted using the scramble key is included in the period for outputting the ECM including the scramble key. The TS packet and the TS packet in which a part of the section data including the ECM is stored are multiplexed and transmitted to the remax device 121.

<スクランブル鍵の切り替え処理>
図8は、本開示の第1の実施の形態に係るスクランブル装置において受信および送信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。
<Scramble key switching process>
FIG. 8 is a diagram showing an example of a timing chart showing the update timing of the scramble key received and transmitted in the scramble device according to the first embodiment of the present disclosure and the scramble key used for encrypting the content information.

図8を参照して、スクランブル部40は、ECM管理部10によりスクランブル鍵の更新が検知された検知タイミングDTから、取得部30により取得された周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングSTにおいて、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。 With reference to FIG. 8, the scramble unit 40 subtracts a predetermined time Tb from the update cycle UC indicated by the cycle information acquired by the acquisition unit 30 from the detection timing DT in which the update of the scramble key is detected by the ECM management unit 10. At the timing ST when the time Ta has elapsed, the scramble key used for encryption is switched between the even key KE and the odd key KO.

より詳細には、ECM管理部10におけるECM検出部11は、n回目の更新タイミングUTnにおいてECM送信装置201から受信したECMに含まれるスクランブル鍵が更新されたことを検知して、検知タイミングDTnを示す検知情報を鍵出力部12へ出力する。検知タイミングDTnは、更新タイミングUTnと同じタイミング、または更新タイミングUTnの直後のタイミングである。 More specifically, the ECM detection unit 11 in the ECM management unit 10 detects that the scramble key included in the ECM received from the ECM transmission device 201 has been updated at the nth update timing UTn, and sets the detection timing DTn. The indicated detection information is output to the key output unit 12. The detection timing DTn is the same timing as the update timing UTn, or the timing immediately after the update timing UTn.

鍵出力部12は、検知情報をECM検出部11から受けて、受けた検知情報が示す検知タイミングDTnから、記憶部60における周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングST(n+1)において、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。たとえば、所定時間Tbは、上述の期間T2の長さと等しい。このように、鍵出力部12は、タイミングST(n+1),ST(n+2),ST(t+3)・・・において、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。以下、タイミングSTを切替タイミングSTとも称する。 The key output unit 12 receives the detection information from the ECM detection unit 11, and the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC indicated by the cycle information in the storage unit 60 elapses from the detection timing DTn indicated by the received detection information. At the timing ST (n + 1), the scramble key to be output to the scramble unit 40 is switched between the odd key KO and the even key KE. For example, the predetermined time Tb is equal to the length of the period T2 described above. As described above, in the timing ST (n + 1), ST (n + 2), ST (t + 3) ..., The key output unit 12 outputs the scramble key to the scramble unit 40 between the odd-numbered key KO and the even-numbered key KE. Switch. Hereinafter, the timing ST is also referred to as a switching timing ST.

たとえば、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの直前に更新されたスクランブル鍵に切り替える。より詳細には、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの、当該切替タイミングSTの直前の検知タイミングDTにおいて更新されたスクランブル鍵に切り替える。 For example, the key output unit 12 switches the scramble key output to the scramble unit 40 to the scramble key updated immediately before among the even-numbered key KE and the odd-numbered key KO at the switching timing ST. More specifically, in the switching timing ST, the key output unit 12 updates the scramble key output to the scramble unit 40 at the detection timing DT immediately before the switching timing ST among the even key KE and the odd key KO. Switch to the scrambled key.

具体的には、たとえば、鍵出力部12は、切替タイミングST2において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST2の直前の検知タイミングDT1において更新された偶数鍵KE2に切り替える。また、たとえば、鍵出力部12は、切替タイミングST3において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST3の直前の検知タイミングDT2において更新された奇数鍵KO3に切り替える。また、たとえば、鍵出力部12は、切替タイミングST4において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST4の直前の検知タイミングDT3において更新された偶数鍵KE4に切り替える。 Specifically, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 at the switching timing ST2 to the even-numbered key KE2 updated at the detection timing DT1 immediately before the switching timing ST2. Further, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 at the switching timing ST3 to the odd-numbered key KO3 updated at the detection timing DT2 immediately before the switching timing ST3. Further, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 in the switching timing ST4 to the even-numbered key KE4 updated in the detection timing DT3 immediately before the switching timing ST4.

スクランブル部40は、鍵出力部12から受けたスクランブル鍵を用いてTSパケットの暗号化を行うことにより、当該切替タイミングSTにおいて、暗号化に用いるスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。 The scramble unit 40 encrypts the TS packet using the scramble key received from the key output unit 12, so that the scramble key used for encryption is set between the odd-numbered key KO and the even-numbered key KE at the switching timing ST. Switch with.

これにより、スクランブル部40は、n回目の更新タイミングUTnよりも所定時間前の切替タイミングSTnから始まる対象期間TXnにおいて、ECM管理部10により受信されたECMに含まれる偶数鍵KEおよび奇数鍵KOのいずれか一方を用いてコンテンツ情報を暗号化する。また、スクランブル部40は、(n+1)回目の更新タイミングUT(n+1)よりも所定時間前の切替タイミングST(n+1)から始まる、対象期間Tnに続く対象期間TX(n+1)において、ECM管理部10により受信されたECMに含まれる偶数鍵KEおよび奇数鍵KOのいずれか他方を用いてコンテンツ情報を暗号化する。 As a result, the scramble unit 40 has the even-numbered key KE and the odd-numbered key KO included in the ECM received by the ECM management unit 10 in the target period TXn starting from the switching timing STn, which is a predetermined time before the nth update timing UTn. Encrypt content information using either one. Further, the scramble unit 40 is the ECM management unit 10 in the target period TX (n + 1) following the target period Tn, which starts from the switching timing ST (n + 1) predetermined time before the (n + 1) th update timing UT (n + 1). The content information is encrypted using either the even key KE or the odd key KO included in the ECM received by.

具体的には、たとえば、鍵出力部12は、更新タイミングUT1に対応する検知タイミングDT1から、更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST2において、スクランブル部40へ出力するスクランブル鍵を奇数鍵KO1から偶数鍵KE2に切り替える。より詳細には、鍵出力部12は、検知タイミングDT1から切替タイミングST2までの期間において、ECM複号部13から受けたECM_E1に含まれる奇数鍵KO1をスクランブル部40へ出力し、切替タイミングST2から更新タイミングUT2までの期間において、ECM複号部13から受けたECM_E1に含まれる偶数鍵KE2をスクランブル部40へ出力する。 Specifically, for example, the key output unit 12 outputs to the scramble unit 40 at the switching timing ST2 in which the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC 1 has elapsed from the detection timing DT1 corresponding to the update timing UT1. The scramble key is switched from the odd key KO1 to the even key KE2. More specifically, the key output unit 12 outputs the odd key KO1 included in the ECM_E1 received from the ECM compound unit 13 to the scramble unit 40 during the period from the detection timing DT1 to the switching timing ST2, and from the switching timing ST2. During the period up to the update timing UT2, the even key KE2 included in the ECM_E1 received from the ECM compound unit 13 is output to the scramble unit 40.

また、たとえば、鍵出力部12は、更新タイミングUT2に対応する検知タイミングDT2から、更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST3において、スクランブル部40へ出力するスクランブル鍵を偶数鍵KE2から奇数鍵KO3に切り替える。より詳細には、鍵出力部12は、検知タイミングDT2から切替タイミングST3までの期間において、ECM複号部13から受けたECM_E2に含まれる偶数鍵KE2をスクランブル部40へ出力し、切替タイミングST3から更新タイミングUT3までの期間において、ECM複号部13から受けたECM_E2に含まれる奇数鍵KO3をスクランブル部40へ出力する。 Further, for example, the key output unit 12 outputs a scramble key to be output to the scramble unit 40 at the switching timing ST3 in which the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC from the detection timing DT2 corresponding to the update timing UT2 has elapsed. Switch from the even key KE2 to the odd key KO3. More specifically, the key output unit 12 outputs the even-numbered key KE2 included in the ECM_E2 received from the ECM compound unit 13 to the scramble unit 40 during the period from the detection timing DT2 to the switching timing ST3, and from the switching timing ST3. During the period up to the update timing UT3, the odd key KO3 included in the ECM_E2 received from the ECM compound unit 13 is output to the scramble unit 40.

また、たとえば、鍵出力部12は、更新タイミングUT3に対応する検知タイミングDT3から、更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST4において、スクランブル部40へ出力するスクランブル鍵を奇数鍵KO3から偶数鍵KE4に切り替える。より詳細には、鍵出力部12は、検知タイミングDT3から切替タイミングST4までの期間において、ECM複号部13から受けたECM_E3に含まれる奇数鍵KO3をスクランブル部40へ出力し、切替タイミングST4から更新タイミングUT4までの期間において、ECM複号部13から受けたECM_E3に含まれる偶数鍵KE4をスクランブル部40へ出力する。 Further, for example, the key output unit 12 outputs a scramble key to be output to the scramble unit 40 at the switching timing ST4 in which the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC from the detection timing DT3 corresponding to the update timing UT3 has elapsed. Switch from the odd key KO3 to the even key KE4. More specifically, the key output unit 12 outputs the odd key KO3 included in the ECM_E3 received from the ECM compound unit 13 to the scramble unit 40 during the period from the detection timing DT3 to the switching timing ST4, and from the switching timing ST4. During the period up to the update timing UT4, the even key KE4 included in the ECM_E3 received from the ECM compound unit 13 is output to the scramble unit 40.

スクランブル部40は、検知タイミングDT1から切替タイミングST2までの期間において、鍵出力部12から受けた奇数鍵KO1を用いてTSパケットを暗号化し、切替タイミングST2から切替タイミングST3までの対象期間TX2において、鍵出力部12から受けた偶数鍵KE2を用いてTSパケットを暗号化し、切替タイミングST3から切替タイミングST4までの対象期間TX3において、鍵出力部12から受けた奇数鍵KO3を用いてTSパケットを暗号化し、切替タイミングST4から切替タイミングST5までの対象期間TX4において、鍵出力部12から受けた偶数鍵KE4を用いてTSパケットを暗号化する。 The scramble unit 40 encrypts the TS packet using the odd key KO1 received from the key output unit 12 in the period from the detection timing DT1 to the switching timing ST2, and in the target period TX2 from the switching timing ST2 to the switching timing ST3, the scramble unit 40 encrypts the TS packet. The TS packet is encrypted using the even key KE2 received from the key output unit 12, and the TS packet is encrypted using the odd key KO3 received from the key output unit 12 in the target period TX3 from the switching timing ST3 to the switching timing ST4. In the target period TX4 from the switching timing ST4 to the switching timing ST5, the TS packet is encrypted using the even key KE4 received from the key output unit 12.

このように、本開示の第1の実施の形態に係るスクランブル装置101は、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る。より詳細には、スクランブル装置101は、切替タイミングSTを、更新タイミングUTよりも時間Ta遅らせることにより当該時間差を作る。スクランブル装置101は、当該時間差を作ることにより、同じスクランブル鍵を用いて暗号化されたコンテンツ情報の出力が継続する期間である対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵を含むECMの出力が継続する期間である出力継続期間内のタイミングにおいて始める。対象期間TXは、同一暗号化期間の一例である。より詳細には、スクランブル装置101は、当該時間差を作ることにより、対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵である使用鍵を含むECMにおける、使用鍵とは異なるスクランブル鍵の更新タイミングUTよりも所定時間Tb前から始める。具体的には、たとえば、スクランブル装置101は、当該時間差を作ることにより、対象期間TX3を、対象期間TX3において出力するコンテンツ情報の暗号化に用いられた使用鍵である奇数鍵KO3を含むECM_E2,ECM_E3における偶数鍵KEの更新タイミングUT3よりも所定時間Tb前から始め、対象期間TX4を、対象期間TX4において出力するコンテンツ情報の暗号化に用いられた使用鍵である偶数鍵KE4を含むECM_E3,ECM_E4における奇数鍵KOの更新タイミングUT4よりも所定時間Tb前から始める。 As described above, the scramble device 101 according to the first embodiment of the present disclosure creates a relative time difference between the switching timing ST and the scramble key update timing UT in the output ECM. More specifically, the scramble device 101 creates the time difference by delaying the switching timing ST by a time Ta later than the update timing UT. By creating the time difference, the scramble device 101 uses the target period TX, which is the period during which the output of the content information encrypted using the same scramble key continues, for encrypting the content information output in the target period TX. It starts at a timing within the output continuation period, which is the period during which the output of the ECM including the scrambled key is continued. The target period TX is an example of the same encryption period. More specifically, the scramble device 101 creates the time difference, so that the target period TX is the key used in the ECM including the key used which is the scramble key used for encrypting the content information output in the target period TX. The scramble key update timing different from UT is started from Tb before a predetermined time. Specifically, for example, the scramble device 101 creates the time difference so that the target period TX3 includes the odd key KO3 which is the key used for encrypting the content information output in the target period TX3. Update timing of even-numbered key KE in ECM_E3 ECM_E3, ECM_E4 including even-numbered key KE4, which is a key used for encrypting content information output in target period TX4, starting from a predetermined time Tb before UT3. The update timing of the odd-numbered key KO in UT4 is started from Tb before a predetermined time.

すなわち、本開示の第1の実施の形態に係るスクランブル装置101では、更新タイミングUTnに対応する検知タイミングDTnから、更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。これにより、スクランブル鍵の切り替えに関する上述の規格に従って、期間T1において、ECM送信装置201から受信してリマックス装置121へ送信するECMに含まれるカレント鍵を用いてコンテンツ情報を暗号化し、次の更新タイミングUT(n+1)よりも所定時間前から始まる期間T2において、ECM送信装置201から受信してリマックス装置121へ送信するECMに含まれるネクスト鍵を用いてコンテンツ情報を暗号化することができる。 That is, in the scramble device 101 according to the first embodiment of the present disclosure, the switching timing ST (n + 1) in which the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC from the detection timing DTn corresponding to the update timing UTn has elapsed. In, the scramble key used for encryption is switched between the even key KE and the odd key KO. Thereby, according to the above-mentioned standard for switching the scramble key, the content information is encrypted using the current key included in the ECM received from the ECM transmitting device 201 and transmitted to the remax device 121 in the period T1, and the next update timing is performed. In the period T2 starting from a predetermined time before UT (n + 1), the content information can be encrypted by using the next key included in the ECM that is received from the ECM transmission device 201 and transmitted to the remax device 121.

ここで、比較例に係るスクランブル装置101として、たとえば連続する2つの検知タイミングDTに基づいてECMの更新周期UCを算出し、検知タイミングDTnから、算出した更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替えることが考えられる。しかしながら、このような構成では、ECM送信装置201から送信されるECMの更新周期UCが変更された場合、上述の規格に従ってコンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができない場合がある。 Here, as the scramble device 101 according to the comparative example, for example, the update cycle UC of the ECM is calculated based on two consecutive detection timing DTs, and the time obtained by subtracting the predetermined time Tb from the calculated update cycle UC from the detection timing DTn. At the switching timing ST (n + 1) after Ta has elapsed, it is conceivable that the scramble key used for encryption is switched between the even key KE and the odd key KO. However, in such a configuration, when the update cycle UC of the ECM transmitted from the ECM transmission device 201 is changed, it may not be possible to switch the scramble key used for encrypting the content information according to the above-mentioned standard.

具体的には、比較例に係るスクランブル装置101では、ECM送信装置201から送信されるECMの更新周期UCが変更され、たとえばECMの(n+1)回目の更新が本来の更新タイミングUT(n+1)よりも早いタイミングUTmにおいて行われた場合においても、ECMの(n+1)回目の更新が本来の更新タイミングUT(n+1)において行われた場合と同様に、検知タイミングDTnから、算出した更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替えてしまう。その結果、実際の更新タイミングUTmよりも所定期間Tb前のタイミングにおいてスクランブル鍵を切り替えることができず、期間T2としてゼロ秒より大きい期間を確保することができなくなる。 Specifically, in the scramble device 101 according to the comparative example, the update cycle UC of the ECM transmitted from the ECM transmission device 201 is changed, for example, the (n + 1) th update of the ECM is from the original update timing UT (n + 1). Even when the ECM is updated at the early timing UTm, the update cycle UC calculated from the detection timing DTn is predetermined as in the case where the (n + 1) th update of the ECM is performed at the original update timing UT (n + 1). At the switching timing ST (n + 1) when the time Ta obtained by subtracting the time Tb has elapsed, the scramble key used for encryption is switched between the even key KE and the odd key KO. As a result, the scramble key cannot be switched at a timing before a predetermined period Tb before the actual update timing UTm, and a period larger than zero seconds cannot be secured as the period T2.

これに対して、本開示の第1の実施の形態に係るスクランブル装置101では、取得部30は、スクランブル鍵が更新される周期である更新周期を示す周期情報を取得する。ECM管理部10は、受信したECMに含まれるスクランブル鍵の更新を検知する。スクランブル部40は、ECM管理部10によりスクランブル鍵の更新が検知されたタイミングである検知タイミングDTnから、取得部30により取得された周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。 On the other hand, in the scramble device 101 according to the first embodiment of the present disclosure, the acquisition unit 30 acquires cycle information indicating an update cycle, which is a cycle in which the scramble key is updated. The ECM management unit 10 detects the update of the scramble key included in the received ECM. The scramble unit 40 has a time Ta obtained by subtracting a predetermined time Tb from the update cycle UC indicated by the cycle information acquired by the acquisition unit 30 from the detection timing DTn which is the timing when the update of the scramble key is detected by the ECM management unit 10. At the elapsed switching timing ST (n + 1), the rumble key used for encryption is switched between the even key KE and the odd key KO.

このような構成により、ECM送信装置201から送信されるECMの更新周期UCが変更される場合において、たとえば、予め変更後の更新周期UCを示す周期情報を取得し、変更後の更新周期UCに基づいて、上述の規格に従うタイミングにおいてコンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。したがって、外部装置であるECM送信装置201において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置101において、ECM送信装置201から受信するECMの更新周期UCの変更に柔軟に対応してコンテンツ情報の暗号化を行うことができる。 With such a configuration, when the update cycle UC of the ECM transmitted from the ECM transmission device 201 is changed, for example, cycle information indicating the changed update cycle UC is acquired in advance, and the changed update cycle UC is set. Based on this, the scramble key used for encrypting the content information can be switched at the timing according to the above-mentioned standard. Therefore, in the scramble device 101 that encrypts the content information using the ECM generated by the ECM transmission device 201, which is an external device, the content flexibly responds to the change of the update cycle UC of the ECM received from the ECM transmission device 201. Information can be encrypted.

[動作の流れ]
本開示の第1の実施の形態に係る放送システムにおける各装置は、メモリを含むコンピュータを備え、当該コンピュータにおけるCPU等の演算処理部は、以下のフローチャートおよびシーケンスの各ステップの一部または全部を含むプログラムを当該メモリから読み出して実行する。これら複数の装置のプログラムは、それぞれ、外部からインストールすることができる。これら複数の装置のプログラムは、それぞれ、記録媒体に格納された状態で流通する。
[Operation flow]
Each device in the broadcasting system according to the first embodiment of the present disclosure includes a computer including a memory, and an arithmetic processing unit such as a CPU in the computer includes a part or all of each step of the following flowchart and sequence. The included program is read from the memory and executed. The programs of these plurality of devices can be installed from the outside. The programs of these plurality of devices are distributed in a state of being stored in a recording medium.

図9は、本開示の第1の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。 FIG. 9 is a flowchart defining an example of an operation procedure when the scramble device according to the first embodiment of the present disclosure performs scrambling processing.

図9を参照して、まず、スクランブル装置101は、周期情報を取得する(ステップS102)。 With reference to FIG. 9, first, the scrambler 101 acquires periodic information (step S102).

次に、ECM送信装置201から送信されるECMを受信する。より詳細には、スクランブル装置101は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。そして、スクランブル装置101は、TSパケットのペイロードに格納されたデータを結合することにより、暗号化されたECMを含むセクションデータを再構成し、再構成したセクションデータから暗号化されたECMを取得する(ステップS104)。 Next, the ECM transmitted from the ECM transmission device 201 is received. More specifically, the scramble device 101 receives an IP packet from the ECM transmission device 201 via the IP transmission network 211, and acquires a TS packet from the received IP packet. Then, the scramble device 101 reconstructs the section data including the encrypted ECM by combining the data stored in the payload of the TS packet, and acquires the encrypted ECM from the reconstructed section data. (Step S104).

次に、スクランブル装置101は、取得したECMに含まれるスクランブル鍵を用いてコンテンツ情報を暗号化する。より詳細には、スクランブル装置101は、取得したECMを、CASモジュール70に格納されたワーク鍵を用いて復号する。そして、スクランブル装置101は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれる、コンテンツ情報を含むTSパケットを、復号したECMに含まれるスクランブル鍵を用いて暗号化する(ステップS106)。 Next, the scramble device 101 encrypts the content information by using the scramble key included in the acquired ECM. More specifically, the scrambler 101 decodes the acquired ECM using the work key stored in the CAS module 70. Then, the scramble device 101 receives the IP packet from the encoder device 111, and encrypts the TS packet including the content information included in the received IP packet by using the scramble key included in the decoded ECM (step S106). ).

次に、スクランブル装置101は、暗号化したコンテンツ情報、およびコンテンツ情報の暗号化に用いたスクランブル鍵を含むECMを出力する。より詳細には、スクランブル装置101は、暗号化されたTSパケットと、暗号化に用いたECMを含むセクションデータの一部が格納されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する(ステップS108)。 Next, the scramble device 101 outputs the encrypted content information and the ECM including the scramble key used for encrypting the content information. More specifically, the scramble device 101 multiplexes the encrypted TS packet and the TS packet containing a part of the section data including the ECM used for encryption in the time axis direction, and after multiplexing. Each TS packet is transmitted to the remax device 121 (step S108).

図10は、本開示の第1の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。図10は、図9に示すフローチャートのステップS106の詳細を示している。 FIG. 10 is a flowchart defining an example of an operation procedure when the scramble device according to the first embodiment of the present disclosure performs scrambling processing. FIG. 10 shows the details of step S106 of the flowchart shown in FIG.

図10を参照して、まず、スクランブル装置101は、ECM送信装置201から送信されるECMに含まれるスクランブル鍵の更新を待ち受け(ステップS202でNO)、ECMに含まれるスクランブル鍵が更新されたことを検知すると(ステップS202でYES)、スクランブル鍵の更新を検知した検知タイミングDTnから、周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。すなわち、スクランブル装置101は、切替タイミングSTを更新タイミングUTよりも時間Ta遅らせることにより、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る(ステップS204) With reference to FIG. 10, first, the scramble device 101 listens for the update of the scramble key included in the ECM transmitted from the ECM transmission device 201 (NO in step S202), and the scramble key included in the ECM is updated. (YES in step S202), the encryption is performed at the switching timing ST (n + 1) at which the time Ta obtained by subtracting the predetermined time Tb from the update cycle UC indicated by the cycle information has elapsed from the detection timing DTn that detected the update of the scramble key. The scramble key used for conversion is switched between the even key KE and the odd key KO. That is, the scramble device 101 delays the switching timing ST by a time Ta later than the update timing UT to create a relative time difference between the switching timing ST and the scramble key update timing UT in the output ECM (step S204).

次に、スクランブル装置101は、ECM送信装置201から送信されるECMに含まれるスクランブル鍵の次回の更新を待ち受ける(ステップS202でNO)。 Next, the scramble device 101 waits for the next update of the scramble key included in the ECM transmitted from the ECM transmission device 201 (NO in step S202).

なお、本開示の第1の実施の形態に係る放送システム401では、ECM送信装置201、EMM送信装置202およびエンコーダ装置111は、TSパケットを1または複数のIPパケットに含めてIP伝送網211経由でスクランブル装置101へ送信する構成であるとしたが、これに限定するものではない。ECM送信装置201、EMM送信装置202およびエンコーダ装置111のうちの少なくともいずれか1つは、TSパケットをASI(Asynchronous Serial Interface)方式の信号であるASI信号に含めてスクランブル装置101へ送信する構成であってもよい。 In the broadcasting system 401 according to the first embodiment of the present disclosure, the ECM transmission device 201, the EMM transmission device 202, and the encoder device 111 include the TS packet in one or a plurality of IP packets via the IP transmission network 211. However, the configuration is such that transmission to the scramble device 101 is performed, but the present invention is not limited to this. At least one of the ECM transmission device 201, the EMM transmission device 202, and the encoder device 111 is configured to include the TS packet in the ASI signal, which is an ASI (Asynchronous Serial Interface) type signal, and transmit the TS packet to the scramble device 101. There may be.

また、本開示の第1の実施の形態に係るスクランブル装置101では、鍵出力部12は、ECM検出部11から受けた検知情報が示す検知タイミングDTから、周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングである切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える構成であるとしたが、これに限定するものではない。鍵出力部12は、検知タイミングDT以外のタイミングに基づく切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える構成であってもよい。 Further, in the scramble device 101 according to the first embodiment of the present disclosure, the key output unit 12 has a predetermined time from the detection timing DT indicated by the detection information received from the ECM detection unit 11 and the update cycle UC indicated by the cycle information. In the switching timing ST, which is the timing when the time Ta after deducting Tb has elapsed, the scramble key to be output to the scramble unit 40 is switched between the even key KE and the odd key KO. do not have. The key output unit 12 may be configured to switch the scramble key to be output to the scramble unit 40 between the even-numbered key KE and the odd-numbered key KO in the switching timing ST based on a timing other than the detection timing DT.

次に、本開示の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。 Next, other embodiments of the present disclosure will be described with reference to the drawings. The same or corresponding parts in the drawings are designated by the same reference numerals and the description thereof will not be repeated.

<第2の実施の形態>
本実施の形態は、第1の実施の形態に係るスクランブル装置101と比べて、ECMを、対応するスクランブル鍵を用いて暗号化されたコンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力するスクランブル装置102に関する。以下で説明する内容以外は第1の実施の形態に係るスクランブル装置101と同様である。
<Second embodiment>
This embodiment is a scramble that outputs the ECM at a timing delayed by a predetermined time from the output timing of the content information encrypted by using the corresponding scramble key, as compared with the scramble device 101 according to the first embodiment. With respect to device 102. Except for the contents described below, the scrambler device 101 according to the first embodiment is the same.

[構成および基本動作]
図11は、本開示の第2の実施の形態に係るスクランブル装置の構成を示す図である。図11を参照して、スクランブル装置102は、第1の実施の形態に係るスクランブル装置101と比べて、ECM管理部10の代わりにECM管理部80を備える。ECM管理部10は、ECM検出部11と、鍵出力部82と、ECM復号部13と、遅延制御部84とを含む。
[Configuration and basic operation]
FIG. 11 is a diagram showing a configuration of a scrambler according to a second embodiment of the present disclosure. With reference to FIG. 11, the scramble device 102 includes an ECM management unit 80 instead of the ECM management unit 10 as compared with the scramble device 101 according to the first embodiment. The ECM management unit 10 includes an ECM detection unit 11, a key output unit 82, an ECM decoding unit 13, and a delay control unit 84.

ECM管理部10におけるECM検出部11は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。ECM検出部11は、取得したTSパケットにおけるPID等を参照することにより、当該TSパケットのペイロードに、ECMを含むセクションデータの一部が格納されていると判断した場合、当該TSパケットを遅延制御部84へ出力する。 The ECM detection unit 11 in the ECM management unit 10 receives an IP packet from the ECM transmission device 201 via the IP transmission network 211, and acquires a TS packet from the received IP packet. When the ECM detection unit 11 determines that a part of the section data including the ECM is stored in the payload of the TS packet by referring to the PID or the like in the acquired TS packet, the ECM detection unit 11 delay-controls the TS packet. Output to unit 84.

また、ECM検出部11は、当該TSパケットのペイロードに格納されたデータを結合することにより、ECM送信装置201において生成された、暗号化されたECMを含むセクションデータを再構成する。たとえば、ECM検出部11は、再構成したセクションデータのヘッダ部に格納された情報に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。ECM検出部11は、セクションデータのバージョン番号の変化を検知した場合、バージョン番号の変化を検知したタイミングである検知タイミングDTを示す検知情報を鍵出力部82へ出力する。 Further, the ECM detection unit 11 reconstructs the section data including the encrypted ECM generated in the ECM transmission device 201 by combining the data stored in the payload of the TS packet. For example, the ECM detection unit 11 detects the update of the scramble key included in the ECM stored in the data unit of the section data based on the information stored in the header unit of the reconstructed section data. When the ECM detection unit 11 detects a change in the version number of the section data, the ECM detection unit 11 outputs detection information indicating the detection timing DT, which is the timing at which the change in the version number is detected, to the key output unit 82.

鍵出力部82は、ECM検出部11から検知情報を受けて、受けた検知情報が示す検知タイミングDTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。 The key output unit 82 receives the detection information from the ECM detection unit 11 and switches the scramble key to be output to the scramble unit 40 between the even-numbered key KE and the odd-numbered key KO in the detection timing DT indicated by the received detection information.

スクランブル部40は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれるTSパケットを、鍵出力部82から受けたスクランブル鍵を用いて暗号化する。スクランブル部40は、暗号化したTSパケットを出力部50へ出力する。 The scramble unit 40 receives an IP packet from the encoder device 111, and encrypts the TS packet included in the received IP packet by using the scramble key received from the key output unit 82. The scramble unit 40 outputs the encrypted TS packet to the output unit 50.

遅延制御部84は、ECM検出部11からTSパケットを受けて、受けたTSパケットを、遅延処理を行って出力部50へ出力する。より詳細には、遅延制御部84は、ECM検出部11から受けたTSパケットを、所定時間Tb保持してから出力部50へ出力する。 The delay control unit 84 receives a TS packet from the ECM detection unit 11, performs delay processing on the received TS packet, and outputs the received TS packet to the output unit 50. More specifically, the delay control unit 84 holds the TS packet received from the ECM detection unit 11 at Tb for a predetermined time, and then outputs the TS packet to the output unit 50.

出力部50は、遅延制御部84から受けた、ECMを含むセクションデータの一部が格納されている遅延処理後のTSパケットと、スクランブル部40から受けた、当該ECMに含まれるスクランブル鍵を用いて暗号化されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。 The output unit 50 uses the TS packet after the delay processing in which a part of the section data including the ECM received from the delay control unit 84 is stored, and the scramble key included in the ECM received from the scramble unit 40. The encrypted TS packet is multiplexed in the time axis direction, and each TS packet after multiplexing is transmitted to the remax device 121.

<スクランブル鍵の切り替え処理>
図12は、本開示の第2の実施の形態に係るスクランブル装置において受信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。
<Scramble key switching process>
FIG. 12 is a diagram showing an example of a timing chart showing the update timing of the scramble key received in the scramble device according to the second embodiment of the present disclosure and the scramble key used for encrypting the content information.

図12を参照して、スクランブル部40は、ECM管理部10によりスクランブル鍵の更新が検知されたタイミングである検知タイミングDTnにおいて、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。 With reference to FIG. 12, the scramble unit 40 sets the scramble key used for encryption between the even key KE and the odd key KO in the detection timing DTn, which is the timing when the scramble key update is detected by the ECM management unit 10. Switch.

より詳細には、ECM管理部10におけるECM検出部11は、n回目の更新タイミングUTnにおいてECM送信装置201から受信したECMに含まれるスクランブル鍵が更新されたことを検知して、検知タイミングDTnを示す検知情報を鍵出力部12へ出力する。 More specifically, the ECM detection unit 11 in the ECM management unit 10 detects that the scramble key included in the ECM received from the ECM transmission device 201 has been updated at the nth update timing UTn, and sets the detection timing DTn. The indicated detection information is output to the key output unit 12.

鍵出力部82は、検知情報をECM検出部11から受けて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。すなわち、鍵出力部82は、たとえば検知タイミングDTの直後のタイミングである切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。 The key output unit 82 receives the detection information from the ECM detection unit 11 and switches the scramble key to be output to the scramble unit 40 between the odd-numbered key KO and the even-numbered key KE. That is, the key output unit 82 switches the scramble key to be output to the scramble unit 40 between the odd-numbered key KO and the even-numbered key KE, for example, in the switching timing ST which is the timing immediately after the detection timing DT.

たとえば、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの直前に更新されたスクランブル鍵とは異なるスクランブル鍵に切り替える。より詳細には、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの、当該切替タイミングSTの直前の検知タイミングDTにおいて更新されなかったスクランブル鍵に切り替える。 For example, in the switching timing ST, the key output unit 12 switches the scramble key output to the scramble unit 40 to a scramble key different from the scramble key updated immediately before among the even key KE and the odd key KO. More specifically, in the switching timing ST, the key output unit 12 updates the scramble key output to the scramble unit 40 at the detection timing DT immediately before the switching timing ST among the even key KE and the odd key KO. Switch to a scrambled key that wasn't there.

具体的には、たとえば、鍵出力部12は、検知タイミングDT2の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT2において更新されなかった偶数鍵KE2に切り替える。また、たとえば、鍵出力部12は、検知タイミングDT3の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT3において更新されなかった奇数鍵KO3に切り替える。また、たとえば、鍵出力部12は、検知タイミングDT4の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT4において更新されなかった偶数鍵KE4に切り替える。 Specifically, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 to the even-numbered key KE2 that was not updated in the detection timing DT2 at the switching timing ST immediately after the detection timing DT2. Further, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 to the odd key KO3 that was not updated in the detection timing DT3 at the switching timing ST immediately after the detection timing DT3. Further, for example, the key output unit 12 switches the scramble key output to the scramble unit 40 to the even-numbered key KE4 that was not updated in the detection timing DT4 at the switching timing ST immediately after the detection timing DT4.

このように、鍵出力部82は、更新タイミングUTnに対応する検知タイミングDTnの直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。 As described above, the key output unit 82 switches the scramble key to be output to the scramble unit 40 between the odd-numbered key KO and the even-numbered key KE in the switching timing ST immediately after the detection timing DTn corresponding to the update timing UTn.

スクランブル部40は、鍵出力部82から受けたスクランブル鍵を用いてTSパケットの暗号化を行うことにより、検知タイミングDTnにおいて、暗号化に用いるスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。 The scramble unit 40 encrypts the TS packet using the scramble key received from the key output unit 82, so that the scramble key used for encryption is set between the odd-numbered key KO and the even-numbered key KE at the detection timing DTn. Switch.

図13は、本開示の第2の実施の形態に係るスクランブル装置において受信および送信されるスクランブル鍵の更新タイミングおよびコンテンツ情報の暗号化に用いるスクランブル鍵を示すタイミングチャートの一例を示す図である。 FIG. 13 is a diagram showing an example of a timing chart showing the update timing of the scramble key received and transmitted in the scramble device according to the second embodiment of the present disclosure and the scramble key used for encrypting the content information.

図13を参照して、出力部50は、ECMを、対応するスクランブル鍵を用いて暗号化されたコンテンツ情報の出力タイミングから所定時間Tb遅延したタイミングにおいて出力する。 With reference to FIG. 13, the output unit 50 outputs the ECM at a timing delayed by Tb by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key.

より詳細には、上述したように、遅延制御部84は、ECM検出部11から受けた、ECMを含むセクションデータの一部が格納されたTSパケットを、所定時間Tb保持してから出力部50へ出力する。 More specifically, as described above, the delay control unit 84 holds the TS packet containing a part of the section data including the ECM received from the ECM detection unit 11 at Tb for a predetermined time, and then the output unit 50. Output to.

一方、鍵出力部82は、ECM復号部13から受けたスクランブル鍵を、遅延処理を行うことなくスクランブル部40へ出力する。 On the other hand, the key output unit 82 outputs the scrambled key received from the ECM decoding unit 13 to the scramble unit 40 without performing delay processing.

そして、スクランブル部40は、鍵出力部82から受けたスクランブル鍵を用いて暗号化したTSパケットを、遅延処理を行うことなく出力部50へ出力する。すなわち、スクランブル部40は、暗号化したTSパケットを、遅延制御部84のように所定時間Tb保持することなく出力部50へ出力する。 Then, the scramble unit 40 outputs the TS packet encrypted using the scramble key received from the key output unit 82 to the output unit 50 without performing delay processing. That is, the scramble unit 40 outputs the encrypted TS packet to the output unit 50 without holding the Tb for a predetermined time like the delay control unit 84.

出力部50は、遅延制御部84から受けたTSパケットと、スクランブル部40から受けたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。 The output unit 50 multiplexes the TS packet received from the delay control unit 84 and the TS packet received from the scramble unit 40 in the time axis direction, and transmits each multiplexed TS packet to the remax device 121.

これにより、スクランブル装置102からリマックス装置121へ送信されるECMと、スクランブル装置102からリマックス装置121へ送信されるコンテンツ情報の暗号化に用いられたスクランブル鍵とに着目すると、スクランブル装置102からリマックス装置121へ送信されるECMのn回目の更新タイミングUTnよりも所定時間Tb前のタイミングにおいて、コンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。 As a result, focusing on the ECM transmitted from the scramble device 102 to the remax device 121 and the scramble key used for encrypting the content information transmitted from the scramble device 102 to the remax device 121, the remax device from the scramble device 102. The scramble key used for encrypting the content information can be switched at a timing Tb before a predetermined time Tb from the nth update timing UTn of the ECM transmitted to 121.

このように、本開示の第2の実施の形態に係るスクランブル装置102は、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る。より詳細には、スクランブル装置102は、出力するECMにおけるスクランブル鍵の更新タイミングUTを検知タイミングDTよりも所定時間Tb遅らせることにより当該時間差を作る。スクランブル装置102は、当該時間差を作ることにより、同じスクランブル鍵を用いて暗号化されたコンテンツ情報の出力が継続する期間である対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵を含むECMの出力が継続する期間である出力継続期間内のタイミングにおいて始める。より詳細には、スクランブル装置101は、当該時間差を作ることにより、対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵である使用鍵を含むECMにおける、使用鍵とは異なるスクランブル鍵の更新タイミングUTよりも所定時間Tb前から始める。 As described above, the scramble device 102 according to the second embodiment of the present disclosure creates a relative time difference between the switching timing ST and the scramble key update timing UT in the output ECM. More specifically, the scramble device 102 creates the time difference by delaying the update timing UT of the scramble key in the output ECM by a predetermined time Tb from the detection timing DT. By creating the time difference, the scramble device 102 uses the target period TX, which is the period during which the output of the content information encrypted using the same scramble key continues, for encrypting the content information output in the target period TX. It starts at a timing within the output continuation period, which is the period during which the output of the ECM including the scrambled key is continued. More specifically, the scramble device 101 creates the time difference, so that the target period TX is the key used in the ECM including the key used which is the scramble key used for encrypting the content information output in the target period TX. The scramble key update timing different from UT is started from Tb before a predetermined time.

すなわち、本開示の第2の実施の形態に係るスクランブル装置102では、出力部50は、ECMを、対応するスクランブル鍵を用いて暗号化されたコンテンツ情報の出力タイミングから所定時間Tb遅延したタイミングにおいて出力する。これにより、スクランブル鍵の切り替えに関する上述の規格に従って、期間T1において、リマックス装置121へ送信するECMに含まれるカレント鍵を用いてコンテンツ情報を暗号化し、次の更新タイミングUT(n+1)よりも所定時間前から始まる期間T2において、リマックス装置121へ送信するECMに含まれるネクスト鍵を用いてコンテンツ情報を暗号化することができる。 That is, in the scramble device 102 according to the second embodiment of the present disclosure, the output unit 50 delays the ECM by a predetermined time Tb from the output timing of the content information encrypted using the corresponding scramble key. Output. As a result, according to the above-mentioned standard for switching the scramble key, the content information is encrypted using the current key included in the ECM transmitted to the remax device 121 in the period T1, and the content information is encrypted for a predetermined time from the next update timing UT (n + 1). In the period T2 starting from the front, the content information can be encrypted by using the next key included in the ECM transmitted to the remax device 121.

このような構成により、ECM送信装置201から送信されるECMの更新周期UCが変更された場合であっても、この変更に合わせてコンテンツ情報の暗号化に用いるスクランブル鍵の切替タイミングを変更することにより、上述の規格に従ってECMおよびコンテンツ情報を出力することができる。したがって、外部装置であるECM送信装置201において生成されたECMを用いてコンテンツ情報を暗号化するスクランブル装置102において、ECM送信装置201から受信するECMの更新周期UCの変更に柔軟に対応してコンテンツ情報の暗号化を行うことができる。また、本開示の第2の実施の形態に係るスクランブル装置102では、周期情報を取得する必要がないので、第1の実施の形態に係るスクランブル装置101と比べて構成を簡易化することができる。 With such a configuration, even if the update cycle UC of the ECM transmitted from the ECM transmission device 201 is changed, the switching timing of the scramble key used for encrypting the content information is changed according to this change. Therefore, ECM and content information can be output according to the above-mentioned standards. Therefore, in the scramble device 102 that encrypts the content information using the ECM generated by the ECM transmission device 201, which is an external device, the content flexibly responds to the change of the update cycle UC of the ECM received from the ECM transmission device 201. Information can be encrypted. Further, since the scramble device 102 according to the second embodiment of the present disclosure does not need to acquire periodic information, the configuration can be simplified as compared with the scramble device 101 according to the first embodiment. ..

図14は、本開示の第2の実施の形態に係るスクランブル装置がスクランブル処理を行う際の動作手順の一例を定めたフローチャートである。図14は、図9に示すフローチャートのステップS108の詳細を示している。 FIG. 14 is a flowchart defining an example of an operation procedure when the scramble device according to the second embodiment of the present disclosure performs scrambling processing. FIG. 14 shows the details of step S108 of the flowchart shown in FIG.

図14を参照して、まず、スクランブル装置102は、コンテンツ情報の暗号化に用いたスクランブル鍵を含むECMを所定時間Tb保持する(ステップS302)。 With reference to FIG. 14, first, the scramble device 102 holds the ECM including the scramble key used for encrypting the content information at Tb for a predetermined time (step S302).

次に、スクランブル装置102は、ECMを、対応のスクランブル鍵を用いて暗号化したコンテンツ情報の出力タイミングから所定時間Tb遅延したタイミングにおいて出力する。より詳細には、スクランブル装置102は、所定時間Tb保持したECMを含むセクションデータの一部が格納されたTSパケットと、当該ECMに含まれるスクランブル鍵を用いて暗号化したTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。すなわち、スクランブル装置102は、出力するECMにおけるスクランブル鍵の更新タイミングUTを検知タイミングDTよりも所定時間Tb遅らせることにより、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る(ステップS304)。 Next, the scramble device 102 outputs the ECM at a timing delayed by Tb by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key. More specifically, the scramble device 102 has a time axis of a TS packet containing a part of section data including an ECM held at Tb for a predetermined time and a TS packet encrypted by using the scramble key included in the ECM. It is multiplexed in the direction, and each TS packet after multiplexing is transmitted to the remax device 121. That is, the scramble device 102 delays the scramble key update timing UT in the output ECM by a predetermined time Tb later than the detection timing DT, so that the switching timing ST is relative to the scramble key update timing UT in the output ECM. Make a time difference (step S304).

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

以上の説明は、以下に付記する特徴を含む。
[付記1]
ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、
前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、
前記ECMを受信するECM管理部と、
前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、
前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部とを備え、
前記出力部は、前記ECMを、対応する前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力し、
前記スクランブル部は、前記ECM送信装置が設けられた場所とは異なる場所に設けられたエンコーダ装置から取得した前記コンテンツ情報を暗号化する、スクランブル装置。
The above description includes the features described below.
[Appendix 1]
A scramble device that receives ECM containing a scramble key and encrypts content information, which is repeatedly transmitted from the ECM transmitter.
The ECM includes an even key and an odd key as the scramble key, and the even key and the odd key are updated alternately.
The ECM management unit that receives the ECM and
A scramble unit that encrypts the content information using the scramble key included in the ECM received by the ECM management unit, and a scramble unit.
It includes the content information encrypted by the scramble unit and an output unit that outputs the ECM including the scramble key used for encrypting the content information in the scramble unit.
The output unit outputs the ECM at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key.
The scramble unit is a scramble device that encrypts the content information acquired from an encoder device provided at a place different from the place where the ECM transmission device is provided.

10、80 ECM管理部
11 ECM検出部
12、82 鍵出力部
13 ECM復号部
20 EMM管理部
30 取得部
40 スクランブル部
50 出力部
60 記憶部
70 CASモジュール
84 遅延制御部
101、102 スクランブル装置
111 エンコーダ装置
121 リマックス装置
151 ケーブルテレビ局
211 IP伝送網
201 ECM送信装置
202 EMM送信装置
210 ECM生成部
220 送信部
251 番組配信センタ
301 STB
311 ケーブルテレビ網
351 加入者宅
401 放送システム
10, 80 ECM management unit 11 ECM detection unit 12, 82 Key output unit 13 ECM decoding unit 20 EMM management unit 30 Acquisition unit 40 Scramble unit 50 Output unit 60 Storage unit 70 CAS module 84 Delay control unit 101, 102 Scrambler 111 Encoder Equipment 121 Remax equipment 151 Cable TV station 211 IP transmission network 201 ECM transmission equipment 202 EMM transmission equipment 210 ECM generation unit 220 transmission unit 251 Program distribution center 301 STB
311 Cable TV network 351 Subscriber home 401 Broadcasting system

Claims (6)

ECM送信装置から繰り返し送信される、スクランブル鍵を含むECM(Entitlement Control Message)を受信し、コンテンツ情報を暗号化するスクランブル装置であって、
前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、
前記ECMを受信するECM管理部と、
前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、
前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部とを備え、
前記出力部は、前記ECMを、対応する前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力タイミングから所定時間遅延したタイミングにおいて出力する、スクランブル装置。
A scramble device that receives ECM (Enterprise Control Message) containing a scramble key and is repeatedly transmitted from an ECM transmitter and encrypts content information.
The ECM includes an even key and an odd key as the scramble key, and the even key and the odd key are updated alternately.
The ECM management unit that receives the ECM and
A scramble unit that encrypts the content information using the scramble key included in the ECM received by the ECM management unit, and a scramble unit.
It includes the content information encrypted by the scramble unit and an output unit that outputs the ECM including the scramble key used for encrypting the content information in the scramble unit.
The output unit is a scramble device that outputs the ECM at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scramble key.
前記ECM管理部は、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、
前記スクランブル部は、前記ECM管理部により前記スクランブル鍵の更新が検知されたタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える、請求項1に記載のスクランブル装置。
The ECM management unit detects the update of the scramble key included in the received ECM, and detects the update.
The scramble device according to claim 1, wherein the scramble unit switches the scramble key used for encryption between the even key and the odd key at the timing when the update of the scramble key is detected by the ECM management unit. ..
ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置であって、
前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、
前記ECMを受信するECM管理部と、
前記ECM管理部により受信された前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化するスクランブル部と、
前記スクランブル部により暗号化された前記コンテンツ情報、および前記スクランブル部において前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵を含む前記ECMを出力する出力部と、
前記スクランブル鍵が更新される周期である更新周期を示す周期情報を取得する取得部とを備え、
前記ECM管理部は、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、
前記スクランブル部は、前記ECM管理部により前記スクランブル鍵の更新が検知されたタイミングから、前記取得部により取得された前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間が経過したタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える、スクランブル装置。
A scramble device that receives ECM containing a scramble key and encrypts content information, which is repeatedly transmitted from the ECM transmitter.
The ECM includes an even key and an odd key as the scramble key, and the even key and the odd key are updated alternately.
The ECM management unit that receives the ECM and
A scramble unit that encrypts the content information using the scramble key included in the ECM received by the ECM management unit, and a scramble unit.
An output unit that outputs the content information encrypted by the scramble unit, and the ECM including the scramble key used for encrypting the content information in the scramble unit.
It is provided with an acquisition unit for acquiring cycle information indicating an update cycle, which is a cycle in which the scramble key is updated.
The ECM management unit detects the update of the scramble key included in the received ECM, and detects the update.
The scramble unit is at a timing when the time obtained by subtracting the predetermined time from the update cycle indicated by the cycle information acquired by the acquisition unit has elapsed from the timing when the update of the scramble key is detected by the ECM management unit. , A scramble device that switches the scramble key used for encryption between the even key and the odd key.
ECM送信装置から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化するスクランブル装置におけるスクランブル方法であって、
前記ECMは、前記スクランブル鍵として偶数鍵および奇数鍵を含み、前記偶数鍵および前記奇数鍵は交互に更新されるものであり、
前記ECMを受信するステップと、
受信した前記ECMに含まれる前記スクランブル鍵を用いて前記コンテンツ情報を暗号化し、暗号化した前記コンテンツ情報、および前記コンテンツ情報の暗号化に用いた前記スクランブル鍵を含む前記ECMを出力するステップとを含み、
前記コンテンツ情報および前記ECMを出力するステップにおいては、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える切替タイミングと、出力する前記ECMにおける前記スクランブル鍵の更新タイミングとの相対的な時間差を作ることにより、同じ前記スクランブル鍵を用いて暗号化された前記コンテンツ情報の出力が継続する期間である同一暗号化期間を、前記同一暗号化期間において出力する前記コンテンツ情報の暗号化に用いられた前記スクランブル鍵である使用鍵を含む前記ECMにおける、前記使用鍵とは異なる前記スクランブル鍵の前記更新タイミングよりも所定時間前から始める、スクランブル方法。
A scrambling method in a scrambling device that receives ECM including a scramble key and encrypts content information repeatedly transmitted from the ECM transmitting device.
The ECM includes an even key and an odd key as the scramble key, and the even key and the odd key are updated alternately.
The step of receiving the ECM and
The step of encrypting the content information using the scrambled key included in the received ECM and outputting the encrypted content information and the ECM including the scrambled key used for encrypting the content information. Including,
In the step of outputting the content information and the ECM, the switching timing for switching the scramble key used for encryption between the even key and the odd key is relative to the update timing of the scramble key in the ECM to be output. By creating a time difference, the same encryption period, which is the period during which the output of the content information encrypted using the same scramble key continues, is encrypted in the same encryption period. A scramble method that starts from a predetermined time before the update timing of the scrambled key different from the used key in the ECM including the used key that is the scrambled key used in the above.
前記ECMを受信するステップにおいては、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、
前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングにおいて、暗号化に用いる前記スクランブル鍵を、前記偶数鍵および前記奇数鍵のうちの直前に更新された前記スクランブル鍵とは異なる前記スクランブル鍵に切り替え、
前記コンテンツ情報および前記ECMを出力するステップにおいては、前記更新タイミングを前記切替タイミングよりも所定時間遅らせることにより前記時間差を作る、請求項4に記載のスクランブル方法。
In the step of receiving the ECM, the update of the scramble key included in the received ECM is detected, and the update is detected.
In the step of outputting the content information and the ECM, at the switching timing, the scramble key used for encryption is different from the scramble key updated immediately before the even key and the odd key. Switch to the key,
The scramble method according to claim 4, wherein in the step of outputting the content information and the ECM, the time difference is created by delaying the update timing by a predetermined time from the switching timing.
前記スクランブル方法は、さらに、前記スクランブル鍵が更新される周期である更新周期を示す周期情報を取得するステップを含み、
前記ECMを受信するステップにおいては、受信した前記ECMに含まれる前記スクランブル鍵の更新を検知し、
前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングにおいて、暗号化に用いる前記スクランブル鍵を、前記偶数鍵および前記奇数鍵のうちの直前に更新された前記スクランブル鍵に切り替え、
前記コンテンツ情報および前記ECMを出力するステップにおいては、前記切替タイミングを、前記更新タイミングよりも、取得した前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間遅らせることにより前記時間差を作る、請求項4に記載のスクランブル方法。
The scramble method further includes a step of acquiring cycle information indicating an update cycle, which is a cycle in which the scramble key is updated.
In the step of receiving the ECM, the update of the scramble key included in the received ECM is detected, and the update is detected.
In the step of outputting the content information and the ECM, at the switching timing, the scramble key used for encryption is switched to the scramble key updated immediately before the even key and the odd key.
In the step of outputting the content information and the ECM, the time difference is created by delaying the switching timing from the update timing by a time obtained by subtracting the predetermined time from the update cycle indicated by the acquired cycle information. The scrambling method according to claim 4.
JP2020200728A 2020-12-03 2020-12-03 Scrambling device and scrambling method Pending JP2022088741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020200728A JP2022088741A (en) 2020-12-03 2020-12-03 Scrambling device and scrambling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020200728A JP2022088741A (en) 2020-12-03 2020-12-03 Scrambling device and scrambling method

Publications (1)

Publication Number Publication Date
JP2022088741A true JP2022088741A (en) 2022-06-15

Family

ID=81987887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020200728A Pending JP2022088741A (en) 2020-12-03 2020-12-03 Scrambling device and scrambling method

Country Status (1)

Country Link
JP (1) JP2022088741A (en)

Similar Documents

Publication Publication Date Title
JP3655921B2 (en) Method and apparatus for uniquely encrypting multiple services at a transmission point
US8472624B2 (en) Generating a scrambled data stream
JP5795709B2 (en) Supplying control word to receiver
JP2009505516A (en) Protect elementary stream content
KR20100089228A (en) Method and apparatus for encrypting transport stream of multimedia content, method and apparatus for descrypting transport stream of multimedia content
EP1958442B1 (en) Apparatus and method for coding video, audio and additional data according to conditional access of terrestrial dmb and conditional access system using the same
KR20080033387A (en) Protecting elementary stream content
JP2005526453A (en) Conditional access system
US20040075773A1 (en) Scrambler, descrambler and the program for scrambling or descrambling
JPH04233345A (en) Method and apparatus for transfer control in broadcast equipment
US9031227B2 (en) Pattern-free encryption
JP4254758B2 (en) Stream encryption device, stream encryption method, stream decryption device, and stream decryption method
KR20060111823A (en) Entitlement management message transmitting system and method thereof in use of out of band
KR20050009227A (en) Individual video encryption system and method
KR100700301B1 (en) Transmission system
JP2022088741A (en) Scrambling device and scrambling method
JP2022088740A (en) Scrambling device and scrambling method
US20180181724A1 (en) Method for providing protected multimedia content
Jung et al. Design and implementation of a multi-stream cableCARD with a high-speed DVB-common descrambler
JP2022085259A (en) Scramble device, scramble method, ecm transmission device, and ecm transmission method
KR19980071098A (en) Encryption device, decryption device and encryption / decryption device
JP6155165B2 (en) ENCRYPTION DEVICE, DECRYPTION DEVICE, ENCRYPTION PROGRAM, AND DECRYPTION PROGRAM
JPH11331797A (en) Ca module, digital broadcasting receiver and digital broadcasting receiving system
KR100758874B1 (en) Encryption and decryption system and method using variable factor of mpeg2 ts packet header
CN100356789C (en) Method and device for protecting broadband audio-video broadcasting content

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240507