A Smart-Card-based Conditional Access Subsystem Separation Scheme For Digital TV Broadcasting

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Q. Xie et al.

: A Smart-Card-based Conditional Access Subsystem Separation Scheme for Digital TV Broadcasting 925

A Smart-Card-based Conditional Access Subsystem Separation


Scheme for Digital TV Broadcasting
Qiang Xie, Student Member, IEEE, Shibao Zheng, Member, IEEE, and Xiaojing Yu

Abstract — In this paper we present a smart-card-based can receive and decode these programs, mainly for commercial
conditional access subsystem (CASS) separation scheme at the reasons, the technique of conditional access (CA) is created to
digital TV broadcasting receiving end. Following the reach this purpose and it has a long evolution history [6]. Due
proposed scheme, different conditional access (CA) systems to the considerations of commercial profits and security, most
can operate concurrently in one digital TV broadcasting current commercially available CA systems have not been
network using a common receiving platform which is standardized and they are not compatible to each other at the
independent of any specific CA system. The digital TV broadcasting receiving end. Thus, CA system is at the
program subscriber needs only to change the corresponding technique core of the whole pay TV business [7].
CA smart card to view pay TV programs which are scrambled Most CASSs at the receiving end can be classified into two
by different CA systems. The main points of the proposed types according to the different locations of the interface
scheme and its reference implementation are presented in this between STB and CA security module as indicated in Fig. 1.
paper. The reference implementation has been developed to
When this interface is located at I2, which is the case for most
verify the feasibility of the proposed scheme in practical
deployed CA systems in China, the whole CASS consists of two
broadcasting environment. The system architecture and the
parts: CASS buried part in STB and CASS detachable part in
constituent logical function modules of this reference
implementation, especially the part in STB, have been security module. Most such kind of CASSs use 8-bit smart card
described in detail to better illustrate the working principle of as the security module because it is cheap and its security
this scheme. Compared to PC-card-based or other smart- mechanism is mature. The CASS buried part in STB often
card-based common interface schemes, the proposed one is provides necessary supports needed by the CASS detachable
much more cost performance efficient, succincter and easier part in smart card, such as operating system functions, MPEG
to be accepted by CA system providers. This scheme is also transport stream (TS) or packetized elementary stream (PES)
one of the candidate standards for Chinese digital TV demultiplexing, descrambling, on screen display (OSD),
broadcasting1. possible return channel support through modem and etc. The
CASS detachable part in smart card usually contains the
Index Terms — Digital TV broadcasting, conditional access proprietary cryptographic algorithms, authentication and binding
subsystem, set-top box, smart card interface. algorithms between STB and smart card, customer personnel
distribution key, customer entitlement files, consuming history
I. INTRODUCTION files and etc [8]. Because for such kind of CASSs there are
With the introduction of digital TV broadcasting, either proprietary components which belong to the CA system provider
over air or through cable, digital TV service providers (TV in STB, the STB is bound with the smart card provided by one
operator) can deliver their programs directly to the subscribers specific CA system provider. Both parts must work together in
bandwidth-efficiently. Most technical components of digital order to correctly deliver conditional access related functions in
TV broadcasting have been standardized by various STB. The STB manufacturer has to firstly bid the order form of
standardization organizations. For digital TV programs source STB from one TV operator, then pay the license fee for using
coding, there are MPEG-2 [1] and MPEG-4 [2] series the CASS is his STB and sign a non-disclosure agreement (NDA)
standards. As for the aspects related to digital TV programs with the CA system provider in order to make his STB products
transmission, there are DVB [3], ATSC [4] and ISDB [5] can receive and decode the pay TV programs scrambled by this
series standards. In order to control the subscribers’ access to CA system. Because different CASSs are not compatible with
these standardized digital TV programs to make sure that only each other, service providers have to provide STBs directly to
those authorized ones who have paid the corresponding fees their subscribers in order to deliver their scrambled pay TV
programs. Such kind of STBs are tailored to one specific service
1
This work was supported by the Ministry of Information Industry of P. R. provider, especially to the CA system employed by this service
China under Grant No. 200442.
Qiang Xie is with the Institute of Image Communication and Information provider [9]. If the subscriber wants to receive and decode TV
Processing, Shanghai Jiao Tong University, Shanghai 200030, P. R. China (e- programs scrambled by different CA systems, he/she has to
mail: qxie@sjtu.edu.cn, qxie@cdtv.org.cn). purchase additional corresponding STB. Due to the limited
Shibao Zheng is with the Institute of Image Communication and
Information Processing, Shanghai Jiao Tong University, Shanghai 200030, P.
number of digital TV programs subscribers in one district, one
R. China (e-mail: sbzh@sjtu.edu.cn). STB often has to produce one kind of STBs which are bound
Xiaojing Yu is with the Institute of Image Communication and with one CA system at the scale of several ten thousands. The
Information Processing, Shanghai Jiao Tong University, Shanghai 200030, P.
obvious lose of commercial scale combined with the expensive
R. China (e-mail: yuxiaojing2001@sjtu.edu.cn).
Contributed Paper
Manuscript received June 30, 2005 0098 3063/05/$20.00 © 2005 IEEE
926 IEEE Transactions on Consumer Electronics, Vol. 51, No. 3, AUGUST 2005

