Summary of the invention
The embodiment of the invention provides transmission, player method and the related device of encoded channel in a kind of Digital Television, allow the user under the situation of not ordering encoded channel, the programme content of watching this channel a period of time with good conditionsi, the user does not know whether programme content is the program of oneself liking in the solution prior art when ordering program or channel, cause the problem of economic loss, also can carry out solving when pay channel is sold the problem of poor user experience in CHINA RFTCOM Co Ltd company.
The embodiment of the invention provides the method for set-top box broadcast encoded channel in a kind of Digital Television, comprises,
Receive Entitlement Management Message and Entitlement Control Message that DVB network front end server sends;
Preview authority record in deciphering and the storage Entitlement Management Message, the preview parameter in Entitlement Management Message or the Entitlement Control Message;
Decipher and obtain the control word that encoded channel code stream descrambling uses according to preview authority record and preview parameter;
According to described control word the encoded channel code stream is carried out descrambling.
Play a further aspect of the method for encoded channel according to set-top box in the described Digital Television of the embodiment of the invention, according to preview authority record and the deciphering of preview parameter and obtain in the control word that encoded channel code stream descrambling uses and further comprise:
According to the time period condition in the described preview parameter, in the described time period, utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain control word;
Perhaps,, in the time span of constantly successively decreasing, utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain control word according to the time span condition in the described preview parameter;
Perhaps,, in the described time interval, utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain control word according to the time interval condition in the described preview parameter;
Perhaps,, in the preview number of times that constantly successively decreases, utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain control word according to time said conditions of the preview in the described preview parameter;
Perhaps, according to time said conditions of the preview in the described preview parameter, in the Entitlement Control Message that receives pre-determined number, only utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is carried out the deciphering of specific times, obtain control word.
Play another further aspect of the method for encoded channel according to set-top box in the described Digital Television of the embodiment of the invention, according to the time span condition in the described preview parameter, in the time span of constantly successively decreasing, utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain further to comprise in the control word, if in the process that described time span is successively decreased, the user does not watch this encoded channel code stream, then stop the successively decreasing of time span, and preserve remaining time span.
The embodiment of the invention also provides a kind of set-top box, comprises,
Demodulation multiplexer, control word decrypting device, descrambler;
Described demodulation multiplexer is used to receive Entitlement Management Message, the Entitlement Control Message that the DVB network front end sends;
Described control word decrypting device is used for decrypt authorized management information, Entitlement Control Message, obtains and store preview authority record and preview parameter, and deciphers and obtain the control word that encoded channel code stream descrambling uses according to preview authority record and preview parameter;
Described descrambler is used for according to described control word the encoded channel code stream being carried out descrambling.
According to a further aspect of the described set-top box of the embodiment of the invention, described control word decrypting device further comprises, smart card and interface module;
Described interface module, the Entitlement Management Message, the Entitlement Control Message that are used for demodulation multiplexer is received send described smart card to, and the control word that described smart card is decrypted sends descrambler to;
Described smart card is used for decrypt authorized management information, Entitlement Control Message, obtains and store preview authority record and preview parameter, deciphers described Entitlement Control Message and obtains control word according to preview authority record and preview parameter.
Another further aspect according to the described set-top box of the embodiment of the invention, described smart card is further used for, time period condition, time span condition, time interval condition or preview time said conditions according to described preview parameter, use described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is decrypted, obtain control word.
According to another further aspect of the described set-top box of the embodiment of the invention, described interface module comprises transplants storehouse or CA kernel.
The embodiment of the invention also provides the transmission method of encoded channel in a kind of Digital Television, comprises,
Set preview authority record and preview parameter;
Described preview authority record is write Entitlement Management Message, described preview parameter is write in Entitlement Management Message or the Entitlement Control Message;
Described Entitlement Management Message and described Entitlement Control Message are encrypted;
Send Entitlement Management Message and the Entitlement Control Message encrypted to set-top box.
The embodiment of the invention also provides a kind of DVB network front end server, comprises,
Setup unit, writing unit, ciphering unit, transmitting element;
Described setup unit is used to set preview authority record and preview parameter;
The said write unit is used for described preview authority record is write Entitlement Management Message, and described preview parameter is write in Entitlement Management Message or the Entitlement Control Message;
Described ciphering unit is used for described Entitlement Management Message and described Entitlement Control Message are encrypted;
Described transmitting element, the Entitlement Management Message and the Entitlement Control Message that are used for encrypting send set-top box to.
Preview authority record and preview parameter by the embodiment of the invention can allow the user under the situation of not ordering encoded channel, the programme content of watching this channel a period of time with good conditionsi, whether decision more intuitively will order this programme content, has avoided waste economically.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Be illustrated in figure 1 as the method flow diagram of set-top box broadcast encoded channel in a kind of Digital Television of the embodiment of the invention.
Step 101 receives Entitlement Management Message and Entitlement Control Message that DVB network front end server sends.
Step 102, the preview authority record in deciphering and the storage Entitlement Management Message, the preview parameter in Entitlement Management Message or the Entitlement Control Message.
Described Entitlement Management Message and Entitlement Control Message can be encrypted transmission as prior art by DVB network front end server, wherein, described preview authority record is contained in to encrypt in the Entitlement Management Message (EMM) and transmits, described preview parameter can be contained in to encrypt in the Entitlement Management Message and transmit, and also can be contained in to encrypt in the Entitlement Control Message (ECM) to transmit.
Set-top box is passed through interface module, for example transplant storehouse or CA kernel (CAk) etc., the Entitlement Management Message, the Entitlement Control Message that receive are sent to smart card, smart card decrypt authorized management information, obtain and store corresponding preview authority record, decrypt authorized management information or Entitlement Control Message obtain and store corresponding preview parameter.
In the existing digital TV field, authority record identifies with production number (Product ID) usually, span is a numeral 0 to 65534, described preview authority record in the present embodiment can be the value beyond this scope, as 65555, to represent that this authority record is the preview mandate, promptly allow the user under the situation of not ordering corresponding channel, the programme content of watching this channel a period of time with good conditionsi.
Step 103 is according to information deciphering with good conditionsi such as time period of preview authority record and preview parameter configuration, time span, the time interval, number of times and obtain the control word that encoded channel code stream descrambling uses.
Step 104 is carried out descrambling according to described control word to the encoded channel code stream.
In embodiments of the present invention, smart card is according to control informations such as time period of described preview parameter configuration, time span, the time interval, number of times, at the fixed time in the section, in the scheduled duration, in the predetermined time interval or in the pre-determined number, use described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering (no authority record) is decrypted, obtain control word to the correct descrambling of encoded channel code stream, can't be otherwise will not decipher to the correct descrambling of encoded channel code stream.
Utilize a kind of mode of the control word of preview parameter acquiring encoded channel code stream descrambling use in embodiments of the present invention, when the user switches to the encoded channel of not ordering, smart card confirm to have under the preview authority record situation of this encoded channel according to the time period in the preview parameter (for example, 20:00 to 22:00), if the continuous Entitlement Control Message that sends of deciphering cycle then in the section at the appointed time, smart card can obtain clock information by clock circuit built-in or that add, and send the control word that obtains to descrambler, by descrambler to the correct descrambling of encoded channel code stream, the user can normally watch, otherwise will not decipher, descrambler can't be to the correct descrambling of encoded channel code stream.When for example the user switches to the home theater channel of not ordering, if having the preview authority record of this encoded channel and the time period in the preview parameter in the user smart card is 20:00 to 22:00, so the user at this moment between the section in can watch the home theater channel content.Exceed this time period user and can't watch this channel content.
Utilize the another kind of mode of the control word of preview parameter acquiring encoded channel code stream descrambling use in embodiments of the present invention, when the user switches to the encoded channel of not ordering, smart card according to the time span in the preview parameter (is for example confirmed to have under the preview authority record situation of this encoded channel, 1200 seconds), smart card can be realized calculating to time span by timer built-in or that add, if the preview time is then will not decipher in 0 second, descrambler can't be to the correct descrambling of encoded channel code stream, if be not 0 second, then start the timer countdown, the Entitlement Control Message that the continuous deciphering cycle sends, and send the control word that obtains to descrambler, by descrambler to the correct descrambling of encoded channel code stream, the user can normally watch, up to the timer timing is 0 second, the notice smart card, this smart card will not can not continue to watch this channel by decrypted user, perhaps when the user no longer watches this channel, remaining time of timer is recorded in the duration of preview parameter, promptly from the duration of preview parameter, deduct the time of preview.When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the time span in the preview parameter of this encoded channel in the user smart card is 1200 seconds, user accumulative total preview time span does not surpass under 1200 seconds situations so, the user can normally watch the home theater channel, surpasses 1200 seconds users and can't watch this channel.
Utilize the another kind of mode of the control word of preview parameter acquiring encoded channel code stream descrambling use in embodiments of the present invention, when the user switches to the encoded channel of not ordering, smart card confirm to have under the preview authority record situation of this encoded channel according to the time interval in the preview parameter (for example, allow first preview 30 seconds in per 90 seconds, after forbid watching 60 seconds), smart card can be realized calculating and clocking capability to the time interval by timer built-in or that add, start timer countdown in 30 seconds, the Entitlement Control Message that the continuous deciphering cycle sends, and send the control word that obtains to descrambler, to the correct descrambling of encoded channel code stream, the user can normally watch by descrambler; When the timer timing was 0 second in 30 seconds, start timer countdown in 60 seconds, will not decrypt authorized control information user can not continue to watch this channel, be 0 second until timer timing in 60 seconds.Constantly repeat above 90 second cycle, till the user no longer watches this channel.When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the time interval of this encoded channel in the user smart card is to allow first preview 30 seconds in per 90 seconds, after forbid watching 60 seconds, the each switching channels of user can be watched 30 seconds these channel content earlier so, can't watch this channel content in 60 seconds then.
Utilize the another kind of mode of the control word of preview parameter acquiring encoded channel code stream descrambling use in embodiments of the present invention, when the user switches to the encoded channel of not ordering, smart card according to the preview number of times in the preview parameter (is for example confirmed to have under the preview authority record situation of this encoded channel, 10 times), smart card can be realized the calculating of preview number of times by counter built-in or that add, if the preview number of times is then will not decipher for 0 time, descrambler can't be to the correct descrambling of encoded channel code stream, if be not 0 time, then utilize subtracter that the preview number of times in the preview parameter is deducted once, the Entitlement Control Message that the continuous deciphering cycle sends, and send the control word that obtains to descrambler, to the correct descrambling of encoded channel code stream, the user can normally watch by descrambler.When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the number of times in the preview parameter of this encoded channel in the user smart card is 3, then the user can switch to this channel view content for 3 times, surpasses 3 users and can't watch this channel content.
Utilize the another kind of mode of the control word of preview parameter acquiring encoded channel code stream descrambling use in embodiments of the present invention, when the user switches to the encoded channel of not ordering, in the Entitlement Control Message that receives pre-determined number, only utilize described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering is carried out the deciphering of specific times, obtain control word, be that smart card according to the preview number of times in the preview parameter (is for example confirmed to have under the preview authority record situation of this encoded channel, 10 Entitlement Control Messages of every reception allow preview 3 times), if the preview number of times is not 0 time, then preview number of times in the preview parameter and reception Entitlement Control Message time number average are deducted once, the Entitlement Control Message that deciphering receives, and send the control word that obtains to descrambler, to the correct descrambling of encoded channel code stream, the user can normally watch by descrambler; If the preview number of times is for 0 time and to receive the Entitlement Control Message number of times be not 0 time, then will not decipher, descrambler can't receive the Entitlement Control Message number of times and subtract 1 time the correct descrambling of encoded channel code stream; If the preview number of times is for 0 time and to receive the Entitlement Control Message number of times be 0 time, then decipher the Entitlement Management Message or the Entitlement Control Message that receive and obtain and store the preview parameter, preview number of times in the preview parameter and reception Entitlement Control Message time number average are deducted once, the Entitlement Control Message that deciphering receives, and send the control word that obtains to descrambler, to the correct descrambling of encoded channel code stream, the user can normally watch by descrambler.When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the number of times in the preview parameter of this encoded channel in the user smart card is that 3 times (the transmission periodic regime of Entitlement Control Message is 5-30 second in 10 Entitlement Control Messages permissions of every reception preview, for example, 15 seconds), then the user can 3 Entitlement Control Message cycles (for example, 45 seconds) in watch the home theater channel, and and then can't watch this channel in 7 Entitlement Control Message cycles (for example, 105 seconds).
Can promote the sale of pay channel by the way, and the user is in that do not order can the preview channel content under the pay channel situation.
Be illustrated in figure 2 as a kind of set-top box structural representation of the embodiment of the invention.
Comprise demodulation multiplexer 201, control word decrypting device 202, descrambler 203.
Described demodulation multiplexer 201 is used to receive Entitlement Management Message, the Entitlement Control Message that the DVB network front end sends;
Described control word decrypting device 202, be used for decrypt authorized management information, Entitlement Control Message, obtain and store preview authority record and preview parameter, and according to control information deciphering with good conditionsi such as time of preview authority record and preview parameter configuration, duration, the time interval, number of times and obtain the control word that encoded channel code stream descrambling uses;
Described descrambler 203 is used for according to described control word the encoded channel code stream being carried out descrambling.
Wherein, described control word decrypting device 203 further comprises, smart card 2031 and interface module 2032.
Described interface module 2032, Entitlement Management Message, the Entitlement Control Message that is used for that demodulation multiplexer 201 is received sends described smart card 2031 to, and the control word that described smart card 2031 is decrypted sends descrambler 203 to.Described interface module 2032 can be for transplanting storehouse or CA kernel (CAk) etc.
Smart card 2031 is used for decrypt authorized management information, Entitlement Control Message, obtains and store preview authority record and preview parameter, according to preview authority record and the described Entitlement Control Message of preview parameter deciphering with good conditionsi and obtain control word.
Described smart card 2031 is further used for, according to control informations such as time period of described preview parameter configuration, time span, the time interval, number of times, in the given time, in the scheduled duration or in the pre-determined number, use described preview authority record that the Entitlement Control Message in the encoded channel code stream of not ordering (no authority record) is decrypted, obtain control word, otherwise will not decipher.This smart card can also be by being decrypted the process of control word according to restrictive condition among the above-mentioned Fig. 1 embodiment of realization such as counter, timer, subtracter.
When for example the user switches to the home theater channel of not ordering, if having the preview authority record of this encoded channel and the time period in the preview parameter in the user smart card is 20:00 to 22:00, so at this moment the section in a smart card solve control word, the user at this moment between the section in can watch the home theater channel content.Exceed the non-decrypting control word of this time period smart card, the user also can't watch the home theater channel content.
When for example the user switches to the home theater channel of not ordering, it is 1200 seconds if having the preview authority record and the time span in the preview parameter of this encoded channel in the user smart card.User accumulative total preview time span does not surpass that smart card solves control word under 1200 seconds situations, and the user can normally watch the home theater channel.Surpass 1200 seconds non-decrypting control words of smart card, the user can't watch this channel.
When for example the user switches to not the home theater channel of ordering, be to allow first preview 30 seconds in per 90 seconds if having the preview authority record and the time interval of this encoded channel in the user smart card, after forbid watching 60 seconds.The user switches to this channel smart card at every turn and solves the 30 second time of control word so, and the user can watch this channel content, the 60 seconds afterwards non-decrypting control words of smart card, and the user can't watch channel content.
When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the number of times in the preview parameter of this encoded channel in the user smart card is 3, when then the user switched to this channel 3 times, smart card solved control word, and the user can watch the home theater channel content.The non-decrypting control word of smart card when surpassing 3 times, the user can't watch this channel content.
When for example the user switches to the home theater channel of not ordering, if having the preview authority record and the number of times in the preview parameter of this encoded channel in the user smart card is that 3 times (the transmission periodic regime of Entitlement Control Message is 5-30 second in 10 Entitlement Control Messages permissions of every reception preview, for example, 15 seconds), when then switching to this channel, smart card 3 Entitlement Control Message cycles (for example, 45 seconds) in solve control word, the user can watch this channel content, then smart card follow-up 7 Entitlement Control Message cycles (for example, 105 seconds) in non-decrypting control word, the user can't watch this channel content.
Can promote the sale of pay channel by the way, and the user is in that do not order can the preview channel content under the pay channel situation.
Be illustrated in figure 3 as the transmission method flow chart of encoded channel in a kind of Digital Television of the embodiment of the invention.
Step 301 is set preview authority record and preview parameter.
Wherein said preview authority record is meant, send key by DVB network front end server to the control word of set-top box enabling decryption of encrypted channel, it can be the key of certain encoded channel control word of deciphering, also can be the key of a plurality of encoded channel control words of deciphering, perhaps can also be the key of all encoded channel control words of deciphering.
Described preview parameter is meant, comprise the time period, time span, the time interval, number of times etc. use the condition of described preview authority record enabling decryption of encrypted channel control word in interior restriction, for example restrictive condition can for, the control word that can allow user's set-top box to decipher certain encoded channel every night at 20 o'clock to 22 o'clock, perhaps in the 1200 second time of successively decreasing, can allow the subscriber computer top box to decipher the control word of all encoded channels, perhaps in 20 times of successively decreasing, can allow the subscriber computer top box to decipher the control word of some encoded channel, the perhaps time that in 10 Entitlement Control Messages that successively decrease send the time in cycles, can allow the subscriber computer top box to have 3 Entitlement Control Messages to send the cycles control word of deciphering some encoded channel, this subscriber computer top box can utilize above-mentioned control word to decipher this encoded channel, thereby can watch programme content in this encoded channel by display unit such as television sets.
Step 302 writes Entitlement Management Message with described preview authority record, and described preview parameter is write in Entitlement Management Message or the Entitlement Control Message.
Step 303 is encrypted described Entitlement Management Message and described Entitlement Control Message.
Step 304 sends Entitlement Management Message and the Entitlement Control Message of encrypting to set-top box.
Preview authority record, the same prior art encrypted transmission that all adopts of preview parameter with authority record.Difference is that control word can be deciphered and obtain to smart card just by authority record under the traditional approach, utilize this control word descrambler can the descrambling encoded channel, and could decipher and obtain control word at the condition smart card that obtains the preview authority record and need simultaneously to satisfy the preview parameter under the preview mode, descrambler utilizes this control word can the descrambling encoded channel.
Can promote the sale of pay channel by the way, and the user is in that do not order can the preview channel content under the pay channel situation.
Be illustrated in figure 4 as the structural representation of a kind of DVB network front end of embodiment of the invention server.
Comprise setup unit 401, writing unit 402, ciphering unit 403, transmitting element 404.
Described setup unit 401 is used to set preview authority record and preview parameter.
Said write unit 402 is used for described preview authority record is write Entitlement Management Message, and described preview parameter is write in Entitlement Management Message or the Entitlement Control Message.
Described ciphering unit 403 is used for described Entitlement Management Message and described Entitlement Control Message are encrypted.
Described transmitting element 404, the Entitlement Management Message and the Entitlement Control Message that are used for encrypting send set-top box to.
Be illustrated in figure 5 as the system data flow graph of encoded channel in a kind of Digital Television of the embodiment of the invention.
Comprise that DVB network front end server constitutes described in set-top box described in above-mentioned accompanying drawing 2 and the accompanying drawing 4.
Step 501, DVB network front end server is set preview authority record and preview parameter, for example the preview authority record is the whole encoded channels of preview, and the preview restrictive condition in the preview parameter is to allow 20 o'clock to 22 o'clock every day the user to utilize preview authority record enabling decryption of encrypted channel.
Step 502 writes described preview authority record in the Entitlement Management Message as authorized user message, and described preview parameter is increased in Entitlement Management Message or the Entitlement Control Message.
Step 503 is encrypted described Entitlement Management Message and described Entitlement Control Message.For example adopt symmetrical enciphering and deciphering algorithm or public and private key enciphering and deciphering algorithm to encrypt.
Step 504 sends Entitlement Management Message and the Entitlement Control Message of encrypting to set-top box.For example hybrid network that combines by optical fiber and coaxial cable or satellite broadcast network or wireless terrestrial broadcast networks or IP network send Entitlement Management Message and the Entitlement Control Message of encrypting to set-top box.
Step 506, from described Entitlement Management Message and Entitlement Control Message, obtain preview authority record and preview parameter, for example Entitlement Management Message, the Entitlement Control Message that receives sent to smart card, smart card decrypt authorized management information, obtain and store corresponding preview authority record, decrypt authorized management information or Entitlement Control Message obtain and store corresponding preview parameter.
Step 507 according to preview authority record and preview parameter, utilized the key in the preview authority record to decipher and obtain the control word that all encoded channel code stream descramblings use from Entitlement Control Message 20 o'clock to 22 o'clock every night.
Step 508 is carried out descrambling according to described control word to the encoded channel code stream.
Step 509, the set-top box content of TV program after with descrambling is shown to the user by display unit such as projecting apparatus, LCD.
Pass through the foregoing description, system front end can be set the channel of preview mandate, promptly can control and allow the user can restrictedly see some encoded channel, and can be by preview parameter control restrictive condition, whether the programme content that allows the user can understand this channel in advance before buying encoded channel is its favorite program, thereby save user's cost, can make full use of the shared resource bandwidth of encrypted channel in the digital TV network.
Pass through the foregoing description, set-top box can realize having preview function, when watching the channel that does not have mandate, the user can allow the user watch a period of time earlier, and then determine whether will order to watch this channel or program, saved the unnecessary expenses of user, and operator can utilize the preview authority record that channel program content is carried out security control, the specific user is sent the preview authority record, so that it can watch preview encoded channel code stream, improve this part user's user experience.
Adopt the method and apparatus of the embodiment of the invention, allow the user under the situation of not ordering encoded channel, the programme content of watching this channel a period of time with good conditionsi, the user does not know whether programme content is the program of oneself liking in the solution prior art when ordering program or channel, cause the problem of economic loss, also can carry out solving when pay channel is sold the problem of poor user experience in CHINA RFTCOM Co Ltd company.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.