CN103702173B - System of encrypting and controlling digital television recorded program segments - Google Patents
System of encrypting and controlling digital television recorded program segments Download PDFInfo
- Publication number
- CN103702173B CN103702173B CN201410002130.9A CN201410002130A CN103702173B CN 103702173 B CN103702173 B CN 103702173B CN 201410002130 A CN201410002130 A CN 201410002130A CN 103702173 B CN103702173 B CN 103702173B
- Authority
- CN
- China
- Prior art keywords
- program
- stream
- ecm
- time
- terminal
- 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.)
- Active
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a system of encrypting and controlling digital television recorded program segments. The system comprises a front end and a terminal, wherein the front end comprises a scrambler, a control word generator, a business secret key generator, an NTP (Network Time Protocol) server, an ECM (Entitlement Control Messages) server, an EMM (Entitlement Management Messages) generator and a multiplexer. The invention provides a system of differentiating live program and recorded program segments in digital television terminal equipment according to a timestamp comparison method, and a reinvesting way is realized for the program segments recorded through using the terminal by a user and the program segments pushed to the user terminal by the front end.
Description
Technical field
The present invention relates to digital TV field and in particular to digital television recording program fragment implement encryption and control
System.
Background technology
In digital TV field, the user that program stream is encrypted, ensures with only legal authorization just can watch program
It is the basic demand to digital television system for the operator.If not accomplishing this point, the fortune of Hui Shi digital TV network operator
The copyright revenue of business revenue benefit and program source supplier all incurs loss, and does not also utilize the management of digital TV field.
Live digital television program is typically all to add through digital TV front-end condition receiving system and scrambling device in advance
Close, terminal set top box is decrypted and is drawn descrambling key using smart card or built-in deciphering circuit, with key and built-in
Descrambling hardware is descrambled to program stream to obtain transparent flow, then decoding viewing.Rapidly sending out with semiconductor integrated circuit
Exhibition, digital TV terminal receives the decode equipment (usually Set Top Box) and all has been equipped with external high speed, Large Copacity and removable
The interface of dynamic storage device.This allow digital television terminal user by the fragment of oneself digital television program interested and
Its guide information carries out Record and Save to local memory device in living broadcast of programs, carry out repeatedly later repeatedly, point on demand
Broadcast and watch.The program being recorded due to these is often excellent, stylish or high value program, if therefore enabling one
The mechanism of kind, allows terminal use again when locally watching these program fragments, the programme televised live product bag belonging in these programs
Expense (user has paid in advance, but user can only enjoy the service of live form) outside it is necessary to operator again
If paying the license fee of certain number, it will bring objective extra returns to operator, to protect operator and program
The legitimate rights and interests of supplier.
Realize such demand, have several technical problems to need to solve.First, because data storage file fragment and former
The programme televised live stream beginning does not have any difference in itself, and the deciphering of terminal set top box, descrambling section cannot touch the section of standard
System time information included in mesh relevant information, therefore, in information process, it is desirable to have a kind of other mechanism is come
Digital television program handled by differentiation is programme televised live, or prior Record and Save is to the program piece of movable memory equipment
Section.Second, current digital TV network is generally unidirectional broadcast network, digital subscriber play these program fragments when it is impossible to
Interact with the charge system of operator front end and deducted fees with the account to user, hence for recording program fragment again
Control and the realization of viewing charge brings difficulty.
Content of the invention
System that the present invention proposes a kind of novelty, implementing encryption to digital television recording program fragment and control, should
System does not need digital-TV operator to increase any extra encryption hardware in traditional digital TV encryption system-based,
Also without the bidirectional rebuilding that its network is carried out with costliness, you can complete digital cable customers are watched being recorded to local program
The behavior of fragment is implemented to control and is charged, and creates bar for carrying out the business such as propelling movement type video request program, individual video video recording (pvr)
Part.It is recording that the present invention mainly employs a kind of method program of receiving and process judging of the timestamp comparation of uniqueness
Program fragment or programme televised live, and play this by the use of the note of mobile communications network or mobile cellular data as user's request
The up channel of program request is recorded on ground, watches that behavior authorizes with digital television broadcasting channel to local program fragment.
For solving above-mentioned technical problem, the present invention employs the following technical solutions:
A kind of system implemented encryption to digital television recording program fragment and control, described system includes front end and end
End, described front end includes scrambler, control word generator, business cipher key generator, ntp server, ecm generator, emm send out
Raw device and multiplexer;Wherein, described scrambler is scrambled in the presence of control word;Described control word generator is random
Produce scrambled control word, and ensure scrambled control word periodically;Described ntp server obtains accurate according to external clock reference
The real-time system time, periodically generation time stamp information is to ecm generator and emm generator;Described ecm generator will
The real-time time stamp that ntp server transmits is packaged, and under the effect of business cipher key, control word generator generation is added
Disturb control word to be encrypted, then by the including but not limited to timestamp after encapsulation, the control word after encryption, business cipher key, section
Mesh id composition ecm stream, sends into multiplexer and is multiplexed;The real-time time that ntp server transmits is stabbed by described emm generator,
And the program fragment authorized order that charge system transmits is packaged, generation emm flows and sends into multiplexer and is multiplexed;Scrambling
Digital television program stream afterwards and ecm stream can be directly fed to multiplexer and is multiplexed, and described multiplexer enters to various code streams
Row multiplexing, produces transport stream, is then passed to digital television transmission and is transmitted
Preferably, described front end also includes time shift storage system and pusher;Described ecm bag stores through time shift
After system storage, then carry out high-speed pushing, the code stream of high-speed pushing is issued multiplexer and is multiplexed.
Preferably, described terminal includes demultiplexing module, live TV stream recording and storing module, removable memory, emm
Processing module, ecm processing module, descrambler and decoder and push stream receive memory module.Described demultiplexing module connects
Receive the transport stream transmitting from transmission channel demodulation module, therefrom parse including but not limited to: for live digital television program,
Including the digital TV direct program elementary streams of scrambling, ecm stream, emm stream;For the program stream of high-speed pushing, then include scrambling
Digital television program elementary streams, and its comprise ecm stream, but its push speed be significantly larger than program original play speed
Degree;Live scrambled program stream and its corresponding ecm stream are recorded to removable Storage by described live TV stream recording and storing module
Device;Receive memory module if there are pushing stream, then push stream and receive memory module and be responsible for the program stream of high-speed pushing and its right
The ecm stream answered is recorded to removable memory.After the storage completing certain program fragment, described demultiplexing module and live
Stream recording and storing module all should be records the program fragment unique id of generation completing;This id contains recording program fragment and is located
The id of original program, the time started (time that first timestamp parses from program ecm information flow) and at the end of
Between the information such as (time that last timestamp parses from program ecm information flow), sequence number of terminal.Described
The emm stream that emm processing module receiving front-end transmits in real time and comes, therefrom parses the current real-time system time, and may
The program fragment authorized order existing, and these information are immediately passed to ecm processing module;Described ecm processing module from
Business cipher key and Pgmtime (this Pgmtime is more early than the real-time system time) is parsed in ecm stream;Using business cipher key pair
Parse scrambled control word in ecm stream, and give descrambler by this control word in the case of securing permission, completed by descrambler
Descrambling to scrambled program stream;Described decoder then completes the decoding to the transparent program stream having descrambled, and generates user
The audio-video signal that may be viewed by.
Preferably, described emm processing module includes resolution unit, decryption unit and control unit, at described ecm
The control unit of reason module receives real-time system temporal information and the program fragment authorized order that emm processing module transmits, and root
According to the situation work controlling decryption unit (as described below);The decryption unit of ecm processing module under the control of the control unit,
Parse scrambled control word using business cipher key in ecm stream, and give descrambling by this control word in the case of securing permission
Device, completes the descrambling to scrambled program stream by descrambler.
Preferably, when user selects to play the program being saved in removable memory, the ecm information flow quilt of preservation
Give ecm processing module to be processed, the scrambled program stream of preservation is fed to descrambler and is descrambled (in acquisition front end to this section
In the case of mesh fragment play authorization).During due to playing live ciphered program, its ecm equally also will give ecm processing module
Process, therefore, described ecm processing module needs to judge whether the program play is the prior program recorded or receive
Fragment;If it is determined that when the program that request is play is former recorded program, control unit judges whether user has permission broadcasting again
This program fragment;
If it is determined that the program fragment that user's request is play possesses legal authorization, terminal proceeds as follows:
1. control unit starts the deciphering of decryption unit;
2. the encryption cw bag that decryption unit is parsed from ecm using resolution unit, parses from ecm stream in resolution unit
Under the control of business cipher key out, decrypt cw, and this cw is given descrambler;
3. descrambler is then reduced into transparent flow, transparent flow quilt using this cw to the audio, video data descrambling of scrambled program fragment
Give decoder to be decoded, be shown to user's viewing;
If the authorization type 4. obtaining is the mandate based on broadcasting time, control unit needs to the authorization message preserving
Safeguarded, that is, in nonvolatile memory, subtract 1 to " remaining permission broadcasting time " counting of this program fragment
Operation.
If it is determined that the program fragment that user's request is play does not possess legal authorization, then after terminal needs to wait and authorizes acquisition
Could play.
Preferably, in the case that terminal device is only supported broadcast signal reception, do not supported two-way interaction channel, can use
Smart mobile phone, sends mandate with note or mobile cellular data communication mode forward end charge system and obtains request;This mobile phone
Number bound with terminal serial number by the Subscriber Management System of operator in advance;And obtain the concrete step of program fragment mandate
Suddenly as follows:
1) in the user interface of terminal, show that needs obtain the id of the program fragment authorizing in the form of text, and obtain
This expense required for program mandate;
2) pass through user mobile phone, the destination Mobile Station International ISDN Number that forward end charge system provides in advance sends authorization request message, and this disappears
Breath contains program id(and notes wherein comprising terminal serial number), authorization type (include by sub-authorization and authorize two classes by the period,
Allow user unrestrictedly to play certain program fragment within certain period by sub-authorization, allow user within certain time period by period means
No certain program fragment is play on number of times restriction ground) and authorization parameter (allowing broadcasting time or pressing permitting of period mandate by sub-authorization
Permitted to play the period);
3) charge system receives this message, completes user account is withholdd according to the authorization type of request, immediately forward
The emm generator at end sends user's program fragment authorization message bag, and this packet comprises information and the end that program fragment id(comprises
The program fragment id that end produces is consistent), authorization type, and the details (start-stop that permission play related to authorization type
Time or broadcasting time etc.);
4) after terminal emm processing module receives program fragment authorized order, mandate that will mate with this terminal serial number
It is saved in the nonvolatile memory of terminal, unmatched mandate will be dropped with this terminal serial number;
5) if the authorization type obtaining is the mandate based on broadcasting time, also will be for this program fragment mandate initialization
One broadcasting time counts, and its initial value is the permission broadcasting time in authorizing, this counting preserve in the nonvolatile memory,
When user plays this program fragment from now on, safeguarded by control unit.During 2. 1. the walk, user mobile phone needs to be sent to
The content of the authorization request message of front end, except being manually entered into mobile phone according to the prompting of terminal interface and sent manually by user
Outside it is also possible to automatically being obtained from terminal and sent by an application program running on user mobile phone;Take latter
During mode, can be connected using the wireless mode such as wifi, bluetooth before user mobile phone and terminal, or wired company is realized by serial ports
Connect (can be according to the Bu Tong flexibly selection of user terminal and the accuracy of mobile phone situation).
Terminal Control Element is often receiving one after the system time that emm processing unit receives, that is, should be to preservation
Carry out single pass in local all mandates by the period, and this class authorities all that the broadcasting period has been crossed deleted,
Do so can reduce the quantity of the authorization message that terminal needs to preserve, and improves response speed when playing program fragment.
Preferably, whether the program that described judgement is being play is the concrete of the prior program fragment recorded or receive
Method is: the control unit of ecm processing module will be from emm processing module, and the real-time time receiving solves with from program ecm stream
The Pgmtime separating out is compared, if the two is identical or difference is less than 10 seconds, shows that user's request descrambling is play
Program be real-time live broadcast program;If Pgmtime is early than system time, show that the program that user's request descrambling is play is
Recorded program in the past;If Pgmtime is later than system time, show to occur in that logic error.
Preferably, described is meeting following condition for the moment, that is, think that user has the right to play this program fragment: 1.
Through receiving the mandate based on broadcasting time for this program fragment, and remaining broadcasting time is more than 0;2. received pin
To this program fragment by the mandate playing time period, and the real-time system time obtaining from emm module is in program and is authorized to
Allow in the time period of viewing.
Compared with prior art, the invention has the beneficial effects as follows:
Propose a kind of method in digital-television terminal equipment according to timestamp comparation and distinguish programme televised live and recording
The system of program fragment is it is achieved that a kind of be pushed to user terminal to user's using terminal recorded program fragment with by front end
Program fragment carries out authorization again, and this system can send mandate by the note of mobile communications network or cellular data please
Ask, sent by digital television broadcasting and authorize so that digital-TV operator does not need network is carried out with the premise of bidirectional rebuilding
Under, convenient management is it is also possible to carry out recording program request or the propelling movement type order program service that can obtain reliable and stable income.
Brief description
Fig. 1 is the system block diagram of the present invention;
Fig. 2 is application implementation figure of the present invention.
Specific embodiment
Described live TV stream memory module is the data storage module of Set Top Box pvr function, pushes stream and receives storage
Module is the data storage module of Set Top Box pushvod function.The present invention is further elaborated below in conjunction with the accompanying drawings.
In the present invention: ntp is NTP;Ecm is authorization control message;Emm is entitlement management message; cw
For scrambled control word;
The system is made up of front end and terminal two large divisions, referring to accompanying drawing 1.Terminal part includes demultiplexing module, live
Stream recording and storing module, removable memory, emm processing module, ecm processing module, descrambler and decoder, and optionally
Push stream and receive memory module.Wherein ecm processing module is divided into resolution unit, decryption unit and control unit again.
2nd, system realizes principle
In front end: transparent digital television program stream (including video and audio frequency) is entered in the presence of control word with scrambler
Row scrambling, this scrambler can adopt the algorithm of the standards such as dvb-csa;Control word generator randomly generates scrambled control word (cw),
And ensure cw periodically (generally 10~60 seconds update cycle) change.Ntp(NTP) server according to outside when
Zhong Yuan obtains the accurate real-time system time, and periodically generation time stamp information is to ecm generator and emm generator (cycle
Generally 1~5 second).Ecm(Entitlement Control Message) the generator real-time time stamp that transmits ntp server is packaged, in industry
Business key effect under to control word generator produce scrambled control word be encrypted, then by encapsulation after timestamp,
Control word after encryption, business cipher key and other necessary information (such as program id) form ecm bag, send into multiplexer and carry out
Multiplexing.Emm(Entitlement Management Message) real-time time that ntp server transmits is stabbed by generator, and the section that charge system transmits
Mesh fragment authorized order is packaged, and generates emm and sends into multiplexer and be multiplexed.Digital television program stream after scrambling and
Ecm stream can be directly fed to multiplexer and is multiplexed it is also possible to after time shift storage system stores, then carry out high-speed pushing
(push code check and can be significantly larger than the code check that original program broadcasts in real time), the code stream of high-speed pushing is also issued multiplexer and is carried out again
With.Multiplexer is used for the digital television program elementary streams after scrambling, ecm, emm, the height that time shift storage and pushing module transmit
Speed pushes code stream and other bit streams (such as program psi/si information) etc. and is multiplexed, and produces transport stream, is then passed to count
Word television transmission network is transmitted.
In terminal: the transport stream that demultiplexing module reception is transmitted from transmission channel demodulation module, therefrom parse scrambling
Digital TV direct program stream, ecm stream, emm stream, and the program stream (and its original program ecm comprising) of high-speed pushing, with
And other necessary information flows (such as program psi/si information).Live TV stream recording and storing module by live scrambled program stream and
Its corresponding ecm stream is recorded to removable memory.Push stream receive memory module be responsible for the program stream of high-speed pushing and its
Corresponding ecm stream is recorded to removable memory.The data that live TV stream recording and storing module is Set Top Box pvr function preserves mould
Block, pushes stream and receives the data storage module that memory module is Set Top Box pushvod function.Complete depositing of certain program fragment
Chu Hou, they should be and record the program fragment unique id of generation completing, and this id contains and records the former of program fragment place
The id of beginning program, time started (time that first timestamp parses from program ecm information flow) and end time (from
The time that in program ecm information flow, last timestamp parses), the information such as the sequence number of terminal.Emm processing module connects
The emm stream received front end transmission in real time and come, therefrom parses the current real-time system time, and program fragment that may be present
Authorized order, and these information are immediately passed to ecm processing module.The resolution unit of ecm processing module parses from ecm stream
Go out business cipher key and Pgmtime (this Pgmtime is more early than the real-time system time).The control unit of ecm processing module receives
Real-time system temporal information and program fragment authorized order that emm processing unit transmits, and according to circumstances control (as described below)
The work of decryption unit.The decryption unit of ecm processing module under the control of the control unit, is flowed to ecm using business cipher key
In parse scrambled control word, and in the case of securing permission, this control word is given descrambler, is completed to scrambling by the latter
The descrambling of program stream.Decoder then completes the decoding to the transparent program stream having descrambled, and the sound that generation user may be viewed by regards
Frequency signal.
When user selects to play the program being saved in removable memory, the ecm information flow of preservation is fed at ecm
Reason module is processed, and the scrambled program stream of preservation is fed to descrambler and is descrambled (to be broadcast to this program fragment obtaining front end
In the case of putting mandate).During due to playing live ciphered program, its ecm equally also will give ecm processing module to process, because
This, ecm processing module needs to judge whether the program play is the prior program fragment recorded or receive, method is as follows:
Control unit will be carried out with the Pgmtime parsing from program ecm stream from the real-time time that emm processing unit receives
Relatively, if the two identical or difference very little (less than 10 seconds), show that the program that user's request descrambling is play is straight in real time
Broadcast program;If Pgmtime is early than system time, show that user's request descrambles recorded program before the program play is;
If Pgmtime is later than system time, show to occur in that (such as, the time of front end ntp server goes out certain logic error
Show problem).
When the program that decision request is play is to record program fragment, control unit first judges whether user has permission broadcasting
This program fragment.Meeting following condition for the moment, that is, thinking that user has the right to play this program fragment: 1. received and be directed to
The mandate based on broadcasting time of this program fragment, and remaining broadcasting time is more than 0;2. received and be directed to this program fragment
By the mandate playing time period, and from the real-time system time that emm module obtains be in program be authorized to allow viewing when
Between in section.
In the case of judging that the program fragment that user's request is play possesses legal authorization, terminal proceeds as follows: 1.
Control unit starts the deciphering of decryption unit;2. the encryption cw bag that decryption unit is parsed from ecm stream using resolution unit,
Under the control of the business cipher key that resolution unit parses from ecm stream, decrypt cw, and this cw is given descrambler;
3. descrambler is then reduced into transparent flow using this cw to the audio, video data descrambling of scrambled program fragment, and transparent flow is fed to decoding
Device is decoded, and is shown to user's viewing;If the authorization type 4. obtaining is the mandate based on broadcasting time, control unit needs
Will to preserve authorization message safeguard, that is, in nonvolatile memory, to this program fragment " residue allows to broadcast
Put number of times " count and carry out subtracting 1 operation.
If this program fragment not yet obtains mandate, need to wait mandate could play after obtaining.In terminal device
In the case of only supporting broadcast signal reception, not supporting two-way interaction channel, can use smart mobile phone, with note or movement honeybee
Nest data communication mode forward end charge system sends mandate and obtains request.The number of this mobile phone is in advance by the user of operator
Management system is bound with terminal serial number.Obtain program fragment mandate specifically comprises the following steps that the 1. user interface in terminal, with
Textual form display needs to obtain the id of the program fragment authorizing, and obtains this expense required for program mandate;2. pass through
User mobile phone, the destination Mobile Station International ISDN Number that forward end charge system is given in advance sends authorization request message, and this message contains program id
(noting wherein comprising terminal serial number), authorization type (include by sub-authorization and authorize two classes by the period, allow to use by sub-authorization
Certain program fragment is unrestrictedly play at family within certain period, allows user's no number of times within certain time period to broadcast with limiting by period means
Put certain program fragment) and authorization parameter (period is play in the permission authorize by the permission broadcasting time of sub-authorization or by the period);③
Charge system receives this message, completes user account is withholdd according to the authorization type of request, and the emm of forward end occurs immediately
Device sends user's program fragment authorization message bag, and this packet comprises the section that the information that program fragment id(comprises is produced with terminal
Mesh fragment id is consistent), authorization type, and details (beginning and ending time or broadcasting that permission play related to authorization type
Number of times etc.);4. after terminal emm processing module receives program fragment authorized order, mandate that will mate with this terminal serial number
It is saved in the nonvolatile memory of terminal, unmatched mandate will be dropped with this terminal serial number;If 5. obtained
Authorization type is the mandate based on broadcasting time, also will initialize a broadcasting time for this program fragment mandate and count, its
Initial value is the permission broadcasting time in authorizing, and this counting preserves in the nonvolatile memory, plays this program in user from now on
During fragment, carry out safeguarding (described above) by control unit.During 2. 1. the walk, user mobile phone needs to be sent to the mandate of front end
The content of request message, in addition to being manually entered into mobile phone by user according to the prompting of terminal interface and sending manually, also may be used
Automatically obtain from terminal and send with an application program being run on user mobile phone by;When taking latter approach, use
Before family mobile phone and terminal can using the wireless mode such as wifi, bluetooth connect, or wired connection is realized by serial ports (can basis
User terminal Bu Tong flexibly selects with the accuracy of mobile phone situation).
Terminal Control Element is often receiving one after the system time that emm processing unit receives, that is, should be to preservation
Carry out single pass in local all mandates by the period, and this class authorities all that the broadcasting period has been crossed deleted,
Do so can reduce the quantity of the authorization message that terminal needs to preserve, and improves response speed when playing program fragment.
Under come again to have a talk about in detail the present invention concrete application implement (referring to accompanying drawing 2).The fore-end of the present invention can
Used in the headend room of digital TV network, terminal part can be used as one of the smart card embedded software of Set Top Box and its configuration
Module.
Digital TV network front end is typically made up of some headend equipments and front-end software system.Wherein, responsible information source portion
The headend equipment dividing completes the coding to digital television code stream, or connecing to the digital television signal from satellite/upper network
Receive and change.The headend equipment of responsible code stream process part includes scrambling machine and multiplexer, and scrambling machine completes program stream is added
Disturb, its algorithm can be the Common Scrambling Algorithm such as dvb-csa.Multiplexer completes the multiplexing to multi-path digital TV code flow.Ordinary straight
The code stream of broadcast digital television program, after receiver or encoder receive or produce, is given scrambling machine and is scrambled, plus
Program stream after disturbing is given multiplexer and is multiplexed.
For supporting the front end of propelling movement type video request program, real-time or offline program source also first will encoded device
Encoded and given scrambling machine to be scrambled, but the program audio/video flow after scrambling and ecm stream will be first passed through time shift and deposit
Storage system is stored.Time shift storage system is also possible to produce epg and index data base to the program to be pushed of all storages.
The offline program source file of storage then, under the control, scheduling of carrier technologies personnel, (is wrapped by push server as requested
Include the transfer stream file of scrambling audio frequency and video and ecm elementary streams) it is encapsulated into transport stream again, and (significantly larger than program is former at a high speed
Beginning broadcasting speed) be sent to multiplexer, the method that Document encapsulation is adopted can be by supplying system supplier self-defining.Plus
Disturb control word and produced by scrambling the machine cycle.
Encryption system completes following function: 1) produces simultaneously periodic change business cipher key, and will scramble machine according to business cipher key
The control word producing is encrypted.AES can be by encryption system supplier designed, designed.2) according to network time server
The real-time system time message transmitting generates time stamp data.3) business cipher key, the control word of encryption and timestamp etc. will be comprised
The ecm of information spreads to scrambling machine, and passes to multiplexer by the latter.4) record of user is generated according to the instruction that charge system transmits
Program fragment authorization message bag processed;5) the emm stream of timestamp, recording program fragment mandate package informatin and other information will be comprised
Pass to multiplexer.
Terminal set top box needs to have high speed, Large Copacity movable memory equipment, possesses descrambler and integrated recording program
Fragment receives and deciphering software module.It is recorded, and program fragment receives and deciphering software module completes following function: 1) in terminal
Under the control of user, real-time encrypted DTV is recorded, and store removable memory;2) front end high speed is pushed away
The program sending carries out receiving, parses and file splicing, is reduced to original program clip file, and stores removable Storage
Device (corresponding with the method for packing of front end supplying system);3) when user's request watches certain program, judge whether this program is
The program fragment that success is recorded or received;4) it is directed to the playing request of recorded program fragment, whether user to be judged obtains is awarded
Power, if having obtained mandate, being controlled word deciphering, descrambler descrambles, then asking section by user mobile phone without authorizing
Mesh fragment mandate.
The general step of system application is as follows: 1) front end is encrypted transmission to real time programme, or realization is encrypted, offline
The program of storage carries out high-speed pushing transmission;2) user terminal carries out recording and storing to real time programme, or to high-speed pushing
Program is parsed, reduced and is stored;3) user selects to have recorded or received the list of the program fragment of mobile memory, choosing
Select certain program fragment interested and carry out local ordering and watch;4) terminal software judges whether user has the viewing of this program fragment
Authority, if any then this program file being decrypted, descrambling and being watched, if it is not, remind user's program to need request section
Mesh mandate, and the information such as the authorization type of program and expense;5) user selects certain authorization type, and the related ginseng authorizing
Number (broadcasting time or period);6) terminal software is communicated with user mobile phone, and authorization requests information is sent to user mobile phone,
User mobile phone is sent to Short Message Service Gateway or other access devices of front end by recording program fragment authorization request message;7) front end
Short Message Service Gateway or other access devices receive program fragment authorization requests, pass to charge system, and charge system judges user
Situations such as whether whether legal, phone number is legal, whether user account remaining sum is enough, in the case that condition meets, forward
End encryption system provides the instruction sending program fragment mandate to user, and completes user account and withhold;8) encryption system receives
This instruction, inserts this program fragment authorization message bag in emm stream;9) terminal receives this mandate, point out to withhold successfully, Zhang Huyu
Volume etc., then starts program decryption, descrambling and viewing.
User terminal id, communication handset number of binding etc., need to open performance recording or propelling movement type vod business in user
When be registered to charge system or the Subscriber Management System database of front end.
Claims (9)
1. pair system that digital television recording program fragment is implemented encryption and controlled, described system includes front end and terminal, its
It is characterised by: described front end includes scrambler, control word generator, business cipher key generator, ntp server, ecm generation
Device, emm generator and multiplexer;Wherein, described scrambler is scrambled in the presence of control word;Described control word is sent out
Raw device randomly generates scrambled control word, and ensures scrambled control word periodically;Described ntp server obtains according to external clock reference
Obtain the accurate real-time system time, periodically generation time stamp information is to ecm generator and emm generator;Described ecm sends out
The real-time time stamp that ntp server transmits is packaged by raw device, under the effect of business cipher key, control word generator is produced
Raw scrambled control word is encrypted, then will be close to the including but not limited to timestamp after encapsulation, the control word after encryption, business
Key composition ecm stream, sends into multiplexer and is multiplexed;The real-time time that ntp server transmits is stabbed by described emm generator, with
And the program fragment authorized order that charge system transmits is packaged, generation emm flows and sends into multiplexer and is multiplexed;After scrambling
Digital television program stream and ecm stream can be directly fed to multiplexer and be multiplexed, described multiplexer is to including emm stream, ecm
The various code streams of stream are multiplexed, and produce transport stream, are then passed to digital television transmission and are transmitted;When ntp is network
Between agreement;Ecm is authorization control message;Emm is entitlement management message;Described demultiplexing module and live TV stream recording and storing
Module all should be records the program fragment unique id of generation completing;This id contains and records the mesomere that program fragment is located
The information such as purpose id, time started and end time, the sequence number of terminal;The control unit of ecm processing module will be from emm
Processing module, the real-time time receiving is compared with the Pgmtime parsing from program ecm stream;If this section
Mesh fragment not yet obtains mandate, then need to wait mandate could play after obtaining, can use smart mobile phone in terminal device, with
Note or mobile cellular data communication mode forward end charge system send mandate and obtain request.
2. as claimed in claim 1 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described front end also includes time shift storage system and pusher;Described ecm bag is after the storage of time shift storage system, then enters
Row high-speed pushing, the code stream of high-speed pushing is issued multiplexer and is multiplexed.
3. as claimed in claim 1 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described terminal includes demultiplexing module, live TV stream recording and storing module, removable memory, emm processing module, ecm process
Module, descrambler and decoder, push stream receive memory module;Described demultiplexing module receives from transmission channel demodulation module
The transport stream transmitting, therefrom parses including but not limited to: the digital TV direct program stream of scrambling, ecm stream, emm stream, and
The program stream of high-speed pushing;Live scrambled program stream and its corresponding ecm stream are recorded by described live TV stream recording and storing module
Make removable memory;Push stream reception memory module to be responsible for recording the program stream of high-speed pushing and its corresponding ecm stream
To removable memory;After the storage completing certain program fragment, described demultiplexing module and live TV stream recording and storing mould
Block all should be records the program fragment unique id of generation completing;Described emm processing module receiving front-end transmits in real time
Emm stream, therefrom parse the current real-time system time, and program fragment authorized order that may be present, and by these
Information is immediately passed to ecm processing module;Described ecm processing module parses business cipher key and Pgmtime from ecm stream;
Parse scrambled control word using business cipher key in ecm stream, and give descrambling by this control word in the case of securing permission
Device, completes the descrambling to scrambled program stream by descrambler;Described decoder then completes to the transparent program stream having descrambled
Decoding, generate the audio-video signal that may be viewed by of user.
4. as claimed in claim 3 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described terminal also includes pushing stream reception memory module;The described stream reception memory module that pushes is responsible for the section of high-speed pushing
Mesh stream and its corresponding ecm stream are recorded to removable memory.
5. as claimed in claim 3 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described ecm processing module includes resolution unit, decryption unit and control unit, the control unit of described ecm processing module
Receive real-time system temporal information and the program fragment authorized order that emm processing module transmits, and control the work of decryption unit;
The decryption unit of ecm processing module under the control of the control unit, parses scrambling control using business cipher key in ecm stream
Word, and in the case of securing permission, this control word is given descrambler, the descrambling to scrambled program stream is completed by descrambler.
6. as claimed in claim 5 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described ecm processing module needs to judge whether the program play is the prior program fragment recorded or receive;If it is determined that
When the program that request is play is former recorded program, control unit judges whether user has permission this program fragment of broadcasting again;
If it is determined that the program fragment that user's request is play possesses legal authorization, terminal proceeds as follows:
Control unit starts the deciphering of decryption unit;
The encryption cw bag that decryption unit is parsed from ecm using resolution unit, parses from ecm stream in resolution unit
Under the control of business cipher key, decrypt cw, and this cw is given descrambler;
Descrambler is then reduced into transparent flow using this cw to the audio, video data descrambling of scrambled program fragment, and transparent flow is fed to solution
Code device is decoded, and is shown to user's viewing;
If the authorization type obtaining is the mandate based on broadcasting time, control unit needs the authorization message preserving is tieed up
Shield, that is, in nonvolatile memory, " remaining allow broadcasting time " of this program fragment is counted and carries out subtracting 1 operation;If
Judge that the program fragment that user's request is play does not possess legal authorization, then terminal needs to wait mandate could play after obtaining;
Cw is scrambled control word.
7. as claimed in claim 5 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Terminal device only supports broadcast signal reception, do not support two-way interaction channel in the case of, smart mobile phone can be used, with note or
Mobile cellular data communication mode forward end charge system sends mandate and obtains request;The number of this mobile phone passes through operator in advance
Subscriber Management System and terminal serial number bind;And obtain specifically comprising the following steps that of program fragment mandate
In the user interface of terminal, show that needs obtain the id of the program fragment authorizing in the form of text, and obtain this program
Expense required for authorizing;
By user mobile phone, the destination Mobile Station International ISDN Number that forward end charge system is given in advance sends authorization request message, and this message package contains
Program id, authorization type and authorization parameter;
Charge system receives this message, completes user account is withholdd according to the authorization type of request, the emm of forward end immediately
Generator sends user's program fragment authorization message bag, and this packet comprises program fragment id, authorization type, and and Authorization class
The related details of type;
After terminal emm processing module receives program fragment authorized order, the mandate mated with this terminal serial number is saved in
In the nonvolatile memory of terminal, unmatched mandate will be dropped with this terminal serial number;
If the authorization type obtaining is the mandate based on broadcasting time, also to initialize one for this program fragment mandate and broadcast
Put counting how many times, its initial value is the permission broadcasting time in authorizing, this counting preserves in the nonvolatile memory, uses from now on
When this program fragment is play at family, safeguarded by control unit;The mesh being given in advance by user mobile phone, forward end charge system
Number send authorization request message during, user mobile phone needs to be sent to the content of the authorization request message of front end, removes
It is also possible to run on user by one outside being manually entered into mobile phone and send manually according to the prompting of terminal interface by user
One application program of mobile phone automatically obtains from terminal and sends;When taking latter approach, can before user mobile phone and terminal
To connect using wireless modes such as wifi, bluetooths, or wired connection is realized by serial ports;
Terminal Control Element, that is, should be to being saved in this often receiving one after the system time that emm processing unit receives
All mandates by the period on ground carry out single pass, and this class authorities all that the broadcasting period has been crossed are deleted.
8. as claimed in claim 5 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Whether the program that described judgement is being play is the prior program fragment recorded or receive method particularly includes: ecm processes mould
The control unit of block is by from the real-time time that emm processing module receives and the Pgmtime parsing from program ecm stream
It is compared, if the two is identical or difference is less than 10 seconds, show that the program that user's request descrambling is play is real-time live broadcast
Program;If Pgmtime is early than system time, show that user's request descrambles recorded program before the program play is;As
Fruit Pgmtime is later than system time, then show to occur in that logic error.
9. as claimed in claim 5 digital television recording program fragment is implemented with encryption and the system that controls it is characterised in that:
Described is meeting following condition for the moment, that is, think that user has the right to play this program fragment: 1. received and be directed to this section
The mandate based on broadcasting time of mesh fragment, and remaining broadcasting time is more than 0;2. received for this program fragment by
Play the mandate of time period, and the real-time system time obtaining from emm module is in program and is authorized to the time period allowing viewing
Interior.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410002130.9A CN103702173B (en) | 2014-01-03 | 2014-01-03 | System of encrypting and controlling digital television recorded program segments |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410002130.9A CN103702173B (en) | 2014-01-03 | 2014-01-03 | System of encrypting and controlling digital television recorded program segments |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103702173A CN103702173A (en) | 2014-04-02 |
CN103702173B true CN103702173B (en) | 2017-01-25 |
Family
ID=50363555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410002130.9A Active CN103702173B (en) | 2014-01-03 | 2014-01-03 | System of encrypting and controlling digital television recorded program segments |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103702173B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3044506B1 (en) * | 2015-11-27 | 2019-07-19 | Sagemcom Broadband Sas | METHOD FOR PROGRAMMING A RECORDING OF A TRANSMISSION BY A DIGITAL TELEVISION DECODER |
CN107948727B (en) * | 2017-12-25 | 2023-09-05 | 东莞市纽格力信息技术有限公司 | Digital television program stream transmission system and method based on quantum encryption |
CN110798713B (en) * | 2019-10-25 | 2021-07-13 | 北京东方广视科技股份有限公司 | Time-shifted television on-demand method, terminal, server and system |
CN112312171A (en) * | 2020-09-30 | 2021-02-02 | 广西广播电视信息网络股份有限公司 | System and method for realizing digital television program preview function |
CN113542877B (en) * | 2021-07-13 | 2023-05-05 | 四川长虹网络科技有限责任公司 | PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163227A (en) * | 2006-10-13 | 2008-04-16 | 中兴通讯股份有限公司 | Method of implementing demand TV program encryption |
CN101197987A (en) * | 2006-12-08 | 2008-06-11 | 上海全景数字技术有限公司 | Digital television program recording and playback method and system |
CN101902611A (en) * | 2009-06-01 | 2010-12-01 | 航天信息股份有限公司 | Method for realizing IPTV digital rights management |
CN102111651A (en) * | 2009-12-24 | 2011-06-29 | 北京视博数字电视科技有限公司 | Method for recording program, method for broadcasting program, front end and terminal equipment |
CN103024600A (en) * | 2012-12-12 | 2013-04-03 | 深圳市龙视传媒有限公司 | Method, device and system of auto generation video on demand business column |
-
2014
- 2014-01-03 CN CN201410002130.9A patent/CN103702173B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163227A (en) * | 2006-10-13 | 2008-04-16 | 中兴通讯股份有限公司 | Method of implementing demand TV program encryption |
CN101197987A (en) * | 2006-12-08 | 2008-06-11 | 上海全景数字技术有限公司 | Digital television program recording and playback method and system |
CN101902611A (en) * | 2009-06-01 | 2010-12-01 | 航天信息股份有限公司 | Method for realizing IPTV digital rights management |
CN102111651A (en) * | 2009-12-24 | 2011-06-29 | 北京视博数字电视科技有限公司 | Method for recording program, method for broadcasting program, front end and terminal equipment |
CN103024600A (en) * | 2012-12-12 | 2013-04-03 | 深圳市龙视传媒有限公司 | Method, device and system of auto generation video on demand business column |
Non-Patent Citations (1)
Title |
---|
《一种基于加密流的时移电视实现》;王蕾等;《微计算机信息》;20090625;第25卷(第18期);第25-26页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103702173A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103702173B (en) | System of encrypting and controlling digital television recorded program segments | |
US8060902B2 (en) | System for receiving broadcast digital data comprising a master digital terminal, and at least one slave digital terminal | |
EP2612503B1 (en) | Method and system for decrypting a transport stream | |
CN102202233B (en) | Video push method, system and terminal equipment | |
CN102957961A (en) | Method and device for sharing encrypted digital television programs and digital television receiver | |
KR101705010B1 (en) | Processing recordable content in a stream | |
CN101355640A (en) | Multi-display digital television set-top box | |
CN100502496C (en) | Digital TV user authentication system based on mobile device | |
CN102427561B (en) | Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared | |
CN101478544A (en) | Implementation method and apparatus for multimedia broadcast multiple ciphering and deciphering | |
CN100442839C (en) | Information transmitting method and apparatus for interactive digital broadcast television system | |
CN102111651A (en) | Method for recording program, method for broadcasting program, front end and terminal equipment | |
CN101102462A (en) | Wireless digital TV encryption communication system based on mobile phone TV safety module and its working method | |
CN102714593A (en) | Methods for decrypting, transmitting and receiving control words, storage medium for executing said methods | |
JP4947691B2 (en) | Video signal receiver | |
CN100544238C (en) | A kind of charging method of digital multimedia broadcasting system and Apparatus and system | |
CN103281572B (en) | The DVB conditional receiving device of integrated master data, normal data descrambling | |
CN103248918A (en) | DVB (Digital Video Broadcasting) conditional sending device integrating basic data and normal data scrambling | |
CN1295763B (en) | Transmission system | |
CN101365101B (en) | Ciphering channel playing method and set-top box | |
CN100423575C (en) | Method for controlling digital TV receive | |
CN103237245A (en) | Vehicle-mounted DVB (Digital Video Broadcasting) conditional access system for identifying set-top-box identity | |
KR101175354B1 (en) | System and method for securing content by using a number of conditional access systems | |
CN103634624A (en) | Digital television live broadcasting method and system based on IP (Internet protocol) network | |
CN106713977A (en) | Network playing method and device |
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 |