The content of the invention
The embodiment of the present invention provides a kind of player method and television equipment of scrambled program, with solve in the prior art because
CAM card initialization processes cause broadcasting scrambled program time longer technical problem.
The embodiment of the present invention provides a kind of player method of scrambled program, and methods described is applied to television equipment, the electricity
Depending on being provided with conditioned access module CAM cards in equipment, including:
After the television equipment receives shutdown command, the mutual resource of CAM cards is cached in default internal memory, and is controlled
The CAM cards are in power supply state all the time;
After the television equipment receives start-up command start-up command, the interaction of the CAM cards is obtained from default internal memory
Resource;
The television equipment after being synchronized with the CAM cards, plays scrambled program according to the CAM cards mutual resource.
Alternatively, after the television equipment receives shutdown command, methods described also includes:
The television equipment sends sleep request to the CAM cards;
The television equipment receives the dormancy that the CAM cards are sent according to the sleep request and responded;
The television equipment controls the CAM cards to enter resting state.
Alternatively, after the television equipment receives shutdown command, the mutual resource of CAM cards is cached in default internal memory
Before, in addition to:
The television equipment shielding common interface (common interface, CI) is interrupted, and closes CI interfaces;
After the television equipment receives start-up command, obtained from default internal memory the CAM cards mutual resource it
Before, in addition to:
The television equipment initializes CI interfaces, and opens CI interruptions.
Alternatively, before the television equipment plays scrambled program, in addition to:
The television equipment sends Program Map Table to the CAM cards, and transport stream TS is imported into the CAM cards.
Alternatively, the mutual resource of the CAM cards includes card image structure C IS, CAM card and TV of the CAM cards
The various key informations between multiple resource methods, CAM cards and television equipment are created between equipment.
Alternatively, the television equipment also includes set top box, and the CAM cards are provided with the set top box.
The embodiment of the present invention provides a kind of television equipment, and CAM cards, the television equipment bag are provided with the television equipment
Include:
Transmit-Receive Unit, for receiving shutdown command or start-up command;
Processing unit, for after the Transmit-Receive Unit receives shutdown command, the mutual resource of CAM cards being cached to pre-
If in internal memory, and the CAM cards are controlled to be in power supply state all the time;And after the Transmit-Receive Unit receives start-up command,
The mutual resource of the CAM cards is obtained from default internal memory;
Broadcast unit, for according to the CAM cards mutual resource, after being synchronized with the CAM cards, playing scrambling section
Mesh.
Alternatively, the Transmit-Receive Unit is additionally operable to after shutdown command is received:Sleep request is sent to the CAM cards;
And receive the dormancy that the CAM cards are sent according to the sleep request and respond;
The processing unit, it is additionally operable to control the CAM cards to enter resting state.
Alternatively, after the Transmit-Receive Unit receives shutdown command, the processing unit is by the mutual resource of CAM cards
Before being cached in default internal memory, the processing unit is additionally operable to:
Shield CI to interrupt, and close CI interfaces;
After the Transmit-Receive Unit receives start-up command, the processing unit obtains the CAM from default internal memory
Before the mutual resource of card, the processing unit is additionally operable to:
CI interfaces are initialized, and open CI interruptions.
Alternatively, before the broadcast unit plays scrambled program, the Transmit-Receive Unit is additionally operable to:
Program Map Table is sent to the CAM cards, and transport stream TS is imported into the CAM cards.
Alternatively, the mutual resource of the CAM cards includes creating between CIS, CAM card and television equipment of the CAM cards
Various key informations between multiple resource methods, the verification process of CAM cards, CAM cards and television equipment.
Alternatively, the television equipment also includes set top box, and the CAM cards are provided with the set top box.
In the embodiment of the present invention, after television equipment receives shutdown command, the mutual resource of CAM cards is cached to default internal memory
In, and control the CAM cards to be in power supply state all the time, can be from pre- so that after television equipment receives start-up command
If obtaining the mutual resource of the CAM cards in internal memory, and according to the CAM cards mutual resource, synchronized with the CAM cards
Afterwards, scrambled program is played.In the present invention, after television equipment receives shutdown command, television equipment controls the CAM cards to locate all the time
In power supply state, so as to which in television equipment and CAM card work, multiple resource methods between television equipment and CAM cards can
Normal work, triggering is avoided to re-execute secure authenticated channel (Secure Authentication Channel, SAC) feelings
Condition;After television equipment receives start-up command, the mutual resource of the CAM cards cached when can be shut down according to last time for getting and
CAM cards synchronize, and effectively accelerate the synchronizing speed of television equipment and CAM cards, and then can shorten STR and start the time, reduce
The reproduction time of scrambled program, to meet the needs of user is to quick turn-on.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
The player method of scrambled program provided in an embodiment of the present invention goes for television equipment, for example, DTV,
Intelligent television, TV with set top box etc..
Television equipment plays TV programme by receiving TV signal, and the TV signal in the embodiment of the present invention specifically may be used
To refer to the TV signal using DVB (Digital Video Broadcasting, DVB) standard.Believe in TV
In number transmitting procedure, in order to ensure the security of transmitted TV signal, operator would generally scramble to TV signal.
In this case, only after user orders relevant TV program, television equipment could be carried out to the TV signal after scrambling
Descrambling, and then play ordered TV programme;If user is not subscribed to relevant TV program, even if television equipment have received
TV signal after scrambling, due to can not descramble to it, corresponding TV programme can not be played.
For different operators or the different business of same operator, it is therefore possible to use be different conditions access
System, i.e., the scrambling algorithms for television equipment scramble use are different.Therefore, in order that same television equipment can normal play
The TV programme scrambled using multiple conditional access systems, the CI that can be provided for inserting CAM cards on television equipment are connect
Mouthful, so that by CAM cards come compatible different conditional access system.Specifically, the TV signal that television equipment will receive
CAM cards are sent to by CI interfaces, TV signal descrambled by CAM cards, and by the TV signal after corresponding descrambling again
Television equipment is sent to via CI interfaces, the TV programme as corresponding to television equipment plays the TV signal, because CAM cards can prop up
Multiple conditional access systems are held, therefore by setting CAM cards to can be achieved to enter the TV programme that many general scrambling algorithms scramble
Row descrambling.However, when television equipment starts every time, be required for waiting CAM card initializations, so as to cause to play scrambled program etc.
Treat that the time is longer, influence Consumer's Experience.
Based on this, the embodiment of the present invention provide it is a kind of quick play scrambled program method, for solve in the prior art because
The problem of the problem of CAM card initialization processes cause the stand-by period for playing scrambled program longer.
Fig. 1 illustrates one kind provided in an embodiment of the present invention, and quickly flow corresponding to broadcasting scrambled program method is shown
It is intended to, as shown in figure 1, specifically comprising the following steps:
Step 101, after television equipment receives shutdown command, the mutual resource of CAM cards is cached in default internal memory, and is controlled
Make the CAM cards and be in power supply state all the time.
Step 102, after television equipment receives start-up command, the mutual resource of the CAM cards is obtained from default internal memory.
Step 103, television equipment after being synchronized with the CAM cards, plays scrambling according to the CAM cards mutual resource
Program.
In the embodiment of the present invention, after television equipment receives shutdown command, television equipment controls the CAM cards to be in all the time
Power supply state, so as to which in television equipment and CAM card work, multiple resource methods between television equipment and CAM cards can be just
Often work, triggering is avoided to re-execute SAC situation;, can be upper according to what is got after television equipment receives start-up command
The mutual resource of the CAM cards cached during secondary shutdown synchronizes with CAM cards, effectively accelerates the synchronous speed of television equipment and CAM cards
Degree, and then STR can be shortened and start the time, the reproduction time of scrambled program is reduced, to meet the needs of user is to quick turn-on.
The start of television equipment or shutdown process can use STR modes, and specifically, television equipment uses STR modes
During start, recover the system running state before reduction last time shutdown directly from internal memory, so as to reach the effect quickly started.Electricity
When being shut down depending on equipment using STR modes, television equipment can apply operating system, framework, middleware etc. enter holding state, also
Need to enter holding state to each driving (including CAM cards).
Specifically, in step 101, the mutual resource of CAM cards can include the card image structure (Card of CAM cards
Information Structure, CIS), create between CAM cards and television equipment multiple resource methods (resource) and
Various key informations between CAM cards and television equipment etc..
Wherein, multiple resource are created between CAM cards and television equipment, can be create be used for encrypt related resource it
Between condition reception (Conditional Access, CA) resource for communicating;Can also create to be used to control HOST (TV)
Hold main control (Host Control, HC) resource of communication;It can also be that establishment is used to establish trusted channel, synchronisation key
Content-control (Content Control) resource of communication etc., the present invention is not specifically limited.
Various key informations between CAM cards and television equipment can include the key of certification level, can also include SAC
The key of level.Specifically, for CAM cards, the key of certification level mainly includes the graceful key (Diffie- of diffie-hellman
Hellman Secret Key, DHSK) and certification cipher key module (Authentication Key Module, AKM), to TV
For equipment, mainly there are DHSK and certification key main frame (Authentication Key Host, AKH), wherein, DHSK is double
The master key that CAM cards are shared with television equipment after to authentication protocol, AKM and AKH are exported by DHSK.The key of SAC levels is main
Including the SAC certifications key (SAC Authentication Key, SAK) for message authentication and the SAC for message encryption
Encryption key (SAC Encryption Key, SEK), wherein, SAK and SEK perform SAC by CAM cards and television equipment and established
Agreement produces, and is the temporary key that both sides share.
In the embodiment of the present invention, default internal memory can be that the CAM cards that are used to store set in advance in television equipment interact
The memory space of resource.
Television equipment control CAM cards are in power supply state all the time, that is, refer to that television equipment after off-mode, does not interrupt
The power supply of CAM cards so that the state of CAM cards is constant.
In this way, the mutual resource of one side television equipment caching CAM cards, another aspect CAM cards are in power supply state all the time,
So as in television equipment and CAM card work, multiple resource methods between television equipment and CAM cards can normal work, keep away
Exempt from the situation that triggering re-executes SAC.
Further, after television equipment receives shutdown command, sleep request can be sent to the CAM cards, and receiving
After the dormancy sent to CAM cards according to the sleep request responds, control CAM cards enter resting state.In this way, pass through control
CAM cards enter resting state, can reduce the power consumption of CAM cards, extend CAM service lifes.
Specifically, CAM cards can be by adding dormancy instruction come real into resting state in CI+ communication standard
It is existing.For example, as shown in table 1, it is the instruction example in existing CI+ communication standards.On the basis of table 1, such as the institute of table 2
Show, increase dormancy can refer in condition managing order (Application Protocol Data Unit Tag, APDU Tag)
Order, including sleep request instruction (i.e. standby_notice) and dormancy response instruction (i.e. standby_ok).In this way, TV is set
It is standby to send standby_notice after shutdown command is received to CAM cards and instruct, the content of specific sleep request order
As shown in table 3;After CAM cards receive standby_notice instructions, however, it is determined that oneself state meets the requirement of dormancy instruction, then
Standby_ok instructions are sent to television equipment, the content of specific dormancy response command is as shown in table 4.Wherein, CAM cards can pass through
Current state code is inquired about to judge that oneself state meets the requirement of dormancy instruction, as shown in table 5, is shown for one kind of current state code
Example, if CAM cards are in running order (such as Work mode), the current state code Current_status=0 got, table
The states of bright CAM now do not meet the requirement of dormancy instruction;If CAM cards are in off working state (such as Sleep mode), obtain
The current state code Current_status=1 got, show that the states of CAM now meet the requirement of dormancy instruction.
Table 1:The instruction example of existing CI+ communication standards
Table 2:A kind of example of dormancy instruction
APDU Tag |
Tag value |
Host |
CICAM |
standby_notice |
9F 80 2A |
|
→ |
standby_ok |
9F 80 2B |
← |
|
Table 3:A kind of example of the content of sleep request order
Table 4:A kind of example of the content of dormancy response command
Table 5:A kind of example of current state code
Current_status |
Description |
0 |
Work mode |
1 |
Sleep mode |
2~7 |
Reserved for future use |
Further, after television equipment receives shutdown command, the mutual resource of CAM cards is cached in default internal memory
Before, in addition to:Shielding CI is interrupted and is closed CI interfaces, so as to effectively avoid television equipment from being provided during switching on and shutting down
The problem of source conflict, abuse, it is ensured that television equipment switching on and shutting down process being capable of normal operation.
Fig. 2 illustrates television equipment in the embodiment of the present invention and, using the standby schematic flow sheet of STR modes, wrapped
Include:
Step 201, television equipment shielding CI is interrupted.
Step 202, television equipment closes CI interfaces.
Step 203, the mutual resource of CAM cards is cached in default internal memory by television equipment.
Step 204, television equipment control CAM cards are in power supply state all the time.
It should be noted that the application is not specifically limited to the sequencing of each step, for example, above-mentioned steps 203
With in step 204, television equipment can also first keep CAM cards to power, then cache CAM card mutual resources;Television equipment can be with
While CAM card mutual resources are cached, the power supply of CAM cards is kept.
Content based on foregoing description, it is standby using STR modes that Fig. 3 illustrates television equipment in the prior art
Schematic flow sheet, as shown in figure 3, comprising the following steps.
Step 301, television equipment shielding CI is interrupted.
Step 302, television equipment closes CI interfaces.
Step 303, television equipment closes the mutual resource of CAM cards.
Step 304, television equipment control CAM cards power-off.
It is can be seen that according to Fig. 2 and Fig. 3 in the embodiment of the present invention, television equipment stores the interaction money of CAM cards in shutdown
Source, and control CAM cards to be in power supply state all the time, in television equipment and CAM card work, between television equipment and CAM cards
Multiple resource methods can normal work, avoid triggering from re-executing SAC situation, accelerate the broadcasting speed of scrambled program.
In step 102, after television equipment receives start-up command, CI interfaces are initialized first, and open CI interruptions, secondly
The mutual resource of the CAM cards is obtained from default internal memory, is then synchronized according to CAM cards mutual resource and the CAM cards,
Then Program Map Table is sent to CAM cards, and scrambled code stream is imported into the CAM cards, scrambled and save so as to normal play
Mesh.Fig. 4 illustrates the schematic flow sheet that television equipment starts in use STR modes in the embodiment of the present invention, such as Fig. 4 institutes
Show, comprise the following steps:
Step 401, television equipment initialization CI interfaces.
Step 402, television equipment is opened CI and interrupted.
Step 403, television equipment obtains the mutual resource of CAM cards from default internal memory.
Specifically, in the embodiment of the present invention, television equipment is obtained in above-mentioned steps 203, and television equipment delays in shutdown
The CAM card mutual resources deposited.
Step 404, television equipment is synchronous with CAM cards progress CCK.
Specifically, the CAM card mutual resources got according to television equipment in above-mentioned steps 403, i.e. television equipment exist
After getting SAK and SEK, you can carry out the synchronous of content-control ciphering key CK with CAM cards according to SAK and SEK, that is to say, that
CCK is sent to television equipment by CAM cards by SAC.
Step 405, television equipment judges whether to take Program Map Table (Program Map Table, PMT), if so, then
Step 206 is performed, if it is not, then return to step 204.
Step 406, television equipment sends CAPMT to CAM cards, and transport stream (Transport Stream, TS) is switched
To CAM cards.
Step 407, television equipment normal play program.
Content based on foregoing description, Fig. 5 illustrate what television equipment in the prior art was started using STR modes
Schematic flow sheet, as shown in figure 5, comprising the following steps.
Step 501, television equipment initialization CI interfaces.
Step 502, television equipment is opened CI and interrupted.
Step 503, television equipment reads the CIS of CAM cards.
Step 504, television equipment sends user profile to CAM cards.
Step 505, television equipment is according to the multiple resource of response creation of the CAM cards received.
Step 506, television equipment is authenticated with CAM cards.
Step 507, television equipment with CAM cards repeatedly interact to determine the keys such as AKH, SAK, SEK.
Step 508, television equipment is synchronous with CAM cards progress CCK.
Step 509, television equipment judges whether to take Program Map Table (Program Map Table, PMT), if so, then
Step 510 is performed, if it is not, then return to step 508.
Step 510, television equipment sends CAPMT to CAM cards, and TS is switched into CAM cards.
Step 511, television equipment normal play program.
It is can be seen that according to Fig. 4 and Fig. 5 in the embodiment of the present invention, television equipment is stored by obtaining when shutting down last time
CAM cards mutual resource (i.e. step 503 is to step 507) in Fig. 5 so that each resource can with CAM card proper communications,
So as to accelerate the synchronizing speed of television equipment and CAM cards, shorten STR and start the time.
Based on inventive concept, the embodiment of the present invention also provides a kind of television equipment, and Fig. 6 illustrates this hair simultaneously
The structural representation for a kind of television equipment that bright embodiment provides, as shown in fig. 6, the television equipment 600 includes Transmit-Receive Unit
601st, processing unit 602, broadcast unit 603;Wherein,
Transmit-Receive Unit 601, for receiving shutdown command or start-up command;
Processing unit 602, for after the Transmit-Receive Unit receives shutdown command, the mutual resource of CAM cards to be cached
Into default internal memory, and the CAM cards are controlled to be in power supply state all the time;And receive start in the Transmit-Receive Unit and refer to
After order, the mutual resource of the CAM cards is obtained from default internal memory;
Broadcast unit 603, for according to the CAM cards mutual resource, after being synchronized with the CAM cards, playing scrambling
Program.
Alternatively, the Transmit-Receive Unit 601 is additionally operable to after shutdown command is received:Sending dormancy to the CAM cards please
Ask;And receive the dormancy that the CAM cards are sent according to the sleep request and respond;
The processing unit 602, it is additionally operable to control the CAM cards to enter resting state.
Alternatively, after the Transmit-Receive Unit 601 receives shutdown command, the processing unit 602 is by the friendship of CAM cards
Before mutual caching resource is into default internal memory, the processing unit 602 is additionally operable to:
Shield CI to interrupt, and close CI interfaces;
After the Transmit-Receive Unit receives start-up command, described in the processing unit 602 obtains from default internal memory
Before the mutual resource of CAM cards, the processing unit 602 is additionally operable to:
CI interfaces are initialized, and open CI interruptions.
Alternatively, before the broadcast unit 603 plays scrambled program, the Transmit-Receive Unit 601 is additionally operable to:
Program Map Table is sent to the CAM cards, and transport stream TS is imported into the CAM cards.
Alternatively, the mutual resource of the CAM cards includes creating between CIS, CAM card and television equipment of the CAM cards
Various key informations between multiple resource methods, the verification process of CAM cards, CAM cards and television equipment.
Alternatively, the television equipment also includes set top box, and the CAM cards are provided with the set top box.
In the embodiment of the present invention, after television equipment receives shutdown command, the mutual resource of CAM cards is cached to default internal memory
In, and control the CAM cards to be in power supply state all the time, can be from pre- so that after television equipment receives start-up command
If obtaining the mutual resource of the CAM cards in internal memory, and according to the CAM cards mutual resource, synchronized with the CAM cards
Afterwards, scrambled program is played.In the present invention, after television equipment receives shutdown command, television equipment controls the CAM cards to locate all the time
In power supply state, so as to which in television equipment and CAM card work, multiple resource methods between television equipment and CAM cards can
Normal work, triggering is avoided to re-execute SAC situation;, can be according to getting after television equipment receives start-up command
The mutual resource for the CAM cards that last time caches when shutting down synchronizes with CAM cards, and it is synchronous with CAM cards effectively to accelerate television equipment
Speed, and then STR can be shortened and start the time, the reproduction time of scrambled program is reduced, to meet need of the user to quick turn-on
Ask.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.