CN101583013A - Method of real-time downloading CAS core algorithm - Google Patents

Method of real-time downloading CAS core algorithm Download PDF

Info

Publication number
CN101583013A
CN101583013A CNA2009100596080A CN200910059608A CN101583013A CN 101583013 A CN101583013 A CN 101583013A CN A2009100596080 A CNA2009100596080 A CN A2009100596080A CN 200910059608 A CN200910059608 A CN 200910059608A CN 101583013 A CN101583013 A CN 101583013A
Authority
CN
China
Prior art keywords
cas
virtual machine
top box
machine code
core algorithm
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.)
Granted
Application number
CNA2009100596080A
Other languages
Chinese (zh)
Other versions
CN101583013B (en
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.)
GEEYA SCIENCE & TECHNOLOGY CO., LTD.
Original Assignee
CHENGDU GEEYA 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 CHENGDU GEEYA TECHNOLOGY CO LTD filed Critical CHENGDU GEEYA TECHNOLOGY CO LTD
Priority to CN2009100596080A priority Critical patent/CN101583013B/en
Publication of CN101583013A publication Critical patent/CN101583013A/en
Application granted granted Critical
Publication of CN101583013B publication Critical patent/CN101583013B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method of real-time downloading CAS core algorithm, which comprises the following steps: a front-end virtual machine task is operated in CAS software of conditional access system (CAS) of a digital TV; a virtual machine code of encryption procedure and a virtual machine code of decryption procedure are input into CAS database; the virtual machine code of decryption is sent to a scrambling in the form of EMM data and transmitted to set-top box of users by transport network of the digital TV after modulated by QAM; a terminal virtual machine of CAS in the set-top box is started together with the start of the top box; the virtual machine code of decryption procedure is received by CAM of the set-top box and operated in CAS terminal virtual machine in the set-top box. The invention overcomes the disadvantages that upgrading of the set-top box is not in success, and upgrading of CAS core algorithm can not be realized frequently in prior art, and provides a algorithm with small data transport volume, rapid downloading algorithm, little failure in upgrading of the set-top box and frequent upgrading of CAS core algorithm, which can be applicable to digital TVs.

Description