license fee for one CASS make such kind of STBs quite CASSs, a content protection mechanism must be devised to
expensive, especially for China which is a developing country. protect the descrambled program transported over the common
The public are reluctant to buy such kind of STBs, as a interface. However, at present such content protection
consequence, in order to start digital TV broadcasting one local mechanism is far from mature.
district TV operator has to provide STBs to their subscribers In order to realize just using one common receiving
free of charge. It needs a long time to reach the profitable point platform which is independent of any specific CA system to
for service providers using this kind of STBs. A malign cycle is receive and decode the pay TV programs scrambled by
created between the service provider, CA system provider, STB different CA systems, the proposed smart-card-based CASS
manufacturer and subscriber. The whole business chain of the separation scheme tries to strike a good balance between the
digital TV broadcasting is jammed which prevents the Chinese cost and the implementation complexity both for STB and
government efficiently realizing the whole transformation from smart card.
analog to digital TV broadcasting. Considering the tremendous This paper is organized as follows. In Section II, we present
market for digital TV broadcasting in China and the current various existing CASS separation schemes and their
economic status of the country, the Chinese government decides advantages and shortcomings. In Section III, We introduce the
to push the standardization of CASS separation which can make main points of our proposed smart-card-based CASS
STB or digital TV receiver become a common platform separation scheme. In Section IV, the experimental reference
independent of any specific CA system. To reach the target of implementation of this scheme, especially the STB part which
CASS separation at an acceptable cost is the underlying is a common software package for all kinds of STBs using
momentum for the proposed smart-card-based CASS separation different CASSs is presented to better illustrate the working
scheme presented in this paper. principle of the proposed scheme. We give our discussions and
conclusions in Section V.
Video
Tuner &
Demultiplexer Decoder & II. EXISTING CASS SEPARATION SCHEMES
Demodulator
Audio
The effort to realize a common receiving platform which is
I1 independent of any specific CA system has experienced a long
history. Schemes adopting various kinds of technique have
Descrambler
been proposed and some have been standardized.
CASS buried
DVB project has realized the deleterious results caused by
part in STB STB the compatibility problem between different CA systems at the
receiving end and has proposed two methods to reach CASS
I2
CASS separation target, including Simulcrypt and Multicrypt [11],
detachable part [12]. Using Simulcrypt method, different CA systems can exist
in secruity
module concurrently in one broadcasting head-end with one common
CASS receiving platform. The distinctive characteristic for
Fig. 1 Possible locations for the interface between STB and CA Simulcrypt is that all CA systems in one broadcasting network
security module.
share the same scrambling key and use the common
scrambling algorithm (CSA) [13] specified by DVB. To
One way to break the constraints suffering the whole digital realize Simulcrypt, a common interface and common
TV broadcasting business chain is to locate the interface scrambler module are needed at the head-end between
between STB and CASS security module at I1 and makeI1 be different CA systems. It is not a easy task to reach such an
a common interface. For this kind of CASS, the security agreement, mainly due to the commercial and technical
module used to contain the CASS detachable part is often PC reasons. And in the perspective of system security, the whole
card using PCMCIA physical interface [10] to connect to STB. broadcasting network’s security level is aligned with the
The whole CASS combined with one demultiplexer, weakest secure CA system deployed in this network [14].
descrambler and multiplexer is integrated into one PC card. In Another negative effect caused by Simulcrypt is that the
order to ensure the security of CASS in the PC card, an bandwidth used to transport CA messages for all deployed CA
optional smart card is used to work together with this PC card. systems is greatly increased compared to the case for one using
Although this kind of CASSs can make STB be a common CA system. The advantage of Simulcrypt is that the subscriber
receiving platform compatible with different CA systems, the can only use one cheap CA smart card to view pay TV
high cost of the security module combined with the expensive programs scrambled by different CA systems.
fee for CASS make such CASS separation scheme unsuitable Because of the shortcomings stated above for using
for China. In addition, there are hardware duplications in the Simulcrypt, the Multicrypt method was proposed to allow
security module, such as the demultiplexer, descrambler and different CA systems to scramble the pay TV programs
multiplexer for which have already been embedded in most independently and exist concurrently at the head-end. At the
commercially available STB decoder chip. And using this kind receiving end, different CASS resides in the security module
Q. Xie et al.: A Smart-Card-based Conditional Access Subsystem Separation Scheme for Digital TV Broadcasting 927

