CN103702173A - System of encrypting and controlling digital television recorded program segments - Google Patents

System of encrypting and controlling digital television recorded program segments Download PDF

Info

Publication number
CN103702173A
CN103702173A CN201410002130.9A CN201410002130A CN103702173A CN 103702173 A CN103702173 A CN 103702173A CN 201410002130 A CN201410002130 A CN 201410002130A CN 103702173 A CN103702173 A CN 103702173A
Authority
CN
China
Prior art keywords
program
stream
time
ecm
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.)
Granted
Application number
CN201410002130.9A
Other languages
Chinese (zh)
Other versions
CN103702173B (en
Inventor
李洪钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU CHITONG DIGITAL SYSTEM CO LTD
Original Assignee
CHENGDU CHITONG DIGITAL SYSTEM CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU CHITONG DIGITAL SYSTEM CO LTD filed Critical CHENGDU CHITONG DIGITAL SYSTEM CO LTD
Priority to CN201410002130.9A priority Critical patent/CN103702173B/en
Publication of CN103702173A publication Critical patent/CN103702173A/en
Application granted granted Critical
Publication of CN103702173B publication Critical patent/CN103702173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Digital television recording program fragment is implemented to the system of encrypting and controlling
Technical field
The present invention relates to digital TV field, be specifically related to digital television recording program fragment to implement the system of encrypting and controlling.
background technology
At digital TV field, to program stream, be encrypted, guarantee to only have the user of legal authorization just can watch that program is the basic demand of operator to digital television system.If do not accomplish this point, the running income of Hui Shi digital TV network operator and program source supplier's copyright income all incur loss, and also do not utilize the management of digital TV field.
Live digital television program is all generally to pass through in advance digital TV front-end condition receiving system and scrambling devices encrypt, terminal set top box utilizes smart card or built-in decrypt circuit to be decrypted and draws scrambling key, with key and built-in descrambling hardware, program stream is carried out to descrambling to obtain transparent flow, then decoding is watched.Along with the develop rapidly of semiconductor integrated circuit, digital TV terminal receives the decode the interface that equipment (being generally Set Top Box) has all possessed external high speed, large capacity and movable memory equipment.This makes digital television terminal user the fragment of own interested digital television program and guide information thereof can be carried out to Record and Save to local memory device when the living broadcast of programs, carries out repeatedly repeatedly, program request is watched as required later.Because these are by recorded program excellent, program stylish or high value often; if therefore can realize a kind of mechanism; while allowing terminal use again watch these program fragments in this locality; (user pays the expense of the programme televised live product bag under these programs in advance; but user can only enjoy the service of live form) outside; the words that the license fee that must again pay certain number to operator is used; will bring objective extra returns to operator, to protect the legitimate rights and interests of operator and program provider.
Realize such demand, have several technical problems to need to solve.First, because storing data files fragment and original programme televised live stream itself do not have any difference, and the deciphering of terminal set top box, descrambling part cannot touch the system time information comprising in the program-related information of standard, therefore, in information process, need to have a kind of other mechanism to come district office to process digital television program is programme televised live, or Record and Save is to the program fragment of movable memory equipment in advance.Second, digital TV network is generally unidirectional broadcast network at present, digital subscriber is when playing these program fragments, cannot carry out with the account to user, deducting fees alternately with the charge system of operator front end, thus controlling again and watching the realization of charge to bring difficulty for program recording fragment.
Summary of the invention
The present invention proposes system a kind of novelty, that digital television recording program fragment is implemented encryption and controlled, this system does not need digital-TV operator in traditional digital TV encryption system-based, to increase any extra encryption hardware, do not need its network to carry out expensive bidirectional rebuilding yet, can complete digital cable customers is watched to behavior enforcement control and the charge that is recorded to local program fragment, for carrying out the business such as propelling movement type video request program, individual video video recording (PVR), create condition.The present invention be mainly adopted a kind of method of timestamp comparison of uniqueness judge the program that receives and process be program recording fragment or programme televised live, and utilize the note of mobile communications network or mobile cellular data as user, to ask to play the up channel of local program recording request, with digital television broadcasting channel, the behavior of watching of local program fragment is authorized.
For solving above-mentioned technical problem, the present invention by the following technical solutions:
A kind of system that digital television recording program fragment is implemented encryption and controlled, described system comprises front end and terminal, and described front end comprises scrambler, control word generator, business cipher key generator, ntp server, ECM generator, EMM generator and multiplexer; Wherein, described scrambler carries out scrambling under the effect of control word; Described control word generator produces scrambling control word at random, and guarantees that scrambling control word periodically; Described ntp server obtains the accurate real-time system time according to external clock reference, and periodically generation time stamp information is to ECM generator and EMM generator; The real-time time stamp that described ECM generator transmits ntp server encapsulates, the scrambling control word under the effect of business cipher key, control word generator being produced is encrypted, then include but not limited to control word, business cipher key, program ID after timestamp, encryption after encapsulation are formed to ECM stream, send into multiplexer and carry out multiplexing; Real-time time that described EMM generator transmits ntp server stamp, and the program fragment authorized order that charge system transmits encapsulates, and generates EMM and flows and send into multiplexer and carry out multiplexing; Digital television program after scrambling stream and ECM stream can directly be given multiplexer and carry out multiplexing, described multiplexer and various code streams are carried out multiplexing, and generation transport stream, then gives digital television transmission and transmit
As preferably, described front end also comprises time shift storage system and pusher; After described ECM bag is stored through time shift storage system, then carry out high-speed pushing, the code stream of high-speed pushing is issued multiplexer and is carried out multiplexing.
As preferably, described terminal comprises demultiplexing module, live TV stream recording and storing module, removable memory, EMM processing module, ECM processing module, descrambler and decoder and pushes stream and receives memory module.Described demultiplexing module receives the transport stream transmitting from transmission channel demodulation module, therefrom parses and includes but not limited to: for live digital television program, comprise digital TV direct program elementary streams, ECM stream, the EMM stream of scrambling; For the program stream of high-speed pushing, comprise the digital television program elementary streams of scrambling, and the ECM comprising stream, but the speed of its propelling movement is far away higher than the original broadcasting speed of program; Described live TV stream recording and storing module is recorded to removable memory by live scrambled program stream and corresponding ECM stream thereof; If there is propelling movement stream to receive memory module, pushes stream reception memory module and be responsible for the program stream of high-speed pushing and corresponding ECM stream thereof to be recorded to removable memory.After the storage that completes certain program fragment, described demultiplexing module and live TV stream recording and storing module all should be the program fragment of having recorded and generate unique ID; The information such as sequence number of the ID of the original program that this ID has comprised program recording fragment place, time started (time that first timestamp parses from program ECM information flow) and end time (time that last timestamp parses from program ECM information flow), terminal.Described EMM processing module receiving front-end transmits and next EMM stream in real time, therefrom parses the current real-time system time, and the program fragment authorized order that may exist, and these information are passed to ECM processing module immediately; Described ECM processing module parses business cipher key and Pgmtime (this Pgmtime wants Zao than the real-time system time) from ECM stream; Utilize business cipher key to parsing scrambling control word in ECM stream, and by this control word, give descrambler in the situation that securing permission, by descrambler, complete the descrambling to scrambled program stream; Described decoder completes the decoding of the transparent program stream of descrambling, generates the audio-video signal that user can watch.
As preferably, described EMM processing module comprises resolution unit, decryption unit and control unit, the control unit of described ECM processing module receives real-time system temporal information and the program fragment authorized order that EMM processing module transmits, and according to circumstances (refers to) to control the work of decryption unit following; The decryption unit of ECM processing module, under the control of control unit, is utilized business cipher key to parsing scrambling control word in ECM stream, and by this control word, give descrambler in the situation that being secured permission, and by descrambler, completes the descrambling to scrambled program stream.
As preferably, when user selects broadcasting to be kept at the program in removable memory, the ECM information flow of preserving is fed to ECM processing module and processes, and the scrambled program stream of preservation is fed to descrambler and carries out descrambling (in the situation that obtaining front end to this program fragment play authorization).During due to the live ciphered program of broadcasting, its ECM equally also will give ECM processing module and process, and therefore, described ECM processing module need to judge whether in progress program is the program fragment of recording in advance or receiving; If when the program that decision request is play is former recorded program, control unit judges whether user has authority to play this program fragment again;
The program fragment that user asks to play if judge possesses legal authorization, and terminal proceeds as follows:
1. control unit starts the deciphering of decryption unit;
2. decryption unit is utilized the encryption CW bag that resolution unit parses from ECM, under the control of the business cipher key parsing from ECM stream in resolution unit, decrypts CW, and gives descrambler by this CW;
3. descrambler utilizes this CW to be reduced into transparent flow to the audio, video data descrambling of scrambled program fragment, and transparent flow is fed to decoder and decodes, and is shown to user and watches;
If the authorization type 4. obtaining is for by the mandate of broadcasting time, control unit need to safeguard the authorization message of preserving, that is, in nonvolatile memory, " residue allows broadcasting time " counting of this program fragment is subtracted to 1 operation.
If judge, user asks the program fragment of playing not possess legal authorization, and terminal need to be waited for authorizing to obtain and could play afterwards.
As preferably, at terminal equipment, only support broadcast singal to receive, do not support two-way interaction channel in the situation that, can, with smart mobile phone, with note or mobile cellular data communication mode forward end charge system, send mandate and obtain request; The number of this mobile phone is bound by Subscriber Management System and the terminal serial number of operator in advance; And the concrete steps that obtain program fragment mandate are as follows:
1) in the user interface of terminal, with textual form, show the ID of the program fragment that need to obtain the authorization, and obtain the needed expense of this 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, this message has comprised program ID(and has noted wherein comprising terminal serial number), authorization type (comprises in due order and to authorize and to authorize two classes by the period, authorize to allow in due order user's unrestricted certain program fragment of playing in section at a time, by period means allow user at a time between in section without number of times restriction play certain program fragment) and authorization parameter (the permission broadcasting time of authorizing in due order or by the permission broadcasting period of period mandate);
3) charge system is received this message, according to the authorization type of request, complete withholing to user account, the EMM generator of forward end sends user's program fragment authorization message bag immediately, it is consistent with the program fragment ID that terminal produces that this packets of information comprises the information that program fragment ID(comprises), authorization type, and the details relevant to authorization type (beginning and ending time that permission is play or broadcasting time etc.);
4) terminal EMM processing module receives after program fragment authorized order, the mandate of mating with this terminal serial number is saved in the nonvolatile memory of terminal, will be dropped with the unmatched mandate of this terminal serial number;
5) if the authorization type obtaining is by the mandate of broadcasting time, also will be for broadcasting time counting of this program fragment mandate initialization, its initial value is the permission broadcasting time in authorizing, this counting is kept in nonvolatile memory, when user plays this program fragment from now on, by control unit, safeguarded.1. 2. in step process, user mobile phone need to send to the content of the authorization request message of front end, except being manually input to mobile phone by user according to the prompting of terminal interface and manually sending, also can automatically from terminal, obtain and send by an application program that runs on user mobile phone; While taking rear a kind of mode, before user mobile phone and terminal, can adopt the wireless modes such as WiFi, bluetooth to be connected, or realize wired connection (can difference selecting flexibly according to user terminal and mobile phone configuration state) by serial ports.
Terminal Control Element is often receiving a system time receiving from EMM processing unit, should by the mandate of period, carry out single pass to being kept at all of this locality, and all these class authorities that the broadcasting period has crossed are deleted, do like this quantity that can reduce the authorization message that terminal need to preserve, the response speed while improving broadcast program fragment.
As preferably, described judge that whether in progress program is that the concrete grammar of the program fragment recording in advance or receive is: the control unit of ECM processing module will be from EMM processing module, the real-time time receiving compares with the Pgmtime parsing from program ECM stream, if the two is identical or differ and be less than 10 seconds, show that the program that user asks descrambling to be play is real-time live broadcast program; If Pgmtime early than system time, shows that the program that user asks descrambling to be play is former recorded program; If Pgmtime is later than system time, show to have occurred logic error.
As preferably, described when meeting one of following condition, think user's this program fragment of having the right to play: 1. received for this program fragment by the mandate of broadcasting time, and residue broadcasting time is greater than 0; 2. received for this program fragment by the mandate of playing time period, and the real-time system time obtaining from EMM module is in program in the authorized time period that allows to watch.
Compared with prior art, the invention has the beneficial effects as follows:
A kind of system of distinguishing programme televised live and program recording fragment in digital-television terminal equipment according to the method for timestamp comparison has been proposed, realized and a kind of user is used terminal recorded program fragment and carries out authorization again by the program fragment that front end is pushed to user terminal, this system can be sent authorization requests by note or the cellular data of mobile communications network, by digital television broadcasting, send mandate, make digital-TV operator not need network to carry out under the prerequisite of bidirectional rebuilding, convenient management, also can carry out can obtain reliable and stable income record program request or propelling movement type order program service.
Accompanying drawing explanation
Fig. 1 is system block diagram of the present invention;
Fig. 2 is application implementation figure of the present invention.
Embodiment
Described live TV stream memory module processed is the data of Set Top Box PVR function and preserves module, pushes stream and receives the data preservation module that memory module is Set Top Box PushVOD function.Below in conjunction with accompanying drawing, the present invention is further elaborated.
In the present invention: NTP is NTP (Network Time Protocol); ECM is authorization control message; EMM is entitlement management message; CW is scrambling control word;
Native system consists of front end and terminal two large divisions, referring to accompanying drawing 1.Terminal part comprises demultiplexing module, live TV stream recording and storing module, removable memory, EMM processing module, ECM processing module, descrambler and decoder, and the optional stream that pushes receives memory module.Wherein ECM processing module is divided into again resolution unit, decryption unit and control unit.
2, system realizes principle
At front end: transparent digital television program stream (comprising Audio and Video) carries out scrambling under the effect in control word with scrambler, this scrambler can adopt the algorithm of the standards such as DVB-CSA; Control word generator produces scrambling control word (CW) at random, and guarantees periodically (update cycle is generally 10~60 seconds) variation of CW.NTP(NTP (Network Time Protocol)) server obtains the accurate real-time system time according to external clock reference, and periodically generation time stamp information is to ECM generator and EMM generator (cycle is generally 1~5 second).ECM(Entitlement Control Message) the real-time time stamp that generator transmits ntp server encapsulates, the scrambling control word under the effect of business cipher key, control word generator being produced is encrypted, then control word, business cipher key and other necessary information (for example program ID) after the timestamp after encapsulation, encryption are formed to ECM bag, send into multiplexer and carry out multiplexing.EMM(Entitlement Management Message) generator transmits ntp server real-time time stamp, and the program fragment authorized order that charge system transmits encapsulates, and generates EMM and also sends into multiplexer and carry out multiplexing.Digital television program stream after scrambling and ECM stream can directly be given multiplexer and carry out multiplexing, also may be through after the storage of time shift storage system, carry out high-speed pushing (pushing the code check that code check can broadcast higher than original program in real time far away), the code stream of high-speed pushing is also issued multiplexer and is carried out multiplexing again.Multiplexer is used for to digital television program elementary streams, ECM, EMM after scrambling, the high-speed pushing code stream that time shift storage and pushing module transmit and other bit streams (such as program PSI/SI information) etc. carry out multiplexing, produce transport stream, then give digital television transmission and transmit.
In terminal: demultiplexing module receives the transport stream transmitting from transmission channel demodulation module, therefrom parse digital TV direct program stream, ECM stream, the EMM stream of scrambling, and the program stream of high-speed pushing (and the original program ECM comprising), and other necessary information flows (for example program PSI/SI information).Live TV stream recording and storing module is recorded to removable memory by live scrambled program stream and corresponding ECM stream thereof.Pushing stream reception memory module is responsible for the program stream of high-speed pushing and corresponding ECM stream thereof to be recorded to removable memory.Live TV stream recording and storing module is the data of Set Top Box PVR function and preserves module, pushes stream and receives the data preservation module that memory module is Set Top Box PushVOD function.After the storage that completes certain program fragment, they should be the program fragment of having recorded and generate unique ID, the information such as sequence number of the ID of the original program that this ID has comprised program recording fragment place, time started (time that first timestamp parses from program ECM information flow) and end time (time that last timestamp parses from program ECM information flow), terminal.EMM processing module receiving front-end transmits and next EMM stream in real time, therefrom parses the current real-time system time, and the program fragment authorized order that may exist, and these information are passed to ECM processing module immediately.The resolution unit of ECM processing module parses business cipher key and Pgmtime (this Pgmtime wants Zao than the real-time system time) from ECM stream.The control unit of ECM processing module receives real-time system temporal information and the program fragment authorized order that EMM processing unit transmits, and according to circumstances (refers to) to control the work of decryption unit following.The decryption unit of ECM processing module, under the control of control unit, is utilized business cipher key to parsing scrambling control word in ECM stream, and by this control word, give descrambler in the situation that being secured permission, and by the latter, completes the descrambling to scrambled program stream.Decoder completes the decoding of the transparent program stream of descrambling, generates the audio-video signal that user can watch.
When user selects broadcasting to be kept at the program in removable memory, the ECM information flow of preserving is fed to ECM processing module and processes, and the scrambled program stream of preservation is fed to descrambler and carries out descrambling (in the situation that obtaining front end to this program fragment play authorization).During due to the live ciphered program of broadcasting, its ECM equally also will give ECM processing module and process, therefore, ECM processing module need to judge whether in progress program is the program fragment of recording in advance or receiving, method is as follows: control unit compares the real-time time receiving from EMM processing unit and the Pgmtime parsing from program ECM stream, if the two is identical or differ very little (being less than 10 seconds), show that the program that user asks descrambling to be play is real-time live broadcast program; If Pgmtime early than system time, shows that the program that user asks descrambling to be play is former recorded program; If Pgmtime is later than system time, show to have occurred certain logic error (such as, there is problem in the time of front end ntp server).
When the program of playing in decision request is program recording fragment, control unit first judges whether user has authority to play this program fragment.When meeting one of following condition, think user's this program fragment of having the right to play: 1. received for this program fragment by the mandate of broadcasting time, and residue broadcasting time is greater than 0; 2. received for this program fragment by the mandate of playing time period, and the real-time system time obtaining from EMM module is in program in the authorized time period that allows to watch.
In the situation that judge that user asks the program fragment of playing to possess legal authorization, terminal proceeds as follows: 1. control unit starts the deciphering of decryption unit; 2. decryption unit is utilized the encryption CW bag that resolution unit parses from ECM stream, under the control of the business cipher key parsing from ECM stream in resolution unit, decrypts CW, and gives descrambler by this CW; 3. descrambler utilizes this CW to be reduced into transparent flow to the audio, video data descrambling of scrambled program fragment, and transparent flow is fed to decoder and decodes, and is shown to user and watches; If the authorization type 4. obtaining is for by the mandate of broadcasting time, control unit need to safeguard the authorization message of preserving, that is, in nonvolatile memory, " residue allows broadcasting time " counting of this program fragment is subtracted to 1 operation.
If this program fragment is not yet obtained the authorization, need to wait for to authorize to obtain and could play afterwards.At terminal equipment, only support broadcast singal to receive, do not support two-way interaction channel in the situation that, can use smart mobile phone, with note or mobile cellular data communication mode forward end charge system, send mandate and obtain request.The number of this mobile phone is bound by Subscriber Management System and the terminal serial number of operator in advance.The concrete steps that obtain program fragment mandate are as follows: 1., in the user interface of terminal, show the ID of the program fragment that need to obtain the authorization, and obtain the needed expense of this program mandate with textual form; 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, this message has comprised program ID(and has noted wherein comprising terminal serial number), authorization type (comprises in due order and to authorize and to authorize two classes by the period, authorize to allow in due order user's unrestricted certain program fragment of playing in section at a time, by period means allow user at a time between in section without number of times restriction play certain program fragment) and authorization parameter (the permission broadcasting time of authorizing in due order or by the permission broadcasting period of period mandate); 3. charge system is received this message, according to the authorization type of request, complete withholing to user account, the EMM generator of forward end sends user's program fragment authorization message bag immediately, it is consistent with the program fragment ID that terminal produces that this packets of information comprises the information that program fragment ID(comprises), authorization type, and the details relevant to authorization type (beginning and ending time that permission is play or broadcasting time etc.); 4. terminal EMM processing module receives after program fragment authorized order, the mandate of mating with this terminal serial number is saved in the nonvolatile memory of terminal, will be dropped with the unmatched mandate of this terminal serial number; If the authorization type 5. obtaining is by the mandate of broadcasting time, also will be for broadcasting time counting of this program fragment mandate initialization, its initial value is the permission broadcasting time in authorizing, this counting is kept in nonvolatile memory, when user plays this program fragment from now on, by control unit, safeguard (as aforementioned).1. 2. in step process, user mobile phone need to send to the content of the authorization request message of front end, except being manually input to mobile phone by user according to the prompting of terminal interface and manually sending, also can automatically from terminal, obtain and send by an application program that runs on user mobile phone; While taking rear a kind of mode, before user mobile phone and terminal, can adopt the wireless modes such as WiFi, bluetooth to be connected, or realize wired connection (can difference selecting flexibly according to user terminal and mobile phone configuration state) by serial ports.
Terminal Control Element is often receiving a system time receiving from EMM processing unit, should by the mandate of period, carry out single pass to being kept at all of this locality, and all these class authorities that the broadcasting period has crossed are deleted, do like this quantity that can reduce the authorization message that terminal need to preserve, the response speed while improving broadcast program fragment.
Under carrying out again to have a talk about in detail concrete application implementation of the present invention (referring to accompanying drawing 2).Fore-end of the present invention can be used on the headend room of digital TV network, and terminal part can be used as a module of the smart card embedded software of Set Top Box and configuration thereof.
Digital TV network front end generally consists of some headend equipments and front-end software system.Wherein, the headend equipment of being responsible for information source part completes the coding to digital television code stream, or reception and conversion to the digital television signal from satellite/higher level network.The headend equipment of being responsible for code stream processing section comprises scrambling machine and multiplexer, and scrambling machine completes the scrambling to program stream, and its algorithm can be the common scrambling algorithms such as DVB-CSA.Multiplexer completes multiplexing to multi-path digital TV code flow.The code stream of ordinary straight broadcast digital television program, through after receiver or encoder reception or producing, is given scrambling machine and is carried out scrambling, and the program stream after scrambling is given multiplexer and carried out multiplexing.
For the front end of support propelling movement type video request program, program source real-time or off-line also first will be encoded and give scrambling machine and carry out scrambling through encoder, but the program audio video flowing after scrambling and ECM stream will first be stored through time shift storage system.Time shift storage system also may produce EPG and index data base to the program to be pushed of all storages.Under the technical staff's of push server Ze operator control, scheduling, as requested the off-line program source file (transfer stream file that comprises scrambling audio frequency and video and ECM elementary streams) of storage is encapsulated into transport stream again, and sending at a high speed multiplexer (far away higher than the original broadcasting speed of program), the method that file encapsulation adopts can be by supplying system supplier self-defining.Scrambling control word was produced by the scrambling machine cycle.
Encryption system completes following function: 1) produce and periodic change business cipher key, and control word scrambling machine being produced according to business cipher key is encrypted.Cryptographic algorithm Ke You encryption system supplier designed, designed.2) the real-time system time message generation time stamp data transmitting according to network time server.3) ECM of the information such as the control word that comprises business cipher key, encryption and timestamp is spread to scrambling machine, and pass to multiplexer by the latter.4) instruction of transmitting according to charge system generates user's program recording fragment authorization message bag; 5) EMM that comprises timestamp, program recording fragment authorization packets information and other information is spread to multiplexer.
Terminal set top box need to possess at a high speed, large capacity movable memory equipment, possesses descrambler and integrated program recording fragment and receives and decipher software module.Its program recording fragment receives and deciphering software module completes following function: 1) under terminal use's control, real-time encrypted Digital Television is recorded, and stored into removable memory; 2) program front end high-speed pushing being come receives, parsing and file splicing, is reduced to original program clip file, and stores removable memory (corresponding with the method for packing of front end supplying system) into; 3) when certain program is watched in user's request, judge whether this program is the program fragment of successfully recording or receiving; 4) for the playing request of recorded program fragment, judge whether user obtains the authorization, if obtained the authorization, carry out control word deciphering, descrambler descrambles, if with no authorized, by the mandate of user mobile phone request program fragment.
The general step of system applies is as follows: 1) front end is encrypted transmission to real time programme, or carries out high-speed pushing transmission to realizing the program of encryption, offline storage; 2) user terminal carries out recording and storing to real time programme, or the program of high-speed pushing is resolved, reduced and stores; 3) user selects to have recorded or received the list of the program fragment of mobile memory, selects certain interested program fragment to carry out local ordering and watches; 4) terminal software judges whether user has the authority of watching of this program fragment, if any to this program file be decrypted, descrambling and watching, if do not had, reminding user program needs request program mandate, and the information such as the authorization type of program and expense; 5) user selects certain authorization type, and the relevant parameter (broadcasting time or period) of authorizing; 6) terminal software and user mobile phone communicate, and authorization requests information is sent to user mobile phone, and user mobile phone sends to program recording fragment authorization request message Short Message Service Gateway or other access devices of front end; 7) Short Message Service Gateway of front end or other access devices receive program fragment authorization requests, pass to charge system, charge system judges the situations such as whether user is legal, whether phone number is legal, whether user account remaining sum is enough, in the situation that condition is satisfied, forward end encryption system provides the instruction that sends program fragment mandate to user, and completing user account decucting money; 8) encryption system is received this instruction, in EMM stream, inserts this program fragment authorization message bag; 9) terminal is received this mandate, and prompting is withholdd successfully, account balance etc., then starts program decryption, descrambling and watches.
The communication handset numbers of user terminal ID, binding etc. need to be registered to charge system or the Subscriber Management System database of front end when user opens performance recording or propelling movement type VOD business.