The method that the CAS core algorithm is downloaded in real time
Technical field
The present invention relates to the transmission method of TV signal enciphering and deciphering algorithm, be specifically related to the real-time method for down loading of CAS core algorithm.
Background technology
Digital Television is the digital signal that traditional anolog TV signals is become the binary number representative through oversampling, quantification and code conversion, carry out processing, transmission, record, the storage of various functions then, the end-to-end system of a kind of full digital processing process of monitoring and control.The characteristics of this total digitalization, make us can use various digital technologies that television equipment is obtained than the higher technical performance of original simulated television equipment, also possessed the function that analog machine can't be realized simultaneously, also be these characteristics make condition be received in the digital television system improve service quality and security performance in become and be easy to realize.
Condition receives to be exactly to information scrambling, transmission such as video, audio frequency and data and to be the process of validated user receiving and deciphering.Condition receiving system CAS (Conditional Access System) overlaps software systems end to end for one of this process of realization, the CAS front end is encrypted control word CW (Control Word), in terminal control word CW is decrypted, use the CW after deciphering that the information such as video, audio frequency and data of scrambling are carried out descrambling, the safe transmission that how to realize control word CW is the core of various CAS.For guaranteeing to have only authorized user could realize deciphering to CW, CAS is by coming authorized user whether can decipher CW to user terminal transmission Entitlement Management Message EMM.Scrambling, encryption and empowerment management are formed complete system, i.e. condition receiving system inalienable part.Could use the mode of related service to realize the paid service of digital television broadcasting system with the user who only obtains the authorization.Condition receiving system (CAS) helps radio and television operator to realize the expansion of management means, makes operator carry out authorization control to the user.
The domestic much major parts of CAS manufacturer of China follow the way of external cas system at present, adopt the smart card manner of decryption, and small part adopts does not have card CA technology.
The smart card manner of decryption, its core decipherment algorithm is all in smartcard internal, and its fail safe highly depends on the safety of smart card.If security breaches, also need the upgrading set top box program in upgrading in the front end, even smart card programs.Present set-top box manufacturer is when integrated CAS function, what take from CAS manufacturer is exactly a software library, if upgrading CA software just needs STB manufacturer to obtain new software library to CA manufacturer, give the operator again after generating new program, send to the user by network.User side is upgraded to whole set-top box software after receiving upgrade information.In the process of upgrading, must once finish smoothly, otherwise can cause the subscriber computer top box to open.Because set-top box, be dispersed in huge numbers of families, in escalation process may because accident have a power failure or escalation process in the user can't normally watch program and think that the set-top box failure start again of cutting off the power supply causing the upgrading failure.After the upgrading failure, operation must be carried out field service work to set-top box.CA system under this pattern can not carry out the renewal of CAS core algorithm continually for security reason.
The second way is not have card CA producer, does not have card CA and uses the built-in program algorithm of set-top box fully, and the software upgrading meeting occurs with top identical situation, and still, the set-top box of not having card CA is easily by piracy.
Because historical reasons has just begun the operation of Digital Television under China's situation that relevant criterion is not also come out at home.Set-top-box chip scheme on the market is multifarious, these set-top box scenario comprise the ST chip solution of present main flow, application program all is to be placed on the FLASH chip internal that can not encrypt, uses FLASH read-write equipment commonly used, easily massive duplication set-top box program.Unless adopt the dedicated custom chip, otherwise can't prevent the appearance of pirate set-top box.Compare with the smart card mode, only pirate card has become pirate set-top box.And the use special chip, the increase of its cost is conspicuous.
Summary of the invention
The present invention has overcome the deficiencies in the prior art, and the method that the CAS core algorithm is downloaded in real time that solves is provided.
For solving above-mentioned technical problem, the present invention by the following technical solutions:
The method that a kind of CAS core algorithm is downloaded in real time, carry out according to step 1 to step 5:
Step 1, in digital television conditional access system CAS software the operation CAS front end virtual machine task, the virtual machine code of CAS encipheror operates in the front end virtual machine of CAS;
The virtual machine code of decrypted program imports the CAS database among step 2, the CAS;
The virtual machine code of step 3, decrypted program sends to the scrambling machine by the form of EMM data, after the QAM modulation, sends to the set-top box of user side together via digital television transmission with digital television signal;
Operation CAS terminal virtual machine in step 4, the set-top box, this CAS terminal virtual machine starts simultaneously with set-top box and starts;
The CAM of step 5, set-top box receives the virtual machine code of decrypted program, and moves on the CAS virtual machine in set-top box.
Further technical scheme is that the virtual machine code of CAS encipheror is a CAS core algorithm encipheror section, and the virtual machine code of decrypted program is a CAS core algorithm decrypted program section.
Further technical scheme is in the step 5 on the CAS virtual machine in the set-top box during virtual machine code of operation decrypted program, is decrypted with deciphering journey synthetic operation in the smart card in the set-top box.
Compared with prior art, the invention has the beneficial effects as follows that data quantity transmitted is little owing to only transmit core code, the download of algorithm is fast, reduced the upgrading failure problem that causes because outage or client restart set-top box in the escalation process, can be often to the renewal of CAS core algorithm.
Description of drawings
Fig. 1 is the step schematic diagram of CAS front end when utilizing the present invention that the CAS core algorithm is upgraded;
Fig. 2 is the step schematic diagram of set-top box end when utilizing the present invention that the CAS core algorithm is upgraded.
Embodiment
The present invention is further elaborated below in conjunction with accompanying drawing.
The method that a kind of CAS core algorithm is downloaded in real time, carry out according to step 6 to step 10:
Step 6, in digital television conditional access system CAS software the operation CAS front end virtual machine task, with being kept in the CAS database behind the virtual machine code developing instrument exploitation encipheror, the virtual machine code of CAS encipheror operates in the front end virtual machine of CAS;
The virtual machine code of decrypted program imports the CAS database among the CAS of step 7, the exploitation of usefulness virtual machine code developing instrument;
Step 8, when carrying out the renewal of CAS core algorithm, needing all set-top box to carry out the CAS core algorithm downloads, according to as shown in Figure 1, carry out the transmission of CAS front end decrypted program: the virtual machine code of decrypted program is packaged into the packet that comprises decrypted program, send to the EMM Data Receiving port of scrambling machine, after the QAM modulation, send to the set-top box of user side together via digital television transmission with digital television signal;
Operation CAS terminal virtual machine in step 9, the set-top box, this CAS terminal virtual machine starts simultaneously with set-top box and starts;
After step 10, set-top box start, according to as shown in Figure 2, carry out CAS front end decrypted program and receive processing: the CAM of set-top box receives the virtual machine code of decrypted program, by operation CAS core algorithm code on the CAS virtual machine of CAS software library in set-top box, and it is mutual with smart card, the collaborative data decryption of finishing, other application software in the set-top box are finished functions such as corresponding demonstration, prompting.

Claims (3)

