CN113542877B - PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium - Google Patents

PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium Download PDF

Info

Publication number
CN113542877B
CN113542877B CN202110789038.1A CN202110789038A CN113542877B CN 113542877 B CN113542877 B CN 113542877B CN 202110789038 A CN202110789038 A CN 202110789038A CN 113542877 B CN113542877 B CN 113542877B
Authority
CN
China
Prior art keywords
pvr
resource
digital terminal
target
control word
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
CN202110789038.1A
Other languages
Chinese (zh)
Other versions
CN113542877A (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.)
Sichuan Changhong Network Technology Co Ltd
Original Assignee
Sichuan Changhong Network Technology 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 Sichuan Changhong Network Technology Co Ltd filed Critical Sichuan Changhong Network Technology Co Ltd
Priority to CN202110789038.1A priority Critical patent/CN113542877B/en
Publication of CN113542877A publication Critical patent/CN113542877A/en
Application granted granted Critical
Publication of CN113542877B publication Critical patent/CN113542877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a PVR resource sharing method, a PVR resource sharing system, computer equipment and a storage medium, wherein the PVR resource sharing method comprises the following steps: the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, and the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encryption control word and the target key group and plays the decrypted PVR resource stream when the second digital terminal successfully authenticates and acquires the target key group within a preset time; the problem that copyright protection cannot be carried out in free sharing in the prior art is solved, small-range and limited-time sharing of resources needing copyright protection is achieved, sharing application of the traditional PVR technology is more flexible and safer, and experience of users is improved.

Description

PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium
Technical Field
The invention relates to the technical field of digital televisions, in particular to a PVR resource sharing method, a PVR resource sharing system, a PVR resource sharing computer device and a PVR resource storage medium.
Background
The PVR (Personal Video Recoder) technology of the traditional non-advanced safe digital television supports the caching of video resources played at the front end on a hard disk or an external storage device arranged in advanced safe terminal equipment of the digital television so as to facilitate the repeated review of users; however, the protection of the content is insufficient, theoretically, a user can freely watch the resource on the digital television terminal equipment of the same type, and can freely share and spread the recorded video to others, and the video never expires; in order to strengthen copyright protection, the related art proposes the concept of "Enhanced PVR", that is, performing secondary encryption protection on key ladder related to Chip ID of content recorded by PVR, but in this encryption manner, the recorded resources can only be reviewed on the same machine and cannot be shared.
Therefore, the prior art has the problem that the PVR resource sharing method can freely share and cannot carry out copyright protection, or has the problem that the PVR resource sharing cannot be carried out after the copyright protection is enhanced, and the requirements of users cannot be met.
Disclosure of Invention
Aiming at the defects existing in the prior art, the PVR resource sharing method, system, computer equipment and storage medium provided by the invention solve the problem that the copyright protection cannot be carried out in free sharing in the prior art, and realize small-range and limited-time sharing of resources needing copyright protection, thereby enabling the sharing application of the traditional PVR technology to be more flexible and safer and improving the experience of users.
In a first aspect, the present invention provides a method for sharing PVR resources, where the method includes: the first digital terminal acquires a target key group and an encryption control word; the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource; and when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream.
Optionally, the first digital terminal acquires a target key group and an encryption control word, including: the first digital terminal receives a first authorization management information table and an authorization control information table broadcast by a server; the first digital terminal obtains a target key group corresponding to the recording starting time from the first authorization management information table according to the recording starting time of the current PVR resource flow; and the first digital terminal acquires the encryption control word corresponding to the PVR resource stream from the authorization control information table according to the current PVR resource stream.
Optionally, the first digital terminal obtains an encryption key according to the target key group and the encryption control word, including: the CA card in the first digital terminal decrypts the encrypted control word to obtain a plaintext control word; and the first digital terminal calculates the encryption key according to the target key group, the plaintext control word and a preset encryption formula.
Optionally, when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to an encryption control word in the target PVR resource, including: when the target PVR resource is shared to the second digital terminal, the second digital terminal acquires an encryption control word in the target PVR resource; decrypting the encrypted control word through a CA card in the second digital terminal; when the CA card in the second digital terminal fails to decrypt the encrypted control word, the authentication of the second digital terminal fails; and when the CA card in the second digital terminal successfully decrypts the encryption control, the authentication of the second digital terminal is successful.
Optionally, obtaining the target key group includes: the second digital terminal receives a second authorization management information table broadcasted by the server; the second digital terminal obtains the beginning recording time of the PVR resource flow according to the target PVR resource; and the second digital terminal acquires the target key group corresponding to the recording starting time from the second authorization management information table according to the recording starting time.
Optionally, the method further comprises: and when the target key group corresponding to the recording starting time does not exist in the second authorization management information table, the second digital terminal prompts that the resource is expired, and deletes the target PVR resource.
Optionally, the method further comprises: the server judges whether an expired key group exists in the first authorization management information table; when the expired key group exists, the server generates a new key group to replace the expired key group, and the second authorization management information table is obtained.
In a second aspect, the present invention provides a PVR resource sharing system, the system comprising: the system comprises a plurality of digital terminals and a server, wherein the server is used for broadcasting an authorization management information table and an authorization control information table; each digital terminal is used for obtaining a target key group and an encryption control word according to the broadcast authorization management information table and the authorization control information table, and encrypting the recorded PVR resource stream according to the target key group and the encryption control word to obtain target PVR resources; and each digital terminal is also used for authenticating according to the encryption control word in the target PVR resource, decrypting the encrypted PVR resource stream in the target PVR resource according to the encryption control word and the target key group when authentication is successful and the target key group is acquired, and playing the decrypted PVR resource stream.
In a third aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: the first digital terminal acquires a target key group and an encryption control word; the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource; and when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream.
In a fourth aspect, the present invention provides a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: the first digital terminal acquires a target key group and an encryption control word; the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource; and when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream.
Compared with the prior art, the invention has the beneficial effects that:
the invention encrypts a PVR resource flow recorded in a first digital terminal through a target key group and an encryption control word acquired in the first digital terminal to obtain a target PVR resource; when the target PVR resources are shared to a second digital terminal, the second digital terminal decrypts the target PVR resources to obtain a recorded PVR resource flow and plays the recorded PVR resource flow when authentication according to the encryption control word is successful in the second digital terminal and the same target key group is acquired in the second digital terminal within a preset time; therefore, the invention solves the problem that the copyright protection can not be carried out in the free sharing and the problem that the PVR resource sharing can not be carried out after the copyright protection is enhanced in the prior art, realizes small-range and limited sharing of the resource needing the copyright protection, and gives consideration to the content safety, the user experience and the controllability of operators on the shared resource, thereby leading the sharing application of the traditional PVR technology to be more flexible and safer and improving the experience of users.
Drawings
Fig. 1 is a flow chart of a method for sharing PVR resources according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a server updating authorization management information table according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of encrypting a PVR resource stream by a first digital terminal according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of decrypting a PVR resource stream by a second digital terminal according to an embodiment of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
In this application, the first digital terminal and the second digital terminal both include, but are not limited to, a conventional set-top box, i.e. a unidirectional set-top box that does not support internet connection, and the server is an operator front-end system or front-end device that broadcasts programs, an authorization management information table, and an authorization control information table to the first digital terminal and the second digital terminal; the number of the digital terminals in the application comprises a plurality of encrypted resource streams recorded in one digital terminal, authentication and decryption can be performed in other digital terminals, and when authentication is successful and decryption is successful, the resource streams recorded in a degree within an effective period can be watched, so that the resource streams are shared in a small range and in a limited period.
Fig. 1 is a flow chart of a method for sharing PVR resources according to an embodiment of the present invention; as shown in fig. 1, the PVR resource sharing method specifically includes the following steps:
in step S101, the first digital terminal acquires the target key group and the encryption control word.
In this embodiment, the first digital terminal obtains a target key group and an encryption control word, including: the first digital terminal receives a first authorization management information table and an authorization control information table broadcast by a server; the first digital terminal obtains a target key group corresponding to the recording starting time from the first authorization management information table according to the recording starting time of the current PVR resource flow; and the first digital terminal acquires the encryption control word corresponding to the PVR resource stream from the authorization control information table according to the current PVR resource stream.
It should be noted that, the first authorization management information table includes a plurality of key groups and an effective time period corresponding to each key group, the authorization control information table includes an encryption control word of each program resource, if the a program resource is watched on the first digital terminal, the CA card in the first digital terminal performs card communication or decryption operation on the encryption control word of the a program resource, when the card communication is successful or decryption is successful, it indicates that the first digital terminal has the right to watch the a decryption resource, and conversely, if the card communication is failed or decryption is failed, it indicates that the first digital terminal has no right to watch the a program resource; therefore, the PVR resource stream to be recorded on the first digital terminal is a resource stream successfully decrypted by the first digital terminal from the encrypted control word corresponding to the PVR resource stream, and the key set corresponding to the recording start time, that is, the target key set, is obtained according to the effective time of the recording start time.
Step S102, the first digital terminal obtains an encryption key according to the target key group and the encryption control word.
In this embodiment, the obtaining, by the first digital terminal, an encryption key according to the target key group and the encryption control word includes: the CA card in the first digital terminal decrypts the encrypted control word to obtain a plaintext control word; and the first digital terminal calculates the encryption key according to the target key group, the plaintext control word and a preset encryption formula.
It should be noted that, the first digital terminal calculates an encryption key according to an arbitrary function formula from the target key group and the plaintext control word, for example, key=f (CW, IV), where key is the encryption key, CW is the plaintext control word, and IV is the target key group.
Step S103, the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain the target PVR resource.
In this embodiment, the first digital terminal encrypts the recorded PVR resource stream according to the encryption key and an encryption algorithm such as AES128 to obtain a secondary encrypted PVR resource stream, and packages the encryption control word, the secondary encrypted PVR resource stream, the recording start time of the PVR resource stream and a preset encryption formula together to generate the target PVR resource.
Step S104, when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource.
Specifically, when the target PVR resource is shared to a second digital terminal, the second digital terminal performs authentication according to an encryption control word in the target PVR resource, including: when the target PVR resource is shared to the second digital terminal, the second digital terminal acquires an encryption control word in the target PVR resource; decrypting the encrypted control word through a CA card in the second digital terminal; when the CA card in the second digital terminal fails to decrypt the encrypted control word, the authentication of the second digital terminal fails; and when the CA card in the second digital terminal successfully decrypts the encryption control, the authentication of the second digital terminal is successful.
It should be noted that, the purpose of the authentication performed by the second digital terminal is to determine whether the PVR resource stream recorded in the first digital terminal is authorized to be watched in the second digital terminal, for example, the a program resource is authorized to be watched in the first digital terminal, but is not authorized to be watched in the second digital terminal, and then the a program resource stream recorded in the first digital terminal is streamed to the second digital terminal and is not authorized to be played; in this embodiment, the encryption control word of the same program resource is decrypted according to the CA card in each digital terminal, if decryption succeeds, authentication is successful, and if decryption fails, authentication fails.
Step S105, when the authentication of the second digital terminal is successful and the target key set is obtained within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encryption control word and the target key set, and plays the decrypted PVR resource stream.
In this embodiment, the obtaining the target key group includes: the second digital terminal receives a second authorization management information table broadcasted by the server; the second digital terminal obtains the beginning recording time of the PVR resource flow according to the target PVR resource; and the second digital terminal acquires the target key group corresponding to the recording starting time from the second authorization management information table according to the recording starting time.
Further, the method further comprises: and when the target key group corresponding to the recording starting time does not exist in the second authorization management information table, the second digital terminal prompts that the resource is expired, and deletes the target PVR resource.
It should be noted that, in the preset time, the first authorization management information table received by the first digital terminal and the second authorization management information table received by the second digital terminal may be the same or different, and when the expired key group does not exist in the first authorization management information table, multiple groups of key groups in the first authorization management information table are the same as multiple groups of key groups in the second authorization management information table; when an expired key group exists in the first authorization management information table, the server generates a new key group to replace the expired key group, so that the second authorization management information table is obtained, and then a plurality of groups of key groups in the first authorization management information table are not identical to a plurality of groups of key groups in the second authorization management information table. Further, the second digital terminal calculates the encryption key according to the plaintext control word obtained after successful authentication, the obtained target key group and a calculation formula in the target PVR resource, decrypts the encrypted PVR resource according to the encryption key, and plays the decrypted PVR resource stream.
Compared with the prior art, the invention has the beneficial effects that:
the invention encrypts a PVR resource flow recorded in a first digital terminal through a target key group and an encryption control word acquired in the first digital terminal to obtain a target PVR resource; when the target PVR resources are shared to a second digital terminal, the second digital terminal decrypts the target PVR resources to obtain a recorded PVR resource flow and plays the recorded PVR resource flow when authentication according to the encryption control word is successful in the second digital terminal and the same target key group is acquired in the second digital terminal within a preset time; therefore, the invention solves the problem that the copyright protection can not be carried out in the free sharing and the problem that the PVR resource sharing can not be carried out after the copyright protection is enhanced in the prior art, realizes small-range and limited sharing of the resource needing the copyright protection, and gives consideration to the content safety, the user experience and the controllability of operators on the shared resource, thereby leading the sharing application of the traditional PVR technology to be more flexible and safer and improving the experience of users.
In one embodiment of the present invention, a PVR resource sharing system is provided, the system comprising: the system comprises a plurality of digital terminals and a server, wherein the server is used for broadcasting an authorization management information table and an authorization control information table; each digital terminal is used for obtaining a target key group and an encryption control word according to the broadcast authorization management information table and the authorization control information table, and encrypting the recorded PVR resource stream according to the target key group and the encryption control word to obtain target PVR resources; and each digital terminal is also used for authenticating according to the encryption control word in the target PVR resource, decrypting the encrypted PVR resource stream in the target PVR resource according to the encryption control word and the target key group when authentication is successful and the target key group is acquired, and playing the decrypted PVR resource stream.
In this embodiment, the front end of the operator passes through an encrypted EMM (entitlement management message) table of the CAS front end, where the encrypted EMM table includes a valid time of a key set, a current key set, and a last-used key set; so that the digital terminal selects a proper key to complete playback; wherein, the reference structure of the EMM table is as follows:
Figure BDA0003160156950000071
/>
as shown in fig. 2, the specific steps of the operator to automatically update the EMM table are: the front end of the operator CA can freely manage two groups of secret keys IV, if the secret key IV reaches a secret key changing time point appointed by the operator, a random key IV which is not repeated is automatically generated, the original key IV1 is replaced, the key IV1 is used for replacing the key IV2, and the key IV2 is directly put off the shelf and discarded; so that the operator is free to control the expiration date of the sharable video.
As shown in fig. 3, the first digital terminal needs to actively select the sharable mode for recording (also can support the conversion of the recorded stream mode into the sharable mode), and then requests and filters the corresponding EMM table to obtain the latest key set IV. And sending the ECM to the CW control word plaintext obtained by CA card. The PVR content is encrypted for the second time and stored by using a key calculated by a pre-agreed formula key=F (CW, IV); wherein prior to recording attention is paid to recording the current start recording time and a set of ECM keys for authentication and key generation.
As shown in fig. 4, when the secondary encrypted PVR content is reviewed at the second digital terminal, the second digital terminal requests and filters the EMM table at the front end, and selects a proper key IV according to the recording time description of the stream. If the program is out of date, the front end cannot obtain the decryption key IV used when recording, the system pops up a prompt to tell the client that the video has an expiration date, the video is not allowed to be played any more, and the ts stream is automatically deleted; using CW ciphertext stored before the stream to carry out card communication authentication, and after the authentication is successful, taking the plaintext of the CW; if the authentication fails, the system pops up a prompt to tell the client that the video has no viewing authority and automatically deletes the video; using the same encryption formula in fig. 3, calculating and recovering an encryption key=f (CW, IV); finally, decrypting and playing the program in the second digital terminal through the secret key.
The PVR resource sharing system provided in the above embodiment includes the following steps: a. the front end of the operator safely broadcasts the IV vector of the current secret key through the encrypted EMM table of the front end of the CAS; b. the terminal equipment selects a sharing recording mode for recording; c. and the terminal equipment normally PVR, and the system carries out secondary encryption on a key synthesized by a group of CW plaintext and a key IV used by the ts stream and stores the key on the U disk equipment. After the recording is finished, the clients can share the recorded ts stream; d. the client can acquire the ts streams recorded and shared by other clients in the group, copy the ts streams to the U disk or the storage device of the client, and then authenticate the ts streams, and if the ts streams are authorized, the ts streams can be normally reviewed.
It should be further noted that in step a of this embodiment, in the two components of the PVR key, both the IV and the CW are broadcast in the digital television network after being encrypted by the CAS system, which has the advantages of fully ensuring the security of the key and being not easy to be intercepted and intercepted. In step a of this embodiment, the component IV of the PVR key is updated periodically with a new IV that is randomly generated. This updated process operator is fully controllable. Thus, the expired file is not allowed to be reviewed, wherein after the key is expired, the front end does not broadcast the IV of the old key, and the terminal cannot combine the keys. In steps b-d of this embodiment, the terminal monitors the EMM table of the CAS system at any time, and temporarily stores the latest IV information in the EMM table in the terminal memory; the method has the advantages of considering efficiency and safety; the likelihood of being analyzed and compromised is very small by selecting to acquire a refresh in real time without saving key information to local nonvolatile memory. In step d of this embodiment, the correct decryption key is found and matched in the latest key vector IV list based on the recording time of the ts stream before playback. If no available IV is found, it is indicated that the recorded stream has expired. Thus, in cooperation with the 4 th point, the operator can control the validity period of the recorded resources by changing the frequency of front-end refreshing IV, so that the resources cannot be permanently valid. In steps b-d of this embodiment, a set of ciphertext ECMs is selected, and the plaintext CW from the CAS system is engaged in the synthesis of the encrypted key. The key is also protected by the CAS system and is very safe; the length of this piece of data is long and the intensity is sufficient. In step d of this embodiment, the pre-stored ciphertext ECM of the program is used to transmit to the CA card for authentication. If the information returned by the CA card is authorized to be watched, the same resource is legally authorized (purchased) by the CAS system on the shared box, and the copyright risk is not existed in the direct playback.
In another embodiment of the invention, a computer device is provided comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of: the first digital terminal acquires a target key group and an encryption control word; the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource; and when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream.
In yet another embodiment of the present invention, there is provided a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: the first digital terminal acquires a target key group and an encryption control word; the first digital terminal obtains an encryption key according to the target key group and the encryption control word; the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources; when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource; and when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for sharing PVR resources, the method comprising:
the first digital terminal acquires a target key group and an encryption control word;
the first digital terminal obtains an encryption key according to the target key group and the encryption control word;
the first digital terminal encrypts the recorded PVR resource stream according to the encryption key to obtain target PVR resources;
when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates according to the encryption control word in the target PVR resource;
when the second digital terminal successfully authenticates and acquires the target key group within a preset time, the second digital terminal decrypts the encrypted PVR resource stream in the target PVR resource according to the encrypted control word and the target key group, and plays the decrypted PVR resource stream;
the preset time is the effective time corresponding to the target key group.
2. The PVR resource sharing method of claim 1, wherein the first digital terminal obtains a target key group and an encryption control word, comprising:
the first digital terminal receives a first authorization management information table and an authorization control information table broadcast by a server;
the first digital terminal obtains a target key group corresponding to the recording starting time from the first authorization management information table according to the recording starting time of the current PVR resource flow;
and the first digital terminal acquires the encryption control word corresponding to the PVR resource stream from the authorization control information table according to the current PVR resource stream.
3. The PVR resource sharing method of claim 1, wherein the first digital terminal obtains an encryption key according to the target key group and an encryption control word, comprising:
the CA card in the first digital terminal decrypts the encrypted control word to obtain a plaintext control word;
and the first digital terminal calculates the encryption key according to the target key group, the plaintext control word and a preset encryption formula.
4. The PVR resource sharing method as in claim 1, wherein when the target PVR resource is shared to a second digital terminal, the second digital terminal authenticates based on an encrypted control word in the target PVR resource, comprising:
when the target PVR resource is shared to the second digital terminal, the second digital terminal acquires an encryption control word in the target PVR resource;
decrypting the encrypted control word through a CA card in the second digital terminal;
when the CA card in the second digital terminal fails to decrypt the encrypted control word, the authentication of the second digital terminal fails;
and when the CA card in the second digital terminal successfully decrypts the encrypted control word, the CA card indicates that the authentication of the second digital terminal is successful.
5. The PVR resource sharing method of claim 2, wherein obtaining the target key group comprises:
the second digital terminal receives a second authorization management information table broadcasted by the server;
the second digital terminal obtains the beginning recording time of the PVR resource flow according to the target PVR resource;
and the second digital terminal acquires the target key group corresponding to the recording starting time from the second authorization management information table according to the recording starting time.
6. The PVR resource sharing method of claim 5, further comprising:
and when the target key group corresponding to the recording starting time does not exist in the second authorization management information table, the second digital terminal prompts that the resource is expired, and deletes the target PVR resource.
7. The PVR resource sharing method of claim 5, further comprising:
the server judges whether an expired key group exists in the first authorization management information table;
when the expired key group exists, the server generates a new key group to replace the expired key group, and the second authorization management information table is obtained.
8. A PVR resource sharing system based on the PVR resource sharing method of claim 1, the system comprising:
the system comprises a plurality of digital terminals and a server, wherein the server is used for broadcasting an authorization management information table and an authorization control information table;
each digital terminal is used for obtaining a target key group and an encryption control word according to the broadcast authorization management information table and the authorization control information table, and encrypting the recorded PVR resource stream according to the target key group and the encryption control word to obtain target PVR resources;
and each digital terminal is also used for authenticating according to the encryption control word in the target PVR resource, decrypting the encrypted PVR resource stream in the target PVR resource according to the encryption control word and the target key group when authentication is successful and the target key group is acquired, and playing the decrypted PVR resource stream.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 when the computer program is executed.
10. A readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, realizes the steps of the method of any of claims 1 to 7.
CN202110789038.1A 2021-07-13 2021-07-13 PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium Active CN113542877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110789038.1A CN113542877B (en) 2021-07-13 2021-07-13 PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110789038.1A CN113542877B (en) 2021-07-13 2021-07-13 PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113542877A CN113542877A (en) 2021-10-22
CN113542877B true CN113542877B (en) 2023-05-05

