CN101964897B - Method, device, smart card and set top box for controlling decryption of TV program - Google Patents
Method, device, smart card and set top box for controlling decryption of TV program Download PDFInfo
- Publication number
- CN101964897B CN101964897B CN2010105027619A CN201010502761A CN101964897B CN 101964897 B CN101964897 B CN 101964897B CN 2010105027619 A CN2010105027619 A CN 2010105027619A CN 201010502761 A CN201010502761 A CN 201010502761A CN 101964897 B CN101964897 B CN 101964897B
- Authority
- CN
- China
- Prior art keywords
- control data
- authorization control
- programme
- receive
- play instruction
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method, a device, a smart card and a set top box for controlling decryption of a TV program. The method comprises the following steps of: timing and counting entitlement control data by receiving a play command and the entitlement control data; calculating the average time for receiving the entitlement control data; determining whether the entitlement control data belongs to the TV program corresponding to the play command; and if so, decrypting the entitlement control data, otherwise not decrypting the entitlement control data. Therefore, the invention prevents an invalid user from decrypting a plurality of encrypted programs by the same smart card at the same time.
Description
Technical field
The invention belongs to digital TV field, relate in particular to a kind of deciphering control method, device, smart card and STB of TV programme.
Background technology
Existing STB is deciphered the TV programme of an encryption through a smart card; Its process is following: comprise in the program data stream that operator sends a control word (Control Word, CW), CW is through professional close spoon (Service Key; SK) encrypt back and Entitlement Control Message (Entitlement Control Message; ECM) transmission together, this SK and Entitlement Management Message (Entitlement Management Message, EMM) transmission together; Smart card receives ECM and EMM and deciphering, obtains CW; One descrambler is decoded to the data flow that operator sends according to this CW, obtains corresponding audio-video signal.Yet behind smart card, the ECM and the EMM that send into second program have immediately so promptly realized utilizing a sheet smart card to decipher the purpose of a plurality of ciphered programs simultaneously to smart card to the disabled user who has at the ECM that sends into top line and EMM.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of deciphering control method, device, smart card and STB of TV programme, is intended to solve the disabled user and utilizes a sheet smart card to decipher the problem of a plurality of ciphered programs simultaneously.
The embodiment of the invention is achieved in that a kind of deciphering control method of TV programme, may further comprise the steps:
Receive a play instruction;
Receive the authorization control data;
Authorization control data to receiving are carried out timing and counting;
According to the T/A of the authorization control data that receive, periodically calculate the average time that receives the authorization control data;
Judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction;
If judge that said authorization control data do not belong to and the corresponding TV programme of play instruction, the control smart card stops decrypting process.
The embodiment of the invention also provides a kind of deciphering control device of TV programme, comprising:
The play instruction receiving element is used to receive a play instruction;
Signal receiving unit is used to receive the authorization control data;
Timing unit is used for the authorization control data that receive are carried out timing;
Counting unit is used for the authorization control data that receive are counted;
Processing unit is used for the T/A according to the authorization control data that receive, and periodically calculates the average time that receives the authorization control data, and judges whether the authorization control data that receive belong to the TV programme corresponding with play instruction; And
Decryption unit; If the authorization control data that receive belong to the TV programme corresponding with play instruction; Said decryption unit is then deciphered said authorization control data; If the authorization control data that receive do not belong to the TV programme corresponding with play instruction, then said authorization control data are not deciphered.
The embodiment of the invention also provides a kind of smart card, comprises the deciphering control device of TV programme, and said deciphering control device comprises:
The play instruction receiving element is used to receive a play instruction;
Signal receiving unit is used to receive the authorization control data;
Timing unit is used for the authorization control data that receive are carried out timing;
Counting unit is used for the authorization control data that receive are counted;
Processing unit is used for the T/A according to the authorization control data that receive, and periodically calculates the average time that receives the authorization control data, and judges whether the authorization control data that receive belong to the TV programme corresponding with play instruction; And
Decryption unit; If the authorization control data that receive belong to the TV programme corresponding with play instruction; Said decryption unit is then deciphered said authorization control data; If the authorization control data that receive do not belong to the TV programme corresponding with play instruction, then said authorization control data are not deciphered.
The embodiment of the invention also provides a kind of STB that utilizes smart card that TV programme are deciphered, and said smart card comprises:
The play instruction receiving element is used to receive a play instruction;
Signal receiving unit is used to receive the authorization control data;
Timing unit is used for the authorization control data that receive are carried out timing;
Counting unit is used for the authorization control data that receive are counted;
Processing unit is used for the T/A according to the authorization control data that receive, and periodically calculates the average time that receives the authorization control data, and judges whether the authorization control data that receive belong to the TV programme corresponding with play instruction; And
Decryption unit; If the authorization control data that receive belong to the TV programme corresponding with play instruction; Said decryption unit is then deciphered said authorization control data; If the authorization control data that receive do not belong to the TV programme corresponding with play instruction, then said authorization control data are not deciphered.
Deciphering control method, device, smart card and the STB of TV programme of the present invention is through receiving a play instruction and authorization control data; Authorization control data to receiving are carried out timing and counting; T/A according to the authorization control data that receive periodically calculates the average time that receives the authorization control data; Judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction; If the authorization control data that receive belong to the corresponding TV programme of play instruction then the authorization control data are deciphered, otherwise do not decipher.Prevented that so promptly the disabled user from utilizing a sheet smart card to decipher a plurality of ciphered programs simultaneously.
Description of drawings
Fig. 1 is the sketch map of the decryption method that provides of prior art.
Fig. 2 is the flow chart of the deciphering control method of the TV programme that provide of the embodiment of the invention.
Fig. 3 is the sketch map of the deciphering control device of the TV programme that provide of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Please refer to Fig. 2, the embodiment of the invention provides a kind of deciphering control method of TV programme, said method comprising the steps of:
Step S1: receive a play instruction.The user can send play instruction through the program options button of pressing on the remote controller, to watch TV programme.
Step S2: the authorization control data of received television program.
Step S3: the authorization control data to receiving are carried out timing and counting.
Step S4:, periodically calculate the average time that receives the authorization control data according to the T/A that receives the authorization control data.
Step S5: judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction.If said authorization control data belong to and the corresponding TV programme of play instruction, then get into step S6; Otherwise get into step S7.
Step S6: step S2 is deciphered and returned to the control smart card to the authorization control data.
Step S7: the control smart card stops the authorization control data are deciphered.
Further, when receiving the primary authorization control data of these TV programme, pick up counting; When whenever receiving authorization control data, once count.
Further, judge that the process whether the authorization control data receive belong to the corresponding TV programme of play instruction is described below.
Step S11: calculate a threshold value MT, the computing formula of threshold value MT is following:
Wherein S is and the authorization control updating data cycle of the corresponding TV programme of play instruction, and INT is a bracket function;
Step S12: with the average time of the authorization control data that receive, i.e. the first ratio T/N of timing T and counting N, MT compares with threshold value.
If the first ratio T/N be " 0 " or more than or equal to threshold value MT, judge that then authorization control data at this moment belong to and the corresponding TV programme of play instruction; If the first ratio T/N, judges then that the authorization control data of this moment do not belong to and the corresponding TV programme of play instruction greater than " 0 " and less than threshold value MT.
Such as, whenever judge at a distance from 5 seconds whether the authorization control data belong to and the corresponding TV programme of play instruction, and the authorization control updating data cycle of these TV programme is 10 seconds.
In the time of 0 second, when promptly receiving the primary authorization control data of these TV programme, timing is " 0 ", counts to be " 1 ", and the first ratio T/N is " 0 ", and judge that these authorization control data belong to and the corresponding TV programme of play instruction this moment; In the time of 5 seconds, timing is " 5 ", counts to be " 1 ", and the first ratio T/N is " 5 ", and threshold value MT also is 5, and judge that these authorization control data belong to and the corresponding TV programme of play instruction this moment; In the time of 10 seconds, promptly when receiving the secondary authorization control data of these TV programme, timing is " 10 "; Counting is " 2 "; The first ratio T/N is " 5 ", and threshold value MT also is 5, and judge that these authorization control data belong to and the corresponding TV programme of play instruction this moment.
If in the time of the 5th second, receive the authorization control data of another program; When then the timing of this moment is " 5 "; Counting is " 2 ", and the first ratio T/N " 5/2 " is less than threshold value MT " 5 ", and judge that these authorization control data do not belong to and the corresponding TV programme of play instruction this moment; If in the time of the 8th second, receive the authorization control data of another program; Then in the time of the 10th second, timing is " 10 ", counts to be " 3 "; The first ratio T/N " 10/3 " is less than threshold value MT " 5 ", and judge that these authorization control data do not belong to and the corresponding TV programme of play instruction this moment.
Further, these authorization control data comprise Entitlement Control Message (Entitlement ControlMessage, ECM) and Entitlement Management Message (Entitlement Management Message, EMM).
Can be defined voluntarily the blanking time whether the authorization control data that further, judge to receive belong to the corresponding TV programme of play instruction by the user.
The deciphering control method of TV programme of the present invention is through receiving a play instruction and authorization control data; Authorization control data to receiving are carried out timing and counting; T/A according to the authorization control data that receive periodically calculates the average time that receives the authorization control data; Judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction; If the authorization control data that receive belong to the corresponding TV programme of play instruction then the authorization control data are deciphered, otherwise do not decipher.Prevented that so promptly the disabled user from utilizing a sheet smart card to decipher a plurality of ciphered programs simultaneously.
Please refer to Fig. 3, the embodiment of the invention also provides a kind of deciphering control device 100 of TV programme, can prevent that the disabled user from utilizing a sheet smart card to decipher a plurality of ciphered programs.For the ease of explanation, only show the part relevant with the embodiment of the invention.
The deciphering control device 100 of TV programme of the present invention comprises play instruction receiving element 10, signal receiving unit 20, timing unit 30, counting unit 40, processing unit 50 and decryption unit 60.
Play instruction receiving element 10 is used to receive a play instruction.
Signal receiving unit 20 is used to receive the authorization control data.These authorization control data comprise ECM and EMM.ECM comprise this program control word (Control Word, CW), comprise among the EMM professional close spoon that this CW is encrypted (Service Key, SK).
When signal receiving unit 20 received primary ECM and the EMM of the TV programme corresponding with play instruction, timing unit 30 picked up counting, and counting unit 40 countings are " 1 " simultaneously.When signal receiving unit 20 received ECM and EMM, counting unit 40 added 1 with its counting.Such as, when signal receiving unit 20 received secondary ECM and EMM, counting unit 40 countings were " 2 ", by that analogy.The timing of note timing unit 30 is T, and the counting of counting unit 40 is N.
Processing unit 50 comprises a computing module 52 and a judge module 54.
If the ECM and the EMM that send into signal receiving unit 20 belong to the TV programme corresponding with play instruction, 60 of 54 control of judge module decryption unit are deciphered ECM and EMM, otherwise control decryption unit 60 stops to decipher.It is known techniques that 60 couples of ECM of decryption unit and EMM deciphering obtain CW, repeats no more at this.
The CW that the decryption unit 60 of one descrambler, 70 receiving and deciphering control device 100 decrypts, and according to this CW the data flow of program is decoded, corresponding audio-video signal obtained.Descrambler 70 is decoded to the data flow of program according to CW and is obtained corresponding audio-video signal and belong to prior art, repeats no more at this.
Further, judge module 54 judges that the process whether ECM that signal receiving unit 20 receives and EMM belong to TV programme corresponding with play instruction is described below.
Wherein S is and the authorization control updating data cycle of the corresponding TV programme of play instruction, and INT is a bracket function.
If the first ratio T/N is " 0 " or more than or equal to threshold value MT; 54 of judge modules judge that this moment, the ECM and the EMM of signal receiving unit 20 receptions belonged to and the corresponding TV programme of play instruction, and this moment, judge module 54 control 60 couples of ECM of decryption unit and EMM deciphered.
If the first ratio T/N is greater than " 0 " and less than threshold value MT, 54 of judge modules judge that this moment, the ECM and the EMM of signal receiving unit 20 receptions did not belong to and the corresponding TV programme of play instruction.This moment, judge module 54 control decryption unit 60 stopped deciphering.
Further, can define voluntarily by the user blanking time of judge module 54 judgements.
The embodiment of the invention also provides a kind of smart card, comprises above-mentioned deciphering control device 100.Deciphering control device 100 comprises above-mentioned play instruction receiving element 10, signal receiving unit 20, timing unit 30, counting unit 40, computing unit 40, processing unit 50 and decryption unit 60.
The embodiment of the invention also provides a kind of STB that utilizes above-mentioned smart card that TV programme are deciphered.
The deciphering control method of TV programme of the present invention, deciphering control device 100, smart card and STB are through receiving a play instruction and authorization control data; Authorization control data to receiving are carried out timing and counting; T/A according to the authorization control data that receive periodically calculates the average time that receives the authorization control data; Judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction; If the authorization control data that receive belong to the corresponding TV programme of play instruction then the authorization control data are deciphered, otherwise do not decipher.Prevented that so promptly the disabled user from utilizing a sheet smart card to decipher a plurality of ciphered programs simultaneously.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. the deciphering control method of TV programme is characterized in that, said method comprising the steps of:
Receive a play instruction;
Receive the authorization control data;
Authorization control data to receiving are carried out timing and counting;
According to the T/A of the authorization control data that receive, periodically calculate the average time that receives the authorization control data;
Judge whether the authorization control data that receive belong to and the corresponding TV programme of play instruction;
If judge that said authorization control data do not belong to and the corresponding TV programme of play instruction, the control smart card stops decrypting process;
Wherein, the step that whether belongs to the corresponding TV programme of play instruction of the authorization control data that receive of said judgement is specially:
Calculate a threshold value, the computing formula of threshold value MT is following:
wherein S is the authorization control updating data cycle with the corresponding TV programme of play instruction; T is the timing that receives the authorization control data, and INT is a bracket function;
With the average time that receives the authorization control data, i.e. the ratio of timing and counting is compared with said threshold value MT;
If judge then that for " 0 " or more than or equal to said threshold value the authorization control data of this moment belong to and the corresponding TV programme of play instruction said average time, if judge then that greater than " 0 " and less than said threshold value the authorization control data of this moment do not belong to and the corresponding TV programme of play instruction said average time.
2. the method for claim 1 is characterized in that, said authorization control data comprise Entitlement Control Message and Entitlement Management Message.
3. the deciphering control device of TV programme comprises:
The play instruction receiving element is used to receive a play instruction;
Signal receiving unit is used to receive the authorization control data;
Timing unit is used for the authorization control data that receive are carried out timing;
Counting unit is used for the authorization control data that receive are counted;
Processing unit is used for the T/A according to the authorization control data that receive, and periodically calculates the average time that receives the authorization control data, and judges whether the authorization control data that receive belong to the TV programme corresponding with play instruction; And
Decryption unit; If the authorization control data that receive belong to the TV programme corresponding with play instruction; Said decryption unit is then deciphered said authorization control data; If the authorization control data that receive do not belong to the TV programme corresponding with play instruction, then said authorization control data are not deciphered;
Wherein, said processing unit comprises:
Computing module, computing module calculates the average time that receives the authorization control data, i.e. the ratio of timing and counting, and calculate a threshold value MT, the computing formula of said threshold value MT is following:
wherein S is the authorization control updating data cycle with the corresponding TV programme of play instruction; T is the timing that receives the authorization control data, and INT is a bracket function; And
Judge module; If be " 0 " or more than or equal to said threshold value MT said average time; Said judge module judges that then the authorization control data of this moment belong to and the corresponding TV programme of play instruction; If said average time, said judge module judged that then the authorization control data of this moment do not belong to and the corresponding TV programme of play instruction greater than " 0 " and less than said threshold value MT.
4. device as claimed in claim 3 is characterized in that, said authorization control data comprise Entitlement Control Message and Entitlement Management Message.
5. smart card comprises the deciphering control device of TV programme, and said deciphering control device comprises:
The play instruction receiving element is used to receive a play instruction;
Signal receiving unit is used to receive the authorization control data;
Timing unit is used for the authorization control data that receive are carried out timing;
Counting unit is used for the authorization control data that receive are counted;
Processing unit is used for the T/A according to the authorization control data that receive, and periodically calculates the average time that receives the authorization control data, and judges whether the authorization control data that receive belong to the TV programme corresponding with play instruction; And
Decryption unit; If the authorization control data that receive belong to the TV programme corresponding with play instruction; Said decryption unit is then deciphered said authorization control data; If the authorization control data that receive do not belong to the TV programme corresponding with play instruction, then said authorization control data are not deciphered;
Wherein, said processing unit comprises:
Computing module, computing module calculates the average time that receives the authorization control data, i.e. the ratio of timing and counting, and calculate a threshold value MT, the computing formula of said threshold value MT is following:
wherein S is the authorization control updating data cycle with the corresponding TV programme of play instruction; T is the timing that receives the authorization control data, and INT is a bracket function; And
Judge module; If be " 0 " or more than or equal to said threshold value MT said average time; Said judge module judges that then the authorization control data of this moment belong to and the corresponding TV programme of play instruction; If said average time, said judge module judged that then the authorization control data of this moment do not belong to and the corresponding TV programme of play instruction greater than " 0 " and less than said threshold value MT.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105027619A CN101964897B (en) | 2010-10-11 | 2010-10-11 | Method, device, smart card and set top box for controlling decryption of TV program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105027619A CN101964897B (en) | 2010-10-11 | 2010-10-11 | Method, device, smart card and set top box for controlling decryption of TV program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101964897A CN101964897A (en) | 2011-02-02 |
CN101964897B true CN101964897B (en) | 2012-06-27 |
Family
ID=43517602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105027619A Expired - Fee Related CN101964897B (en) | 2010-10-11 | 2010-10-11 | Method, device, smart card and set top box for controlling decryption of TV program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101964897B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105578291B (en) * | 2015-12-25 | 2018-09-21 | 广州视源电子科技股份有限公司 | The TV programme processing method and system of digital TV terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852418A (en) * | 2006-04-27 | 2006-10-25 | 中国移动通信集团公司 | Mobile television television broadcasting control system and broadcasting network and method |
CN101018320A (en) * | 2007-02-13 | 2007-08-15 | 中国移动通信集团广东有限公司 | A digital TV condition receiving system and its encryption method |
CN101094384A (en) * | 2007-07-11 | 2007-12-26 | 北京交通大学 | Method for restricting number of channel watched by user at same time |
CN101242517A (en) * | 2008-03-05 | 2008-08-13 | 浪潮电子信息产业股份有限公司 | An user authorization method in digital TV condition receiving system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005080142A (en) * | 2003-09-03 | 2005-03-24 | Sanyo Electric Co Ltd | Descrambling device |
-
2010
- 2010-10-11 CN CN2010105027619A patent/CN101964897B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852418A (en) * | 2006-04-27 | 2006-10-25 | 中国移动通信集团公司 | Mobile television television broadcasting control system and broadcasting network and method |
CN101018320A (en) * | 2007-02-13 | 2007-08-15 | 中国移动通信集团广东有限公司 | A digital TV condition receiving system and its encryption method |
CN101094384A (en) * | 2007-07-11 | 2007-12-26 | 北京交通大学 | Method for restricting number of channel watched by user at same time |
CN101242517A (en) * | 2008-03-05 | 2008-08-13 | 浪潮电子信息产业股份有限公司 | An user authorization method in digital TV condition receiving system |
Non-Patent Citations (1)
Title |
---|
JP特开2005-80142A 2005.03.24 |
Also Published As
Publication number | Publication date |
---|---|
CN101964897A (en) | 2011-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2802152B1 (en) | Method for secure processing a stream of encrypted digital audio / video data | |
CN103975604B (en) | For handling the method and multimedia unit of digital broadcast transmission stream | |
CN1310497C (en) | CA system for using multiple cipher key broadcasting DTV to different service supply merchants and service areas | |
KR101762955B1 (en) | A method for controlling access to a plurality of channels by a receiver/decoder | |
TW200822708A (en) | Storage and use method of a broadcasted audio/video event | |
CN101507272A (en) | Method of revocation of security modules used to secure broadcast messages | |
CN1196330C (en) | Copy protection system for home networks | |
CN101595487A (en) | File decryption interface | |
US8804965B2 (en) | Methods for decrypting, transmitting and receiving control words, recording medium and control word server to implement these methods | |
TW201123889A (en) | Control-word deciphering, transmission and reception methods, recording medium and server for these methods | |
CN102340702B (en) | IPTV (Internet protocol television) network playing system and rights management and descrambling method based on USB (Universal serial bus) Key | |
US20160286245A1 (en) | Method and device for distributing multimedia licences within a distribution system of a secured multimedia service | |
US20170187522A1 (en) | Method for secure transfer of messages | |
WO2008077303A1 (en) | A method and system for processing broadcast signal and a receiving terminal of broadcast signal | |
US8813254B2 (en) | Conditional access system switcher | |
CN101964897B (en) | Method, device, smart card and set top box for controlling decryption of TV program | |
CN101505462B (en) | Authentication method and system for mobile multimedia broadcast conditional reception | |
CN101247508A (en) | Method for terminal implementing service authorization in conditioned receiving system | |
JP2006518134A5 (en) | ||
CN201830399U (en) | Front end and client of conditional access system | |
US20140351841A1 (en) | Methods and apparatus for monitoring and/or collecting viewership statistics | |
CN101610390B (en) | Method for realizing set-card correspondence of digital television receiver terminal, set top box and intelligent card | |
CN201063763Y (en) | Digital signal condition receiving system | |
TW201611593A (en) | Processing method for control messages and security module to carry out said method | |
CN103634624A (en) | Digital television live broadcasting method and system based on IP (Internet protocol) network |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120627 Termination date: 20181011 |