as a whole and the interface between STB and security module computation intensive operations related to encryption and
is located at I1 as a common interface. There are many decryption. Some CA messages, such as entitlement control
standards which have defined the interface of I1 shown in Fig. message (ECM) and entitlement management message (EMM)
1 as common interface, such as DVB-CI [15], DAVIC CA0 have real-time requirement. To satisfy this requirement, most
[16] and NRSS-B [17]. There is also a special one, DAVIC current CASSs employ 8-bit smart card equipped with a
CA1 [16], which locates the interface at I2 and makes it a hardware cryptographic coprocessor to assist these operations. If
common interface. However, in DAVIC CA1, detailed we use specific 32-bit RSIC CPU equipped with cryptographic
specifications on how to implement the common interface coprocessor, the cost of the whole security module will greatly
using smart card have been stipulated, even the file system and increase. In addition, using 32-bit RSIC CPU means the CA
security mechanism in smart card have been stipulated. Due to system providers have to re-implement the whole CASS which
the consideration of intelligence property and security of the formerly running on 8-bit CPU and surely it is not an easy task.
CASS detachable part in smart card, most CA system Second, middleware has not been standardized and widely used
providers are reluctant to accept this specification. in China, as a direct consequence, most STBs cannot support
Currently, there are three schemes have been proposed in platform-independent codes, such as codes written in Java.
China to realize the target of CASS separation. Two of them Without middleware, all codes must be written in native
use DVB-CI based on PCMCIA and USB 2.0 [18] physical language, such as C, C++ or assembly language, and these codes
interface to connect to STB, respectively. The third one is our must be compiled and linked as a whole before chipping STBs
proposed smart-card-based scheme. The two schemes using to market. Obviously, DCCAM and any such kind of schemes
DVB-CI based on different physical interface basically have using downloading are unrealistic. Third, due to the intelligence
no much innovation because DVB-CI was designed to be able property and security considerations, most CA system providers
to support any physical interface between the receiving are reluctant to accept any common module, like DCCAM in [8],
platform (called host in DVB-CI) and the CA security module. to be included in their proprietary smart card. Because of the
People who proposed to use DVB-CI plan to manufacture the same reason, DAVIC CA1 has not been accepted widely.
CA security module in China by themselves in order to reduce Thus, any new smart-card-based CASS separation scheme
the cost. However, the license fees for using DVB-CI, PCMCI must satisfy some premises in order to be accepted by the CA
and USB 2.0 standards are not cheap and must be included in system providers, STB manufacturers and digital TV service
the final price of the CA security module. In addition, most providers. These premises include a) CASS separation scheme
current STBs in China are designed to receive standard will not reduce the security level at the receiving end compared
definition TV (SDTV) as the intermediate between analog to to those using previous proprietary CASSs; b) such scheme will
digital TV broadcasting, these STBs have quite simple not require any change at the broadcasting head-end in order to
functions in order to reduce the price. For this kind of STBs protect the service provider’s investment on infrastructure; c)
there are often no PCMCIA or USB 2.0 slots in STB. There is such scheme will be common enough to accommodate most
only smart card slot has been equipped because most current existing CA systems; d) such scheme will not stipulate any
commercially available STB decoder chips have embedded the implementation details on how to implement the proprietary
ISO/IEC 7816-3 [19] smart card interface I/O ports. In order CASS part in smart card; e) such scheme will be able to use
to use these two DVB-CI-based schemes, all sold STBs have cheap 8-bit smart card as the security module to achieving both
to be discarded and new type of STBs equipped with PCMCIA low cost and high interoperability. The proposed scheme is this
or USB 2.0 slot have to be designed. All these factors will paper was designed with these premises in mind.
surely increase the whole cost of one receiving platform and
this will be a great burden for the local TV operator. It is not III. PROPOSED SMART-CARD-BASED SCHEME
much suitable for the Chinese government to realize the whole The proposed smart-card-based CASS separation scheme
transformation from analog to digital TV broadcasting. locates the interface between STB and security module at I2.
Because of the low cost of smart card as security module, Fig. 2 illustrates the reference model for this scheme from the
there are many smart-card-based CASS separation schemes perspective of the data streaming path. As shown in Fig. 2, at
which have been proposed, such as those proposed in [8] and the receiving end, the whole previously proprietary CASS is
DAVIC CA1. We have already noted the reasons why DAVIC separated into tow parts. The common part for all CA systems
CA1 has not been widely accepted by CA system providers. As resides in STB to provide necessary data and common
for the scheme proposed in [8], the authors suggest to implement supports needed by the proprietary part in smart card. Both
the whole CASS in one smart card using high-performance 32- parts work together through the smart card interface to provide
bit RISC CPU. A common downloadable CA module (DCCAM) various CA related functions. The interaction protocols
has to be included both in smart card and STB. This scheme has between the common part and the proprietary part are
several commercial and technical shortcomings which make it a stipulated in the proposed scheme and will be standardized as
quite unpractical proposition. First, most current RISC CPUs are a standard.
not designed for security purpose, which means they have not
equipped with a cryptographic coprocessor to assist the
928 IEEE Transactions on Consumer Electronics, Vol. 51, No. 3, AUGUST 2005

