CN105282581A - Scheme for simplifying conditional access chip - Google Patents

Scheme for simplifying conditional access chip Download PDF

Info

Publication number
CN105282581A
CN105282581A CN201510689418.2A CN201510689418A CN105282581A CN 105282581 A CN105282581 A CN 105282581A CN 201510689418 A CN201510689418 A CN 201510689418A CN 105282581 A CN105282581 A CN 105282581A
Authority
CN
China
Prior art keywords
chip
interface
descrambling
simplifying
mandate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510689418.2A
Other languages
Chinese (zh)
Inventor
张镭
李春峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Csg Jingxiang Optoelectronic Technology Co Ltd
Original Assignee
Xi'an Csg Jingxiang Optoelectronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Csg Jingxiang Optoelectronic Technology Co Ltd filed Critical Xi'an Csg Jingxiang Optoelectronic Technology Co Ltd
Priority to CN201510689418.2A priority Critical patent/CN105282581A/en
Publication of CN105282581A publication Critical patent/CN105282581A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a scheme for simplifying a conditional access chip, being applied in a set top box system. A conditional access system of a digital television is realized through simplification of an external descrambling scheme. According to the overall design philosophy of "set-card separation" of a smart card, a general smart card interface, namely, an ISO7816 interface, is adopted for dividing a processing functional module related to conditional access (CA) into two parts, namely, a public module and a CA specific module, and the public module and the CA specific module are arranged in one chip, so that CA separation is realized between the set and the card. Chip functions comprise packet identifier (PID) and Section field filtering, entitle manage message (EMM) and entitle control message (ECM) packet extraction, a Smart Card interface and a descrambling module. A special high-speed reduced instruction-set computer (RISC) processor is integrated in the chip and can process code streams flexibly. According to the overall design scheme, the interface is concise, a common transfer stream (TS) interface and an inter-integrate circuit (I2C) general interface are adopted and almost have no impact on transplant of the system, the system board grade design is simplified, and system design complexity is lowered.

Description

