Scrambling device and method
The scrambling device addresses the challenge of non-compliant key updates by alternately using even and odd keys and delaying ECM output, ensuring flexible and compliant encryption in line with CAS standards.
Patent Information
- Application Number
- JP2020200728
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-03
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2040-12-03
AI Technical Summary
Existing scrambling devices struggle to output ECM and content information in accordance with CAS standards, particularly when the scramble key update timing is changed consecutively.
A scrambling device that alternately updates even and odd keys as scramble keys, delaying the output timing of ECM by a predetermined time from the encryption timing, and adjusts the key switching based on acquired cycle information to maintain compliance with CAS standards.
Ensures flexible and compliant output of ECM and content information even when update timings change, adhering to CAS standards by creating a relative time difference in key switching.
Smart Images

Figure 0007571505000001 
Figure 0007571505000002 
Figure 0007571505000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a scrambling device and a scrambling method. [Background technology]
[0002] Conventionally, techniques related to a Conditional Access System (CAS) for managing contents distributed by digital broadcasting have been developed.
[0003] For example, JLabs SPEC-035 version 2.1, "Advanced Cable Independent Broadcasting Operation Specification," Japan Cable Laboratories, December 25, 2018 (Non-Patent Document 1) discloses various standards related to CAS. That is, Non-Patent Document 1 discloses that when the scrambling key of an ES (Elementary Stream) to which an ECM (Entitlement Control Message) is applied is changed, the ECM is updated before the scrambling key is changed. Non-Patent Document 1 also discloses that when the scrambling key is changed, the change is made in the order from an even key to an odd key and then from an odd key to an even key, and the same key is not changed consecutively. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] JLabs SPEC-035 2.1, "Advanced Cable Independent Broadcasting Operation Specification", Japan Cable Laboratories, December 25, 2018 Summary of the Invention [Problem to be solved by the invention]
[0005] In a scramble device that encrypts content information using an ECM generated in an external device, a technique is desired that enables the ECM and content information to be output in accordance with the CAS standard.
[0006] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to provide a scrambling device and scrambling method that is capable of outputting ECM and content information in accordance with the CAS standard in a scrambling device that encrypts content information using ECM generated in an external device. [Means for solving the problem]
[0007] The scrambling device disclosed herein is a scrambling device that receives an ECM including a scrambling key that is repeatedly transmitted from an ECM transmitting device and encrypts content information, wherein the ECM includes an even key and an odd key as the scrambling key, and the even key and the odd key are alternately updated, and is equipped with an ECM management unit that receives the ECM, a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit, and an output unit that outputs the content information encrypted by the scrambling unit and the ECM including the scrambling key used to encrypt the content information in the scrambling unit, 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 scrambling key.
[0008] A scrambling device according to the present disclosure is a scrambling device that receives an ECM including a scrambling key, which is repeatedly transmitted from an ECM transmitting device, and encrypts content information, the ECM including an even key and an odd key as the scrambling key, the even key and the odd key being alternately updated, and includes an ECM management unit that receives the ECM, a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit, and a scrambling unit that reads the content information encrypted by the scrambling unit and the content information in the scrambling unit. The device comprises an output unit which outputs the ECM including the scrambling key used to encrypt information, and an acquisition unit which acquires periodic information indicating an update period which is a period at which the scrambling key is updated, and the ECM management unit detects an update of the scrambling key included in the received ECM, and the scrambling unit switches the scrambling key used for encryption between the even key and the odd key at a time when a time equal to the update period indicated by the periodic information acquired by the acquisition unit minus the predetermined time has elapsed from the time when the ECM management unit detects the update of the scrambling key.
[0009] The scrambling method disclosed herein is a scrambling method in a scrambling device that receives an ECM including a scrambling key that is repeatedly transmitted from an ECM transmitting device, and encrypts content information, the ECM including an even key and an odd key as the scrambling key, and the even key and the odd key are alternately updated, and includes a step of receiving the ECM, a step of encrypting the content information using the scrambling key included in the received ECM, and a step of outputting the encrypted content information and the ECM including the scrambling key used to encrypt the content information, In the step of outputting the content information and the ECM, a relative time difference is created between the timing of switching the scrambling key used for encryption between the even key and the odd key and the timing of updating the scrambling key in the ECM to be output, so that the same encryption period, which is a period during which the output of the content information encrypted using the same scrambling key continues, begins a predetermined time before the update timing of the scrambling key, which is different from the Key Used, in the ECM including the Key Used, which is the scrambling key used to encrypt the content information to be output during the same encryption period.
[0010] One aspect of the present disclosure may be realized not only as a scrambling device having such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the scrambling device, or as a program for causing a computer to execute the processing steps in the scrambling device, or as a broadcasting system having a scrambling device, or as a semiconductor integrated circuit that realizes part or all of the broadcasting system, or as a method in which the processing in the broadcasting system is steps, or as a program for causing a computer to execute the processing steps in the broadcasting system. Effect of the Invention
[0011] According to the present disclosure, in a scramble device that encrypts content information using an ECM generated in an external device, it is possible to output the ECM and content information in accordance with the standard related to CAS. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram showing a configuration of a broadcasting system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing an example of a scrambling key included in an ECM transmitted by an ECM transmitting device according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram showing a format of a TS packet in the broadcasting system according to the first embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram showing a configuration of a scramble device according to the first embodiment of the present disclosure. [Diagram 5] FIG. 5 is a diagram illustrating an example of format conversion by an ECM detection unit in the scrambling device according to the first embodiment of the present disclosure. [Figure 6] FIG. 6 is a diagram showing a format of section data in the broadcasting system according to the first embodiment of the present disclosure. [Figure 7] FIG. 7 is a diagram showing scrambling keys used by the scrambling unit in the scrambling device according to the first embodiment of the present disclosure to encrypt TS packets. [Figure 8] FIG. 8 is a diagram showing an example of a timing chart illustrating update timings of scrambling keys received and transmitted by the scrambling device according to the first embodiment of the present disclosure and scrambling keys used for encrypting content information. [Figure 9] FIG. 9 is a flowchart defining an example of an operation procedure when the scrambling device according to the first embodiment of the present disclosure performs scrambling processing. [Figure 10]FIG. 10 is a flowchart defining an example of an operation procedure when the scrambling device according to the first embodiment of the present disclosure performs scrambling processing. [Figure 11] FIG. 11 is a diagram showing a configuration of a scramble device according to the second embodiment of the present disclosure. [Figure 12] FIG. 12 is a diagram illustrating an example of a timing chart showing update timing of a scrambling key received in a scrambling device according to the second embodiment of the present disclosure and a scrambling key used for encrypting content information. [Figure 13] FIG. 13 is a diagram illustrating an example of a timing chart showing update timings of scrambling keys received and transmitted in a scrambling device according to the second embodiment of the present disclosure and scrambling keys used for encrypting content information. [Figure 14] FIG. 14 is a flowchart defining an example of an operation procedure when the scrambling device according to the second embodiment of the present disclosure performs scrambling processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] First, the contents of the embodiments of the present disclosure will be listed and described.
[0014] (1) A scrambling device according to an embodiment of the present disclosure is a scrambling device that receives an ECM including a scrambling key that is repeatedly transmitted from an ECM transmitting device and encrypts content information, wherein the ECM includes an even key and an odd key as the scrambling key, and the even key and the odd key are alternately updated. The scrambling device includes an ECM management unit that receives the ECM, a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit, and an output unit that outputs the content information encrypted by the scrambling unit and the ECM including the scrambling key used to encrypt the content information in the scrambling unit, 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 scrambling key.
[0015] In this manner, 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, the scramble key used to encrypt the content information can be switched at a timing a predetermined time before the update timing of the ECM to be output, for example, by changing the switching timing of the scramble key used to encrypt the content information in accordance with a change in the update timing of the ECM transmitted from the ECM transmitting device. Therefore, even if the update timing of the ECM transmitted from the ECM transmitting device is changed, the ECM and content information can be output in accordance with the standard related to CAS. Therefore, in a scramble device that encrypts content information using an ECM generated in an external device, the ECM and content information can be output in accordance with the standard related to CAS.
[0016] (2) Preferably, the ECM management unit detects an update of the scrambling key contained in the received ECM, and the scrambling unit switches the scrambling key used for encryption between the even key and the odd key at the time when the ECM management unit detects an update of the scrambling key.
[0017] With this configuration, the scrambling key used to encrypt the content information can be switched in response to flexibly updating of the update timing of the ECM transmitted from the ECM transmitting device.
[0018] (3) A scrambling device according to an embodiment of the present disclosure is a scrambling device that receives an ECM including a scrambling key, which is repeatedly transmitted from an ECM transmitting device, and encrypts content information, the ECM including an even key and an odd key as the scrambling key, the even key and the odd key being updated alternately, the scrambling device including an ECM management unit that receives the ECM, a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit, the content information encrypted by the scrambling unit, and The device is equipped with an output unit that outputs the ECM including the scrambling key used to encrypt content information, and an acquisition unit that acquires periodic information indicating an update period at which the scrambling key is updated, and the ECM management unit detects an update of the scrambling key included in the received ECM, and the scrambling unit switches the scrambling key used for encryption between the even key and the odd key at a time when a time equal to the update period indicated by the periodic information acquired by the acquisition unit minus the predetermined time has elapsed from the time when the ECM management unit detects the update of the scrambling key.
[0019] In this manner, the configuration switches the scramble key used for encryption at a time when a predetermined time has elapsed from the time when the update of the scramble key included in the ECM received from the ECM transmitting device is detected to the time when the update period indicated by the acquired periodic information is subtracted. Even if the update period of the ECM transmitted from the ECM transmitting device is changed, the scramble key used for encryption of the content information can be switched at a time a predetermined time before the ECM update timing, for example, by changing the switching timing of the scramble key used for encryption of the content information to match the updated update period of the ECM indicated by the previously acquired periodic information. Therefore, even if the update timing of the ECM transmitted from the ECM transmitting device is changed, the ECM and the content information can be output in accordance with the standard related to CAS. Therefore, in a scramble device that encrypts the content information using the ECM generated in an external device, the ECM and the content information can be output in accordance with the standard related to CAS.
[0020] (4) A scrambling method according to an embodiment of the present disclosure is a scrambling method in a scrambling device that receives an ECM including a scrambling key that is repeatedly transmitted from an ECM transmitting device, and encrypts content information, the ECM including an even key and an odd key as the scrambling key, and the even key and the odd key are alternately updated, the method including the steps of receiving the ECM, encrypting the content information using the scrambling key included in the received ECM, and outputting the encrypted content information and the ECM including the scrambling key used to encrypt the content information, In the step of outputting the content information and the ECM, a relative time difference is created between the timing of switching the scrambling key used for encryption between the even key and the odd key and the timing of updating the scrambling key in the ECM to be output, so that the same encryption period, which is a period during which the output of the content information encrypted using the same scrambling key continues, begins a predetermined time before the update timing of the scrambling key, which is different from the Key Used, in the ECM including the Key Used, which is the scrambling key used to encrypt the content information to be output during the same encryption period.
[0021] In this way, in a scramble device that receives ECMs repeatedly transmitted from an ECM transmitting device and encrypts content information, the same encryption period can be started a predetermined time before the update timing of a scramble key that is different from the key in use in an ECM that includes a key in use, so that the ECM and content information can be output in accordance with the standard related to CAS. Therefore, in a scramble device that encrypts content information using an ECM generated in an external device, the ECM and content information can be output in accordance with the standard related to CAS.
[0022] (5) Preferably, in the step of receiving the ECM, an update of the scrambling key contained in the received ECM is detected, and in the step of outputting the content information and the ECM, at the switching timing, the scrambling key used for encryption is switched to the scrambling key among the even key and the odd key that is different from the scrambling key that was last updated, and 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.
[0023] With this method, even if the update timing of the ECM transmitted from the ECM transmitting device is changed, the ECM and content information can be output in accordance with the CAS standard, so that content information can be encrypted in a flexible manner in response to changes in the update timing of the ECM received from the ECM transmitting device.
[0024] (6) Preferably, the scrambling method further includes a step of acquiring periodic information indicating an update period at which the scrambling key is updated, and in the step of receiving the ECM, an update of the scrambling key contained in the received ECM is detected, and in the step of outputting the content information and the ECM, at the switching timing, the scrambling key used for encryption is switched to the most recently updated scrambling key among the even key and the odd key, and 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 period indicated by the acquired periodic information.
[0025] By using this method, even if the update period of the ECM transmitted from the ECM transmitting device is changed, the ECM and content information can be output in accordance with the CAS standard by changing the switching timing of the scrambling key used to encrypt the content information to match the changed update period of the ECM indicated in the previously acquired period information, thereby making it possible to flexibly respond to changes in the update timing of the ECM received from an external device and encrypt the content information.
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated. In addition, at least some of the embodiments described below may be arbitrarily combined.
[0027] <First embodiment> [Configuration and basic operation] Fig. 1 is a diagram showing a configuration of a broadcasting system according to a first embodiment of the present disclosure. Referring to Fig. 1, a broadcasting system 401 includes an ECM transmitting device 201, an EMM (Entitlement Management Message) transmitting device 202, a scrambling device 101, an encoder device 111, a remuxing device 121, and a plurality of STBs (Set Top Boxes) 301. A CAS module (not shown) is connected to the STB 301.
[0028] For example, the ECM transmitting device 201 and the encoder device 111 are provided in different locations. More specifically, the ECM transmitting device 201 and the EMM transmitting device 202 are provided in a program distribution center 251. The encoder device 111, the scrambling device 101, and the remux device 121 are provided in a cable television station 151. The STB 301 is provided in a subscriber's home 351. The STB 301 includes a cable television broadcast receiving device (not shown).
[0029] The program distribution center 251 distributes the content to the subscriber's home 351 via the cable television station 151. The program distribution center 251 manages the content and the contract information for each subscriber's home 351 all together.
[0030] The ECM transmitting 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 scramble keys, and the even key KE and the odd key KO are updated alternately. For example, the even key KE and the odd key KO are updated alternately at each update timing UT according to an update period UC. The update period UC is, for example, 8 seconds.
[0031] The ECM transmitting device 201 encrypts the generated ECM using a work key and transmits the encrypted ECM to the scrambling device 101. More specifically, the ECM transmitting device 201 generates section data including the encrypted ECM, and transmits a plurality of TS packets including information obtained by dividing the generated section data into a plurality of pieces, for example, in one or a plurality of IP (Internet Protocol) packets to the scrambling device 101 via the IP transmission network 211. In the IP transmission network 211, the IP packets are transmitted in accordance with the IP protocol.
[0032] FIG. 2 is a diagram showing an example of a scrambling key included in an ECM transmitted by an ECM transmitting device according to the first embodiment of the present disclosure.
[0033] 2, for example, the ECM transmitting device 201 repeatedly transmits an ECM to the scrambling device 101 at a predetermined cycle PC. Specifically, the ECM transmitting device 201 repeatedly transmits an ECM_E1 including an odd key KO1 and an even key KE2 at a predetermined cycle PC during a period from the update timing UT1 to the next update timing UT2, repeatedly transmits an ECM_E2 including an even key KE2 and an odd key KO3 at a predetermined cycle PC during a period from the update timing UT2 to the next update timing UT3, and repeatedly transmits an ECM_E3 including an odd key KO3 and an even key KE4 at a predetermined cycle PC during a period from the update timing UT3 to the next update timing UT4. The predetermined cycle PC is, for example, 100 milliseconds. The ECM transmitting device 201 may be configured to repeatedly transmit an ECM to the scrambling device 101 at irregular intervals.
[0034] 1 again, the EMM transmission device 202 generates an EMM including contract information for each subscriber home 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 the EMM can be decrypted by a CAS module in the subscriber home 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 scrambling device 101. More specifically, the EMM transmission device 202 generates section data including the encrypted EMM, and transmits a plurality of TS packets including information obtained by dividing the generated section data into a plurality of packets, for example, in one or a plurality of IP packets to the scrambling device 101 and the remuxing device 121 via the IP transmission network 211.
[0035] The cable television station 151 scrambles, ie, encrypts, the content information and transmits the encrypted content information to the STB 301 in the subscriber's home 351 .
[0036] More specifically, the encoder device 111 acquires content information from the program distribution center 251 serving as a content provider, and generates a plurality of TS packets including information obtained by dividing the content information into a plurality of pieces by encoding the acquired content information. The encoder device 111 transmits the generated plurality of TS packets to the scramble device 101, for example, by including them in one or a plurality of IP packets.
[0037] The scrambling device 101 receives an ECM including a scrambling key, which is repeatedly transmitted from the ECM transmitting device 201, and encrypts the content information. More specifically, the scrambling device 101 receives IP packets from the encoder device 111, and obtains TS packets from the received IP packets.
[0038] Furthermore, the scrambling device 101 receives an IP packet from the EMM transmitting device 202 via the IP transmission network 211, and acquires an EMM from a TS packet included in the received IP packet. The scrambling device 101 acquires a work key from the EMM by decrypting the acquired EMM using a master key. The scrambling device 101 updates the work key stored in a CAS module (described later) to the work key acquired from the EMM.
[0039] Furthermore, the scrambling device 101 receives an IP packet from the ECM transmitting device 201 via the IP transmission network 211, and obtains an ECM from a TS packet included in the received IP packet. The scrambling device 101 obtains a scrambling key from the ECM by decrypting the obtained ECM using a work key stored in the CAS module.
[0040] The scramble device 101 scrambles and outputs the TS packets obtained from the IP packets received from the encoder device 111. More specifically, the scramble device 101 encrypts the TS packets using the obtained scramble key. The scramble device 101 transmits the encrypted TS packets and multiple TS packets including information in which the ECM used to encrypt the TS packets is divided into multiple packets, for example, in one or multiple IP packets to the remux device 121.
[0041] Fig. 3 is a diagram showing a format of a TS packet in a broadcasting system according to a first embodiment of the present disclosure. Referring to Fig. 3, a TS packet has a data length of 188 bytes and includes a header, an adaptation field, and a payload. The header includes a synchronization byte, a transport error indicator, a payload unit start indicator, a transport priority, a PID (Packet Identification), a transport scrambling control, an adaptation field control, and a continuity indicator, i.e., a CC (Continuity Counter) value.
[0042] The PID is an identifier of a TS packet. The PID is an identifier expressed by 13 bits, and is set to a value according to the contents of the payload of the TS packet. The payload unit start indicator is 1 bit of data indicating whether the information contained in the payload starts from the payload. The CC value is a 4-bit counter value that indicates the continuity of the TS packets and is incremented for each TS packet with the same PID. The transport scramble control is 2 bits of data indicating whether the information contained in the payload is encrypted and whether the information contained in the payload is encrypted using an even key KE or an odd key KO.
[0043] 1 again, the re-mux device 121 receives IP packets from the EMM transmission device 202 via the IP transmission network 211. The re-mux device 121 also receives IP packets from the scramble device 101.
[0044] The remux device 121 generates a broadcast signal in the RF (Radio Frequency) band by modulating the received IP packet by a predetermined modulation method. The remux device 121 transmits the generated broadcast signal to the subscriber's home 351 via the cable television network 311.
[0045] The STB 301 in the subscriber's home 351 receives the broadcast signal transmitted from the remux device 121 via the cable television network 311. The STB 301 obtains the encrypted content information, ECM and EMM by demodulating the received broadcast signal. The STB 301 obtains a work key by decrypting the EMM using a CAS module, obtains a scrambling key by decrypting the ECM using the obtained work key, and descrambles, i.e., decrypts, the content information using the obtained scrambling key. The STB 301 transmits the decrypted content information to a TV monitor (not shown). The TV monitor plays a program based on the content information received from the STB 301.
[0046] [Scramble device] Fig. 4 is a diagram showing a configuration of a scramble device according to a 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 decryption unit 13. The CAS module 70 stores a work key. The storage unit 60 may be provided outside the scramble device 101.
[0047] (Acquisition Department) The acquisition unit 30 acquires periodicity information indicating the update period UC in the ECM transmitted by the ECM transmission device 201. The acquisition unit 30 stores the acquired periodicity information in the storage unit 60.
[0048] For example, the acquisition unit 30 periodically or irregularly receives IP packets including periodic information from the ECM transmission device 201 via the IP transmission network 211. The acquisition unit 30 acquires the periodic information from the received IP packets, and stores the acquired periodic information in the storage unit 60.
[0049] Alternatively, an operator at the cable television station 151 receives a notification of the update period UC from the program distribution center 251 on a regular or irregular basis. The operator performs an operation to input the notified update period UC to the scrambling device 101 using a keyboard or a mouse. A reception unit (not shown) in the scrambling device 101 receives the input operation by the operator and outputs period information indicating the update period UC to the acquiring unit 30. The acquiring unit 30 receives the period information from the reception unit and stores the received period information in the storage unit 60.
[0050] (ECM Management Department) The ECM management unit 10 receives an ECM transmitted from the ECM transmitting device 201. The ECM management unit 10 outputs the scrambling key included in the received ECM to the scrambling unit 40. As described above, the ECM includes the even key KE and the odd key KO as scrambling keys, and the even key KE and the odd key KO are updated alternately at, for example, each update timing UT.
[0051] 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 by referring to the PID, etc. in the acquired TS packet that a portion of section data including ECM is stored in the payload of the TS packet, it outputs the TS packet to the output unit 50.
[0052] Furthermore, the ECM detection unit 11 converts the data format of the TS packet into the data format of the section data.
[0053] Fig. 5 is a diagram showing an example of format conversion by an ECM detection unit in the scrambling device according to the first embodiment of the present disclosure. With reference to Fig. 5, the section data has a data length of, for example, a maximum of 1024 bytes or a maximum of 4096 bytes. The section data is generated in the ECM transmitting device 201, divided into a plurality of TS packets, each having a data length of, for example, 188 bytes, and transmitted in an IP packet. The section data includes a header field, a data field, and a CRC (Cyclic Redundancy Check) 32 field.
[0054] The ECM detection unit 11 reconstructs 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.
[0055] Fig. 6 is a diagram showing a format of section data in the broadcasting system according to the first embodiment of the present disclosure. Referring to Fig. 6, a header portion 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 last section number.
[0056] The table identifier indicates the table to which the section data belongs. If the table to which the section data belongs is an ECM, i.e., if an ECM is stored in the data section, the value of the table identifier is "0x82" or "0x83". Here, a number starting with "0x" means that the numbers following "0x" are expressed in hexadecimal. The version number indicates the version number of the table. The value of the version number is updated whenever the scrambling key included in the ECM stored in the data section is updated.
[0057] The ECM detection unit 11 obtains the encrypted ECM from the data portion of the reconstructed section data, and outputs the obtained ECM to the ECM decryption unit 13 .
[0058] The ECM decryption unit 13 receives an ECM from the ECM detection unit 11, and decrypts the received ECM using the work key stored in the CAS module 70. The ECM decryption unit 13 outputs the scrambling keys included in the decrypted ECM, i.e., the even key KE and odd key KO, to the key output unit 12.
[0059] The key output unit 12 receives the even key KE and the odd key KO from the ECM decryption unit 13, and outputs one of the received even key KE and odd key KO to the scrambler unit .
[0060] The ECM management unit 10 detects an update of the scrambling key included in the received ECM. For example, the ECM detection unit 11 detects an update of the scrambling key included in the ECM stored in the data portion of the reconstructed section data, based on the information stored in the header portion of the section data.
[0061] As an example, the ECM detection unit 11 detects an update of the scrambling key included in the ECM stored in the data part of the reconstructed section data based on the value of the version number of the reconstructed section data. More specifically, every time the ECM detection unit 11 reconstructs section data, it obtains the value of the version number from the reconstructed section data and compares the obtained value of the version number with the value of the version number obtained from the section data reconstructed immediately before, thereby detecting a change in the version number.
[0062] When the ECM detection unit 11 detects a change in the version number of the section data, it determines that the scrambling key contained in the ECM stored in the section data has been updated, and outputs detection information indicating the detection timing DT, which is the timing at which the change in the version number was detected, to the key output unit 12.
[0063] The key output unit 12 receives the detection information from the ECM detection unit 11 and obtains the period information from the storage unit 60. The key output unit 12 switches the scrambling key to be output to the scrambling unit 40 between the even key KE and the odd key KO at the timing when a time Ta, which is obtained by subtracting a predetermined time Tb from the update period UC indicated by the period information, has elapsed from the detection timing DT indicated by the detection information.
[0064] (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 by referring to the PID, etc. in the acquired TS packet that an EMM, which is a part of the section data including an EMM, is stored in the payload of the TS packet, the EMM management unit 20 performs conversion from the data format of the TS packet to the data format of the section data, in the same manner as the ECM decoding unit 13.
[0065] The EMM management unit 20 reconstructs 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.
[0066] The EMM management unit 20 acquires the encrypted EMM from the field of the data part of the reconstructed section data, and acquires a work key from the EMM by decrypting the acquired EMM using, for example, a master key previously assigned by the program distribution center 251. The EMM management unit 20 updates the work key stored in the CAS module 70 to the work key acquired from the EMM.
[0067] (Scramble section) The scrambler 40 encrypts the content information using the scramble key contained in the ECM received by the ECM manager 10 .
[0068] More specifically, the scrambler 40 receives an IP packet from the encoder device 111 , and encrypts a TS packet included in the received IP packet using the scramble key received from the key output unit 12 .
[0069] 7 is a diagram showing scrambling keys used by a scrambling unit in a scrambling device according to a first embodiment of the present disclosure to encrypt TS packets. Fig. 7 shows the timing of updating ECM and the timing of switching the scrambling key used for encryption, as defined in the standard described in Non-Patent Document 1.
[0070] 7, the above standard specifies that when an update cycle UC is divided into 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), content information is encrypted using the same scramble key in the period T2 and the period starting from the update timing UT(n+1). Here, n is an integer equal to or greater than 1. The above standard also specifies that the period T1 is set to be greater than 7600 milliseconds, the period T2 is set to be greater than zero seconds, and the sum of the periods T1 and T2 is set to be greater than 8000 milliseconds.
[0071] Hereinafter, the scrambling key to be used in period T1 is also referred to as the current key, and the scrambling key to be used in period T2 is also referred to as the next key.
[0072] According to the standard for switching the scrambling key, the scrambling unit 40 encrypts the TS packets using the current key in the period T1, and encrypts the TS packets using the next key in the period T2. The switching of the scrambling key used for encryption in the scrambling unit 40 will be described in detail later. The scrambling unit 40 outputs the encrypted TS packets to the output unit 50.
[0073] (Output section) The output unit 50 outputs the content information encrypted by the scrambler 40 and an ECM including the scramble key used in the scrambler 40 to encrypt the content information.
[0074] More specifically, the output unit 50 multiplexes, in the time axis direction, the encrypted TS packets received from the scramble unit 40 and the TS packets received from the ECM detection unit 11 containing a portion of the section data including the ECM, and transmits each of the multiplexed TS packets to the remux device 121.
[0075] The scrambling device 101 outputs the content and the ECM so that the duration of the encryption key, i.e., the scrambling key, used in the output content is within the duration of the encryption key in the output ECM. More specifically, the output unit 50 multiplexes the encrypted TS packet containing the content information and the TS packet in which a part of the section data including the ECM is stored, and transmits the multiplexed TS packet to the remux device 121 so that the period during which the content information encrypted using the scrambling key is output is included in the period during which the ECM containing the scrambling key is output.
[0076] <Scramble key switching process> FIG. 8 is a diagram showing an example of a timing chart illustrating update timings of scrambling keys received and transmitted by the scrambling device according to the first embodiment of the present disclosure and scrambling keys used for encrypting content information.
[0077] Referring to Figure 8, the scrambling unit 40 switches the scrambling key used for encryption between the even key KE and the odd key KO at timing ST, which is a time Ta obtained by subtracting a predetermined time Tb from the update period UC indicated by the period information acquired by the acquisition unit 30, from the detection timing DT at which the ECM management unit 10 detects the update of the scrambling key.
[0078] More specifically, the ECM detection unit 11 in the ECM management unit 10 detects that the scrambling key included in the ECM received from the ECM transmission device 201 has been updated at the n-th update timing UTn, and outputs detection information indicating the detection timing DTn 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.
[0079] The key output unit 12 receives detection information from the ECM detection unit 11, and switches the scrambling key to be output to the scrambling unit 40 between the odd key KO and the even key KE at timing ST(n+1) when a time Ta obtained by subtracting a predetermined time Tb from the update cycle UC indicated by the cycle information in the storage unit 60 has elapsed from the detection timing DTn indicated by the received detection information. For example, the predetermined time Tb is equal to the length of the above-mentioned period T2. In this way, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 between the odd key KO and the even key KE at timings ST(n+1), ST(n+2), ST(t+3), etc. Hereinafter, timing ST will also be referred to as switching timing ST.
[0080] For example, at switching timing ST, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the scrambling key among the even key KE and the odd key KO that was updated immediately before. More specifically, at switching timing ST, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the scrambling key among the even key KE and the odd key KO that was updated at the detection timing DT immediately before the switching timing ST.
[0081] Specifically, for example, at switching timing ST2, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the even key KE2 updated at the detection timing DT1 immediately before the switching timing ST2. Also, for example, at switching timing ST3, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the odd key KO3 updated at the detection timing DT2 immediately before the switching timing ST3. Also, for example, at switching timing ST4, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the even key KE4 updated at the detection timing DT3 immediately before the switching timing ST4.
[0082] The scrambler 40 encrypts the TS packets using the scramble key received from the key output unit 12, thereby switching the scramble key used for encryption between the odd key KO and the even key KE at the switching timing ST.
[0083] As a result, the scrambler 40 encrypts the content information using either the even key KE or the odd key KO included in the ECM received by the ECM manager 10 during the target period TXn starting from switching timing STn a predetermined time before the nth update timing UTn. Also, the scrambler 40 encrypts the content information using the other of the even key KE or the odd key KO included in the ECM received by the ECM manager 10 during the target period TX(n+1) following the target period Tn, which starts from switching timing ST(n+1) a predetermined time before the (n+1)th update timing UT(n+1).
[0084] Specifically, for example, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 from the odd key KO1 to the even key KE2 at switching timing ST2 when time Ta, which is the update period UC minus a predetermined time Tb, has elapsed since detection timing DT1 corresponding to update timing UT1. More specifically, the key output unit 12 outputs the odd key KO1 included in the ECM_E1 received from the ECM decoding unit 13 to the scrambling unit 40 during the period from detection timing DT1 to switching timing ST2, and outputs the even key KE2 included in the ECM_E1 received from the ECM decoding unit 13 to the scrambling unit 40 during the period from switching timing ST2 to update timing UT2.
[0085] Furthermore, for example, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 from the even key KE2 to the odd key KO3 at switching timing ST3 when time Ta, which is the update period UC minus a predetermined time Tb, has elapsed since detection timing DT2 corresponding to update timing UT2. More specifically, in the period from detection timing DT2 to switching timing ST3, the key output unit 12 outputs the even key KE2 included in the ECM_E2 received from the ECM decoding unit 13 to the scrambling unit 40, and in the period from switching timing ST3 to update timing UT3, outputs the odd key KO3 included in the ECM_E2 received from the ECM decoding unit 13 to the scrambling unit 40.
[0086] Furthermore, for example, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 from the odd key KO3 to the even key KE4 at switching timing ST4 when time Ta, which is the update period UC minus a predetermined time Tb, has elapsed since detection timing DT3 corresponding to update timing UT3. More specifically, in the period from detection timing DT3 to switching timing ST4, the key output unit 12 outputs the odd key KO3 included in the ECM_E3 received from the ECM decoding unit 13 to the scrambling unit 40, and in the period from switching timing ST4 to update timing UT4, outputs the even key KE4 included in the ECM_E3 received from the ECM decoding unit 13 to the scrambling unit 40.
[0087] The scrambler 40 encrypts the TS packets using the odd key KO1 received from the key output unit 12 during the period from detection timing DT1 to switching timing ST2, encrypts the TS packets using the even key KE2 received from the key output unit 12 during the target period TX2 from switching timing ST2 to switching timing ST3, encrypts the TS packets using the odd key KO3 received from the key output unit 12 during the target period TX3 from switching timing ST3 to switching timing ST4, and encrypts the TS packets using the even key KE4 received from the key output unit 12 during the target period TX4 from switching timing ST4 to switching timing ST5.
[0088] In this way, the scrambling device 101 according to the first embodiment of the present disclosure creates a relative time difference between the switching timing ST and the update timing UT of the scrambling key in the ECM to be output. More specifically, the scrambling device 101 creates the time difference by delaying the switching timing ST by a time Ta from the update timing UT. By creating the time difference, the scrambling device 101 starts the target period TX, which is a period during which the output of the content information encrypted using the same scrambling key continues, at a timing within the output duration, which is a period during which the output of the ECM including the scrambling key used to encrypt the content information to be output during the target period TX continues. The target period TX is an example of an identical encryption period. More specifically, the scrambling device 101 creates the time difference, which starts the target period TX a predetermined time Tb before the update timing UT of the scrambling key different from the used key in the ECM including the used key, which is the scrambling key used to encrypt the content information to be output during the target period TX. Specifically, for example, by creating this time difference, the scrambling device 101 starts the target period TX3 a predetermined time Tb before the update timing UT3 of the even key KE in ECM_E2 and ECM_E3, which includes the odd key KO3, which is the key used to encrypt the content information to be output during the target period TX3, and starts the target period TX4 a predetermined time Tb before the update timing UT4 of the odd key KO in ECM_E3 and ECM_E4, which includes the even key KE4, which is the key used to encrypt the content information to be output during the target period TX4.
[0089] That is, the scrambling device 101 according to the first embodiment of the present disclosure switches the scrambling key used for encryption between the even key KE and the odd key KO at the switching timing ST(n+1) when the time Ta obtained by subtracting a predetermined time Tb from the update period UC has elapsed since the detection timing DTn corresponding to the update timing UTn. As a result, in accordance with the above-mentioned standard regarding the switching of the scrambling key, the content information can be encrypted in the period T1 using the current key included in the ECM received from the ECM transmitting device 201 and transmitted to the remuxing device 121, and the content information can be encrypted in the period T2 starting a predetermined time before the next update timing UT(n+1) using the next key included in the ECM received from the ECM transmitting device 201 and transmitted to the remuxing device 121.
[0090] Here, a scrambling device 101 according to a comparative example may calculate an ECM update period UC based on two successive detection times DT, and switch the scrambling key used for encryption between an even key KE and an odd key KO at a switching time ST(n+1) when a time Ta obtained by subtracting a predetermined time Tb from the calculated update period UC has elapsed from the detection time DTn. However, in such a configuration, when the update period UC of the ECM transmitted from the ECM transmitting device 201 is changed, it may not be possible to switch the scrambling key used for encrypting the content information in accordance with the above-mentioned standard.
[0091] Specifically, in the scrambling device 101 according to the comparative example, even if the update period UC of the ECM transmitted from the ECM transmitting device 201 is changed and, for example, the (n+1)th update of the ECM is performed at a timing UTm earlier than the original update timing UT(n+1), the scrambling key used for encryption is switched between the even key KE and the odd key KO at the switching timing ST(n+1) when the time Ta obtained by subtracting a predetermined time Tb from the calculated update period UC has elapsed from the detection timing DTn, just as in the case where the (n+1)th update of the ECM is performed at the original update timing UT(n+1). As a result, the scrambling key cannot be switched at a timing that is a predetermined period Tb earlier than the actual update timing UTm, and a period greater than zero seconds cannot be secured as the period T2.
[0092] In contrast, in the scrambling device 101 according to the first embodiment of the present disclosure, the acquiring unit 30 acquires periodicity information indicating an update period in which the scrambling key is updated. The ECM managing unit 10 detects the update of the scrambling key contained in the received ECM. The scrambling unit 40 switches the scrambling key used for encryption between the even key KE and the odd key KO at a switching timing ST(n+1) when a time Ta obtained by subtracting a predetermined time Tb from the update period UC indicated by the periodicity information acquired by the acquiring unit 30 has elapsed from a detection timing DTn at which the ECM managing unit 10 detects the update of the scrambling key.
[0093] With this configuration, when the update period UC of the ECM transmitted from the ECM transmitting device 201 is changed, for example, period information indicating the changed update period UC can be obtained in advance, and the scrambling key used to encrypt the content information can be switched at a timing conforming to the above-mentioned standard based on the changed update period UC. Therefore, in the scrambling device 101 that encrypts the content information using the ECM generated in the ECM transmitting device 201, which is an external device, the content information can be encrypted in a manner that flexibly corresponds to a change in the update period UC of the ECM received from the ECM transmitting device 201.
[0094] [Operation flow] Each device in the broadcasting system according to the first embodiment of the present disclosure includes a computer including a memory, and a processor such as a CPU in the computer reads out from the memory and executes a program including some or all of the steps of the following flowcharts and sequences. Each of the programs for the multiple devices can be installed from the outside. Each of the programs for the multiple devices is distributed in a state in which it is stored on a recording medium.
[0095] FIG. 9 is a flowchart defining an example of an operation procedure when the scrambling device according to the first embodiment of the present disclosure performs scrambling processing.
[0096] Referring to FIG. 9, first, the scrambling device 101 acquires period information (step S102).
[0097] Next, the scrambling device 101 receives the ECM transmitted from the ECM transmitting device 201. More specifically, the scrambling device 101 receives the IP packets from the ECM transmitting device 201 via the IP transmission network 211, and acquires the TS packets from the received IP packets. The scrambling device 101 then reconstructs the section data including the encrypted ECM by combining the data stored in the payload of the TS packets, and acquires the encrypted ECM from the reconstructed section data (step S104).
[0098] Next, the scrambling device 101 encrypts the content information using the scrambling key included in the acquired ECM. More specifically, the scrambling device 101 decrypts the acquired ECM using the work key stored in the CAS module 70. Then, the scrambling device 101 receives an IP packet from the encoder device 111, and encrypts a TS packet including content information included in the received IP packet using the scrambling key included in the decrypted ECM (step S106).
[0099] Next, the scrambling device 101 outputs the encrypted content information and an ECM including the scrambling key used to encrypt the content information. More specifically, the scrambling device 101 multiplexes the encrypted TS packet and a TS packet in which a part of the section data including the ECM used for encryption is stored in the time axis direction, and transmits each multiplexed TS packet to the remux device 121 (step S108).
[0100] 10 is a flowchart showing an example of an operation procedure when the scrambling device according to the first embodiment of the present disclosure performs scrambling processing. FIG. 10 shows details of step S106 in the flowchart shown in FIG.
[0101] 10, first, the scrambling device 101 waits for an update of the scrambling key included in the ECM transmitted from the ECM transmitting device 201 (NO in step S202), and when it detects that the scrambling key included in the ECM has been updated (YES in step S202), it switches the scrambling key used for encryption between the even key KE and the odd key KO at the switching timing ST(n+1) that is a time Ta obtained by subtracting a predetermined time Tb from the update cycle UC indicated by the cycle information from the detection timing DTn at which the scrambling key update is detected. That is, the scrambling device 101 delays the switching timing ST by the time Ta from the update timing UT to create a relative time difference between the switching timing ST and the update timing UT of the scrambling key in the ECM to be output (step S204).
[0102] Next, the scrambling device 101 waits for the next update of the scrambling key contained in the ECM transmitted from the ECM transmitting device 201 (NO in step S202).
[0103] In the broadcasting system 401 according to the first embodiment of the present disclosure, the ECM transmitting device 201, the EMM transmitting device 202, and the encoder device 111 are configured to include TS packets in one or more IP packets and transmit them to the scrambling device 101 via the IP transmission network 211, but this is not limited to the above. At least one of the ECM transmitting device 201, the EMM transmitting device 202, and the encoder device 111 may be configured to include TS packets in an ASI signal, which is an ASI (Asynchronous Serial Interface) type signal, and transmit them to the scrambling device 101.
[0104] Also, in the scrambling device 101 according to the first embodiment of the present disclosure, the key output unit 12 is configured to switch the scrambling key to be output to the scrambling unit 40 between the even key KE and the odd key KO at the switching timing ST, which is 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 received from the ECM detection unit 11, but this is not limited to the above. The key output unit 12 may be configured to switch the scrambling key to be output to the scrambling unit 40 between the even key KE and the odd key KO at the switching timing ST based on a timing other than the detection timing DT.
[0105] Next, another embodiment of the present disclosure will be described with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference characters and the description thereof will not be repeated.
[0106] <Second embodiment> This embodiment relates to a scrambling device 102 that outputs an ECM at a timing delayed by a predetermined time from the output timing of content information encrypted using a corresponding scrambling key, as compared with the scrambling device 101 according to the first embodiment. Contents other than those described below are the same as those of the scrambling device 101 according to the first embodiment.
[0107] [Configuration and basic operation] Fig. 11 is a diagram showing a configuration of a scrambling device according to a second embodiment of the present disclosure. With reference to Fig. 11, compared to the scrambling device 101 according to the first embodiment, the scrambling device 102 includes an ECM management unit 80 instead of the ECM management unit 10. The ECM management unit 10 includes an ECM detection unit 11, a key output unit 82, an ECM decryption unit 13, and a delay control unit 84.
[0108] 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 by referring to the PID, etc. in the acquired TS packet that a portion of section data including ECM is stored in the payload of the TS packet, it outputs the TS packet to the delay control unit 84.
[0109] Furthermore, the ECM detection unit 11 combines the data stored in the payload of the TS packet to reconstruct section data including the encrypted ECM generated in the ECM transmission device 201. For example, the ECM detection unit 11 detects an update of the scrambling key included in the ECM stored in the data part of the reconstructed section data, based on the information stored in the header part of the section data. When the ECM detection unit 11 detects a change in the version number of the section data, it outputs detection information indicating the detection timing DT, which is the timing at which the change in the version number was detected, to the key output unit 82.
[0110] The key output unit 82 receives detection information from the ECM detection unit 11, and switches the scrambling key to be output to the scrambling unit 40 between the even key KE and the odd key KO at the detection timing DT indicated by the received detection information.
[0111] The scrambler 40 receives IP packets from the encoder device 111, and encrypts the TS packets included in the received IP packets using the scramble key received from the key output unit 82. The scrambler 40 outputs the encrypted TS packets to the output unit 50.
[0112] The delay control unit 84 receives TS packets from the ECM detection unit 11, performs delay processing on the received TS packets, and outputs the packets to the output unit 50. More specifically, the delay control unit 84 holds the TS packets received from the ECM detection unit 11 for a predetermined time Tb before outputting the packets to the output unit 50.
[0113] The output unit 50 multiplexes, in the time axis direction, the delayed TS packet received from the delay control unit 84, in which a portion of the section data including the ECM is stored, and the TS packet received from the scrambling unit 40, which has been encrypted using the scrambling key contained in the ECM, and transmits each multiplexed TS packet to the remux device 121.
[0114] <Scramble key switching process> FIG. 12 is a diagram illustrating an example of a timing chart showing update timing of a scrambling key received in a scrambling device according to the second embodiment of the present disclosure and a scrambling key used for encrypting content information.
[0115] 12, the scrambler 40 switches the scramble key used for encryption between the even key KE and the odd key KO at detection timing DTn when the ECM manager 10 detects an update of the scramble key.
[0116] More specifically, the ECM detection unit 11 in the ECM management unit 10 detects that the scrambling key contained in the ECM received from the ECM transmitting device 201 has been updated at the nth update timing UTn, and outputs detection information indicating the detection timing DTn to the key output unit 12.
[0117] The key output unit 82 receives the detection information from the ECM detection unit 11, and switches the scrambling key to be output to the scrambling unit 40 between the odd key KO and the even key KE. That is, the key output unit 82 switches the scrambling key to be output to the scrambling unit 40 between the odd key KO and the even key KE at a switching timing ST, which is the timing immediately after the detection timing DT, for example.
[0118] For example, at switching timing ST, the key output unit 12 switches the scramble key to be output to the scramble unit 40 to one of the even keys KE and odd keys KO that is different from the scramble key that was last updated. More specifically, at switching timing ST, the key output unit 12 switches the scramble key to be output to the scramble unit 40 to one of the even keys KE and odd keys KO that was not updated at the detection timing DT that is last before the switching timing ST.
[0119] Specifically, for example, at switching timing ST immediately after detection timing DT2, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the even key KE2 that was not updated at the detection timing DT2. Also, for example, at switching timing ST immediately after detection timing DT3, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the odd key KO3 that was not updated at the detection timing DT3. Also, for example, at switching timing ST immediately after detection timing DT4, the key output unit 12 switches the scrambling key to be output to the scrambling unit 40 to the even key KE4 that was not updated at the detection timing DT4.
[0120] In this way, the key output unit 82 switches the scrambling key to be output to the scrambling unit 40 between the odd key KO and the even key KE at the switching timing ST immediately after the detection timing DTn corresponding to the update timing UTn.
[0121] The scrambler 40 encrypts the TS packets using the scramble key received from the key output unit 82, and switches the scramble key used for encryption between the odd key KO and the even key KE at the detection timing DTn.
[0122] FIG. 13 is a diagram illustrating an example of a timing chart showing update timings of scrambling keys received and transmitted in a scrambling device according to the second embodiment of the present disclosure and scrambling keys used for encrypting content information.
[0123] 13, the output unit 50 outputs the ECM at a timing delayed by a predetermined time Tb from the output timing of the content information encrypted using the corresponding scramble key.
[0124] More specifically, as described above, the delay control unit 84 holds the TS packet, in which part of the section data including ECM is stored, received from the ECM detection unit 11 for a predetermined time Tb before outputting it to the output unit 50.
[0125] On the other hand, the key output unit 82 outputs the scrambling key received from the ECM decryption unit 13 to the scrambler 40 without performing any delay processing.
[0126] Then, the scrambler 40 outputs the TS packets encrypted using the scramble key received from the key output unit 82 to the output unit 50 without performing delay processing. That is, the scrambler 40 outputs the encrypted TS packets to the output unit 50 without holding them for a predetermined time Tb like the delay control unit 84.
[0127] The output unit 50 multiplexes the TS packets received from the delay control unit 84 and the TS packets received from the scrambler 40 in the time axis direction, and transmits each of the multiplexed TS packets to the remux device 121 .
[0128] As a result, when focusing on the ECM transmitted from the scramble device 102 to the remux device 121 and the scramble key used to encrypt the content information transmitted from the scramble device 102 to the remux device 121, the scramble key used to encrypt the content information can be switched at a timing a predetermined time Tb before the nth update timing UTn of the ECM transmitted from the scramble device 102 to the remux device 121.
[0129] In this way, the scrambling device 102 according to the second embodiment of the present disclosure creates a relative time difference between the switching timing ST and the update timing UT of the scrambling key in the ECM to be output. More specifically, the scrambling device 102 creates the time difference by delaying the update timing UT of the scrambling key in the ECM to be output by a predetermined time Tb from the detection timing DT. By creating the time difference, the scrambling device 102 starts the target period TX, which is a period during which the output of the content information encrypted using the same scrambling key continues, at a timing within the output duration, which is a period during which the output of the ECM including the scrambling key used to encrypt the content information to be output during the target period TX continues. More specifically, the scrambling device 101 creates the time difference, so that the target period TX starts a predetermined time Tb before the update timing UT of the scrambling key different from the used key in the ECM including the used key, which is the scrambling key used to encrypt the content information to be output during the target period TX.
[0130] That is, in the scrambling device 102 according to the second embodiment of the present disclosure, the output unit 50 outputs the ECM at a timing delayed by a predetermined time Tb from the output timing of the content information encrypted using the corresponding scrambling key. This makes it possible to encrypt the content information using the current key included in the ECM to be transmitted to the remuxing device 121 during the period T1 in accordance with the above-mentioned standard regarding switching of the scrambling key, and to encrypt the content information using the next key included in the ECM to be transmitted to the remuxing device 121 during the period T2 starting a predetermined time before the next update timing UT(n+1).
[0131] With this configuration, even if the update cycle UC of the ECM transmitted from the ECM transmitting device 201 is changed, the ECM and content information can be output in accordance with the above-mentioned standard by changing the switching timing of the scrambling key used to encrypt the content information in accordance with this change. Therefore, in the scrambling device 102 that encrypts the content information using the ECM generated in the ECM transmitting device 201, which is an external device, the content information can be encrypted in a flexible manner in response to a change in the update cycle UC of the ECM received from the ECM transmitting device 201. Furthermore, in the scrambling device 102 according to the second embodiment of the present disclosure, there is no need to acquire cycle information, and therefore the configuration can be simplified compared to the scrambling device 101 according to the first embodiment.
[0132] 14 is a flowchart showing an example of an operation procedure when the scrambling device according to the second embodiment of the present disclosure performs scrambling processing. FIG. 14 shows details of step S108 in the flowchart shown in FIG.
[0133] 14, first, the scramble device 102 holds the ECM including the scramble key used to encrypt the content information for a predetermined time Tb (step S302).
[0134] Next, the scrambling device 102 outputs the ECM at a timing delayed by a predetermined time Tb from the output timing of the content information encrypted using the corresponding scrambling key. More specifically, the scrambling device 102 multiplexes, in the time axis direction, a TS packet in which a part of the section data including the ECM held for the predetermined time Tb is stored and a TS packet encrypted using the scrambling key included in the ECM, and transmits each of the multiplexed TS packets to the remux device 121. That is, the scrambling device 102 delays the update timing UT of the scrambling key in the ECM to be output by a predetermined time Tb from the detection timing DT, thereby creating a relative time difference between the switching timing ST and the update timing UT of the scrambling key in the ECM to be output (step S304).
[0135] The above-described embodiments should be considered as illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims.
[0136] The above description includes the following additional features. [Appendix 1] A scrambling device that receives an ECM including a scrambling key, which is repeatedly transmitted from an ECM transmitting device, and encrypts content information, the ECM includes an even key and an odd key as the scrambling key, and the even key and the odd key are updated alternately; An ECM management unit that receives the ECM; a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit; an output unit that outputs the ECM including the content information encrypted by the scramble unit and the scramble key used to encrypt the content information in the scramble unit; the output unit outputs the ECM at a timing delayed by a predetermined time from an output timing of the content information encrypted by using the corresponding scrambling key; The scrambling unit is a scrambling device that encrypts the content information obtained from an encoder device provided at a location different from a location where the ECM transmitting device is provided. [Explanation of symbols]
[0137] 10, 80 ECM Management Department 11 ECM detector 12, 82 Key output section 13 ECM decoding section 20 EMM Management Department 30 Acquisition Department 40 Scramble Club 50 Output section 60 Storage section 70 CAS Module 84 Delay control section 101, 102 Scrambling device 111 Encoder device 121 Remax Device 151 Cable TV Stations 211 IP Transmission Network 201 ECM transmitter 202 EMM transmitter 210 ECM generation section 220 Transmitter 251 Program Distribution Center 301 STB 311 Cable Television Network 351 Subscriber home 401 Broadcasting System
Claims
1. A scrambling device that receives an ECM (Entitlement Control Message) including a scrambling key and that is repeatedly transmitted from an ECM transmitting device, and encrypts content information, comprising: the ECM includes an even key and an odd key as the scrambling key, the even key and the odd key are alternately updated, and the ECM complies with the Advanced Cable Independent Broadcasting Operation Specification of Japan Cable Labs, an ECM management unit for receiving the ECM; a scrambling unit that encrypts the content information using the scrambling key included in the ECM received by the ECM management unit; an output unit that outputs the ECM including the content information encrypted by the scramble unit and the scramble key used to encrypt the content information in the scramble unit, A scrambling device in which 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 scrambling key, without relying on the update period of the ECM transmitted from the ECM transmitting device.
2. A scrambling device as described in claim 1, wherein the difference obtained by subtracting the specified time from the update period of the ECM is greater than 7,600 milliseconds.
3. The ECM management unit detects an update of the scrambling key included in the received ECM, 3. The scrambling device according to claim 1, wherein the scrambling section switches the scrambling key used for encryption between the even key and the odd key when the ECM management section detects an update of the scrambling key.
4. A scrambling method in a scrambling device that receives an ECM including a scrambling key and encrypts content information, the method comprising: the ECM includes an even key and an odd key as the scrambling key, the even key and the odd key are alternately updated, and the ECM complies with the Advanced Cable Independent Broadcasting Operation Specification of Japan Cable Labs, receiving the ECM; encrypting the content information using the scrambling key included in the received ECM; outputting the ECM including the encrypted content information and the scrambling key used to encrypt the content information; A scrambling method in which, in the step of outputting the ECM, the ECM is output at a timing delayed by a predetermined time from the output timing of the content information encrypted using the corresponding scrambling key, without relying on the update period of the ECM transmitted from the ECM transmitting device.
Citation Information
Patent Citations
Conditional access system
JP2001069480A
Broadcasting device and receiver providing storage type service
JP2002247547A
Method and system for adding digital independent broadcast capable of executing c-CAS control
JP2006013949A
Receiver
JP2019134299A
