CN106454488B - A kind of performance recording based on set-top box and back method and system - Google Patents

A kind of performance recording based on set-top box and back method and system Download PDF

Info

Publication number
CN106454488B
CN106454488B CN201610879569.9A CN201610879569A CN106454488B CN 106454488 B CN106454488 B CN 106454488B CN 201610879569 A CN201610879569 A CN 201610879569A CN 106454488 B CN106454488 B CN 106454488B
Authority
CN
China
Prior art keywords
program
descriptor
recorded file
scrambled
smart card
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
Application number
CN201610879569.9A
Other languages
Chinese (zh)
Other versions
CN106454488A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610879569.9A priority Critical patent/CN106454488B/en
Publication of CN106454488A publication Critical patent/CN106454488A/en
Priority to PCT/CN2017/104295 priority patent/WO2018064955A1/en
Application granted granted Critical
Publication of CN106454488B publication Critical patent/CN106454488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a kind of performance recordings based on set-top box and back method and system, method includes: when the recording request for detecting program, judge whether program is scrambled program, if scrambled program, it then obtains the smart card having permission to descramble program, and secondary encryption is carried out to recorded file according to descriptor and is stored;If unscrambled program, then encryption storage is carried out to recorded file using universal key;After the playback request for detecting recorded file instructs, judges whether it is scrambled program, if scrambled program, then obtain the smart card having permission and program is descrambled, playback is decrypted to recorded file according to the descriptor of program;If not then playback is decrypted to recorded file using universal key in scrambled program.The present invention can carry out secondary encryption to recorded file, and while guaranteeing to record the safety of program, other have the set-top box of the programme rights that can also play back the recorded file, provide convenience for user's recording and playback program.

Description