inform smart card that there are still more data needed to be
RF signal
transported until receiving Put_data_last before starting
Tuner and To/from STB
Demodulator
TS out System processing of the transported data objects. Get_response is
Program
used to retrieve the response from smart card when smart card
TS in TS in
needs long time to process the data object sent by STB and the
PES
Demuxer Descrambler process time has exceeded the interaction time-limit stipulated
in ISO/IEC 7816-3. Another case when STB needs
Get_response is when there are several parts of data needed to
CA Status Word Control Word CA
Messages Separation be retrieved because each TPDU should not exceed 255 bytes.
Filter Control It should be emphasized that all protocol interactions between
STB
STB and smart card have to use Request and Answer pair
ISO/IEC 7816-3 because smart card is always passive and cannot start a
Smart Card smart card interface
CA Messages protocol interaction first as stipulated in ISO/IEC 7816-4. Fig.
Fig. 2 Reference model for the proposed smart-card-based CASS 3 illustrates one example of the data exchange course using the
separation scheme.
APDU commands and responses defined in this scheme.
The whole scheme is designed following the ISO OSI [20] STB Smart Card
layered protocol model in order to keep its extendibility for Put_data_last(data) Request
future expanded functions. Considering that most STBs have Processing time
is longer than the
only equipped with only one smart card slot, there is on ISO/IEC 7816-3
session layer in this scheme compared to DVB-CI to reduce Get_response()
Request specification
the implementation complexity.
SW2 = 0
All application layer data are defined as data objects which Answer

are coded by means of general Tag-Length-Value (TLV)


coding rule derived from that used to code ASN.1 syntax [21]. Get_data_last(data) Request
By doing so, the coding for future expanded data objects is in
SW2 != 0
no problem. All these data objects are contained in the Answer

data_field of the application protocol data unit (APDU) Request


Get_response()
commands and the corresponding responses as stipulated in
ISO/IEC 7816-4 [22]. These APDUs are passed directly into SW2 != 0
Answer
the data link layer (using ISO/IEC 7816-3 T=1 transmission Get_response()
Request
protocol) or transport layer (using ISO/IEC 7816-3 T=0
transmission protocol). There are only five APDU commands Answer
SW2 = 0
have been defined in the proposed scheme for the purpose of
CASS separation related protocol interactions in order to
simplify the implementation complexity. These APDU include Fig. 3 Example of the data exchange course between STB and smart
Get_data_more, Get_data_last, Put_data_more, Put_data_last, card.
Get_response. For implementation simplicity and the support
for smart card using small transmission buffer, all these APDU There are mainly four types of data objects in the
commands and corresponding responses are designed to be application layer defined to support the protocol interactions
able to support data object partitioning and combining. Each between STB and smart card in order to support the necessary
APDU commands and corresponding responses are CA functions and other value-added applications provided by
transported in transport protocol data unit (TPDU) using various CA system providers.
different transmission protocol, such as T=0 or T=1 in this The first kind of data objects are related to the security
scheme. Each TPDU is stipulated not to exceed 255 bytes in mechanism between STB and smart card. Because this scheme
order to simplify the implementation of transmission driver is designed to be a candidate standard for Chinese digital TV
program and it is reasonable because most CA messages are broadcasting, it will be open and available to the public. The
short messages not longer than 255 bytes. Get_data_more and detailed protocol interactions will be open to the public and
Get_data_last are used to inquire and retrieve one or more data this will endanger the security of the whole CASS at the
objects from smart card. Get_data_more is used to inform receiving end. Because previous proprietary CASSs do not
smart card that there are still more data needed to be open such protocol interactions to the public, obviously the
transported until receiving Get_data_last before starting vulnerability to malicious attack is less than the proposed
processing the transported data objects. Put_data_more and scheme. In order to reach the aim of using the proposed
Put_data_last are used to send one or more data objects to scheme as a standard and in the meantime ensure the security
smart card for corresponding process, such as data encryption level will not be reduced compared to the previous proprietary
and decryption, data storage and etc. Put_data_more is used to CASS, a common security mechanism is stipulated between
Q. Xie et al.: A Smart-Card-based Conditional Access Subsystem Separation Scheme for Digital TV Broadcasting 929