1, the real-time method of downloading of a kind of CAS core algorithm is characterized in that carrying out according to step 1 to step 5:
Step 1, in digital television conditional access system CAS software the operation CAS front end virtual machine task, the virtual machine code of CAS encipheror operates in the front end virtual machine of CAS;
The virtual machine code of decrypted program imports the CAS database among step 2, the CAS;
The virtual machine code of step 3, decrypted program sends to the scrambling machine by the form of EMM data, after the QAM modulation, sends to the set-top box of user side together via digital television transmission with digital television signal;
Operation CAS terminal virtual machine in step 4, the set-top box, this CAS terminal virtual machine starts simultaneously with set-top box and starts;
The CAM of step 5, set-top box receives the virtual machine code of decrypted program, and moves on the CAS virtual machine in set-top box.
2, the real-time method of downloading of CAS core algorithm according to claim 1, the virtual machine code that it is characterized in that described CAS encipheror is a CAS core algorithm encipheror section, the virtual machine code of decrypted program is a CAS core algorithm decrypted program section.
3, the real-time method of downloading of CAS core algorithm according to claim 2, when it is characterized in that the virtual machine code of operation decrypted program on the CAS virtual machine in the set-top box in the described step 5, be decrypted with deciphering journey synthetic operation in the smart card in the set-top box.
CN2009100596080A 2009-06-16 2009-06-16 Method of real-time downloading CAS core algorithm Expired - Fee Related CN101583013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100596080A CN101583013B (en) 2009-06-16 2009-06-16 Method of real-time downloading CAS core algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100596080A CN101583013B (en) 2009-06-16 2009-06-16 Method of real-time downloading CAS core algorithm

Publications (2)

Publication Number Publication Date
CN101583013A true CN101583013A (en) 2009-11-18
CN101583013B CN101583013B (en) 2011-02-02

Family

ID=41364930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100596080A Expired - Fee Related CN101583013B (en) 2009-06-16 2009-06-16 Method of real-time downloading CAS core algorithm

Country Status (1)

Country Link
CN (1) CN101583013B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387407A (en) * 2010-08-31 2012-03-21 国基电子(上海)有限公司 System and method for realizing broadcasting network conditional access (CA)
TWI418170B (en) * 2010-09-09 2013-12-01 Hon Hai Prec Ind Co Ltd System and method for conditional access

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324889C (en) * 2004-05-09 2007-07-04 意法半导体有限公司 A method for implementing embedded digital television service platform
CN101291419B (en) * 2008-06-02 2010-10-13 武汉天喻信息产业股份有限公司 Authorizing and descrambling method and apparatus in CAS of mobile multimedia broadcast

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387407A (en) * 2010-08-31 2012-03-21 国基电子(上海)有限公司 System and method for realizing broadcasting network conditional access (CA)
TWI418170B (en) * 2010-09-09 2013-12-01 Hon Hai Prec Ind Co Ltd System and method for conditional access

Also Published As

Publication number Publication date
CN101583013B (en) 2011-02-02

Similar Documents

Publication Publication Date Title
CN101129068B (en) Method for an iterative cryptographic block
EP2705662B1 (en) Tv receiver device with multiple decryption modes
CN101047830B (en) Method and device for authorising conditional access
CN101945249B (en) Process stream in can recorded content
US20090044241A1 (en) Broadcasting content protection/management system
CN102082971B (en) Digital TV set top box (STB) chip and entitle receiving method adopting same
CN102196316B (en) A method for controlling access to a plurality of channels by a receiver/decoder
CN102387407A (en) System and method for realizing broadcasting network conditional access (CA)
CN100502496C (en) Digital TV user authentication system based on mobile device
CN102186101A (en) Digital home video and service resource protecting method
US20100024043A1 (en) Method for controlling access to a scrambled digital content
CN102291598B (en) Controllable license management method of digital television hardware function
CN103702173A (en) System of encrypting and controlling digital television recorded program segments
CN101583013B (en) Method of real-time downloading CAS core algorithm
CN101370076A (en) Method for implementing set-card separation based on USB interface
CN101442660B (en) System for receiving download type digital television condition and dynamic download method thereof
CA2318247A1 (en) Configuring method and device
CN105959791B (en) The playback method and device of TV programme
CN105578208A (en) IPTV video encryption transmission system
US20150382044A1 (en) Method and device for controlling downloading of security module for broadcast service
CN1476724A (en) Eneryption system of wired television network
CN101068303A (en) Hardware enciphering method used for wired television system set-top box
CN101630519A (en) IP streaming copy control method and system
CN102215433A (en) User authorization method and safety device
CN101350910A (en) Method for separating machine and card of digital television receive terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 610000 No. 50 Shu West Road, Sichuan, Chengdu

Patentee after: GEEYA SCIENCE & TECHNOLOGY CO., LTD.

Address before: The 610041 West Sichuan city of Chengdu province No. 50

Patentee before: Chengdu Geeya Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110202

Termination date: 20200616

CF01 Termination of patent right due to non-payment of annual fee