Common Interface Host and Common Interface Conditional Access Module
20170078711 ยท 2017-03-16
Inventors
Cpc classification
G06F21/10
PHYSICS
H04N21/4622
ELECTRICITY
H04N21/43607
ELECTRICITY
International classification
H04N21/254
ELECTRICITY
G06F21/10
PHYSICS
Abstract
The invention provides a Common Interface, CI, host (10) comprising a Universal Serial Bus, USB, controller (30) for connecting to a USB device (31) of a Common Interface Conditional Access Module, CICAM, (20) the USB controller being configured to usea first logical pipe (33) for transferring control information between the CICAM and the CI host; anda second logical pipe (35) for transmitting to the CICAM a first CA encrypted signal.a third logical pipe (37) for receiving a first CA decrypted signal, corresponding to the first CA encrypted signal, from the CICAM, wherein USB isochronous pipes are used as the second logical pipe (35) and the third logical pipe (37) when the first CA encrypted signal originates from a DVB broadcast and USB bulk pipes are used as the second logical pipe (35) and the third logical pipe (37) when the first CA encrypted signal originates from an Internet source.
Claims
1. A Common Interface (CI) host comprising a Universal Serial Bus (USB) controller for connecting to a USB device of a Common Interface Conditional Access Module (CICAM), the USB controller being configured to use a first logical pipe for transferring control information between the CICAM and the CI host, a second logical pipe for transmitting to the CICAM a first CA encrypted signal, and a third logical pipe for receiving a first CA decrypted signal, corresponding to the first CA encrypted signal, from the CICAM, wherein USB isochronous pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from a DVB broadcast and USB bulk pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from an Internet source.
2. A digital television device comprising a CI host according to claim 1.
3. The digital television device according to claim 2, wherein a decoder buffer with a first size is used by the digital television device when the first CA encrypted signal originates from a DVB broadcast and a decoder buffer of a second size is used by the digital television device when the first CA encrypted signal originates from an Internet source, the first size being smaller than the second size.
4. A Common Interface Conditional Access Module (CICAM) for receiving and decrypting a Content Access (CA) encrypted signal, the CICAM comprising a Universal Serial Bus (USB) device for connecting to a USB controller of a Common Interface (CI) host, the USB device being configured to use a first logical pipe for transferring control information between the CICAM and the CI host, a second logical pipe for receiving from the CI host a first CA encrypted signal, and a third logical pipe for transmitting from the CICAM to the CI host a CA decrypted signal, wherein USB isochronous pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from a DVB broadcast and USB bulk pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from an Internet source.
5. A system comprising a Common Interface (CI) host, and a Common Interface Conditional Access Module (CICAM) for receiving and decrypting a Content Access (CA) encrypted signal, the CI host including a Universal Serial Bus (USB) controller, the CICAM including a USB device for connecting to the USB controller, the USB controller being configured to use a first logical pipe for transferring control information between the CICAM and the CI host, a second logical pipe for transmitting to the CICAM a first CA encrypted signal, and a third logical pipe for receiving a first CA decrypted signal, corresponding to the first CA encrypted signal, from the CICAM, the USB device being configured to use the first logical pipe for transferring the control information between the CICAM and the CI host, the second logical pipe for receiving from the CI host the first CA encrypted signal, and the third logical pipe for transmitting from the CICAM to the CI host the CA decrypted signal, wherein USB isochronous pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from a DVB broadcast and USB bulk pipes are used as the second logical pipe and the third logical pipe when the first CA encrypted signal originates from an Internet source.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0037] On the attached drawing sheets,
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
DETAILED DESCRIPTION
[0044]
[0045] Generally, the host 10 is a consumer electronics device, e.g. a Television, that is used to receive and navigate the broadcast digital media. The host includes one or more slots which accept CICAMs. In an embodiment, the CICAM slot of the host has the form of a USB connector. In an embodiment, the slot is configured to receive a Type A USB connector. However, other USB forms (e.g. mini-USB or micro-USB may also be used).
[0046] Typically the host device contains some form of tuner 11, a demodulator 12, a demultiplexer (Demux) 14 and media decoders (not shown). These are the usual pre-requisites for the reception of digital TV.
[0047] For free-to-air material this is all that is required to receive and decode digital content, for content protected by a CA system a CICAM is required. DVB CICAMs that comply with the CI standard EN 50221 have no Content Control system 23, 24 to protect the descrambled content. In CI systems, content where the CA system protection has been removed is passed to the host unprotected.
[0048] Hosts compliant with the CI Plus standard have a Content Control decryption module 13. The CI Plus host interoperates with the CICAM to provide a secure content control system 13, 23, 24 to protect high value content which has been CA decrypted.
[0049] The CICAM contains the consumer end of the CA system. It comprises a CA decryption module 21 for decrypting secure content, a CA key calculation module 22 for calculating keys based in part on data from a smart card 25, and a smart card interface 26 (see
[0050] CI Plus CAMs (hereafter also denoted as CICAM) also include Content Control (CC) modules for re-encrypting the CA decrypted signal. The module implements the CC application that communicates over the control channel which the CC resource implemented in the host The Content Control encryption module 23 thus re-encrypts the content using a key that has been agreed on a shared secure channel between the CICAM and the host. The CC system crypto tools module 24 facilitates in generating keys and setting up a secure channel with the host. Module 24 also contains cryptographic tools and features which enable it to authenticate the trustworthiness of the host the CICAM has been inserted into.
[0051]
[0052] When the CICAM 20 connector 27 is inserted in a corresponding USB slot of a host, a CI over USB connection is formed. In the downstream direction (defined as the direction from the host to the CICAM) the CA encrypted content is transmitted, and in the upstream direction (defined as the direction from the CICAM to the host), the decrypted content (CI standard) or CC encrypted content (CI Plus standard) is transmitted.
[0053] Before further details of the CI over USB link are provided, some background information on USB is given.
[0054] USB was originally designed as a standard for connecting peripheral devices to computers. In recent years, it has become commonly used in all sorts of (consumer) electronics devices. USB standard 1.0 offered 1.5 Mbit/s transfer speed. Later versions increased this speed, with USB 2.0 offering 480 Mbit/s over 4 physical wires. The wires are typically labelled Vcc (5 Volt), GND (ground), D, and D+, with the latter two wires forming a twisted-pair for data.
[0055] USB 3.0, described in the USB 3.0 Specification Revision 1.0 dated Jun. 6, 2011, is similar to earlier versions of USB in that it is a cable bus supporting data exchange between a host computer and a wide range of simultaneously accessible peripherals. The attached peripherals share bandwidth through a host-scheduled protocol. The bus allows peripherals to be attached, configured, used, and detached while the host and other peripherals are in operation. However, in contrast to USB 2.0 and earlier versions, USB 3.0 utilizes 10 wires. In addition to the 4 wires of previous USB standards, six wires for three additional twisted pairs are added.
[0056] USB 3.0 utilizes a dual-bus architecture that provides backward compatibility with USB 2.0. It provides for simultaneous operation of SuperSpeed and non-SuperSpeed (USB 2.0 speeds) information exchanges.
[0057] USB device communication is based on logical channels called pipes between a host controller (in one device) to a logical entity called the endpoint, on another device. There are two types of pipes: stream (or data) and message pipes. A message pipe is bi-directional and is used for control transfers. Message pipes use the control transfer type, and are typically used for command traffic from the host to the device and vice versa. A stream pipe is a uni-directional pipe connected to a uni-directional endpoint that transfers data using one of three other transfer types: isochronous, interrupt, or bulk transfer.
[0058] Isochronous transfers take place at some guaranteed data rate, with possible occasional data loss. Interrupt transfers are suitable for quick responses, for example for mice and keyboard peripherals. Bulk transfers are large sporadic transfers using all remaining available bandwidth, but with no guarantees on bandwidth or latency.
[0059] In USB 3.0, most pipes come into existence when the device is configured by system software. However, one message pipe, the Default Control Pipe, always exists once a device has been powered and is in the default state, to provide access to the device's configuration, status, and control information.
[0060] Also in USB 3.0, the bulk transfer type has an extension for SuperSpeed called Streams. Streams provide inband, protocol-level support for multiplexing multiple independent logical data streams through a standard bulk pipe.
[0061] Despite the fact that USB 3.0 can be said to be a full-duplex protocol, the logical pipes are still considered to be uni-directional. That is, for bi-direction data communication (data exchange), two logical pipes must be created (see e.g. section 4.4.6 on Bulk Transfers of the USB 3.0 Specification Rev 1.0 dated Jun. 6, 2011). While it is sometimes said that USB 3.0 supports bi-directional data pipes, these bi-directional data pipes in fact consist of two logical pipes, one for upstream and one for downstream data communications. If a future USB version defines true bi-directional data pipes (using e.g. a bulk transfer type), then the invention may be practiced using such a bi-directional pipe. Such a bi-directional pipe can then be considered to embody two uni-directional data pipes as described in this disclosure.
[0062]
[0063] The USB device 31 in the CICAM device has three logical endpoints 32, 34, and 36. Endpoint 32 is connected to message pipe 33, for bi-directionally transmitting control traffic to and from the CICAM device using a control transfer type. In an embodiment, pipe 33 is the default control pipe (also known as pipe 0). Endpoint 34 is connected to downstream pipe 35 for receiving (at the CICAM device) CA encrypted video data. Endpoint 36 is connected to upstream pipe 37 for transmitting (from the CICAM device) CC encrypted video data.
[0064] USB isochronous pipes are used as the second logical pipe 35 and the third logical pipe 37 when the first CA encrypted signal originates from a DVB broadcast and USB bulk pipes are used as the second logical pipe 35 and the third logical pipe 37 when the first CA encrypted signal originates from an Internet source. When the USB isochronous pipes are used, the decoder buffer of DTV Receiver 10 can be kept minimal, resulting in quicker channel changes.
[0065]
[0066]
[0067] In an embodiment, a total of 2N+1 pipes are provided: N upstream data pipes and N downstream data pipes, as described above, and 1 control pipe for exchanging control messages.
[0068] In the embodiments of
[0069] The CA encrypted and CA decrypted data can in principle be in any (streaming) format. However, Transport Streams (TS) and ISO BMFF are the most common carriers of the type of data (audio/video) transmitted between CI and CICAM.
[0070]
[0071] The alternative of
[0072] Preferably, the data sent over the data pipes is organized in USB chunks. There are various options available for repackaging the CA encrypted/decrypted data for transport over the USB interface between CI en CICAM. In the case of TS input, a straightforward way would be to map each TS packet to a single USB chunk. However, this would not be a very efficient way since TS packets comprise 188 bytes, while USB chunks are typically several kiloBytes (kB) in size. A possible way would be to package items at a higher abstraction layer than the packet layer in separate chunks. For example, TS tables, which are split up and transmitted over several TS packets, can be re-assembled in the CI host and then sent as a single table chunk over the USB interface to the CICAM.
[0073]
[0074] The header 61 can be used to indicate the type of contents of the chunk. For example, it may indicate which table or TS packet is included in the payload. In an embodiment, the header 61 has a type field 63 for characterising the payload. The header 61 may comprise a time field 64 indicating a time stamp of the payload, for example the time stamp of the first TS packet of a transport stream payload. The header 61 may comprise a duration field 65 indicating a duration of the payload. the time field 64 and duration field 65 can be used for clock recovery in the CICAM system.
[0075] The payload can comprise N packets P.sub.1, P.sub.2, P.sub.3, . . . , P.sub.N. In the case of a MPEG transport stream, the size s of the packets may be 188 Bytes (B), while the total size L of the chunk including header and payload may be of the order of 64 kiloByte (kB). For clock recovery, it is not essential that each packet is individually labelled with a time and duration value. Bundling N packets into a single chunk with a single header 61 advantageously prevents overhead compared to known variants in which each packet is encapsulated.
[0076] In addition, it is not necessary to include, as some standards do, CRC headers and other error-correction or detection data in the data chunks. For data integrity checks, the native USB bulk transfer provisions may be used. It is thus not necessary to replicate the error-correcting and detecting part of any transport layer that is mapped to the USB link. This also significantly reduces overhead.
[0077] The incoming (to be CA decrypted) TS or ISO BMFF stream (or any other suitable stream that is to be decrypted in the CICAM) can thus be converted by the CI host to a stream of USB data chunks. With the aid of the headers of the USB data chunks and/or messages on the control pipe, the receiving CICAM can reconstruct the TS or ISO BMFF stream, so that the CA encrypted signal can be decrypted. It may not be necessary to fully convert the chunks back to TS or ISO BMFF formatit is sufficient if the CICAM can identify which parts of the incoming data it needs to decrypt. After decryption an optional (for CI Plus) re-encryption, the CA decrypted data is converted again to USB chunks (if needed), and transmitted from the CICAM back to the CI over the USB link, using a suitable logical pipe. The CI host then re-creates the original TS or ISO BMFF format as needed for further processing in the digital receiver or television.
[0078] Finally, some explanation is given regarding the control messages. In an embodiment, the default PIPE of the USB device is reserved exclusively for the control-layer of CI/CI Plus. One or more additional pipes are used to transfer the content. As shown in reference to
[0079] In summary, in an embodiment, the data pipes (e.g. pipes 35, 37, 39, 41) transmit chunks with a tag-length-value format. The data transmitted over the data pipe is transmitted as chunks, each chunk having a header. The data thus consists of descriptors (header) and payload. In an embodiment, descriptors are time-stamped. Either or both a duration or a second time stamp to mark the end of the data may also be added. The content format should be described. There may be two different content formats, TS (Transport Stream) and ISO BMFF (Base Media File Format). In another embodiment, the encrypted and/or decrypted may be transmitted over a USB interface without the use of chunks or without the use of the above-described chunks.
[0080] In an embodiment, for the control layer each packet in the default PIPE has the same tag-length-value format as in the common interface. It starts with the protocol objects as defined in EN 50221 7.1.2.
[0081] In the foregoing description of the figures, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the scope of the invention as summarized in the attached claims.
[0082] It is noted that in the examples reference is mostly made to a CI-Plus system. However, the invention can also be used in connection with a CI system.
[0083] In particular, combinations of specific features of various aspects of the invention may be made. An aspect of the invention may be further advantageously enhanced by adding a feature that was described in relation to another aspect of the invention.
[0084] It is to be understood that the invention is limited by the annexed claims and its technical equivalents only. In this document and in its claims, the verb to comprise and its conjugations are used in their non-limiting sense to mean that items following the word are included, without excluding items not specifically mentioned. In addition, reference to an element by the indefinite article a or an does not exclude the possibility that more than one of the element is present, unless the context clearly requires that there be one and only one of the elements. The indefinite article a or an thus usually means at least one.