Scheme for simplifying authorization receiving chip
Technical field
The present invention relates to the chip solution simplifying and authorize and accept, not only there is configuration, extended capability flexibly, and system is succinct, cost optimization.
Background technology
CAS(authorizes reception) be part for carrying out program mandate and management to digital cable customers, be one of important component part in digital television broadcasting.And wherein adopt open separation between machine and card structure be condition accept system future in want development trend.It is define a public physical interface and relevant excuse communications protocol by user's receiving terminal again that card machine is separated, and the general TV receiving system being suitable for large-scale production and privately owned CAS management system is separated.At present, the implementation method that card machine clastotype is passed through in the world is: adopt a kind of physical interface similar with the PCMCTA socket on portable computer to realize.The standard that the DVB tissue in Europe is issued is referred to as DVB-CI, and the U.S. also has a similar standard to be referred to as P0D.
Conditional access system is by two mutual part Reinforced turf and accept control and form, and wherein every part is all special information processes.Adopt triple key transferring mechanism.Again in comb transmission system, triple key respectively: 1, descramble key CW, it, for pseudo-random sequence generator start trigger, produces new pseudo random sequence and carries out Reinforced turf.2, with business cipher key ECMK1, control word is encrypted, forms Entitlement Control Message ECM.ECM information inserts transmission class, and about every a few second occurs once in transmission class again.3, be encrypted by customer management information with key EMMK1, form Entitlement Management Message EMM, customer management information forms customer management information by the user management provided, and comprises user's name, address, intelligent card numbers, bill etc.EMM insertion transmission class all per second once.
In DVB transmission system, scrambling processes carries out scrambling by a pseudorandom sequence number to the TS stream after multiplexing, and this pseudorandom scrambling processes carries out scrambling by a pseudo random sequence to the TS stream after multiplexing, and the control word that the generation of this pseudo random sequence is provided by control word generator (CW) is determined.The core of program Conditional Access is exactly the control of control word transmission.Control word is one group of random number, is the encryption key of data flow, every a few second change at random once, then receiving terminal to get off decoding with the control of same control word.System is encrypted control word by key ECMK1 simultaneously, form Entitlement Control Message ECM, want descrambling just must pick out control word in ECM first again at receiving terminal, by control word, the TS of scrambling is flowed descrambling out, want success descrambling from ECM to go out control word must first be confirmed by subscriber authorisation, in CA system, the authorization message of user is encrypted by key EMMK1 again, forms Entitlement Management Message EMM.
Adopt pcmcia card to realize separation between machine and card, but cost is high, and different CA systems must be transplanted.
Summary of the invention
The object of the invention is, for separation between machine and card provides one to simplify system schema, not only have good compatibility to existing set-top box scenario, and descrambling chip design itself has feature that is high-effect, flexible and low-power consumption.
The present invention mainly comprises RISC application specific processor, EMM/ECM analytics engine and the SmartCard interface circuit that five part: TS flow Framer, PacketFilter, descrambling instruction expanded by band.
RISCC application specific processor not only can process conventional RISC instruction, also comprises hardware-accelerated expansion descrambling instruction.
Chip interface is simple, only needs I2C, TS to flow and SmartCard interface and feasible system, does not need PCMCIA high cost interface.
This mandate receiving system comprises TS stream descrambling and CA deciphers two parts, Set Top Box is separated with mandate reception completely, facilitates CA system conversion.
Native system and set top box main chip link mutually, are specifically selected code stream by master chip, reduce expense and the power consumption of native system further.
Chip has 2 kinds of mode of operations, Bypass and normal two kinds of patterns.
TS flows Framer for finding the synchronous head in TS stream, and mark locking and unlock state.The channel selection information that PacketFilter is provided by I2C interface Set Top Box chip, and utilize inner high speed treatment circuit to locate the TS bag of required descrambling, and filter out the CA information such as required EMM, ECM.PacketFilter exports two paths of data: EMM/ECM and treats the TS code stream of descrambling.The former is through the process of EMM/ECM analytics engine, and the CA information obtained is admitted to SmartCard interface circuit, and according to IS07816 protocol specification, CA data are finally sent to smart card, after smart card deciphering, obtain code stream key.Treat that descrambling code flows to into RISC application specific processor, finally provide in conjunction with ciphering key W, RISC the standard TS code stream that descrambling completes.Set-top-box chip receives these code streams, decodes further, forms audio frequency and video and exports.
The invention has the advantages that the cost and performance two aspect demand that can take into account system.Due to high-performance and the flexibility of the inner RISC of chip system, CA system can be transplanted on this chip easily.Interface of the present invention is simple, utilization be common TS stream interface and I2C general-purpose interface, on the transplanting of system substantially without any impact, and simplify system design on board level, reduce the complexity of system.
Accompanying drawing explanation
Fig. 1 is the structural representation of system according to an embodiment of the invention.
Fig. 2 is the internal structure schematic diagram according to circuit of the present invention.
Embodiment
As shown in Figure 1, chip of the present invention is between the input of TS code stream and set top box decodes chip.When system just brings into operation, chip operation of the present invention is in Bypass pattern.Now TS code stream is directly by this chip, does not do any process.After TS code stream is received by set top box main chip, be first supplied to user's programme content option according to the PSI information in TS code stream.According to the channel selection instruction of user, Set Top Box finds out rapidly the PID of corresponding audio-video code stream, and whether these code streams are by scrambling, and the CA information of scrambling.These data are admitted to chip of the present invention by I2C data-interface, and chip are set to Normal mode of operation simultaneously.
First the chip being in Normal mode of operation finds synchronous head by Framer module, and makes the code stream formation TS fixed-length data bag one by one of system acceptance.The channel selection information that PacketFilter is provided by I2C interface Set Top Box chip, and utilize inner high speed treatment circuit to locate the TS bag of required descrambling, and filter out the CA information such as required EMM, ECM.Find out corresponding EMM, ECM bag according to the CA information obtained, by dedicated processes engine parses, and the data after resolving are sent into smart card by SmartCard interface, thus obtain ciphering key W.Treat that descrambling code flows to into RISC application specific processor, finally provide in conjunction with ciphering key W, RISC the standard TS code stream that descrambling completes.All the other unwanted TS code streams are directly stitched together according to the TS code stream of original form and descrambling, form final TS code stream, send into set-top-box chip.Such realization can ensure the integrality of code stream, and chip descrambling can be made again to have very strong specific aim.
As shown in Figure 2, the present invention mainly comprises RISC application specific processor, EMM/ECM analytics engine and the SmartCard interface circuit that five part: TS flow Framer, PacketFilter, descrambling instruction expanded by band.The RISC application specific processor that TS flows Framer, PacketFilter, descrambling instruction expanded by band, EMM/ECM analytics engine and SmartCard interface circuit.TS flows Framer for finding the synchronous head in TS stream, and mark locking and unlock state.The channel selection information that PacketFilter is provided by I2C interface Set Top Box chip, and utilize inner high speed treatment circuit to locate the TS bag of required descrambling, and filter out the CA information such as required EMM, ECM.PacketFilter exports two paths of data: EMM/ECM and treats the TS code stream of descrambling.The former is through the process of EMM/ECM analytics engine, and the CA information obtained is admitted to SmartCard interface circuit, and according to IS07816 protocol specification, CA data are finally sent to smart card, after smart card deciphering, obtain code stream key.Treat that descrambling code flows to into RISC application specific processor, finally provide in conjunction with ciphering key W, RISC the standard TS code stream that descrambling completes.Set-top-box chip receives these code streams, decodes further, forms audio frequency and video and exports.

Claims (6)