STB and smart card. We should make sure that STB can CA_PID from the CA_descriptor for the currenttly playing
identify the legitimacy of the smart card inserted into its smart scrambled pay TV program. Some CA systems may define the
card slot. Because the open of the protocol interactions the CA_descriptor in their own way, thus CAT and PMT can be
possibility for the data transported over the smart card sent to smart card as required, otherwise parsed by STB itself.
interface being intercepted and duplicated will greatly increase. The most often used CA messages are ECM and EMM. When
Thus, the common security mechanism is designed to include ECM has been filtered out in STB and sent to smart card for
two parts: a bilateral authentication and a buildup of safe processing, odd or even CW is expected to be returned to STB
communication channel between STB and smart card. The to set the descrambler. When some reasons cause CW cannot
bilateral authentication protocol is used to make sure that only be returned as expected, a Status word is defined to be
legitimate STB or smart card can proceed with further protocol returned by smart card to indicate the corresponding reason.
interactions with the other side. A safe communication channel These reasons include district blackout, no entitlement for the
(safe channel) between STB and smart card is needed because current playing program, parent rate protection and etc. When
some data objects deemed by the CA service providers being EMM or other kind of CA messages has been filtered out and
security sensitive should be encrypted before the transmission sent to smart card, necessary indication can be returned to STB
over the smart card interface. Malicious attackers will try to when smart card needs to interact with the viewer. These
intercept or modify these data objects, thus a transmission indications is realized through high-level man machine
session key is negotiated and exchanged between STB and interface (MMI) data objects as in DVB-CI, including text,
smart card. Whether the data objects transported over the enquiry, answer, menu and menu_ans.
smart card interface are encrypted or in plain text can be The third kind of data objects are related to the smart card
identified from the CLA_field of the APDU commands and properties and various value-added applications provided by
SW2_filed of the corresponding response. A unified algorithm CA system providers. The data objects defined as the smart
has been designed in the proposed scheme to realize the whole card properties are for the convenience smart card’s
security mechanism which combines the authentication and distribution and management. The multifold value-added
safe channel buildup process together. This algorithm is applications provided by different CA systems decide the data
carefully designed to be a unbalanced and light-weight one objects related to these aspects are the most extendable part in
which is suitable for the resource-constrained 8-bit smart card the proposed scheme. The typical value-added applications are
and computation-power-limited normal STB decoder chip. It is unidirectional e-mail and short message, weather forecast and
designed to be able to proof the receiving end from the etc. Most of these data objects are defined using MMI data
following attacks: attacks of Oracle type, Replay attack, objects for the universality of these data objects for different
attacks of Sign type, Substitution attack and Partial Chosen CA system providers. The display style and format are decided
Key attack [23]. by the STB.
The fourth kind of data objects is used for the possible
up to 16 bytes
be filtered
return channel supports between STB and the broadcasting
offset
head-end either using telephone lime modem or cable modem.
table_id rsvrd
section_
length
byte
0
byte
1 ... CA_data_byte (max. 253 bytes) Due to most STBs have not equipped with such modems, these
data objects are not urgent for definition and have not been
section header
(3 bytes)
section payload (max. 253 bytes)
fully defined.
Fig. 4 The unified filtering filed of CA messages.
IV. REFERENCE IMPLEMENTATION
The second type of data objects are related to the unified
In order to verify the feasibility of the proposed scheme in
CA message filtering mechanism. Thanks to a series of
real broadcasting environment, we has developed a reference
international standards which have been adopted by digital TV
implementation of this scheme in STB to cooperate with the
broadcasting, we can stipulated a unified CA message filtering
smart card compliant with this scheme which is provided by
mechanism in the proposed scheme which can accommodate
our cooperating CA system providers. The part in STB of this
various CA systems. MPEG-2 part 1[1] has stipulated how the
scheme is implemented as a common software package and we
private data other than video and audio data bits and other
call it the common CA package (CCAP). Because this scheme
necessary standardized tables being multiplexed in MEPG TS
is designed to have no detailed specification on how CA
or PES through private_section. DVB-CA [24] also describes
system providers to implement the part in smart card, we will
the minimum set of common CA elements necessary to
only present the system architecture and the logical function
achieve the interoperability between different CA systems.
modules of CCAP. We hope it can help the readers to better
With these standards, the proposed scheme stipulates a unified
understand the working principle of the proposed smart-card-
filtering filed in CA message and the filtering conditions. This
based CASS separation scheme.
unified filtering field is shown in Fig. 4. STB also needs to
acquire the conditional access table (CAT) and program map
table (PMT) in order to extract the CA_system_ID and
930 IEEE Transactions on Consumer Electronics, Vol. 51, No. 3, AUGUST 2005

STB Applications
Data and Commands
Common Conditional Access Package (CCAP) from/to STB Applications