A kind of performance recording based on set-top box and back method and system
Technical field
The present invention relates to set-top box technique field more particularly to a kind of performance recording based on set-top box and back method and System.
Background technique
The recording function of set-top box is using more more and more universal, due to safety concerns, recorded file be typically necessary it is secondary plus Close storage, such recorded program can only play on the set-top box, maintenance operation quotient's interests.
Set-top box is commonly hardware ID (such as master chip for utilizing set-top box to the method for the secondary encryption of recorded file at present ChipID) Key as Encryption Algorithm, recorded file is encrypted and is stored.When playback, hardware ID is first read, with corresponding Decipherment algorithm is decrypted recorded file and is played back, and encryption is also to be realized by the hardware algorithm of set-top box with decryption.It records in this way Program, can only be played back on the set-top box.It is not clever enough although scheme effectively maintains the interests of operator in this way Living, the problem after recording can only be played back in the set-top box, even if other set-top boxes have the permission of the program, can not also play back the record File processed.Therefore in the prior art after the recorded file Encryption Algorithm encryption of set-top box, recorded program can only be in the machine of encryption Could be played back on top box, when encryption set-top box when something goes wrong, recorded program just can not play, and user can not also pass through it He records program at equipment viewing, and watching recorded program for user makes troubles.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of the deficiencies in the prior art, it is an object of that present invention to provide a kind of performance recordings based on set-top box and playback side Method and system, it is intended to which after the recorded file Encryption Algorithm encryption for solving set-top box in the prior art, recorded program can only add Could be played back on close set-top box, when encryption set-top box when something goes wrong, recorded program just can not play, and user can not yet It is watched by other equipment and records program, watch the technical issues of recorded program is made troubles for user.
Technical scheme is as follows:
A kind of performance recording and back method based on set-top box, wherein method includes:
A, the descriptor that program is added in table is described in the program service of set-top box in advance;
B, after the recording request for detecting program instructs, the descriptor of program is obtained, is judged by the descriptor of program Whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and descrambles to program, and according to Descriptor carries out secondary encryption to the recorded file generated after performance recording and stores;If program is unscrambled program, using logical Encryption storage is carried out with the recorded file generated after key pair performance recording;
C, after the playback request for detecting recorded file instructs, the descriptor of program is obtained, the descriptor of program is passed through Judge whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and program is descrambled, root Playback is decrypted to recorded file according to the descriptor of program;If program is unscrambled program, using universal key to recording Playback is decrypted in file.
The performance recording and back method based on set-top box, wherein further comprised the steps of: before the step A
S, program id information is stored in the database of set-top box in advance.
The performance recording and back method based on set-top box, wherein be arranged in the descriptor of the program useful In the solution that mark program is the scrambling identifier of scrambled program or unscrambled program and the descrambling permission of mark scrambled program Disturb mark ID.
The performance recording and back method based on set-top box, wherein the step B specifically includes step:
B1, when detect program recording request instruct after, from the database of set-top box obtain program id information, and from Program service describes the descriptor that program is obtained in table;
B2, judge that program is scrambled program or unscrambled section by the value of the scrambling identifier in the descriptor of program Mesh;
If B3, program are scrambled program, judge smart card with the presence or absence of descrambling mark ID, and if it exists, then intelligent fixture There is corresponding permission, smart card descrambles program, saves program id information and scrambling identifier, and identify ID according to descrambling Secondary encryption storage is carried out to the recorded file generated after performance recording;If it does not exist, then smart card does not have permission, cannot be to section Mesh is descrambled, performance recording failure;
If B4, program are unscrambled program, the scrambling identifier of program id information and program is saved, and according to general close Key carries out secondary encryption to the recorded file generated after performance recording and stores.
The performance recording and back method based on set-top box, wherein the step C specifically includes step:
C1, when detect recorded file playback request instruct after, from the database of set-top box obtain program id information, The descriptor that program is obtained in table is described from program service;
C2, judge that program is scrambled program or unscrambled section by the value of the scrambling identifier in the descriptor of program Mesh;
If C3, program are scrambled program, judge in smart card with the presence or absence of descrambling mark ID, and if it exists, then smart card With playback right, smart card descrambles program, according to descrambling mark ID to playing back after recorded file decryption, if not depositing , then smart card do not have playback right, program cannot be descrambled, programme replay failure;
If C4, program are unscrambled program, according to by being played back after the decryption of key pair recorded file.
A kind of performance recording and playback system based on set-top box, wherein system includes:
Descriptor adding module, for describing the descriptor for adding program in table in the program service of set-top box in advance;
Performance recording module, for obtaining the descriptor of program, passing through section after the recording request for detecting program instructs Purpose descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card having permission to program Descrambled, and secondary encryption is carried out to the recorded file generated after performance recording according to descriptor and is stored;If program is non-adds Program is disturbed, then encryption storage is carried out to the recorded file generated after performance recording using universal key;
Programme replay module, for obtaining the descriptor of program, leading to after the playback request for detecting recorded file instructs Purpose of celebrating a festival descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card pair having permission Program is descrambled, and playback is decrypted to recorded file according to the descriptor of program;If program is unscrambled program, use Playback is decrypted to recorded file in universal key.
The performance recording and playback system based on set-top box, wherein the system also includes:
Module is stored in advance, for program id information to be stored in the database of set-top box in advance.
The performance recording and playback system based on set-top box, wherein be arranged in the descriptor of the program useful In the solution that mark program is the scrambling identifier of scrambled program or unscrambled program and the descrambling permission of mark scrambled program Disturb mark ID.
The performance recording and playback system based on set-top box, wherein the performance recording module specifically includes:
First detection and acquiring unit, for when detect program recording request instruction after, from the database of set-top box Middle acquisition program id information, and from program service describe in table obtain program descriptor;
First judging unit, the value for the scrambling identifier in the descriptor by program judge that program is scrambled program Or unscrambled program;
First performance recording unit judges that smart card identifies ID with the presence or absence of descrambling if being scrambled program for program, If it exists, then smart card has corresponding permission, and smart card descrambles program, saves program id information and scrambling mark Symbol, and secondary encryption is carried out to the recorded file generated after performance recording according to descrambling mark ID and is stored;If it does not exist, then intelligent Block no permission, program cannot be descrambled, performance recording failure;
Second program recording elements save the scrambling of program id information and program if being unscrambled program for program Identifier, and secondary encryption is carried out to the recorded file generated after performance recording according to universal key and is stored.
The performance recording and playback system based on set-top box, wherein the programme replay module specifically includes:
Second detection and acquiring unit, for when detect recorded file playback request instruction after, from the number of set-top box According to program id information is obtained in library, the descriptor that program is obtained in table is described from program service;
Second judgment unit, the value for the scrambling identifier in the descriptor by program judge that program is scrambled program Or unscrambled program;
First program playback unit judges in smart card if being scrambled program for program with the presence or absence of descrambling mark ID, and if it exists, then smart card has playback right, and smart card descrambles program, according to descrambling mark ID to recorded file It is played back after decryption, if it does not exist, then smart card does not have playback right, cannot descramble to program, programme replay failure;
Second program playback unit, if being unscrambled program for program, basis is decrypted by key pair recorded file After play back.
The present invention provides a kind of performance recording based on set-top box and back method and system, the present invention can be literary to recording Part carries out secondary encryption, and while guaranteeing to record the safety of program, other have the set-top box of the programme rights that can also play back The recorded file provides convenience for user's recording and playback program.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the preferred embodiment of performance recording and back method based on set-top box of the invention.
Fig. 2 is the flow chart of the concrete application embodiment of step S200 in Fig. 1.
Fig. 3 is the flow chart of the concrete application embodiment of step S300 in Fig. 1.
Fig. 4 is a kind of principle of work and power of the preferred embodiment of performance recording and playback system based on set-top box of the invention Block diagram.
Fig. 5 is the program of concrete application embodiment in a kind of performance recording and playback system based on set-top box of the invention Record the functional schematic block diagram of module.
Fig. 6 is a kind of program of the concrete application embodiment of performance recording and playback system based on set-top box of the invention The functional schematic block diagram of playback module.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, below to the present invention further specifically It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The flow chart of the preferred embodiment of the present invention provides a kind of performance recording and back method based on set-top box, such as Shown in Fig. 1, wherein method includes:
Step S100, the descriptor that program is added in table is described in the program service of set-top box in advance.
When it is implemented, front end describes the NASP_CA_ for adding each program in table i.e. SDT table in program service Descriptor descriptor, be provided in the NASP_CA_descriptor descriptor descriptor of program for identify program be plus It disturbs the scrambling identifier of program or unscrambled program and identifies the descrambling mark ID of the descrambling permission of scrambled program.Wherein Scrambling identifier is labeled as CA_attibutes parameter, further includes NASP_SID in descriptor, and wherein NASP_SID indicates one The program ID of a program, descrambling mark ID are denoted as NSAP_PPID value, and NSAP_PPID indicates that this program is saved if it is scrambling Mesh, the permission needed.Front end authorizes anti-authorization to smart card, can change the list of the NSAP_PPID value of smart card.If intelligence Can also there be this value in card, illustrate that smart card has the permission of this program, can descramble.Conversely, smart card is without this program Permission, cannot descramble.
Specifically, before step S100 further include:
Step S1, program id information is stored in the database of set-top box in advance.
When it is implemented, program id information include Transport ID (transmission ID), Source ID (source ID), Service ID (service ID), Transport ID, Source ID, service ID can determine a unique program. These programme informations can be stored in the database D B of set-top box by this after searching programs.
Step S200, after the recording request for detecting program instructs, the descriptor of program is obtained, the description of program is passed through Symbol judges whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and descrambles to program, And secondary encryption is carried out to the recorded file generated after performance recording according to descriptor and is stored;If program is unscrambled program, Encryption storage is carried out to the recorded file generated after performance recording using universal key.
When it is implemented, the descriptor of program is obtained when detecting that user will record program A, according to the ginseng in descriptor Numerical value judges whether program is scrambled program, if it is unscrambled program, records after saving id information and scrambled program identifier Program, and encryption storage is carried out to program is recorded using universal code, if program is scrambled program, to judge current smart cards Whether have permission, if had permission, records program after storing program id information and scrambled program identifier, and use descriptor In parameter to record program carry out encryption storage.
In further embodiment, as shown in Fig. 2, step S200 is specifically included:
Step S201, after the recording request for detecting program instructs, program ID letter is obtained from the database of set-top box It ceases, and describes the descriptor of acquisition program in table from program service;
Step S202, by the value of the scrambling identifier in the descriptor of program judge program be scrambled program be also it is non-plus Disturb program;If program is scrambled program, S203 is thened follow the steps, if program is unscrambled program, thens follow the steps S204;
Step S203, judge smart card with the presence or absence of descrambling mark ID, and if it exists, then smart card has corresponding permission, Smart card descrambles program, saves program id information and scrambling identifier, and according to descrambling mark ID to performance recording after The recorded file of generation carries out secondary encryption storage;If it does not exist, then smart card does not have permission, cannot descramble to program, Performance recording failure;
Step S204, save the scrambling identifier of program id information and program, and according to universal key to performance recording after The recorded file of generation carries out secondary encryption storage.
When it is implemented, user select record program A, from database D B obtain program A Transport ID, Source ID, service ID information.The NASP_CA_descriptor descriptor of program A is obtained from SDT table.The description Symbol includes CA_attibutes and NSAP_PPID parameter;
By CA_attibutes parameter, determine that the program is scrambled program or unscrambled program.If it is unscrambled Program saves the NASP_CA_ of A programme information Transport ID, Source ID, service ID and program A Descriptor content is stored using general key encryption secondary to recorded file.If it is ciphered program, then need to judge NSAP_PPID value;
If corresponding NSAP_PPID in smart card illustrates that smart card has the permission of this program, can descramble, A is saved Programme information Transport ID, Source ID, service ID and program A NASP_CA_descriptor content simultaneously According to NSAP_PPID encryption storage secondary to recorded file.Conversely, permission of the smart card without this program, cannot descramble, mention Show that user does not have permission.
Step S300, after the playback request for detecting recorded file instructs, the descriptor of program is obtained, program is passed through Descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and carries out to program Descrambling, is decrypted playback to recorded file according to the descriptor of program;If program is unscrambled program, universal key is used Playback is decrypted to recorded file.
When it is implemented, the descriptor of program is obtained, according in descriptor when detecting that user plays back recording program A Parameter value judges whether program is scrambled program, if it is unscrambled program, is decrypted using universal code to program is recorded After play back, if program be scrambled program, to judge whether current smart cards have permission, if had permission, to record program Descrambled, according to the parameter in descriptor to record program decryption after play back.
Can also be used in replayed section NASP_CA_descriptor be according to Transport ID, Source ID, Service ID is obtained from code stream, so box must connection signal when playback.When in smart card associated rights change When change, playback will affect.When the permission of program changes, the playback of this scheme will affect, the code stream recorded in the past is not It can playback.
In further embodiment, direct recording ECM(Entitlement Control Message), the smart card of other boxes has correlative weight Limit, so that it may play back.When associated rights change in smart card, playback also will affect.
In further embodiment, as shown in figure 3, step S300 is specifically included:
Step S301, after the playback request for detecting recorded file instructs, program is obtained from the database of set-top box Id information describes the descriptor that program is obtained in table from program service;
Step S302, by the value of the scrambling identifier in the descriptor of program judge program be scrambled program be also it is non-plus Disturb program;If program is scrambled program, S303 is thened follow the steps, if program is unscrambled program, thens follow the steps S304;
Step S303, judge in smart card with the presence or absence of descrambling mark ID, and if it exists, then smart card has playback right, Smart card descrambles program, and according to descrambling mark ID to playing back after recorded file decryption, if it does not exist, then smart card does not have There is playback right, program cannot be descrambled, programme replay failure;
Step S304, according to by being played back after the decryption of key pair recorded file.
When it is implemented, playback program A, reads information Transport ID, Source ID, the service of A program The NASP_CA_descriptor content of ID and program A;By CA_attibutes parameter, determine that the program is scrambled program Or unscrambled program.If it is unscrambled program, recorded file is decrypted using general key and is played back.If it is ciphered program, It then needs to judge NSAP_PPID value.
If corresponding NSAP_PPID in smart card illustrates that smart card has the permission of this program, can descramble, according to NSAP_PPID decrypts recorded file and plays back.Conversely, permission of the smart card without this program, cannot descramble, user is prompted not have Permission.
The function of the preferred embodiment of the present invention also provides a kind of performance recording and playback system based on set-top box is former Block diagram is managed, as shown in figure 4, system includes:
Descriptor adding module 100, for describing the descriptor for adding program in table in the program service of set-top box in advance; Specifically as shown in embodiment of the method.
Performance recording module 200, for obtaining the descriptor of program, leading to after the recording request for detecting program instructs Purpose of celebrating a festival descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card pair having permission Program is descrambled, and is carried out secondary encryption to the recorded file generated after performance recording according to descriptor and stored;If program is Unscrambled program then carries out encryption storage to the recorded file generated after performance recording using universal key;Specific such as method is real It applies shown in example.
Programme replay module 300, for obtaining the description of program after the playback request for detecting recorded file instructs Symbol, judges whether program is scrambled program by the descriptor of program, if program is scrambled program, obtains the intelligence having permission Card descrambles program, and playback is decrypted to recorded file according to the descriptor of program;If program is unscrambled program, Playback is decrypted to recorded file using universal key;Specifically as shown in embodiment of the method.
It further carries out in example, system further include:
Module is stored in advance, for program id information to be stored in the database of set-top box in advance.
When it is implemented, being provided in the descriptor of the program for identifying program is scrambled program or unscrambled section The descrambling of the descrambling permission of purpose scrambling identifier and mark scrambled program identifies ID;Specifically as shown in embodiment of the method.
Further embodiment, as shown in figure 5, performance recording module 200 specifically includes:
First detection with acquiring unit 201, for when detect program recording request instruction after, from the data of set-top box Program id information is obtained in library, and the descriptor of acquisition program in table is described from program service;
First judging unit 202, the value for the scrambling identifier in the descriptor by program judge that program is scrambling Program or unscrambled program;Specifically as shown in embodiment of the method.
First performance recording unit 203 judges smart card with the presence or absence of descrambling mark if being scrambled program for program ID, and if it exists, then smart card has corresponding permission, and smart card descrambles program, saves program id information and scrambling mark Know symbol, and secondary encryption is carried out to the recorded file generated after performance recording according to descrambling mark ID and is stored;If it does not exist, then intelligence No permission can be blocked, program cannot be descrambled, performance recording failure;Specifically as shown in embodiment of the method.
Second program recording elements 204, if being unscrambled program for program, save program id information and program plus Identifier is disturbed, and secondary encryption is carried out to the recorded file generated after performance recording according to universal key and is stored;Specific such as method Shown in embodiment.
In further embodiment, as shown in fig. 6, programme replay module 300 specifically includes:
Second detection with acquiring unit 301, for when detect recorded file playback request instruction after, from set-top box Program id information is obtained in database, and the descriptor that program is obtained in table is described from program service;Specifically such as embodiment of the method institute Show.
Second judgment unit 302, the value for the scrambling identifier in the descriptor by program judge that program is scrambling Program or unscrambled program;Specifically as shown in embodiment of the method.
First program playback unit 303 judges in smart card if being scrambled program for program with the presence or absence of descrambling mark Know ID, and if it exists, then smart card has playback right, and smart card descrambles program, according to descrambling mark ID to recording text It is played back after part decryption, if it does not exist, then smart card does not have playback right, cannot descramble to program, programme replay failure; Specifically as shown in embodiment of the method.
Second program playback unit 304, if being unscrambled program for program, basis passes through key pair recorded file solution Playback after close;Specifically as shown in embodiment of the method.
In conclusion the invention discloses a kind of performance recording based on set-top box and back method and system, method packet It includes: when the recording request for detecting program, judging whether program is scrambled program, if scrambled program, then acquisition has permission Smart card descrambles program, and carries out secondary encryption to recorded file according to descriptor and store;If unscrambled program, then Encryption storage is carried out to recorded file using universal key;After the playback request for detecting recorded file instructs, judge whether It then obtains the smart card having permission if scrambled program for scrambled program and program is descrambled, according to the descriptor pair of program Playback is decrypted in recorded file;If not then playback is decrypted to recorded file using universal key in scrambled program.The present invention Secondary encryption can be carried out to recorded file, while guaranteeing to record the safety of program, other have the set-top box of the programme rights The recorded file can also be played back, is provided convenience for user's recording and playback program.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (8)

