JP2022088741A - Scrambling device and scrambling method - Google Patents
Scrambling device and scrambling method Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 29
- 230000003111 delayed effect Effects 0.000 claims abstract description 9
- 238000001514 detection method Methods 0.000 description 87
- 230000005540 biological transmission Effects 0.000 description 83
- 238000010586 diagram Methods 0.000 description 22
- 150000001875 compounds Chemical group 0.000 description 6
- 230000000737 periodic effect Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000001934 delay Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000002747 voluntary effect Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
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,
外部装置において生成された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.
最初に、本開示の実施形態の内容を列記して説明する。 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
たとえば、ECM送信装置201およびエンコーダ装置111は、互いに異なる場所に設けられる。より詳細には、ECM送信装置201およびEMM送信装置202は、番組配信センタ251に設けられる。エンコーダ装置111、スクランブル装置101およびリマックス装置121は、ケーブルテレビ局151に設けられる。STB301は、加入者宅351に設けられる。STB301は、図示しないケーブルテレビ放送受信装置を含む。
For example, the
番組配信センタ251は、コンテンツをケーブルテレビ局151経由で加入者宅351へ配信する。番組配信センタ251は、コンテンツと、加入者宅351ごとの契約情報とを一括して管理する。
The
ECM送信装置201は、コンテンツの一例である番組に関する情報と、映像情報および音声情報等のコンテンツ情報を暗号化するためのスクランブル鍵と、各種制御情報とを含むECMを生成する。当該ECMは、スクランブル鍵として偶数鍵KEおよび奇数鍵KOを含み、かつ偶数鍵KEおよび奇数鍵KOが交互に更新される。たとえば、偶数鍵KEおよび奇数鍵KOは、更新周期UCに従う更新タイミングUTごとに交互に更新される。更新周期UCは、たとえば8秒である。
The
ECM送信装置201は、生成したECMを、ワーク鍵を用いて暗号化し、暗号化したECMをスクランブル装置101へ送信する。より詳細には、ECM送信装置201は、暗号化したECMを含むセクションデータを生成し、生成したセクションデータが複数に分割された情報を含む複数のTSパケットを、たとえば1または複数のIP(Internet Protocol)パケットに含めてIP伝送網211経由でスクランブル装置101へ送信する。IP伝送網211では、IPプロトコルに従って、IPパケットが伝送される。
The
図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
再び図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
ケーブルテレビ局151は、コンテンツ情報をスクランブルすなわち暗号化し、暗号化されたコンテンツ情報を加入者宅351のSTB301へ送信する。
The
より詳細には、エンコーダ装置111は、コンテンツ事業者としての番組配信センタ251からコンテンツ情報を取得し、取得したコンテンツ情報を符号化することによりコンテンツ情報が複数に分割された情報を含む複数のTSパケットを生成する。エンコーダ装置111は、生成した複数のTSパケットを、たとえば1または複数のIPパケットに含めてスクランブル装置101へ送信する。
More specifically, the
スクランブル装置101は、ECM送信装置201から繰り返し送信される、スクランブル鍵を含むECMを受信し、コンテンツ情報を暗号化する。より詳細には、スクランブル装置101は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。
The
また、スクランブル装置101は、IP伝送網211経由でEMM送信装置202からIPパケットを受信し、受信したIPパケットに含まれるTSパケットからEMMを取得する。スクランブル装置101は、取得したEMMを、マスタ鍵を用いて復号することにより、EMMからワーク鍵を取得する。スクランブル装置101は、後述するCASモジュールに格納されたワーク鍵を、EMMから取得したワーク鍵に更新する。
Further, the
また、スクランブル装置101は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットに含まれるTSパケットからECMを取得する。スクランブル装置101は、取得したECMを、CASモジュールに格納されたワーク鍵を用いて復号することにより、ECMからスクランブル鍵を取得する。
Further, the
スクランブル装置101は、エンコーダ装置111から受信したIPパケットから取得したTSパケットを、スクランブル処理して出力する。より詳細には、スクランブル装置101は、TSパケットを、取得したスクランブル鍵を用いて暗号化する。スクランブル装置101は、暗号化したTSパケットおよびTSパケットの暗号化に用いたECMが複数に分割された情報を含む複数のTSパケットを、たとえば1または複数のIPパケットに含めてリマックス装置121へ送信する。
The
図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
リマックス装置121は、受信したIPパケットを所定の変調方式により変調することによりRF(Radio Frequency)帯の放送信号を生成する。リマックス装置121は、生成した放送信号をケーブルテレビ網311経由で加入者宅351へ送信する。
The
加入者宅351におけるSTB301は、リマックス装置121から送信された放送信号をケーブルテレビ網311経由で受信する。STB301は、受信した放送信号を復調することにより、暗号化されたコンテンツ情報、ECMおよびEMMを取得する。STB301は、CASモジュールを用いてEMMを復号することによりワーク鍵を取得し、取得したワーク鍵を用いてECMを復号することによりスクランブル鍵を取得し、取得したスクランブル鍵を用いてコンテンツ情報をデスクランブルすなわち復号する。STB301は、復号したコンテンツ情報を図示しないTVモニタへ送信する。当該TVモニタは、STB301から受信したコンテンツ情報に基づいて番組を再生する。
The
[スクランブル装置]
図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
(取得部)
取得部30は、ECM送信装置201により送信されるECMにおける更新周期UCを示す周期情報を取得する。取得部30は、取得した周期情報を記憶部60に保存する。
(Acquisition department)
The
たとえば、取得部30は、定期的または不定期に、周期情報を含むIPパケットをIP伝送網211経由でECM送信装置201から受信する。取得部30は、受信したIPパケットから周期情報を取得し、取得した周期情報を記憶部60に保存する。
For example, the
あるいは、ケーブルテレビ局151におけるオペレータは、定期的または不定期に、番組配信センタ251から更新周期UCの通知を受ける。当該オペレータは、通知された更新周期UCをキーボードまたはマウスを用いてスクランブル装置101に入力する操作を行う。スクランブル装置101における図示しない受付部は、オペレータによる入力操作を受け付け、更新周期UCを示す周期情報を取得部30へ出力する。取得部30は、当該受付部から周期情報を受けて、受けた周期情報を記憶部60に保存する。
Alternatively, the operator at the
(ECM管理部)
ECM管理部10は、ECM送信装置201から送信されるECMを受信する。ECM管理部10は、受信したECMに含まれるスクランブル鍵をスクランブル部40へ出力する。上述したように、ECMは、スクランブル鍵として偶数鍵KEおよび奇数鍵KOを含み、かつ偶数鍵KEおよび奇数鍵KOがたとえば更新タイミングUTごとに交互に更新されるものである。
(ECM Management Department)
The
より詳細には、ECM管理部10におけるECM検出部11は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。ECM検出部11は、取得したTSパケットにおけるPID等を参照することにより、当該TSパケットのペイロードに、ECMを含むセクションデータの一部が格納されていると判断した場合、当該TSパケットを出力部50へ出力する。
More specifically, the
また、ECM検出部11は、当該TSパケットのデータフォーマットからセクションデータのデータフォーマットへの変換を行う。
Further, the
図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検出部11は、TSパケットのペイロードに格納されたデータを結合することにより、ECM送信装置201において生成された、暗号化されたECMを含むセクションデータを再構成する。
The
図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復号部13は、ECM検出部11からECMを受けて、受けたECMを、CASモジュール70に格納されたワーク鍵を用いて復号する。ECM復号部13は、復号したECMに含まれるスクランブル鍵すなわち偶数鍵KEおよび奇数鍵KOを鍵出力部12へ出力する。
The
鍵出力部12は、ECM復号部13から偶数鍵KEおよび奇数鍵KOを受けて、受けた偶数鍵KEおよび奇数鍵KOのいずれか一方をスクランブル部40へ出力する。
The
ECM管理部10は、受信したECMに含まれるスクランブル鍵の更新を検知する。たとえば、ECM検出部11は、再構成したセクションデータのヘッダ部に格納された情報に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。
The
一例として、ECM検出部11は、再構成したセクションデータのバージョン番号の値に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。より詳細には、ECM検出部11は、セクションデータを再構成するたびに、再構成したセクションデータからバージョン番号の値を取得し、取得したバージョン番号の値と、直前に再構成したセクションデータから取得したバージョン番号の値とを比較することにより、バージョン番号の変化を検知する。
As an example, the
ECM検出部11は、セクションデータのバージョン番号の変化を検知した場合、セクションデータに格納されたECMに含まれるスクランブル鍵が更新されたと判断し、バージョン番号の変化を検知したタイミングである検知タイミングDTを示す検知情報を鍵出力部12へ出力する。
When the
鍵出力部12は、ECM検出部11から検知情報を受けて、記憶部60から周期情報を取得する。鍵出力部12は、当該検知情報が示す検知タイミングDTから、当該周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。
The
(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管理部20は、TSパケットのペイロードに格納されたデータを結合することにより、EMM送信装置202において生成された、暗号化されたEMMを含むセクションデータを再構成する。
The
EMM管理部20は、再構成したセクションデータのデータ部のフィールドから、暗号化されたEMMを取得し、取得したEMMを、たとえば予め番組配信センタ251から付与されたマスタ鍵を用いて復号することにより、EMMからワーク鍵を取得する。EMM管理部20は、CASモジュール70に格納されたワーク鍵を、EMMから取得したワーク鍵に更新する。
The
(スクランブル部)
スクランブル部40は、ECM管理部10により受信されたECMに含まれるスクランブル鍵を用いてコンテンツ情報を暗号化する。
(Scramble part)
The
より詳細には、スクランブル部40は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれるTSパケットを、鍵出力部12から受けたスクランブル鍵を用いて暗号化する。
More specifically, the
図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
図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
(出力部)
出力部50は、スクランブル部40により暗号化されたコンテンツ情報、およびスクランブル部40においてコンテンツ情報の暗号化に用いられたスクランブル鍵を含むECMを出力する。
(Output section)
The
より詳細には、出力部50は、スクランブル部40から受けた、暗号化されたTSパケットと、ECM検出部11から受けた、ECMを含むセクションデータの一部が格納されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。
More specifically, the
スクランブル装置101は、出力コンテンツに用いられている暗号化鍵すなわちスクランブル鍵の継続期間が、出力ECMにおいて当該暗号化鍵の継続する期間内となるようにコンテンツおよびECMを出力する。より詳細には、出力部50は、スクランブル鍵を用いて暗号化されたコンテンツ情報を出力する期間が、当該スクランブル鍵を含むECMを出力する期間に含まれるように、コンテンツ情報を含む暗号化されたTSパケットと、ECMを含むセクションデータの一部が格納されたTSパケットとを多重化してリマックス装置121へ送信する。
The
<スクランブル鍵の切り替え処理>
図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
より詳細には、ECM管理部10におけるECM検出部11は、n回目の更新タイミングUTnにおいてECM送信装置201から受信したECMに含まれるスクランブル鍵が更新されたことを検知して、検知タイミングDTnを示す検知情報を鍵出力部12へ出力する。検知タイミングDTnは、更新タイミングUTnと同じタイミング、または更新タイミングUTnの直後のタイミングである。
More specifically, the
鍵出力部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
たとえば、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの直前に更新されたスクランブル鍵に切り替える。より詳細には、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの、当該切替タイミングSTの直前の検知タイミングDTにおいて更新されたスクランブル鍵に切り替える。
For example, the
具体的には、たとえば、鍵出力部12は、切替タイミングST2において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST2の直前の検知タイミングDT1において更新された偶数鍵KE2に切り替える。また、たとえば、鍵出力部12は、切替タイミングST3において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST3の直前の検知タイミングDT2において更新された奇数鍵KO3に切り替える。また、たとえば、鍵出力部12は、切替タイミングST4において、スクランブル部40へ出力するスクランブル鍵を、切替タイミングST4の直前の検知タイミングDT3において更新された偶数鍵KE4に切り替える。
Specifically, for example, the
スクランブル部40は、鍵出力部12から受けたスクランブル鍵を用いてTSパケットの暗号化を行うことにより、当該切替タイミングSTにおいて、暗号化に用いるスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。
The
これにより、スクランブル部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
具体的には、たとえば、鍵出力部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
また、たとえば、鍵出力部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
また、たとえば、鍵出力部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
スクランブル部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
このように、本開示の第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
すなわち、本開示の第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
ここで、比較例に係るスクランブル装置101として、たとえば連続する2つの検知タイミングDTに基づいてECMの更新周期UCを算出し、検知タイミングDTnから、算出した更新周期UCから所定時間Tbを差し引いた時間Taが経過した切替タイミングST(n+1)において、暗号化に用いるスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替えることが考えられる。しかしながら、このような構成では、ECM送信装置201から送信されるECMの更新周期UCが変更された場合、上述の規格に従ってコンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができない場合がある。
Here, as the
具体的には、比較例に係るスクランブル装置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
これに対して、本開示の第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
このような構成により、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
[動作の流れ]
本開示の第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
次に、ECM送信装置201から送信されるECMを受信する。より詳細には、スクランブル装置101は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。そして、スクランブル装置101は、TSパケットのペイロードに格納されたデータを結合することにより、暗号化されたECMを含むセクションデータを再構成し、再構成したセクションデータから暗号化されたECMを取得する(ステップS104)。
Next, the ECM transmitted from the
次に、スクランブル装置101は、取得したECMに含まれるスクランブル鍵を用いてコンテンツ情報を暗号化する。より詳細には、スクランブル装置101は、取得したECMを、CASモジュール70に格納されたワーク鍵を用いて復号する。そして、スクランブル装置101は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれる、コンテンツ情報を含むTSパケットを、復号したECMに含まれるスクランブル鍵を用いて暗号化する(ステップS106)。
Next, the
次に、スクランブル装置101は、暗号化したコンテンツ情報、およびコンテンツ情報の暗号化に用いたスクランブル鍵を含むECMを出力する。より詳細には、スクランブル装置101は、暗号化されたTSパケットと、暗号化に用いたECMを含むセクションデータの一部が格納されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する(ステップS108)。
Next, the
図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
次に、スクランブル装置101は、ECM送信装置201から送信されるECMに含まれるスクランブル鍵の次回の更新を待ち受ける(ステップS202でNO)。
Next, the
なお、本開示の第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
また、本開示の第1の実施の形態に係るスクランブル装置101では、鍵出力部12は、ECM検出部11から受けた検知情報が示す検知タイミングDTから、周期情報が示す更新周期UCから所定時間Tbを差し引いた時間Taが経過したタイミングである切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える構成であるとしたが、これに限定するものではない。鍵出力部12は、検知タイミングDT以外のタイミングに基づく切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える構成であってもよい。
Further, in the
次に、本開示の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。 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
[構成および基本動作]
図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
ECM管理部10におけるECM検出部11は、IP伝送網211経由でECM送信装置201からIPパケットを受信し、受信したIPパケットからTSパケットを取得する。ECM検出部11は、取得したTSパケットにおけるPID等を参照することにより、当該TSパケットのペイロードに、ECMを含むセクションデータの一部が格納されていると判断した場合、当該TSパケットを遅延制御部84へ出力する。
The
また、ECM検出部11は、当該TSパケットのペイロードに格納されたデータを結合することにより、ECM送信装置201において生成された、暗号化されたECMを含むセクションデータを再構成する。たとえば、ECM検出部11は、再構成したセクションデータのヘッダ部に格納された情報に基づいて、当該セクションデータのデータ部に格納されたECMに含まれるスクランブル鍵の更新を検知する。ECM検出部11は、セクションデータのバージョン番号の変化を検知した場合、バージョン番号の変化を検知したタイミングである検知タイミングDTを示す検知情報を鍵出力部82へ出力する。
Further, the
鍵出力部82は、ECM検出部11から検知情報を受けて、受けた検知情報が示す検知タイミングDTにおいて、スクランブル部40へ出力するスクランブル鍵を偶数鍵KEおよび奇数鍵KOの間で切り替える。
The
スクランブル部40は、エンコーダ装置111からIPパケットを受信し、受信したIPパケットに含まれるTSパケットを、鍵出力部82から受けたスクランブル鍵を用いて暗号化する。スクランブル部40は、暗号化したTSパケットを出力部50へ出力する。
The
遅延制御部84は、ECM検出部11からTSパケットを受けて、受けたTSパケットを、遅延処理を行って出力部50へ出力する。より詳細には、遅延制御部84は、ECM検出部11から受けたTSパケットを、所定時間Tb保持してから出力部50へ出力する。
The
出力部50は、遅延制御部84から受けた、ECMを含むセクションデータの一部が格納されている遅延処理後のTSパケットと、スクランブル部40から受けた、当該ECMに含まれるスクランブル鍵を用いて暗号化されたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。
The
<スクランブル鍵の切り替え処理>
図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
より詳細には、ECM管理部10におけるECM検出部11は、n回目の更新タイミングUTnにおいてECM送信装置201から受信したECMに含まれるスクランブル鍵が更新されたことを検知して、検知タイミングDTnを示す検知情報を鍵出力部12へ出力する。
More specifically, the
鍵出力部82は、検知情報をECM検出部11から受けて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。すなわち、鍵出力部82は、たとえば検知タイミングDTの直後のタイミングである切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。
The
たとえば、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの直前に更新されたスクランブル鍵とは異なるスクランブル鍵に切り替える。より詳細には、鍵出力部12は、切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、偶数鍵KEおよび奇数鍵KOのうちの、当該切替タイミングSTの直前の検知タイミングDTにおいて更新されなかったスクランブル鍵に切り替える。
For example, in the switching timing ST, the
具体的には、たとえば、鍵出力部12は、検知タイミングDT2の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT2において更新されなかった偶数鍵KE2に切り替える。また、たとえば、鍵出力部12は、検知タイミングDT3の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT3において更新されなかった奇数鍵KO3に切り替える。また、たとえば、鍵出力部12は、検知タイミングDT4の直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を、検知タイミングDT4において更新されなかった偶数鍵KE4に切り替える。
Specifically, for example, the
このように、鍵出力部82は、更新タイミングUTnに対応する検知タイミングDTnの直後の切替タイミングSTにおいて、スクランブル部40へ出力するスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。
As described above, the
スクランブル部40は、鍵出力部82から受けたスクランブル鍵を用いてTSパケットの暗号化を行うことにより、検知タイミングDTnにおいて、暗号化に用いるスクランブル鍵を奇数鍵KOと偶数鍵KEとの間で切り替える。
The
図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
より詳細には、上述したように、遅延制御部84は、ECM検出部11から受けた、ECMを含むセクションデータの一部が格納されたTSパケットを、所定時間Tb保持してから出力部50へ出力する。
More specifically, as described above, the
一方、鍵出力部82は、ECM復号部13から受けたスクランブル鍵を、遅延処理を行うことなくスクランブル部40へ出力する。
On the other hand, the
そして、スクランブル部40は、鍵出力部82から受けたスクランブル鍵を用いて暗号化したTSパケットを、遅延処理を行うことなく出力部50へ出力する。すなわち、スクランブル部40は、暗号化したTSパケットを、遅延制御部84のように所定時間Tb保持することなく出力部50へ出力する。
Then, the
出力部50は、遅延制御部84から受けたTSパケットと、スクランブル部40から受けたTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。
The
これにより、スクランブル装置102からリマックス装置121へ送信されるECMと、スクランブル装置102からリマックス装置121へ送信されるコンテンツ情報の暗号化に用いられたスクランブル鍵とに着目すると、スクランブル装置102からリマックス装置121へ送信されるECMのn回目の更新タイミングUTnよりも所定時間Tb前のタイミングにおいて、コンテンツ情報の暗号化に用いるスクランブル鍵を切り替えることができる。
As a result, focusing on the ECM transmitted from the
このように、本開示の第2の実施の形態に係るスクランブル装置102は、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る。より詳細には、スクランブル装置102は、出力するECMにおけるスクランブル鍵の更新タイミングUTを検知タイミングDTよりも所定時間Tb遅らせることにより当該時間差を作る。スクランブル装置102は、当該時間差を作ることにより、同じスクランブル鍵を用いて暗号化されたコンテンツ情報の出力が継続する期間である対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵を含むECMの出力が継続する期間である出力継続期間内のタイミングにおいて始める。より詳細には、スクランブル装置101は、当該時間差を作ることにより、対象期間TXを、対象期間TXにおいて出力するコンテンツ情報の暗号化に用いられたスクランブル鍵である使用鍵を含むECMにおける、使用鍵とは異なるスクランブル鍵の更新タイミングUTよりも所定時間Tb前から始める。
As described above, the
すなわち、本開示の第2の実施の形態に係るスクランブル装置102では、出力部50は、ECMを、対応するスクランブル鍵を用いて暗号化されたコンテンツ情報の出力タイミングから所定時間Tb遅延したタイミングにおいて出力する。これにより、スクランブル鍵の切り替えに関する上述の規格に従って、期間T1において、リマックス装置121へ送信するECMに含まれるカレント鍵を用いてコンテンツ情報を暗号化し、次の更新タイミングUT(n+1)よりも所定時間前から始まる期間T2において、リマックス装置121へ送信するECMに含まれるネクスト鍵を用いてコンテンツ情報を暗号化することができる。
That is, in the
このような構成により、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
図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
次に、スクランブル装置102は、ECMを、対応のスクランブル鍵を用いて暗号化したコンテンツ情報の出力タイミングから所定時間Tb遅延したタイミングにおいて出力する。より詳細には、スクランブル装置102は、所定時間Tb保持したECMを含むセクションデータの一部が格納されたTSパケットと、当該ECMに含まれるスクランブル鍵を用いて暗号化したTSパケットとを時間軸方向に多重化し、多重化後の各TSパケットをリマックス装置121へ送信する。すなわち、スクランブル装置102は、出力するECMにおけるスクランブル鍵の更新タイミングUTを検知タイミングDTよりも所定時間Tb遅らせることにより、切替タイミングSTと、出力するECMにおけるスクランブル鍵の更新タイミングUTとの相対的な時間差を作る(ステップS304)。
Next, the
上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 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
311
Claims (6)
前記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管理部により前記スクランブル鍵の更新が検知されたタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える、請求項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管理部により前記スクランブル鍵の更新が検知されたタイミングから、前記取得部により取得された前記周期情報が示す前記更新周期から前記所定時間を差し引いた時間が経過したタイミングにおいて、暗号化に用いる前記スクランブル鍵を前記偶数鍵および前記奇数鍵の間で切り替える、スクランブル装置。 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における、前記使用鍵とは異なる前記スクランブル鍵の前記更新タイミングよりも所定時間前から始める、スクランブル方法。 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を出力するステップにおいては、前記更新タイミングを前記切替タイミングよりも所定時間遅らせることにより前記時間差を作る、請求項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.
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) |
-
2020
- 2020-12-03 JP JP2020200728A patent/JP2022088741A/en active Pending
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 |