API Layer
CA Messages EPG API Layer
Communication Descrambling Control CA Messages Filtering Module
Safety Module Filtering
Module Module Module
Module
Authentication
Control Module Other CA
Porting Layer Submodule EMM EMM
Messages
Filtering Filtering
Filtering Porting
STB OS and Device Driver Layer

Tuner Demuxer Descrambler ISO/IEC 7816 Interface OSD Vid. & Aud. Decoder
Safe Channel
Communication Module
STB Submodule

Smart
Smart Card Hardware Card
Smart Card OS

CCAP
Coupled Proprietary CA
Fucntions Kernel CA Smart Card

Fig. 5 System architecture of the reference implementation of the Fig. 6 The logical constituent function modules of CCAP and the
proposed scheme, including the common CCAP in STB and the connections between themselves and the outer environment.
cooperative smart card.

B. Logical Constituent Function Modules of CCAP


A. System Architecture In order to streamline the development of the reference
Following the reference model shown in Fig. 1 and the implementation and better illustrate the working principle of
protocol interactions stipulated in the proposed scheme, the the proposed scheme, we can separate CCAP into several
previous proprietary CASS can be separated into two parts: the logical function modules. Fig. 6 outlines these function
common part in STB and the proprietary part in smart card. modules and the connections between themselves and the outer
The common part in STB can be realized as a software environment.
package (CCAP in our reference implementation) which has In order to communicate with various kinds of CA smart
no hardware modification requirement for most currently card which may use different transmission protocol (such as
available STBs. STB is only need to include CCAP in its T=0 or T=1) and communication baud rate, CCAP utilize the
system program to become a common receiving platform so called Communication Module to deal with all aspects
which is independent of any specific CA system. We will only related to data exchange between STB and smart card to
describe the common part in STB and the approximate ensure the compatibility with ISO/IEC 7816-3 and ISO/IEC
location of its corresponding functions in smart card. How the 7816-4. Other function modules can utilize the transportation
CA system providers implement these corresponding functions functions provided by the Communication Module to interact
are decided by the CA system provider themselves. with smart card while have not to know any communication
CCAP provides necessary security mechanism and common details.
functions needed by CASS separation, such MEPG TS The bilateral authentication and the buildup of a safe channel
demultiplexing, CA message filtering, OSD and interactions between STB and smart card are realized by the Safety Module.
between CASS and the viewer in front of the screen. The Because the authentication steps are only needed to be
interfaces of CCAP to outer environment, including the executed once when smart card is inserted into the smart card
necessary supports from STB hardware and operating system slot, while the safe channel has to be sustained through the
and various functions provided to STB applications, can be whole working phase of CCAP, the Safety Module is thus
standardized as application program interface (API) functions separated into two submodules: Authentication Submodule and
in two layers: App Layer and Porting Layer. All underlying Safe Channel Submodule as shown in Fig. 6. Safe Channel
supports needed by CCAP to correctly work are defined in the Submodule provides functions to encrypt or decrypt data
Porting Layer. The functions related to conditional access and objects before they are transported over the smart card
other value-added applications are define in the App Layer. interface.
CCAP is located above the STB operating system (OS) and One important function of CCAP is to filter out various kinds
device driver but under the STB applications. Fig. 5 outlines of CA messages according to filtering conditions given by the
the system architecture of CCAP and its logical function smart card. The CA Messages Filtering Module is in charge of
modules. We can also clearly see the locations of App Layer CA messages filtering and the corresponding processing.
and Porting Layer. With the standardized APIs, the STB Different CA messages have different importance and real-
manufacturers can follow the same developing flow just like time requirement. ECM has the most stringent real-time
using the previous proprietary CASS. This will help the STB requirement because it contains the CW which is used to
manufacturers ship their STBs to market to cater for the descramble the current playing scrambled TV program. ECM
customer’s volatile needs as quickly as possible. must be filtered out and sent to smart in good time in order to
Q. Xie et al.: A Smart-Card-based Conditional Access Subsystem Separation Scheme for Digital TV Broadcasting 931