1. the chip design that the mandate of simplifying receives, is characterized in that, comprising:
The special RISC of inner embedding, special extended instruction of allaying sorrow, the simultaneously parsing of support package;
Chip interface is simple, only needs I2C, TS to flow and SmartCard interface and feasible system;
This mandate receiving system comprises TS stream descrambling and CA deciphers two parts;
Chip and set top box main chip interlock.
2. inside according to claim 1 embeds special RISC, it is characterized in that: not only can process conventional RISC instruction, also comprises hardware-accelerated expansion descrambling instruction.
3. chip interface design according to claim 1, is characterized in that: do not need pcmcia interface, only just can realize all descrambling procedure by conventional TS stream, I2C and SmartCard interface.
4. mandate receiving system according to claim 1, is characterized in that, comprises TS and flows descrambling and CA and decipher two parts, obtains Set Top Box completely and authorize reception to separate, facilitates CA system conversion.
5. the chip design of a kind of mandate reception of simplifying according to claim 1, it is characterized in that, native system and set top box main chip link mutually, are specifically selected code stream by master chip, reduce expense and the power consumption of native system further.
6. the chip design of a kind of mandate reception of simplifying according to claim 1, it is characterized in that, chip has two kinds of mode of operation: Bypass and normal, two kinds of patterns.
CN201510689418.2A 2015-10-23 2015-10-23 Scheme for simplifying conditional access chip Pending CN105282581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510689418.2A CN105282581A (en) 2015-10-23 2015-10-23 Scheme for simplifying conditional access chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510689418.2A CN105282581A (en) 2015-10-23 2015-10-23 Scheme for simplifying conditional access chip

Publications (1)

Publication Number Publication Date
CN105282581A true CN105282581A (en) 2016-01-27

Family

ID=55150779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510689418.2A Pending CN105282581A (en) 2015-10-23 2015-10-23 Scheme for simplifying conditional access chip

Country Status (1)

Country Link
CN (1) CN105282581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055573A (en) * 2017-12-22 2018-05-18 深圳Tcl数字技术有限公司 Data processing method and smart television

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261166A2 (en) * 2001-05-23 2002-11-27 Thomson Licensing S.A. Devices and processes for the transmission and implementation of control instructions for access to functionalities of receivers
CN101296357A (en) * 2007-04-27 2008-10-29 上海芯致电子科技有限公司 Scheme for simplifying authorization receiving chip
CN102227138A (en) * 2011-06-24 2011-10-26 北京数码视讯科技股份有限公司 Conditional access module card and realization method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261166A2 (en) * 2001-05-23 2002-11-27 Thomson Licensing S.A. Devices and processes for the transmission and implementation of control instructions for access to functionalities of receivers
CN101296357A (en) * 2007-04-27 2008-10-29 上海芯致电子科技有限公司 Scheme for simplifying authorization receiving chip
CN102227138A (en) * 2011-06-24 2011-10-26 北京数码视讯科技股份有限公司 Conditional access module card and realization method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055573A (en) * 2017-12-22 2018-05-18 深圳Tcl数字技术有限公司 Data processing method and smart television
CN108055573B (en) * 2017-12-22 2020-12-08 深圳Tcl数字技术有限公司 Data processing method and smart television

Similar Documents

Publication Publication Date Title
CN100399239C (en) Universal bidirectional serial data transmission interface and data transmission method thereof
JP4422901B2 (en) Decoder and method for processing a transport packet stream
CN102957961B (en) Share the method for encrypted digital television program, device and digital television receiver
CN101355640A (en) Multi-display digital television set-top box
CN102082971B (en) Digital TV set top box (STB) chip and entitle receiving method adopting same
CN100442743C (en) Network interface unit
CN100502496C (en) Digital TV user authentication system based on mobile device
CN102685591A (en) Digital set-top box
CN102387407A (en) System and method for realizing broadcasting network conditional access (CA)
CN102014306B (en) Method for simultaneously deciphering multiple charge programs by set-top box
CN102227138B (en) Conditional access module card and realization method thereof
CN101742225A (en) System and method for sending and receiving multimedia data
CN109040853A (en) A kind of digital stream media fingerprints watermark protection method and device
CN108551590A (en) TS method for stream processing and device are received for broadcast receiver
CN101005563A (en) Machine and card separator for digital tV set and its processing method
CN113727159B (en) System and method for processing multi-repeater programs by integrated conditional access module
CN101394297B (en) DRM service implementing method, equipment and system under broadcast environment
JP5113954B1 (en) Digital broadcast receiving apparatus and program thereof
CN201298872Y (en) Multi-display digital TV set-top box
CN100425074C (en) Method for realizing master-slave intelligent card for one-user multiple-terminal management
CN101296357A (en) Scheme for simplifying authorization receiving chip
CN202799014U (en) Multiplex system of multi-path transport stream (TS) code stream
CN105282581A (en) Scheme for simplifying conditional access chip
CN101370076A (en) Method for implementing set-card separation based on USB interface
CN102761777B (en) Multiple-CA (conditional access) simulcrypt system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160127

WD01 Invention patent application deemed withdrawn after publication