Background technology
TV programme supplier is in order to ensure the rights and interests of oneself, it will usually by the content scrambling of pay television channel
(scrambling), and only the key information needed for descrambling program is supplied to the user of charges paid.The electricity of different regions
Different type, different degrees of scrambling mechanism may be adopted depending on program provider.The numerical digit video being widely adopted at present is wide
Broadcast-scramble jointly algorithm (digital video broadcasting common scrambling algorithm, DVB-
CSA two bits must be provided with the shelves head of each image block of specification), the presentation content contained to indicate this image block
Whether have it is scrambled, should with which group key descrambling.
In order to strengthen degree of protection, the TV dealer of certain areas can be used alternatingly several keys to scramble image block,
For example set previous hundred image blocks in same video streaming to descramble with the first key, 100 image blocks thereafter
Change and descrambled with the second key, 100 subsequent image blocks change again with the first key descrambling, so go round and begin again.In this feelings
Under condition, the first key and the second key can be supplied to user (can be stored in receiving terminal by TV programme supplier in advance
In memorizer), and receiving terminal must select correct according to the shelves head content of each image block immediately when descrambling program is carried out
Key.
In order to reduce cost of manufacture and stock control difficulty, same chip is distinguished by maker sometimes that descramble chip
Two areas for adopting different scrambling mechanism are sold to, rather than different chips are each manufactured for two areas.For example,
Assume that the TV dealer in A areas is to scramble all of image block with single key, the TV dealer in B areas be adopt replace with
The scheme of two groups of key scramblings, then descramble chip and be designed to:Can alternately be descrambled with two groups of keys (meet B areas demand),
Part function can also be closed, only descrambled (meet A areas demand) with single key.
Current chip maker is with the descrambling mechanism (example of software set chip mostly before shipment according to shipment area
The part function of descrambling chip by be sold to A area is closed with software such as).Considered based on market, chip maker will descramble
Chip sale to the price in A areas is will be generally less than the price of same chip sale to B areas.Once however, in chip
It is cracked to the software for setting descrambling pattern, changes (for example open the function being originally set to off by chip maker),
The predetermined descrambling chip are sold to by A areas just may be transported to B areas and use, and cause the huge damage of chip maker
Lose.
The content of the invention
The present invention proposes a kind of new descrambler and the television system using the descrambler.Can single journey by utilizing
Formula but can not subsequently change the electrical fuse (e-fuse) or single programmable read only memory (one of state
Timeprogrammable read only memory, OTP-ROM), descrambler of the invention can be prevented effectively from aforementioned
Chip dispatch from the factory after by the problem of malicious modification.
A specific embodiment of the invention is a kind of descrambler, wherein can compile comprising a descrambling module and a single
Journey module.The descrambling module is an input traffic to be descrambled.When the one-time programmable module is in a first state, the solution
Disturb module and the input traffic is descrambled with a first mode.When the one-time programmable module is in different from the first state
Second state, the descrambling module descramble the input traffic with a second mode.
Another specific embodiment of the invention is a kind of television system, wherein comprising a descrambling module, a single can
Programming module and a playing module.The descrambling module to by an input video stream descramble, to produce an outputting video streams.When this
One-time programmable module is in a first state, and the descrambling module descrambles the input video stream with a first mode.When the single
Programmable module descrambles the input with a second mode and regards in one second state different from the first state, the descrambling module
Frequency flows.The playing module is to play the picture produced according to the outputting video streams.
Can be further understood by following detailed description and accompanying drawings with regard to the advantages and spirit of the present invention.
Specific embodiment
A specific embodiment of the invention is the descrambler 100 shown in Fig. 1, wherein comprising descrambling module 11 and list
Secondary programmable (one time programmable) module 12.In actual applications, descrambler 100 can be incorporated into various
In having the electronic installation (such as box in television system or television set) of descrambling demand, can also be individually present.
Descrambling module 11 with various descrambling patterns an input traffic to be descrambled, and according to single programmable mould
The Determines of block 12 should descramble the input traffic with which kind of pattern.For example, descrambling module 11 be able to can be compiled according to single
Whether the Determines of journey module 12 should carry out descrambling program, receptible key quantity, which should adopt in its descrambling program
One group of key, or should be using which kind of descrambling algorithm.It should be noted that, it is many that one-time programmable module 12 is designed to presence
State probability is planted, but following examples mainly have two states probability (first state/the with one-time programmable module 12
Two-state) in case of.When one-time programmable module 12 is in first state, it is defeated that descrambling module 11 descrambles this in the first pattern
Enter data flow.When one-time programmable module 12 is in the second state, descrambling module 11 descrambles the input traffic in a second mode.
In practice, one-time programmable module 12 can be an electrical fuse (e-fuse).It is when the electrical fuse is to turn on, single
Secondary programmable module 12 is in first state.When the electrical fuse is to break, one-time programmable module 12 is in the second state.
Or, one-time programmable module 12 can also be a single programmable read only memory (OTP-ROM).When the single programmable it is read-only
When a descrambling region in memorizer is loaded with first content (such as numerical value A), the one-time programmable module is in first state.When
When the descrambling region is loaded with the second content (such as different from the numerical value B of numerical value A) different from first content, the single programmable
Module is in the second state.
The maker of descrambler 100 can be before shipment according to the actual requirements (such as the descrambling mechanism that shipment area adopts)
One-time programmable module 12 is set as first state or the second state by decision.If one-time programmable module 12 is molten for electronics
Silk, maker can melt by burning or retain the electrical fuse to select the state of one-time programmable module 12.If single programmable
Module 12 is single programmable read only memory, and maker can descramble region by which and write different contents select single
The state of programmable module 12.
Fig. 2 presents a kind of block chart of enforcement example of descrambling module 11.Descrambling module 11 in this example includes the
One buffer 11A, the second buffer 11B, select unit 11C and Descrambling unit 11D.First is stored in first buffer 11A
Key, is then to store the second key in the second buffer 11B.The input traffic includes multiple blocks, and each block is each
Comprising one grade of head corresponding to one first key or one second key.If the shelves head of a block corresponds to the first key, representing should
Block should be descrambled with the first key;If the shelves head of a block corresponds to the second key, represent that the block should be descrambled with the second key.
Select unit 11C is determined according to the shelves head of the state and each block of one-time programmable module 12 should be from the first buffer
11A captures the first key or captures the second key from the second buffer 11B, as the selection knot provided to Descrambling unit 11D
Really.Descrambling unit 11D can descramble the input traffic according to the selection result.If select unit 11C judges single programmable mould
Block 12 will capture the first corresponding gold medal according to the shelves head of each block in first state (such as the electrical fuse is conducting)
Key or the second key are as the selection result.Relatively, if select unit 11C judges that one-time programmable module 12 is in the second shape
State (such as electrical fuse is open circuit by scorification), will fix the first key of acquisition as the selection result, or provide one
Prearranged signalss are as the selection result.
From the above, if maker is scheduled to descrambler 100 and is sold to two groups of keys alternating scrambling input traffics
Area, just one-time programmable module 12 can be set as into first state before shipment, make select unit 11C possess according to block
Shelves head selects the function of key.If maker is scheduled to descrambler 100 being sold to single key scrambling input traffic
One-time programmable module 12 just before shipment can be set as the second state, and make select unit 11C fix capturing first by area
Key alternatively result.Or, if maker be scheduled to descrambler 100 be sold to input traffic will not be imposed it is any
One-time programmable module 12 just before shipment can be set as the second state, and make select unit 11C provide one by the area of scrambling
Forbidden energy semaphore request Descrambling unit 11D stops its descrambling program.
In the above-mentioned case, Descrambling unit 11D can be changed through the state for setting one-time programmable module 12 receptible
Key quantity.More broadly, descrambling module 11 is designed in first mode to descramble input data according to N groups key
Stream, can descramble the input traffic according to M group keys in second mode, and N and M is respectively a natural number, and N is not equal to M.Yu Qi
In his embodiment, multiple states of one-time programmable module 12 are designed to corresponding to different keys or different descramblings
Algorithm.
Electrical fuse is just hardly possible after being melted by burning to be automatically reconnected again as conducting.Similarly, single programmable is read-only
The edited rewriting of cannot erasing again of memorizer.The key property of one-time programmable module provided in an embodiment of the present invention is
Its state subsequently can not be changed again, that is, is irreversible after its state was set Jing first time.With the descrambler shown in Fig. 2
As a example by 100, if one-time programmable module therein 12 is set to the second state, just cannot be responded again as first state.Phase
The setting software that is cracked is easier to compared with adopting, the maker of descrambler 100 more effectively can avoid being sold to one regional
The problem converted to the higher area of another chip price of low price chip.
Another specific embodiment of the invention is television system 300 as shown in Figure 3, wherein comprising descrambling module
31st, one-time programmable module 32 and playing module 33.Descrambling module 31 to by an input video stream descramble, to produce an output
Video flowing.When one-time programmable module 32 is in a first state, descrambling module 31 descrambles the input video with a first mode
Stream.When one-time programmable module 32 is in one second state different from the first state, descrambling module 31 is with a second mode
Descramble the input video stream.Playing module 33 is to play the picture produced according to the outputting video streams.
The various change for previously describing when descrambler 100 is introduced be (such as one-time programmable module and descrambling module
Detailed embodiment) all can be using into the television system 300 depicted in Fig. 3, its details is repeated no more.
As described above, the embodiment of the present invention proposes a kind of new descrambler and the television system using the descrambler.
By utilize can single it is stylized but can not subsequently change the electrical fuse or single programmable read only memory of state, according to this
The descrambler of inventive embodiments can be prevented effectively from after aforementioned chip dispatches from the factory by the problem of malicious modification.
By the above detailed description of preferred embodiments, it would be desirable to more clearly describe the feature and spirit of the present invention, and
Not with above-mentioned disclosed preferred embodiment being any limitation as to scope of the invention.On the contrary, its objective is to wish
Being arranged in the category of the be intended to the scope of the claims applied of the present invention for various changes and tool equality can be covered.