1. a kind of performance recording and back method based on set-top box, which is characterized in that the method includes the steps:
A, the descriptor that program is added in table is described in the program service of set-top box in advance;
B, after the recording request for detecting program instructs, the descriptor of program is obtained, program is judged by the descriptor of program Whether it is scrambled program, if program is scrambled program, obtains the smart card having permission and program is descrambled, and according to description It accords with and secondary encryption storage is carried out to the recorded file generated after performance recording;If program is unscrambled program, using general close Key carries out encryption storage to the recorded file generated after performance recording;
C, after the playback request for detecting recorded file instructs, the descriptor of program is obtained, is judged by the descriptor of program Whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and descrambles to program, according to section Playback is decrypted to recorded file in purpose descriptor;If program is unscrambled program, using universal key to recorded file Playback is decrypted;
Be provided in the descriptor of the program for identify scrambling identifier that program is scrambled program or unscrambled program, And the descrambling of the descrambling permission of mark scrambled program identifies ID.
2. the performance recording and back method according to claim 1 based on set-top box, which is characterized in that the step A It further comprises the steps of: before
S, program id information is stored in the database of set-top box in advance.
3. the performance recording and back method according to claim 2 based on set-top box, which is characterized in that the step B Specifically include step:
B1, after the recording request for detecting program instructs, program id information is obtained from the database of set-top box, and from program The descriptor of program is obtained in SDT Service Description Table;
B2, judge that program is scrambled program or unscrambled program by the value of the scrambling identifier in the descriptor of program;
If B3, program be scrambled program, judge smart card with the presence or absence of descrambling mark ID, and if it exists, then smart card have pair The permission answered, smart card descramble program, save program id information and scrambling identifier, and according to descrambling mark ID to section The recorded file generated after catalogue system carries out secondary encryption storage;If it does not exist, then smart card does not have permission, cannot to program into Row descrambling, performance recording failure;
If B4, program are unscrambled program, the scrambling identifier of program id information and program is saved, and according to universal key pair The recorded file generated after performance recording carries out secondary encryption storage.
4. the performance recording and back method according to claim 3 based on set-top box, which is characterized in that the step C Specifically include step:
C1, when detect recorded file playback request instruct after, from the database of set-top box obtain program id information, from section The descriptor of program is obtained in mesh SDT Service Description Table;
C2, judge that program is scrambled program or unscrambled program by the value of the scrambling identifier in the descriptor of program;
If C3, program are scrambled program, judge in smart card with the presence or absence of descrambling mark ID, and if it exists, then smart card has Playback right, smart card descramble program, according to descrambling mark ID to playing back after recorded file decryption, if it does not exist, then Smart card does not have playback right, cannot descramble to program, programme replay failure;
If C4, program are unscrambled program, according to by being played back after the decryption of key pair recorded file.
5. a kind of performance recording and playback system based on set-top box, which is characterized in that system includes:
Descriptor adding module, for describing the descriptor for adding program in table in the program service of set-top box in advance;
Performance recording module, for obtaining the descriptor of program, passing through program after the recording request for detecting program instructs Descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card having permission and carries out to program Descrambling, and secondary encryption is carried out to the recorded file generated after performance recording according to descriptor and is stored;If program is unscrambled section Mesh then carries out encryption storage to the recorded file generated after performance recording using universal key;
Programme replay module, for obtaining the descriptor of program, passing through section after the playback request for detecting recorded file instructs Purpose descriptor judges whether program is scrambled program, if program is scrambled program, obtains the smart card having permission to program Descrambled, playback is decrypted to recorded file according to the descriptor of program;If program is unscrambled program, using general Playback is decrypted in key pair recorded file;
Be provided in the descriptor of the program for identify scrambling identifier that program is scrambled program or unscrambled program, And the descrambling of the descrambling permission of mark scrambled program identifies ID.
6. the performance recording and playback system according to claim 5 based on set-top box, which is characterized in that the system is also Include:
Module is stored in advance, for program id information to be stored in the database of set-top box in advance.
7. the performance recording and playback system according to claim 6 based on set-top box, which is characterized in that the section directory Molding block specifically includes:
First detection and acquiring unit, for being obtained from the database of set-top box after the recording request for detecting program instructs Program id information is taken, and describes the descriptor of acquisition program in table from program service;
First judging unit, the value for the scrambling identifier in the descriptor by program judge program be scrambled program or Unscrambled program;
First performance recording unit judges smart card with the presence or absence of descrambling mark ID, if depositing if being scrambled program for program , then smart card has corresponding permission, and smart card descrambles program, program id information and scrambling identifier are saved, and Secondary encryption is carried out to the recorded file generated after performance recording according to descrambling mark ID to store;If it does not exist, then smart card does not have It has permission, program cannot be descrambled, performance recording failure;
Second program recording elements save the scrambling mark of program id information and program if being unscrambled program for program Symbol, and secondary encryption is carried out to the recorded file generated after performance recording according to universal key and is stored.
8. the performance recording and playback system according to claim 7 based on set-top box, which is characterized in that the program returns Amplification module specifically includes:
Second detection and acquiring unit, for when detect recorded file playback request instruction after, from the database of set-top box Middle acquisition program id information describes the descriptor that program is obtained in table from program service;
Second judgment unit, the value for the scrambling identifier in the descriptor by program judge program be scrambled program or Unscrambled program;
First program playback unit judges that whether there is descrambling in smart card identifies ID if being scrambled program for program, if In the presence of then smart card has playback right, and smart card descrambles program, after being decrypted according to descrambling mark ID to recorded file Playback, if it does not exist, then smart card does not have playback right, cannot descramble to program, programme replay failure;
Second program playback unit, if being unscrambled program for program, according to by being returned after the decryption of key pair recorded file It puts.
CN201610879569.9A 2016-10-09 2016-10-09 A kind of performance recording based on set-top box and back method and system Active CN106454488B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610879569.9A CN106454488B (en) 2016-10-09 2016-10-09 A kind of performance recording based on set-top box and back method and system
PCT/CN2017/104295 WO2018064955A1 (en) 2016-10-09 2017-09-29 Method and system for recording and playing back program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610879569.9A CN106454488B (en) 2016-10-09 2016-10-09 A kind of performance recording based on set-top box and back method and system