get the right CW to correctly set the descrambler. ECM change providers in order to make STB be compatible with various
periodically and in one period it repeated at a quite high CA systems. Thus, the necessary cost of STB is greatly
frequency, thus version control is needed for ECM filtering in reduced compared to DVB-CI-based schemes.
order to avoid duplicated ECMs being sent smart card to get For the digital TV service providers, they can freely choose
the same CW. By doing so, the transportation and computation any CA system to scramble their pay TV programs. They can
burden of smart card are effectively reduced. EMM has no switch from one CA system to another when needed. The local
such stringent real time requirement. In order to shorten the district TV operator is in no need of trans-control for the
waiting time to play pay TV programs, EMMs need to be distribution of programs provided by other TV operators
buffered in STB’s nonvolatile memory (NVM). This storage which may scrambled by different CA system. The most
space for EMMs and other kinds of CA messages is reserved important benefit is that TV operators are in no need to
as required by different CA systems. When other CA messages directly provide STBs free of charge to subscribers. The
have been filtered out, MMI data objects are used by smart subscribers can purchase their favorite STB product from
card to interact with the viewer. Because there is only one home appliance stores at an acceptable price. It greatly reduces
smart card slot in STB, ECM has the highest priority to use the the business risk for local district TV operators to start digital
smart card interface, while EMM has the second highest TV broadcasting without the burden of STB.
priority. For the public, they can choose their favorite STB from
Control Module provides interaction interfaces for CCAP to home appliance stores according to their entertainment
communicate with STB application programs and the viewer. requirements and home budget, while in the time before CASS
It receives data and commands from STB through API separation they have to accept the STBs provided by the local
functions defined in App Layer and then dictates and district TV operator which may not satisfy the need of them.
harmonizes operations in other function modules in order to For those lived in undeveloped areas, they can afford such
provide the required functions. The Control Module is also in kind of cheap STBs which are the cheapest one among all the
charge of the execution decision of the whole CCAP. For three proposed schemes. If they cannot afford pay TV
example, when the Authentication Submodule reports that programs, they can view free programs only with this CA-
STB or smart card has not passed the legitimacy authentication, system-ready STB. At any time when they could afford pay
further protocol interactions will be suspended by Control TV programs, they could buy a CA smart card from the local
Module and it also gives indications to the viewer to check the TV operator. Both of the STB and corresponding CA smart
smart card or STB if he wants to view scrambled pay TV card are the lowest cost solutions for CASS separation. It is
programs. extremely suitable for China as a developing country to realize
the whole transformation from analog to digital TV
V. CONCLUSIONS AND DISCUSSIONS broadcasting.
We present a smart-card-based CASS separation scheme Currently, the experimental reference implementation of the
and its reference implementation in this paper to realize the smart-card-based CASS separation scheme is in its final
target of making STB or digital TV receiver be a common development stage. The following on-line field test for this
receiving platform which is independent of any specific CA scheme will be conducted in two cities of China. At present,
system at a quite low cost. With the proposed scheme, no the compatibility test set is under development to prepare for
hardware modification is needed for STB. The only the standardization of this scheme. The smart-card-based
requirement is an inclusion of a common CA software package CASS separation series standards will be available in a not far
like CCAP in the system program of STB to make it is CASS future.
separated. The CASS proprietary part in smart card is under
the whole control by CA system providers. CA system ACKNOWLEDGMENT
providers have enough innovation space for their CA smart The authors would like to express their gratitude to Jianghai
card. Thus, the proposed scheme realize the CASS separation Yuan, Hongguang Zhang, Dong Wei, Bing Zhu and Le You
target cost performance efficiently, in the meantime protects for their work in the development of this smart-card-based
the intelligence property and the characteristics of different CASS separation scheme and its standardization. They also
CA systems. provide beneficial discussions in writing this paper.
As indicated in [8], there are many benefits for parties The constructive suggestions from the anonymous reviewers
related to digital TV broadcasting to adopt a smart-card-based are gratefully acknowledged.
CASS separation scheme.
For the STB manufacturers they can easily change their REFERENCES
current mature STB products into a common receiving [1] ISO/IEC 13818-1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11: Information technology –
platform which is compatible to any CA system without any Generic coding of moving pictures and associated audio information,
International Organization for Standardization, 1996-2004.
hardware modification. The development flow of the inclusion [2] ISO/IEC 14496 -1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
of CCAP in the STB system program is quite simple. Using 18, 19: Information technology – Coding of audio-visual objects,
CCAP, there will be no need to pay license fees to CA system International Organization for Standardization, 2001-2005.
932 IEEE Transactions on Consumer Electronics, Vol. 51, No. 3, AUGUST 2005

[3] U. Reimers, Digital Video Broadcasting (DVB) – The International


Standard for Digital Television, Springer, 1998. Qiang Xie (SM’04) received the B. Eng. degree in 2000
[4] J. Whitaker, DTV Handbook: The Revolution In Digital Video, 3rd Ed., from Zhengjiang University, Zhejiang, P. R. China, and
McGraw-Hill, 2001. the M. S. degree from the Graduate School of the
[5] T. Yoshimura, N. Kawai, E. Nakasu and T. Isobe, “Integrate services Chinese Academy of Sciences in 2003, Shanghai, P. R.
digital broadcasting (ISDB),” Int. Broadcasting Convention, IBC 1992, China. He is currently working toward the Ph. D. degree
pp. 350-354, Jul. 1992. in electronic engineering at the Institute of Image
[6] B. M. Macq and J. J. Quisquater, “Cryptology for digital TV Communication and Information Processing of Shanghai
broadcasting,” IEEE Proc. IEEE, vol. 83, no. 6, pp. 944-957, Jun. 1995. Jiao Tong University, Shanghai, P. R. China.
[7] W. G. P. Mooij, “Conditional access systems for digital television,” Int. Since 2004, he has been engaged in the research and development of the
Broad. Con., IBC 1994, pp. 489-491, Sep. 1994. smart-card-based conditional access subsystem (CASS) separation scheme for
[8] M. Zheng and S. Zheng, “A common smart-card-based conditional Chinese digital TV broadcasting and its standardization work. His research
access system for digital set-top box,” IEEE Trans. Cons. Elec., vo. 50, interests include cryptographic algorithms for video transmission, wireless
no. 2, pp. 601-605, May 2004. video streaming and wireless network cross-layer optimization for video
[9] F. Kamperman and B. V. Rijinsoever, “Conditional access system streaming.
interoperability through software downloading,” IEEE Trans. Cons.
Elec., vol. 47, no. 1, pp. 47-54, Feb. 2001. Shibao Zheng (M’02) received the B. S. degree and M.
[10] PCMCIA, PC Card Standard Release 8.0, Personal Computer Memory S. degree from Xidian University in 1983 and 1986
Card International Association (PCMCIA), Apr. 2001. respectively, Xi’an, P. R. China. From 1986 to 1999, he
[11] D. J. Cutts, “DVB conditional access,” Elec. Comm. Eng. Jour., pp. 21- was an expert of the national project in HDTV and the
27, Feb. 1997. chief designer of the ground digital TV equipment in 921
[12] G. M. Murry, “Interoperability in digital broadcasting systems,” IEE Project. Now, he is responsible for the Shanghai DTV
Colloq. Dig. Tele. – Where Is It and Where Is It Going? (Ref. No. Industry Union. As a professor and vice chairman, he is
1999/072) pp. 6/1-6/7, Mar. 1999. now with the Institute of Image Communication and Information Processing
[13] DVB Blue Book A011, Digital Video Broadcating (DVB) – DVB of Shanghai Jiao Tong University. His research interests include DTV, ASIC
Common Scrambling Distribution Agreements, Digital Video and multimedia streaming system.
Broadcating (DVB) Project, Jun. 1996.
[14] J. L. Giachetti, V. Lenoir, A. Codet, D. Cutts and J. Sager, “A common Xiaojing Yu received the M. S. degree from Shanghai
conditional access interface for digital video broadcasting decoders,” Normal University in 1999, Shanghai, P. R. China. She
IEEE Tran. Cons. Elec., vol. 41, no. 4, pp. 836-841, Aug. 1995. is currently working toward the Ph. D. degree in
[15] CENELEC En 50221, Common Interface for Conditional Access and electronics engineering at the Institute of Image
other Digital Video Decoder Applications, Comité Européen de Communication and Information Processing of Shanghai
Normalisation Électrotechnique CENELEC, Feb. 1887. Jiao Tong University, Shanghai, P. R. China.
[16] Digital Audio-Visual Council (DAVIC), DAVIC 1.4 Specifications – Since 2004, she has been engaged in the research and
Part 10, DAVIC 1998. development of the smart-card-based conditional access subsystem (CASS)
[17] “A guide to understanding NRSS part A and B,” SPECS International, separation scheme for Chinese digital TV broadcasting and its standardization
vol. 9, no. 7, Nov. 1997. work. Her research interests include video communication and processing,
[18] Compaq, Hewlett-Packard, Intel, Lucent, Microsoft, NEC and Philips, her recent focus are on the conditional access (CA) system and video watering
Universal Serial Bus Specification, Revision 2.0, Apr. 2000. marking.
[19] ISO/IEC 7816-3: 1997, Information technology – Identification cards –
Integrated circuit(s) cards with contacts – Part 3: electronic signals
and transmission protocols, International Organization for
Standardization, 1997.
[20] ISO/IEC 7498-1: 1994, Information technology – Open System
Interconnection – Basic Reference Model: The Basic Model,
International Organization for Standardization, 1994.
[21] ISO/IEC 8825-1: 2002, Information technology – ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical Encoding
Rules (CER) and Distinguished Encoding Rules (DER), International
Organization for Standardization, 2002.
[22] ISO/IEC 7816-4: Information technology – Identification cards –
Integrated circuit(s) cards with contacts – Part 4: Interindustry
commands for interchange, International Organization fro
Standardization, 1997.
[23] D. R. Stinson, Cryptography Theory and Practice, 2rd Ed., CRC Press
LLC, 2002.
[24] ETSI ETR 289, Digital Video Broadcasting; Support for use of
scrambling and Conditional Access (CA) within digital broadcasting
systems, 1996.

You might also like