Family

ID=78098796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110789038.1A Active CN113542877B (en) 2021-07-13 2021-07-13 PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113542877B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363011A (en) * 2021-12-13 2022-04-15 浙江加我网络科技有限公司 Ultra-high-definition video leakage-prevention sharing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427561A (en) * 2011-10-24 2012-04-25 山东泰信电子有限公司 Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared
CN104703029A (en) * 2015-02-06 2015-06-10 深圳市三峰光电科技有限公司 Digital television program stream sharing method, device, terminal and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100344160C (en) * 2004-07-21 2007-10-17 华为技术有限公司 Method for realizing acquisition of user on-line information
WO2007125461A1 (en) * 2006-04-28 2007-11-08 Koninklijke Philips Electronics N.V. Sharing content among personal video records
CN101282473B (en) * 2008-05-05 2010-10-13 国家广播电影电视总局广播科学研究院 Method for managing digital television copyright
CN102075812B (en) * 2010-08-10 2013-06-19 深圳市九洲电器有限公司 Data receiving method and system of digital television
CN104104996A (en) * 2013-04-03 2014-10-15 ***通信集团公司 Program stream decryption method, device and terminal
CN103702173B (en) * 2014-01-03 2017-01-25 成都驰通数码***有限公司 System of encrypting and controlling digital television recorded program segments
CN105263047B (en) * 2015-10-15 2018-10-02 高斯贝尔数码科技股份有限公司 A kind of digital television program encrypting shooting method for thering is mobile device to participate in
CN106533668B (en) * 2016-11-10 2019-09-10 深圳创维数字技术有限公司 A kind of network-based PVR guard method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427561A (en) * 2011-10-24 2012-04-25 山东泰信电子有限公司 Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared
CN104703029A (en) * 2015-02-06 2015-06-10 深圳市三峰光电科技有限公司 Digital television program stream sharing method, device, terminal and system