Publications (2)

Publication Number Publication Date
CN106454488A CN106454488A (en) 2017-02-22
CN106454488B true CN106454488B (en) 2019-06-11

Family

ID=58171807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610879569.9A Active CN106454488B (en) 2016-10-09 2016-10-09 A kind of performance recording based on set-top box and back method and system

Country Status (2)

Country Link
CN (1) CN106454488B (en)
WO (1) WO2018064955A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454488B (en) * 2016-10-09 2019-06-11 深圳创维数字技术有限公司 A kind of performance recording based on set-top box and back method and system
CN107094268B (en) * 2017-03-27 2021-02-26 海信视像科技股份有限公司 Program scheduled recording control method and device
CN107959890B (en) * 2018-01-05 2020-06-23 深圳创维数字技术有限公司 Detection method, device, terminal and storage medium for reserved recording
CN108337503B (en) * 2018-01-25 2020-06-23 深圳创维数字技术有限公司 Digital television field environment simulation method, terminal and computer readable medium
CN108322826A (en) * 2018-03-01 2018-07-24 深圳创维数字技术有限公司 EPG programme rights monitoring method, set-top box and storage medium
CN108965985A (en) * 2018-08-30 2018-12-07 海信电子科技(深圳)有限公司 A kind of method of program recording and device
CN109286849A (en) * 2018-10-10 2019-01-29 四川长虹电器股份有限公司 The system and method that the recording and playback of a kind of pair of scrambled program is controlled
CN112073660B (en) * 2020-09-15 2023-03-10 深圳Tcl数字技术有限公司 TLV data generation method, TLV data reading method, intelligent device and storage medium
CN114449349B (en) * 2020-10-30 2023-07-25 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN114257863B (en) * 2022-03-02 2022-06-24 深圳佳力拓科技有限公司 Set top box playback system and method for displaying fingerprint screen display through recording clear stream

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197987A (en) * 2006-12-08 2008-06-11 上海全景数字技术有限公司 Digital television program recording and playback method and system
CN102427561A (en) * 2011-10-24 2012-04-25 山东泰信电子有限公司 Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared
CN103024475A (en) * 2012-12-21 2013-04-03 深圳市九洲电器有限公司 Method and system of recording and authorization playing of television programs
CN104244090A (en) * 2014-09-04 2014-12-24 四川迪佳通电子有限公司 Program authorization method and system
CN105263047A (en) * 2015-10-15 2016-01-20 高斯贝尔数码科技股份有限公司 Digital TV program encrypted recording method with participant mobile terminal
CN105828186A (en) * 2016-03-23 2016-08-03 福建新大陆通信科技股份有限公司 Set top box recorded program secondary encryption method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9414031B2 (en) * 2008-11-26 2016-08-09 Echostar Technologies L.L.C. Account-specific encryption key
US9191621B2 (en) * 2010-12-02 2015-11-17 Nagravision S.A. System and method to record encrypted content with access conditions
FR2974475B1 (en) * 2011-04-19 2015-06-05 Viaccess Sa METHOD FOR PROTECTING RECORDED MULTIMEDIA CONTENT
CN106454488B (en) * 2016-10-09 2019-06-11 深圳创维数字技术有限公司 A kind of performance recording based on set-top box and back method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197987A (en) * 2006-12-08 2008-06-11 上海全景数字技术有限公司 Digital television program recording and playback method and system
CN102427561A (en) * 2011-10-24 2012-04-25 山东泰信电子有限公司 Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared
CN103024475A (en) * 2012-12-21 2013-04-03 深圳市九洲电器有限公司 Method and system of recording and authorization playing of television programs
CN104244090A (en) * 2014-09-04 2014-12-24 四川迪佳通电子有限公司 Program authorization method and system
CN105263047A (en) * 2015-10-15 2016-01-20 高斯贝尔数码科技股份有限公司 Digital TV program encrypted recording method with participant mobile terminal
CN105828186A (en) * 2016-03-23 2016-08-03 福建新大陆通信科技股份有限公司 Set top box recorded program secondary encryption method