Claims (9)

1. pair digital television recording program fragment is implemented the system of encrypting and controlling, described system comprises front end and terminal, it is characterized in that: described front end comprises scrambler, control word generator, business cipher key generator, ntp server, ECM generator, EMM generator and multiplexer; Wherein, described scrambler carries out scrambling under the effect of control word; Described control word generator produces scrambling control word at random, and guarantees that scrambling control word periodically; Described ntp server obtains the accurate real-time system time according to external clock reference, and periodically generation time stamp information is to ECM generator and EMM generator; The real-time time stamp that described ECM generator transmits ntp server encapsulates, the scrambling control word under the effect of business cipher key, control word generator being produced is encrypted, then include but not limited to control word, business cipher key after timestamp, encryption after encapsulation are formed to ECM stream, send into multiplexer and carry out multiplexing; Real-time time that described EMM generator transmits ntp server stamp, and the program fragment authorized order that charge system transmits encapsulates, and generates EMM and flows and send into multiplexer and carry out multiplexing; Digital television program after scrambling stream and ECM stream can directly be given multiplexer to carry out multiplexing, described multiplexer multiplexing to comprising that the various code streams of EMM stream, ECM stream carry out, and generation transport stream, then gives digital television transmission and transmit.
2. the system that digital television recording program fragment is implemented encryption and controlled as claimed in claim 1, is characterized in that: described front end also comprises time shift storage system and pusher; After described ECM bag is stored through time shift storage system, then carry out high-speed pushing, the code stream of high-speed pushing is issued multiplexer and is carried out multiplexing.
3. the system that digital television recording program fragment is implemented encryption and controlled as claimed in claim 1, is characterized in that: described terminal comprises that demultiplexing module, live TV stream recording and storing module, removable memory, EMM processing module, ECM processing module, descrambler and decoder, propelling movement stream receive memory module; Described demultiplexing module receives the transport stream transmitting from transmission channel demodulation module, therefrom parses and includes but not limited to: the digital TV direct program stream of scrambling, ECM stream, EMM stream, and the program stream of high-speed pushing; Described live TV stream recording and storing module is recorded to removable memory by live scrambled program stream and corresponding ECM stream thereof; Pushing stream reception memory module is responsible for the program stream of high-speed pushing and corresponding ECM stream thereof to be recorded to removable memory; After the storage that completes certain program fragment, described demultiplexing module and live TV stream recording and storing module all should be the program fragment of having recorded and generate unique ID; Described EMM processing module receiving front-end transmits and next EMM stream in real time, therefrom parses the current real-time system time, and the program fragment authorized order that may exist, and these information are passed to ECM processing module immediately; Described ECM processing module parses business cipher key and Pgmtime from ECM stream; Utilize business cipher key to parsing scrambling control word in ECM stream, and by this control word, give descrambler in the situation that securing permission, by descrambler, complete the descrambling to scrambled program stream; Described decoder completes the decoding of the transparent program stream of descrambling, generates the audio-video signal that user can watch.
4. the system that digital television recording program fragment is implemented encryption and controlled as claimed in claim 3, is characterized in that: described terminal also comprises that pushing stream receives memory module; Described propelling movement stream receives memory module and is responsible for the program stream of high-speed pushing and corresponding ECM stream thereof to be recorded to removable memory.
5. the system of encrypting and controlling that digital television recording program fragment is implemented as claimed in claim 3, it is characterized in that: described ECM processing module comprises resolution unit, decryption unit and control unit, the control unit of described ECM processing module receives real-time system temporal information and the program fragment authorized order that EMM processing module transmits, and controls the work of decryption unit; The decryption unit of ECM processing module, under the control of control unit, is utilized business cipher key to parsing scrambling control word in ECM stream, and by this control word, give descrambler in the situation that being secured permission, and by descrambler, completes the descrambling to scrambled program stream.
6. the system that digital television recording program fragment is implemented encryption and controlled as claimed in claim 5, is characterized in that: described ECM processing module need to judge whether in progress program is the program fragment of recording in advance or receiving; If when the program that decision request is play is former recorded program, control unit judges whether user has authority to play this program fragment again;
The program fragment that user asks to play if judge possesses legal authorization, and terminal proceeds as follows:
Control unit starts the deciphering of decryption unit;
The encryption CW bag that decryption unit utilizes resolution unit to parse from ECM, under the control of the business cipher key parsing from ECM stream in resolution unit, decrypts CW, and gives descrambler by this CW;
Descrambler utilizes this CW to be reduced into transparent flow to the audio, video data descrambling of scrambled program fragment, and transparent flow is fed to decoder and decodes, and is shown to user and watches;
If the authorization type obtaining is for by the mandate of broadcasting time, control unit need to safeguard the authorization message of preserving, that is, in nonvolatile memory, " residue allows broadcasting time " counting of this program fragment is subtracted to 1 operation; If judge, user asks the program fragment of playing not possess legal authorization, and terminal need to be waited for authorizing to obtain and could play afterwards.
7. the system of encrypting and controlling that digital television recording program fragment is implemented as claimed in claim 5, it is characterized in that: terminal equipment only supports broadcast singal to receive, do not support in the situation of two-way interaction channel, energy smart mobile phone, sends with note or mobile cellular data communication mode forward end charge system the request of obtaining of authorizing; The number of this mobile phone is bound by Subscriber Management System and the terminal serial number of operator in advance; And the concrete steps that obtain program fragment mandate are as follows:
In the user interface of terminal, with textual form, show the ID of the program fragment that need to obtain the authorization, and obtain the needed expense of this program mandate;
By user mobile phone, the destination Mobile Station International ISDN Number that forward end charge system provides in advance sends authorization request message, and this message has comprised program ID, authorization type and authorization parameter;
Charge system is received this message, according to the authorization type of request, complete the withholing of user account, the EMM generator of forward end sends user's program fragment authorization message bag immediately, and this packets of information comprises program fragment ID, authorization type, and the details relevant to authorization type;
Terminal EMM processing module receives after program fragment authorized order, the mandate of mating with this terminal serial number is saved in the nonvolatile memory of terminal, will be dropped with the unmatched mandate of this terminal serial number;
If the authorization type obtaining is by the mandate of broadcasting time, also will be for broadcasting time counting of this program fragment mandate initialization, its initial value is the permission broadcasting time in authorizing, this counting is kept in nonvolatile memory, when user plays this program fragment from now on, by control unit, safeguarded; The 1st), 2) in step process, user mobile phone need to send to the content of the authorization request message of front end, except being manually input to mobile phone by user according to the prompting of terminal interface and manually sending, also can automatically from terminal, obtain and send by an application program that runs on user mobile phone; While taking rear a kind of mode, user mobile phone can adopt the wireless modes such as WiFi, bluetooth to be connected with before terminal, or realizes wired connection by serial ports;
Terminal Control Element is often receiving a system time receiving from EMM processing unit, should by the mandate of period, carry out single pass to being kept at all of this locality, and all these class authorities that the broadcasting period has crossed are deleted, do like this quantity that can reduce the authorization message that terminal need to preserve, the response speed while improving broadcast program fragment.
8., the system that digital television recording program fragment is implemented encryption and controlled as claimed in claim 5, it is characterized in that: described judge that whether in progress program is that the concrete grammar of the program fragment recording in advance or receive is: the control unit of ECM processing module compares the real-time time receiving from EMM processing module and the Pgmtime parsing from program ECM stream, if the two is identical or differ and be less than 10 seconds, show that the program that user asks descrambling to be play is real-time live broadcast program; If Pgmtime early than system time, shows that the program that user asks descrambling to be play is former recorded program; If Pgmtime is later than system time, show to have occurred logic error.
9. the system of encrypting and controlling that digital television recording program fragment is implemented as claimed in claim 5, it is characterized in that: described when meeting one of following condition, think user's this program fragment of having the right to play: 1. received for this program fragment by the mandate of broadcasting time, and residue broadcasting time is greater than 0; 2. received for this program fragment by the mandate of playing time period, and the real-time system time obtaining from EMM module is in program in the authorized time period that allows to watch.
CN201410002130.9A 2014-01-03 2014-01-03 System of encrypting and controlling digital television recorded program segments Active CN103702173B (en)

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 true CN103702173A (en) 2014-04-02
CN103702173B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948727A (en) * 2017-12-25 2018-04-20 东莞市纽格力信息技术有限公司 A kind of digital television program streaming system and method based on quantum cryptography
CN108293101A (en) * 2015-11-27 2018-07-17 萨基姆宽带简易股份有限公司 The method for programming the recording of program by digital television decoder
CN110798713A (en) * 2019-10-25 2020-02-14 北京东方广视科技股份有限公司 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
CN113542877A (en) * 2021-07-13 2021-10-22 四川长虹网络科技有限责任公司 PVR resource sharing method, system, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163227B (en) * 2006-10-13 2010-06-23 中兴通讯股份有限公司 Method of implementing demand TV program encryption
CN101197987B (en) * 2006-12-08 2010-09-29 上海全景数字技术有限公司 Digital television program recording and playback method and system
CN101902611B (en) * 2009-06-01 2012-03-28 航天信息股份有限公司 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
CN103024600B (en) * 2012-12-12 2016-02-03 深圳都好看互动电视有限公司 A kind of method, Apparatus and system of automatic generating video demand (telecommunication) service column

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108293101A (en) * 2015-11-27 2018-07-17 萨基姆宽带简易股份有限公司 The method for programming the recording of program by digital television decoder
CN108293101B (en) * 2015-11-27 2021-09-21 萨基姆宽带简易股份有限公司 Method for programming the recording of programs by means of a digital television decoder
CN107948727A (en) * 2017-12-25 2018-04-20 东莞市纽格力信息技术有限公司 A kind of digital television program streaming system and method based on quantum cryptography
CN107948727B (en) * 2017-12-25 2023-09-05 东莞市纽格力信息技术有限公司 Digital television program stream transmission system and method based on quantum encryption
CN110798713A (en) * 2019-10-25 2020-02-14 北京东方广视科技股份有限公司 Time-shifted television on-demand method, terminal, server and system
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
CN113542877A (en) * 2021-07-13 2021-10-22 四川长虹网络科技有限责任公司 PVR resource sharing method, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103702173B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
JP3978441B2 (en) Control over global transport data streams
US7702904B2 (en) Key management system and multicast delivery system using the same
CN101047830B (en) Method and device for authorising conditional access
JP5106845B2 (en) How to descramble a scrambled content data object
CN100504895C (en) System and method for using DRM to control conditional access to broadband digital content
US8060902B2 (en) System for receiving broadcast digital data comprising a master digital terminal, and at least one slave digital terminal
WO2008046323A1 (en) Mobile telephone television service protect method, system and apparatus
JP5795709B2 (en) Supplying control word to receiver
EP2373019A1 (en) Secure descrambling of an audio / video data stream
CN102369736A (en) Content decryption device and encryption system using an additional key layer
TWI499297B (en) Method and device for reception of control words, and device for transmission thereof
CN103702173A (en) System of encrypting and controlling digital television recorded program segments
CN100502496C (en) Digital TV user authentication system based on mobile device
CA2706116A1 (en) Controlling the validity period of a decryption key
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
CN103248918B (en) The DVB condition dispensing device of integrated master data, normal data scrambling
CN101939962A (en) Controlling media distribution
CN103281572B (en) The DVB conditional receiving device of integrated master data, normal data descrambling
CN1295763B (en) Transmission system
CN103039088A (en) Method and system for secure broadcasting of a digital data stream
KR20100069373A (en) Conditional access system and method exchanging randon value
CN108650549B (en) Digital television data management method and system
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

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