Also Published As

Publication number Publication date
CN113542877A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN110138716B (en) Key providing method, video playing method, server and client
US11677564B2 (en) System and method using distributed blockchain database
US9026782B2 (en) Token-based entitlement verification for streaming media decryption
EP1788811B1 (en) A method for obtaining user's on-line information
US8204220B2 (en) Simulcrypt key sharing with hashed keys
US8843736B2 (en) Authentication and authorization for internet video client
EP1840779B1 (en) Method and device for authorising conditional access
CN103535044B (en) The method of the content of multimedia of protection record
US20130283051A1 (en) Persistent License for Stored Content
US20070124252A1 (en) Reception device, transmission device, security module, and digital right management system
US7647641B2 (en) Method and system for conditional access applied to protection of content
KR20070050969A (en) System and method for providing authorized access to digital content
KR100556829B1 (en) Method of Providing Efficient Pay Services Using Session-Key
JP2005149129A (en) Method for managing license, information processor and method, and program
US10284365B2 (en) System and method for synchronized key derivation across multiple conditional access servers
CN113542877B (en) PVR resource sharing method, PVR resource sharing system, computer equipment and storage medium
TW200410540A (en) Validity verification method for a local digital network key
JP5455722B2 (en) Copyright protection device and copyright protection method
Jeong et al. A Key Establishment Protocol for RFID User in IPTV Environment
KR20160003462A (en) Method and apparatus for protecting and transmitting terrestrial program
KR20130003255A (en) Method for conditional access system of set top box using tv white space

Legal Events

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