Also Published As

Publication number Publication date
WO2018064955A1 (en) 2018-04-12
CN106454488A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106454488B (en) A kind of performance recording based on set-top box and back method and system
US7079752B1 (en) Process for recording a scrambled MPEG stream
CN100385849C (en) Information recording device information reproducing device, information recording mehtod, information reproducing method and computer program
CN1930625B (en) Content play device
US20090290710A1 (en) Unlocking a protected portable storage medium
EP2515473B1 (en) Content reception apparatus, content playback apparatus, content reception and playback apparatus, content reception method, and program
CN101107656B (en) Apparatus for reproducing data from recording medium using local storage and method thereof
CN101917611A (en) Video output device capable of tracking propagating sources
US8571209B2 (en) Recording keys in a broadcast-encryption-based system
US9171569B2 (en) Method and apparatus for assisting with content key changes
CN201860423U (en) Video output device capable of tracking transmission source
CN101361060A (en) Method and apparatus for importing content having plurality of parts
CN101931784B (en) By the method for HDCP double secret key encrypting and decrypting recorded program
CN103562924A (en) Information processing device, information processing method, and program
CN101292292B (en) Method for etching and secure distribution of digital data, access device and writer
US8782440B2 (en) Extending the number of applications for accessing protected content in a media using media key blocks
CN106101754A (en) A kind of method and device protecting data transmission stream
CN1870160B (en) Data reproducing method, data recording/reproducing device, and data transfer method
US20120210128A1 (en) Information processing apparatus, information processing method and program
CN104244068B (en) One kind records program reproduction process method and system
US7630498B2 (en) Engine, register and methods for the same
Son et al. PVR: a novel PVR scheme for content protection
US20110091186A1 (en) Recording and reproducing apparatus and recording and reproducing system
JP4045137B2 (en) Data stream recording apparatus, data stream recording method and program
JP3965197B2 (en) Playback device for playing content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant