CN110719498A - Video data processing method, device and system - Google Patents

Video data processing method, device and system Download PDF

Info

Publication number
CN110719498A
CN110719498A CN201910827659.7A CN201910827659A CN110719498A CN 110719498 A CN110719498 A CN 110719498A CN 201910827659 A CN201910827659 A CN 201910827659A CN 110719498 A CN110719498 A CN 110719498A
Authority
CN
China
Prior art keywords
video data
server
terminal device
terminal equipment
playing
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.)
Pending
Application number
CN201910827659.7A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910827659.7A priority Critical patent/CN110719498A/en
Publication of CN110719498A publication Critical patent/CN110719498A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption
    • H04N21/23476Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption by partially encrypting, e.g. encrypting the ending portion of a movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • H04N21/44055Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption by partially decrypting, e.g. decrypting a video stream that has been partially encrypted
    • 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]

Abstract

The application provides a video data processing method, a video data processing device and a video data processing system, wherein after a first server receives a playing request of first video data sent by a terminal device, if the terminal device does not have the authority of playing the first video data, the first server does not send information of the first video data to the terminal device, but sends associated information of second video data which is not encrypted to the terminal device, so that the terminal device can directly receive and play the second video data. Therefore, for a terminal device which does not have the authority of playing the first video data, the address information and the decryption information of the first video data cannot be received, and the first video data is only tried to be viewed through the second video data, so that the safety of the encrypted first video data is ensured, and the safety performance of the first video data is further improved.

Description

Video data processing method, device and system
Technical Field
The present application relates to electronic technologies, and in particular, to a method, an apparatus, and a system for processing video data.
Background
With the continuous development of electronic technology and network technology, video data and audio data which can be provided for users on the internet are more and more abundant. Some providers of video data are required to invest a large amount of cost in acquiring or producing the video data, and therefore, from an economic point of view, when a user views a part of the video data, a fee is paid to the provider of the video data.
In the prior art, when a provider releases video data, the provider encrypts the video data, and a user cannot directly play the video data through terminal equipment. When a user uses a terminal device to request a server to play encrypted video data, the server provides the video data to the user, and a certificate (sense) for decrypting the video data, the terminal device controls the received video data, and when the user does not have the authority of playing the video data, the terminal device decrypts the video data, only plays the previous small part of the video data, and guides the user to purchase the video data. When the user makes the terminal device have the right to play the video data through purchasing, exchanging and other modes, the terminal device can continue to decrypt and play the rest video data.
However, in the prior art, after a user uses a terminal device to request a server to play encrypted video data, no matter whether the terminal device has the right to play the video data, the server sends a certificate for decrypting the video data to the terminal device, and the terminal device determines whether to decrypt the video data according to whether the terminal device has the right to play the video data. At this time, the certificate acquired by the terminal device has risks of being maliciously attacked, unintentionally leaked or stolen, and the like, which is not beneficial to ensuring the security of the encrypted video data, and further reduces the security performance of the encrypted video data.
Disclosure of Invention
The application provides a video data processing method, a video data processing device and a video data processing system, which are used for improving the security performance of encrypted video data.
A first aspect of the present application provides a video data processing method, including: the method comprises the steps that a first server receives a playing request of first video data sent by terminal equipment; when the terminal equipment does not have the right of playing the first video data, the first server determines the address information of the second video data; the second video data is obtained from part of the first video data, the first video data is encrypted, and the second video data is not encrypted; and the first server sends the address information of the second video data to the terminal equipment.
Specifically, in the above embodiments of the present application, the execution main body is the first server, and may also be a chip in the first server, and the first server may be an authentication server. After the first server receives a playing request of the first video data sent by the terminal device, the first server determines whether the terminal device has the authority to play the first video data. If the terminal device does not have the authority of playing the first video data, the first server does not send the information of the first video data to the terminal device, but sends the information of the associated unencrypted second video data to the terminal device, so that the terminal device can directly receive and play the second video data. The second video data is part of the video data in the first video data and is used for realizing the trial viewing and playing of the first video data. Therefore, for a terminal device that does not have the authority to play the first video data, the address information and decryption information of the first video data are not received, and the first video data is only viewed through the second video data. Therefore, the terminal equipment which does not have the authority of playing the first video data can not obtain and store the address information and the decryption information of the first video data, and the terminal equipment which does not have the authority of playing the first video data can be ensured not to directly and maliciously obtain the relevant information of the first video data stored in the terminal equipment by some means and then play the first video data. In the prior art, the risks that the address information and the decryption information of the encrypted first video data are maliciously attacked, unintentionally leaked or stolen and the like are reduced, so that the safety of the encrypted first video data is ensured, and the safety performance of the first video data is improved.
Optionally, in an embodiment of the first aspect of the present application, after the sending, by the first server, address information of the second video data to the terminal device, the method further includes: the first server distributes the authority for playing the first video data to the terminal equipment; the first server receives a playing request of the first video data sent by the terminal equipment; and the first server sends the address information of the first video data to the terminal equipment.
Specifically, in the above embodiment of the present application, based on that the first server does not send information of the first video data to the terminal device when the terminal device does not have the right to play the first video data, the first server may assign the right to play the first video data to the terminal device after determining that the user of the terminal device purchases the first video data. If the first server receives the playing request of the first video data sent by the terminal device, it may be determined that the terminal device has the right to play the first video data, and then the first server may send the address information of the first video data to the terminal device, so that the terminal device may play the first video data. Therefore, after the terminal equipment is ensured to have the authority of playing the first video data, the first server provides the address information of the first video data to the terminal equipment, the safety of the encrypted first video data is further ensured, and the safety performance of the first video data is further improved.
Optionally, in an embodiment of the first aspect of the present application, after the sending, by the first server, address information of the first video data to the terminal device, the method further includes: the first server receives a decryption request of the first video data sent by the terminal equipment; and the first server sends decryption information of the first video data to the terminal equipment.
Specifically, in the foregoing embodiment of the present application, if the first server receives a decryption request of the first video data sent by the terminal device, it may be determined that the terminal device has an authority to play the first video data, and then the first server may send decryption information of the first video data to the terminal device. Therefore, for a terminal device which does not have the authority of playing the first video data, the first server does not send the address information of the first video data to the terminal device, and does not send the decryption information of the first video data to the terminal device, so that the safety of the encrypted first video data is further ensured.
Optionally, in an embodiment of the first aspect of the present application, the determining, by the first server, address information of the second video data includes: and the first server determines the second video data according to the incidence relation between the first video data and the second video data.
Specifically, in the foregoing embodiment of the present application, the first server specifically stores an association relationship between the first video data and the second video data, where the association relationship may be an association relationship between address information of the first video data and the second video data, and after the first server receives a play request of the first video data sent by the terminal device, if the terminal device does not have an authority to play the first video data, the first device may not directly send the address information of the first video data to the terminal device according to the association relationship, but only send the address information of the second video data to the terminal device. The first server can determine the second video data associated with the first video data more efficiently in a faster and direct mode.
Optionally, in an embodiment of the first aspect of the present application, the method further includes: and the first server receives the incidence relation between the first video data and the second video data sent by the second server.
Specifically, in the foregoing embodiment of the present application, the first server may receive and store the association relationship sent by the second server, so that the first server may determine, according to the association relationship, the second video data associated with the first video data.
A second aspect of the present application provides a video data processing method, where an execution subject may be a terminal device or a chip in the terminal device, the method including: the method comprises the steps that terminal equipment sends a playing request of first video data to a first server; the terminal equipment receives address information of second video data sent by the first server; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; the terminal equipment sends an acquisition request of the second video data to a second server according to the address information of the second video data; and the terminal equipment receives the second video data sent by the second server and plays the second video data.
In an embodiment of the second aspect of the present application, after the terminal device receives the second video data sent by the second server and plays the second video data, the method further includes: the terminal equipment acquires the authority of playing the first video data; the terminal equipment sends a playing request of the first video data to the first server; the terminal equipment receives address information of the first video data sent by the first server; the terminal equipment sends an acquisition request of the first video data to the second server according to the address information of the first video data; and the terminal equipment receives the first video data sent by the second server and plays the first video data.
In an embodiment of the second aspect of the present application, the playing the first video data includes: the terminal equipment sends a decryption request of the first video data to the first server; the terminal equipment receives decryption information of the first video data sent by the first server; and the terminal equipment decrypts the first video data according to the decryption information of the first video data and plays the first video data.
The advantageous effects of the embodiments in the second aspect can refer to the advantageous effects of the embodiments in the first aspect, and are not described herein again.
In a third aspect of the present application, there is provided a video data processing method, where an execution subject may be a second server or a chip in the second server, and the second server may be a content server, the method including: the second server acquires an acquisition request of second video data sent by the terminal equipment; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; and the second server sends the second video data to the terminal equipment.
In an embodiment of the third aspect of the present application, the method further includes: the second server acquires first video data; the second server determines second video data according to the first video data; the second video data is partial data in the first video data; the second server establishes an incidence relation between the first video data and the second video data; and the second server sends the association relation to the first server.
In an embodiment of the third aspect of the present application, after the determining, by the second server, second video data according to the first video data, the method further includes: the second server encrypts the first video data.
The advantageous effects of the embodiment of the third aspect can refer to the advantageous effects of the embodiment of the first aspect, and are not described herein again.
A fourth aspect of the present application provides a video data processing method, where an execution main body is a first server, or may be a chip in the first server, and the first server may be an authentication server, and the method includes: the method comprises the steps that a first server receives a playing request of first video data sent by terminal equipment; when the terminal equipment does not have the right of playing the first video data, the first server sends the address information of the first video data to the terminal equipment, and part of the video data in the first video data is encrypted.
In summary, after the first server receives the play request of the first video data sent by the terminal device, the first server determines whether the terminal device has the right of part of the first video data. If the terminal device does not have the authority of playing the first video data, the first server sends the address information of the first video data to the terminal device, and does not send decryption information of the encrypted part in the first video data to the terminal device, so that the terminal device can only realize the trial playing of the first video data by playing the unencrypted part in the first video data. Therefore, for a terminal device that does not have the authority to play the first video data, although the address information of the first video data can be received, the decryption information of the encrypted portion in the first video data is not received, so that the terminal device cannot decrypt and play the entire first video data despite having the video data, and only can realize the trial play through the unencrypted portion in the first video data. Therefore, the terminal equipment which does not have the authority of playing the first video data can not obtain the decryption information which can not store the first video data, and the terminal equipment which does not have the authority of playing the first video data can not directly and maliciously acquire the relevant information of the first video data stored in the terminal equipment by some means and then play the information. In the prior art, the risks that the address information and the decryption information of the encrypted first video data are maliciously attacked, unintentionally leaked or stolen and the like are reduced, so that the safety of the encrypted first video data is ensured, and the safety performance of the first video data is improved.
In an embodiment of the fourth aspect of the present application, after the sending, by the first server, address information of the first video data to the terminal device, the method further includes: the first server distributes the authority for playing the first video data to the terminal equipment; the first server receives a playing request of the first video data sent by the terminal equipment; and the first server sends decryption information of the encrypted part of the first video data to the terminal equipment.
Specifically, in the above embodiment of the present application, based on that the first server does not send decryption information of the first video data to the terminal device when the terminal device does not have the right to play the first video data, the first server may assign the right to play the first video data to the terminal device after determining that the user of the terminal device purchases the first video data. If the first server receives the playing request of the first video data sent by the terminal device, it may be determined that the terminal device has the right to play the first video data, and then the first server may send decryption information of the first video data to the terminal device, so that the terminal device may play the first video data. Therefore, after the terminal equipment is ensured to have the authority of playing the first video data, the first server provides the decryption information of the first video data to the terminal equipment, the safety of the encrypted first video data is further ensured, and the safety performance of the first video data is further improved.
A fifth aspect of the present application provides a video data processing method, where an execution subject may be a terminal device or a chip in the terminal device, the method including: the method comprises the steps that terminal equipment sends a playing request of first video data to a first server; the terminal equipment receives address information of first video data sent by the first server; a part of the video data in the first video data is encrypted; the terminal equipment sends an acquisition request of the first video data to a second server according to the address information of the first video data; and the terminal equipment receives the first video data sent by the second server and plays part of video data which is not encrypted in the first video data.
In an embodiment of the fifth aspect of the present application, after the terminal device receives the first video data sent by the second server and plays a part of video data that is not encrypted in the first video data, the method further includes: the terminal equipment acquires the authority of playing the first video data; the terminal equipment sends a playing request of the first video data to the first server; the terminal equipment receives decryption information which is sent by the first server and used for sending the encrypted part of the first video data; and the terminal equipment decrypts the encrypted part in the first video data according to the decryption information and plays the first video data.
The advantageous effects of the embodiment in the fifth aspect can refer to the advantageous effects of the embodiment in the fourth aspect, and are not described herein again.
A sixth aspect of the present application provides a video data processing method, where an execution subject may be a second server or a chip in the second server, and the second server may be a content server, the method including: a second server acquires an acquisition request of first video data sent by terminal equipment; a part of the video data in the first video data is encrypted; and the second server sends the first video data to the terminal equipment.
In an embodiment of the sixth aspect of the present application, the second server encrypts part of the video data in the first video data.
The advantageous effects of the embodiment in the sixth aspect can refer to the advantageous effects of the embodiment in the fourth aspect, and are not described herein again.
In a seventh aspect, the present application provides a video data processing apparatus having a function of implementing the first server in the above method embodiment. These functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
In an eighth aspect, the present application provides a video data processing apparatus having a function of implementing the terminal device in the above method embodiment. These functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
In a ninth aspect, the present application provides a video data processing apparatus having a function of implementing the second server in the above-described method embodiment. These functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
In a tenth aspect, the present application provides a video data processing apparatus, which may be the first server in the above method embodiments, or a chip disposed in the first server. The video data processing apparatus comprises a memory for storing a computer program or instructions, a communication interface, and a processor coupled to the memory and the communication interface, which when executed by the processor causes the communication apparatus to perform the method performed by the first server in the above method embodiments.
In an eleventh aspect, the present application provides a video data processing apparatus, which may be the terminal device in the above method embodiment, or a chip provided in the terminal device. The video data processing apparatus comprises a memory for storing a computer program or instructions, a communication interface, and a processor coupled to the memory and the communication interface, which when executed by the processor causes the communication apparatus to perform the method performed by the terminal device in the above-mentioned method embodiments.
In a twelfth aspect, the present application provides a video data processing apparatus, which may be the second server in the above method embodiments, or a chip disposed in the second server. The video data processing apparatus comprises a memory for storing a computer program or instructions, a communication interface, and a processor coupled to the memory and the communication interface, which when executed by the processor causes the communication apparatus to perform the method performed by the second server in the above method embodiments.
In a thirteenth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of the above aspects performed by the first server.
In a fourteenth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method in the above aspects performed by the terminal device.
In a fifteenth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of the above aspects performed by the second server.
In a sixteenth aspect, the present application provides a chip system, which includes a processor, configured to implement the functions of the first server in the methods of the above aspects, such as receiving or processing data and/or information related to the methods. In one possible design, the system-on-chip further includes a memory to hold program instructions and/or data. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In a seventeenth aspect, the present application provides a chip system, which includes a processor for implementing the functions of the terminal device in the method of the above aspects, such as receiving or processing data and/or information involved in the method. In one possible design, the system-on-chip further includes a memory to hold program instructions and/or data. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In an eighteenth aspect, the present application provides a chip system comprising a processor for implementing the functions of the second server in the methods of the above aspects, e.g. receiving or processing data and/or information involved in the above methods. In one possible design, the system-on-chip further includes a memory to hold program instructions and/or data. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In a nineteenth aspect, the present application provides a computer-readable storage medium storing a computer program that, when executed, implements the method of the above aspects performed by the first server.
In a twentieth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed, implements the method performed by a terminal device in the above aspects.
In a twenty-first aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed, implements the method of the above aspects performed by the second server.
Twenty-second aspect, the present application provides a video data processing system, comprising the first server according to the seventh aspect of the present application, the terminal device according to the eighth aspect of the present application, and the second server according to the ninth aspect of the present application.
Drawings
FIG. 1 is a schematic diagram of an application scenario of the present application;
FIG. 2 is a flow chart illustrating a prior art method for processing encrypted video data;
FIG. 3 is a schematic diagram of a prior art display for viewing a playback trial;
FIG. 4 is a schematic diagram of a prior art display for prompting a purchase;
fig. 5 is a schematic flowchart of a first embodiment of a video data processing method provided in the present application;
fig. 6 is a schematic display diagram of a terminal device playing second video data according to the present application;
fig. 7 is a schematic diagram of a display of a terminal device prompting to purchase first video data according to the present application;
fig. 8 is a schematic flowchart of a second embodiment of a video data processing method provided in the present application;
FIG. 9 is a schematic structural diagram illustrating an embodiment of a video data processing apparatus according to the present application;
fig. 10 is a schematic structural diagram of an embodiment of a video data processing apparatus according to the present application.
Detailed Description
Before introducing the method and apparatus provided by the present application, a description will be given of a scenario in which the present application is applied and a problem existing in an existing video data processing method with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario of the present application, where the scenario includes: user 1, terminal device 2, internet 3, terminal device 4, and producer 5. Wherein, a producer 5 of a video content provider can upload video data to the internet 3 through a terminal device 4; correspondingly, the user 1 may access the internet 3 through the terminal device 2, and the terminal device 2 may obtain the video data uploaded by the terminal device 4 from the internet, and then play the video data through a display interface, a speaker, and other playing devices of the terminal device 2.
The terminal devices 2 and 4 may be electronic devices having related data processing functions, communication functions, and video playing functions. For example, the terminal device 2/the terminal device 4 may be a mobile phone (mobile phone), a tablet (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self driving (self driving), a wireless terminal device in remote medical (remote medical), a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety, a wireless terminal device in city (smart city), a wireless terminal device in smart home (smart home), and may further include a User Equipment (UE), and the like. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capability, a computing device or other processing device connected to a wireless modem, a vehicle mounted device, a wearable device, a terminal device in a fifth generation (5G) network in the future or a terminal device in a Public Land Mobile Network (PLMN) in the future, etc. A terminal device may also be sometimes referred to as a terminal device, User Equipment (UE), access terminal device, in-vehicle terminal device, industrial control terminal device, UE unit, UE station, mobile station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent, or UE device, etc. The terminal equipment may also be fixed or mobile.
In the example shown in fig. 1, the terminal device 2 is a mobile phone, and the terminal device 4 is a computer, which are used for illustration and not limitation.
In the embodiments of the present application, the apparatus for implementing the function of the terminal may be a terminal device; it may also be an apparatus, such as a system-on-chip, capable of supporting the terminal device to implement the function, and the apparatus may be installed in the terminal device. In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices. In the technical solution provided in the embodiment of the present application, a device for implementing a function of a terminal device is a terminal device, and the terminal device is a mobile phone, for example, the technical solution provided in the embodiment of the present application is described.
In addition, in the scenario shown in fig. 1, the terminal device 2 may also access the internet 3 through an access network device, which is not shown in the figure. The access network devices include, but are not limited to: next generation base station (gbb) in 5G, evolved node B (eNB), Radio Network Controller (RNC), Node B (NB), Base Station Controller (BSC), Base Transceiver Station (BTS), home base station (e.g., home evolved node B, or home node B, HNB), Base Band Unit (BBU), transmission point (TRP), Transmission Point (TP), mobile switching center, base station in future mobile communication system, or access point in WiFi system, etc. The access network device may also be a wireless controller, a Centralized Unit (CU), and/or a Distributed Unit (DU) in a Cloud Radio Access Network (CRAN) scenario, or the access network device may be a relay station, an access point, a vehicle-mounted device, a terminal device, a wearable device, and an access device in a future 5G network or a network device in a future evolved PLMN network, and the like. Alternatively, the access network device may also be a router, a gateway, a switch, etc.
With the continuous development of electronic technology and internet technology, video data uploaded to the internet 3 by different content providers is more and more, and video data that the user 1 can select to watch is more and more abundant. However, in consideration of intellectual property protection of video data and a large amount of cost invested by content providers to produce video data, some content providers perform encryption protection on video data uploaded to the internet 3, and after a user 1 needs to pay for the encrypted video data, the terminal device 2 used by the user has the related authority to decrypt and play the video data, and then the video data uploaded by the content providers in the internet 3 can be played through the terminal device 2.
Therefore, a content provider needs to control encrypted video data uploaded to the internet so that a terminal device having an authority, which is used by a user who purchased the video data, can decrypt and play the encrypted video data; and a terminal device used by a user who has not purchased video data and has no authority cannot decrypt and play encrypted video data. In some technologies, an authentication server 31 and a content server 32 are provided in the internet 3, and the content server 32 can be used for storing and managing encrypted video data, and the authentication server 31 manages whether the terminal device has authority to decrypt and play the encrypted data, thereby realizing control processing of the encrypted video data.
For example, fig. 2 is a flow chart illustrating a processing method for encrypted video data in the prior art, and the method shown in fig. 2 can be executed by the terminal device 2, the authentication server 31 and the content server 32 in the system shown in fig. 1. The method comprises the following steps:
the content server performs an encryption process on the video data through step 1. In step 1, the producer 5 in the system shown in fig. 1 may produce the encrypted video data by using the terminal device 4 and upload the encrypted video data to the content server 32. Subsequently, the content server transmits information (e.g., a storage address) of the video data, encryption information (e.g., a key, a certificate (license), etc., used for encrypting the video data) to the authentication server through step 2, and the authentication server stores the received information.
The terminal device may request the authentication server to play the video data stored in the content server through step 3. Step 3 may also be referred to as play authentication, and may be used in the system shown in fig. 1, when the user 1 uses the terminal device 2 to play the video data stored in the content server 32, the terminal device 2 first needs to send an authentication request to the authentication server to request to play the video data stored in the content server 32.
The authentication server determines whether the terminal device has the right to play the video data through step 4. For example, in the system shown in fig. 1, if the user 1 does not purchase video data, the user 1 logs in a system of the terminal device 2 using information (account, password, etc.) of the user 1 or logs in an application program in the terminal device 2, and after the user is bound to the terminal device 2, the terminal device 2 does not have the authority to play the video data; if other users have purchased the video data, after the information of the user is bound with the terminal device 2, the terminal device 2 has the right to play the video data. In step 4, assuming that the authentication server determines that the terminal device 2 does not have the authority to play the video data, but the video content supports trial play (the trial play refers to that the terminal device can only play part of the video data, for example, the video data of the previous N minutes, where N is greater than 0), the authentication server returns address information of the video data to the terminal device through step 5, where the address information may be an IP address of a storage location of the video data in the content server.
Subsequently, the terminal device requests the content server to acquire video data, which may be a media stream requesting to acquire video data, through step 6 according to the address information of the video data fed back by the authentication server, and receives the video data sent by the content server through step 7. However, after the terminal device acquires the video data sent by the content server, if the terminal device determines that the video data is encrypted in step 8, decryption information (e.g., a key, a certificate (license), etc.) for decrypting the video data needs to be requested from the authentication server in step 9. The authentication server determines that although the terminal device has no authority to play the video data in step 10, the terminal device needs to perform trial play on the video data, and therefore, the authentication server sends decryption information of the video data to the terminal device in step 11.
Since the terminal device does not have the authority to play the video data, even if the decryption information of the video data and the address information of the video data are acquired, the terminal device performs play control on the played video data in step 12, performs trial play only for the first N minutes of the video data, and stops playing the video data after the trial play for the N minutes is completed, and prompts the user to purchase other video data.
Illustratively, fig. 3 is a schematic diagram of a display for viewing a play trial in the prior art, and fig. 4 is a schematic diagram of a display for prompting a purchase in the prior art; wherein, as shown in fig. 3, when the terminal device performs the trial play, the terminal device controls to play only the video data of the first 6 minutes in the video data, so that only the range of 6 minutes on the progress bar below the display interface allows the user to perform the dragging. And after 6 minutes of the trial play is finished, the terminal device prompts the user that the trial play has been completed and prompts the user to select whether to purchase the video data through the display interface as shown in fig. 4.
Subsequently, the user may purchase the video data through the terminal device, and the process of purchasing the video data is not limited in the present application. Then, after the terminal device determines that the user has purchased the video content, the authentication server may request to acquire the right to play the video data through step 13, and then the authentication server performs secondary authentication on the terminal device, and after determining that the user has purchased the video content, the right to play the video data may be allocated to the terminal device used by the user.
Finally, after having the right to play the video data, the terminal device continues to acquire the video data from the content server according to the address information of the video data acquired in step 5, for example, continues to acquire the media stream of the video data after the first N minutes, and decrypts and plays the acquired video data using the decryption information of the video data acquired in step 11.
In summary, as can be seen from the flowchart shown in fig. 2, in the video data processing technology in the prior art, if a terminal device requests an authentication server to play encrypted video data, the authentication server sends address information of the encrypted video data and decryption information of the encrypted video data to the terminal device, and the terminal device requests a content server to acquire the entire encrypted video data, and then controls playing of the encrypted video data. When the terminal equipment has the authority of playing the encrypted video data, the terminal equipment directly obtains the video data through the address information and can play the video data after decrypting the video data through the decryption information; when the terminal device does not have the right to play the encrypted video data, the terminal device needs to control that after the video data is acquired through the address information, the decryption is performed, the video data is tried to be played, and after the trying to be played is finished, the user is guided to purchase the video data to obtain the right to play the encrypted video data.
However, in the above process, even if the terminal device does not have the authority to play the encrypted video data, the terminal device receives the decryption information of the encrypted video data sent by the authentication server and stores the decryption information after requesting the authentication server to play the encrypted video data. At this time, there is a risk that the decryption information received and stored by the terminal device is maliciously attacked, unintentionally leaked, or stolen, and once the decryption information stored in the terminal device is acquired by some means, the terminal device without the authority to play the encrypted video can also decrypt and play the encrypted video data according to the decryption information. Therefore, the existing video data processing method is not beneficial to ensuring the safety of the encrypted video data, thereby reducing the safety performance of the encrypted video data.
The application provides a video data processing method and device, which are used for ensuring the safety of encrypted video data so as to increase the safety performance of the encrypted video data. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 5 is a schematic flowchart of a first embodiment of a video data processing method provided in the present application, where the embodiment shown in fig. 5 is executed by a terminal device, a first server, and a second server. The terminal device may have functions of controlling playing of video data, decrypting/decoding encrypted video data, and purchasing video data in cooperation with a user, and in this embodiment, the terminal device may be the terminal device 2 shown in fig. 1. The terminal equipment can perform playing control according to the return of the playing authentication device. If the scene is a trial-viewing scene, the client needs to limit the playable range according to the trial-viewing duration, and order is prompted when the playable range exceeds the range; the trial-and-watch period also supports the initiation of the order, and the playing can be continued from the breakpoint after the order. The first server may have functions of video data playing authentication, video data management, and management of video data purchased by a user, and the first server in this embodiment may be the authentication server 31 shown in fig. 1. The first server may also be referred to as a play authentication device, which is responsible for processing subscription and play authentication, returns relevant information of the client, such as a play address, a duration, a decryption certificate application parameter, and the like, according to a play authentication result, and may be used for playing video data. The second server may have functions of making video data, encrypting video data, and intercepting video data, and the second server in this embodiment may be the content server 32 shown in fig. 1. The second server can also be called a content production device, mainly completes production of video data, carries out content transcoding production according to whether the configuration supports trial viewing and trial viewing duration, and establishes the incidence relation between trial viewing content and the whole piece in metadata management; and finally, the video data is issued to the play authentication device.
Specifically, the video data processing method provided by this embodiment includes:
s101: the second server acquires the first video data.
Specifically, the second server in this embodiment is configured to store and manage the first video data, and then the second server first acquires the first video data in S101. The first video data may be unencrypted video data, e.g. the first video data may be a complete movie. The format of the first video data is not limited in the present application, and may be, for example, formats such as hls (http silver), dash (dynamic adaptive streaming over http), MP4(moving picture experts group 4), and the like.
Optionally, in S101, the second server may obtain the first video data uploaded to the second server by the producer of the video data through the device used by the producer, or the second server may further obtain the first video data from the internet according to an instruction of the producer. Alternatively, the second server may also obtain the first video data from a removable storage device such as a removable hard disk, a usb disk, a CD, or the like.
S102: the second server determines second video data from the first video data.
And after the second server acquires the first video data, determining second video data according to the first video data. The second video data described in this embodiment is used for the terminal device to perform the trial viewing and playing of the first video data. The trial playing means that for a terminal device which does not have the authority to play the first video data, the second video data is played first to attract a user of the terminal device to purchase the video data, so that the terminal device can acquire and play the first video data only after acquiring the authority to play the first video data.
Optionally, in this embodiment, the second video data is a part of the first video data. That is, the second video data determined in this embodiment is from the first video data, and when the length of the first video data is M minutes, the second video data includes N minutes of video data in the first video data, where 0 < N < M.
In one specific implementation, in S102, the second server may intercept the first N minutes of the first video data, so as to obtain second video data including the first N minutes of the first video data. Since the first video data is usually related to the slice and the key frame therein, if the second video data of the previous N minutes is mechanically intercepted, the deletion of the key frame in the second video data may be caused to affect the playing effect, and therefore, in order to ensure the playing effect of the terminal device, when the second server intercepts the first video data to obtain the second video data, the intercepted duration may also be slightly longer than the actually allowed N minutes. For example, for the first video data with the duration of 120 minutes, the second video data is obtained by intercepting the first 6 minutes.
In another specific implementation manner, in S102, the second server may further perform interception according to a specific location in the first video data, so as to obtain second video data including N minutes of a-b time in the first video data, where the a-b time may be a preset portion in the first video data or a portion designated by a producer. For example, the second server may intercept a portion of the first video data with more splendid content according to an instruction of a producer to obtain the second video data, so that the terminal device can attract a user of the terminal device when the terminal device performs a trial play on the second video data.
In another specific implementation manner, in S102, the second server may further sample the first video data sequentially at intervals of a preset number of frames, and the total sampling may intercept the second video data composed of frames with larger intervals for N minutes. The second video data obtained at this time is not continuous video data when played, but in the form of an interval sample, a preview of the first video data is realized by playing the second video data, so that the user can roughly determine what may be included in the entire first video data.
Optionally, in S102, the second server further performs encryption processing on the first video data without performing encryption processing on the determined second video data. The method for encrypting the first video data by the second device is not limited in the present application. For example, it may be a proprietary encryption method, or it may be a different Digital Rights Management (DRM) solution. The second device may determine the encrypted first video data and the unencrypted second video data after S102. Furthermore, the second video data that is not subject to encryption processing may also be referred to as a video "clear stream".
S103: the second server establishes an incidence relation between the first video data and the second video data.
Specifically, in S103, the second server establishes an association relationship between the first video data and the second video data determined in S102. In a specific implementation, the association relationship may be an association relationship between identification information of the first video data and identification information of the second video data, and the identification information may be, for example: name, duration, source, storage address, etc. of the video data. The association relationship may also be stored in the form of a table, a mapping table, or the like. Determining second video data according to the first video data through the mapping relation; alternatively, the first video data may be determined from the second video data by the mapping relationship.
S104: and the second server sends the information of the first video data, the information of the second video data, the encryption information of the first video data and the association relation to the first server, and the first server stores the information of the first video data, the information of the second video data, the encryption information of the first video data and the association relation.
Wherein the information of the first video data includes: address information, such as an IP address, of the first video data stored in the second server. The information of the second video data includes: address information, such as an IP address, of the second video data stored in the second server. The encryption information of the first video data includes: the first video data is encrypted by the key, and the second server sends the key of the first video data to the first server.
The second server sends the information of the first video data, the information of the second video data, the encryption information of the first video data and the association relationship determined in S103 to the first server in S104, and correspondingly, the first server receives the information sent by the second server and then stores the information.
In summary, through S101 to S104, the second server implements encryption processing on the first video data, obtains the second video data for trial playing according to the first video data, and sends the association information of the first video data and the second video data to the first server. After the subsequent terminal device requests the first server to play the first video data, the first server can feed back the first video data or the second video data to the terminal device according to whether the terminal device has the authority of playing the first video data. The process is described in detail below.
S105: the terminal equipment sends a playing request of the first video to the first server. The first server receives a playing request of first video data sent by the terminal equipment.
Specifically, after the second server acquires the first video data, and the first server acquires the information of the first video data, the information of the second video data, the encryption information, and the association relationship, the first server may perform play control on the first video data stored in the second server.
When the terminal device needs to play the first video data stored in the second server, the terminal device first sends a play request of the first video data to the first server through S105. And for the first server, receiving a playing request of the first video data sent by the terminal equipment.
Optionally, in this embodiment, the terminal device may send a play request of the first video data to the first server after determining that the user needs to play the first video data according to an instruction of the user using the terminal device. The playing request may carry identification information of the first video data, so that the first server determines, through the identification information, the first video data requested to be played by the terminal device. For example, if the identification information included in the play request sent by the terminal device to the first server is the name of movie a, the first server may determine that the first video data requested to be played by the terminal device is movie a according to the identification information.
S106: when the terminal equipment does not have the right of playing the first video data, the first server determines the address information of the second video data.
Subsequently, in S106, the first server determines whether the terminal device that transmitted the play request has the right to play the first video data. When the first server determines that the terminal equipment does not have the right of playing the first video data, the first video data is not sent to the terminal equipment immediately, and the address information of the second video data related to the first video data is determined according to the first video data and the stored association relation.
More specifically, if the association relationship is an association relationship between the identification information of the first video data and the identification information of the second video data, the first server may determine the identification information of the second video data according to the identification information of the first video data and the association relationship acquired in S105. And then, determining the address information of the second video data further according to the identification information of the second video data. Or, the association relationship may also be address information of the first video data and address information of the second video data, and after the first server determines the address information of the first video data requested by the terminal device, the first server further determines the address information of the second video data according to the association relationship.
Optionally, the authority in this embodiment is related to a user using the terminal device. The first server may determine whether the terminal device has the right to play the first video data through the identification information provided by the terminal device, or the first server may also determine whether the terminal device has the right to play the first video data through information corresponding to the terminal device stored in the first server.
For example, if the user a does not purchase the first video data, after the user a logs in the terminal device using the information (account, password, etc.) of the user a, the first server receives a playing request of the first video data sent by the terminal device, and may determine that the identification information corresponding to the user a stored in the first server is that the first video data is not purchased, and then the first server may determine that the terminal device does not have the authority to play the first video data. For another example, after the user B has purchased the first video data, and the user B logs in the terminal device using the information of the user B, the first server receives the play request of the first video data sent by the terminal device, and may determine that the identification information corresponding to the user B stored in the first server is the purchased first video data, and then the first server may determine that the terminal device has the right to play the first video data.
Optionally, a user of the terminal device may purchase the first video data through the second server, and after the user purchases the first video data, the second server may update the identification information of the user to the first server, so that after the first server receives a play request of the first video data, it can determine whether the terminal device has an authority to play the first video data according to the identification information of the user corresponding to the terminal device.
It should be noted that, in the present application, whether the first server has the right to play the first video data is processed for the first server, but a manner for the user to purchase the first video data is not limited, the user may purchase the first video data from a provider of the first video data through any transaction and payment manner, and after the user purchases the first video data, the terminal device used by the user has the right to play the first video data, and the right may be identified by the terminal device or identified by the first server; when the user does not purchase the first video data, the terminal device used by the user does not have the authority to play the first video data.
Optionally, in S106, if the first server determines that the terminal device has the right to play the first video data, after directly determining the first video data, the address information of the first video data may be sent to the terminal device.
S107: the first server sends the address information of the second video data to the terminal device.
Subsequently, the first server sends the address information of the second video data determined in S106 to the terminal device, and correspondingly, the terminal device receives the address information of the second video data sent by the first server. The address information may be a stored IP address of the second video data in the second server.
S108: and the terminal equipment sends a playing request of the second video data to the second server according to the address information. Correspondingly, the second server receives a playing request of the second video data sent by the terminal equipment.
The terminal device transmits a play request of the second video data to the second server according to the address information of the second video data received in S107.
S109: and the second server sends the second video data to the terminal equipment according to the playing request of the second video data. Correspondingly, the terminal equipment receives the second video data sent by the second server.
And the second server sends the second video data to the terminal equipment according to the playing request of the second video data.
S110: and the terminal equipment plays the second video data and can pop up prompt information, wherein the prompt information is used for prompting a user to purchase the first video data.
Specifically, after the terminal device acquires the second video data, since the second video data is not encrypted, the terminal device can directly play the second video data. And after the second video data is finished, prompting the user to purchase the first video data in a mode of popping up prompt information.
In summary, through S105 to S110, after the terminal device sends the play request of the first video data to the first server, the first server determines whether the terminal device has the right to play the first video data. If the terminal device does not have the authority of playing the first video data, the first server does not send the information of the first video data to the terminal device, but sends the information of the associated unencrypted second video data to the terminal device, so that the terminal device can directly receive and play the second video data. The second video data is part of the video data in the first video data and is used for realizing the trial viewing and playing of the first video data.
Therefore, in the above process, for a terminal device that does not have the authority to play the first video data, the address information and the decryption information of the first video data are not received, and the first video data is only viewed through the second video data. Therefore, the terminal equipment which does not have the authority of playing the first video data can not obtain and store the address information and the decryption information of the first video data, and the terminal equipment which does not have the authority of playing the first video data can be ensured not to directly and maliciously obtain the relevant information of the first video data stored in the terminal equipment by some means and then play the first video data. In the prior art, the risks that the address information and the decryption information of the encrypted first video data are maliciously attacked, unintentionally leaked or stolen and the like are reduced, so that the safety of the encrypted first video data is ensured, and the safety performance of the first video data is improved.
Optionally, in a specific implementation manner of the step S110, after the terminal device completes playing the second video data, or when the terminal device plays the second video data, the terminal device may prompt the user to purchase the first video data by popping up a prompt message; or, the terminal device may pop up a prompt message to prompt the user to purchase the first video data after detecting the preset action of the user. Fig. 6 is a schematic display diagram of a terminal device playing second video data according to the present application, and fig. 7 is a schematic display diagram of a terminal device prompting to purchase first video data according to the present application.
Specifically, in the example shown in fig. 6, when the terminal device plays the second video data, even if the duration of the second video data is less than the duration of the first video data, the terminal device in the present application may display the entire duration of the first video data on the progress bar below the display interface. For example, the duration of the first video data is 120 minutes, and the duration of the second video data is 6 minutes, when the terminal device plays the second video data, the lower progress bar is also displayed as the duration of the first video data being 120 minutes. At this time, the user may drag the progress bar, and after the terminal device detects that the user drags the progress bar to a preset action after 6 minutes, the terminal device may prompt the user to select whether to purchase the first video data through the display interface shown in fig. 7.
Therefore, in the specific implementation manner, since the terminal device without the play permission only plays the second video data but does not actually acquire the first video data, from the perspective of user perception experience, the duration of the first video data can be displayed to the user, so that the user can select the play progress through the progress bar, and further, the perception experience of the user is improved.
After the user determines to purchase the first video data through the display interface as shown in fig. 7, the user may continue to complete the purchase of the first video data through the terminal device. For example, after the user sends a purchase request to the first server or the second server (or another server for payment management set by the provider of the first video data) through the terminal device, performs mobile payment, and the like, the purchase of the first video data is completed. The terminal device used by the user has the right to play the first video data after purchase.
Alternatively, in the example shown in fig. 5, the terminal device used by the user may request the first server to acquire the right to play the first video data through S111 to implement the purchase of the first video data, then the first server allocates the right to play the first video data to the terminal device used by the user who purchased the first video data through S112, and then the corresponding terminal device acquires the right to play the first video data allocated to the terminal device by the first server through S112, so that the terminal device has the right to play the first video data. Alternatively, the distribution right may be that the first server modifies the identification information of the terminal device stored by the first server.
Subsequently, after having the right to play the first video data, the terminal device may send a play request of the first video to the first server again, and cause the first server to return the address information of the first video data to the terminal device, and implement playing. Specifically, as shown in fig. 5, the video data processing method provided in this embodiment further includes:
s113: the terminal equipment sends a playing request of the first video data to the first server. Correspondingly, the first server receives a playing request of the first video data sent by the terminal equipment.
S114: the first server judges whether the terminal equipment has the authority of playing the video data again, and at the moment, the first server determines the first video data because the terminal equipment already has the authority of playing the first video data.
S115: the first server determines that the terminal device can play the first video data through S114, and sends the address information of the first video data, which may be the stored IP address of the first video data in the second server, to the terminal device through S115.
S116: the terminal device sends a play request of the first video data to the second server according to the address information received in S115. Correspondingly, the second server receives a playing request of the first video data sent by the terminal equipment.
S117: and the second server sends the first video data to the terminal equipment according to the playing request of the first video data. Correspondingly, the terminal equipment receives the first video data sent by the second server.
S118: since the first video data is encrypted in this embodiment, the terminal device determines in S118 that the first video data is encrypted, and passes the result
S119: and sending a decryption request of the first video data to the first server, wherein the decryption request is used for requesting decryption information of the first video data from the first server. Correspondingly, the first server receives a decryption request of the first video data sent by the terminal equipment.
S120, after receiving the decryption request of the first video data through S119, the first server may determine whether the terminal device has the right to play the first video data again, and if so, after determining the decryption information of the first video data, the first server passes
S121: the first server sends decryption information of the first video data to the terminal device. Correspondingly, the terminal equipment receives the decryption information sent by the first server. The decryption information may be a key for encrypting the first video data or a certificate (license) for decrypting the first video data, and the key and the certificate may be used for decrypting the first video data.
S122: the terminal device decrypts the first video data acquired in S117 according to the decryption information acquired in S121, and finally realizes playing of the first video data.
It is understood that the above processes S113-S122 may also be executed by the terminal device, the first server and the second server as a separate embodiment, and then the terminal device has the right to play the first video data.
To sum up, through the processes of S111 to S122, after acquiring the playback permission of the first video data, the terminal device may request to play the first video data from the first server again, and request decryption information of the first video data; at this time, after determining that the terminal device has the right to play the first video data, the first server may send the address information of the first video data to the terminal device, and may send the decryption information of the first video data to the terminal device. Therefore, the terminal equipment which really has the authority of playing the first video data can acquire and use the address information and the decryption information of the first video data, the safety performance of the address information and the decryption information of the encrypted first video data is further improved, the encrypted first video data is not easy to acquire by the terminal equipment without the authority and has the risk of embezzlement, and the safety performance of the encrypted first video data is further ensured.
Fig. 8 is a schematic flowchart of a second embodiment of a video data processing method provided in the present application, where the embodiment shown in fig. 8 is executed by a terminal device, a first server, and a second server. The terminal device may have functions of controlling playing of video data, decrypting/decoding encrypted video data, and purchasing video data in cooperation with a user, and in this embodiment, the terminal device may be the terminal device 2 shown in fig. 1. The first server may have functions of video data playing authentication, video data management, and management of video data purchased by a user, and the first server in this embodiment may be the authentication server 31 shown in fig. 1. The second server may have functions of making video data, encrypting video data, and intercepting video data, and the second server in this embodiment may be the content server 32 shown in fig. 1. Specifically, the video data processing method provided by this embodiment includes:
s201: the second server acquires the first video data.
Specifically, S201 may refer to S101 shown in fig. 5, and the implementation manner and principle thereof are the same and are not described again.
S202: the second server encrypts part of the video data in the first video data.
Specifically, the second server performs partial encryption processing on the first video data after acquiring the first video data. In this embodiment, the encryption method of part of the video data in the first video data is not limited. In this embodiment, since part of the video data in the first video data is encrypted and part of the video data is not encrypted, the part of the first video data that is not encrypted can be used for the terminal device to perform the preview playing of the first video data when the terminal device does not have the decryption information of the first video data. The trial playing means that for a terminal device which does not have the authority to play the first video data, an unencrypted part of the first video data is played first to attract a user of the terminal device to purchase the video data, so that the terminal device can acquire and play the first video data only after acquiring the authority to play the first video data.
In a specific implementation manner, when the duration of the first video data is N minutes, and the encrypted part of the video data in the first video data may be the last N-M minutes in the first video data, in S102, the second server may encrypt the video data of the first N minutes and the video data of the last N-M minutes in the first video data without encrypting the video data. For example, in S102, the first server does not encrypt the first video data of 120 minutes in the first 6 minutes and encrypts the video data of 114 minutes later.
In another specific implementation, the second server may encrypt video data at a particular a-b time in the first video data, while video data other than the particular location is not encrypted. The a-b moments may be preset portions of the first video data or portions specified by the producer.
S203, the second server sends the obtained information of the first video data and the encryption information of the part of the video data of the first video data to the first server, and correspondingly, the first server receives and stores the information sent by the second server.
Wherein the information of the first video data includes: address information, such as an IP address, of the first time-frequency data stored in the second server. The encryption information of the first video data includes: an encryption mode for encrypting a portion of the video data in the first video data and/or decryption information for decrypting the first video data. For example, the second server encrypts part of the data in the first video data using the key, and the second server transmits the key to the first server.
In summary, through the above S201 to S204, the second server implements partial encryption processing on the first video data, and the obtained first video data can be used for trial play and sends information of the first video data to the first server. After the subsequent terminal equipment requests the first server to play the first video data, the first server can send the address information of the first video data to the terminal equipment, and send decryption information of the encrypted part of the video data in the first video data to the terminal equipment according to whether the terminal equipment has the authority of playing the first video data. The process is described in detail below.
S204: the terminal device sends a play request of the first video data to the first server,
specifically, after the second server acquires the first video data and the encryption information of the first video data, the first server may perform play control on the first video data stored in the second server.
When the terminal device needs to play the first video data stored in the second server, the terminal device first sends a play request of the first video data to the first server through S204. And for the first server, receiving a playing request of the first video data sent by the terminal equipment.
Optionally, in this embodiment, the terminal device may send a play request of the first video data to the first server after determining that the user needs to play the first video data according to an instruction of the user using the terminal device. The playing request may carry identification information of the first video data, so that the first server determines, through the identification information, the first video data requested to be played by the terminal device. For example, if the identification information included in the play request sent by the terminal device to the first server is the name of movie a, the first server may determine that the first video data requested to be played by the terminal device is movie a according to the identification information.
S205: when the terminal equipment does not have the authority of playing the first video data, the address information of the first video data is determined.
Subsequently, in S106, the first server determines whether the terminal device that transmitted the play request has the right to play the first video data. When the first server determines that the terminal device does not have the right of playing the first video data, only the address information of the first video data is sent to the terminal device, but decryption information of the first video data is not sent to the terminal device, so that the terminal device cannot decrypt the encrypted part of the first video data. The manner of determining whether the terminal device has the authority to play the first video data by the first server may refer to the record in S106, and is not described again.
Optionally, in S205, if the first server determines that the terminal device has the right to play the first video data, it is determined that the address information of the first video data and the decryption information of the first video data are sent to the terminal device.
S206, the first server sends the address information of the first video data to the terminal equipment.
Subsequently, the first server transmits the address information of the first video data determined in S205 to the terminal device, and correspondingly, the terminal device receives the address information of the first video data transmitted by the first server. The address information may be a stored IP address of the first video data in the second server.
And S207, the terminal equipment sends a playing request of the first video data to the second server according to the address information. Correspondingly, the second server receives a playing request of the first video data sent by the terminal equipment.
S208, the second server sends the first video data to the terminal equipment according to the playing request of the first video data. Correspondingly, the terminal equipment receives the first video data sent by the second server.
S209, the terminal device plays the unencrypted part of the first video data and can pop up prompt information, wherein the prompt information is used for prompting to purchase the partially encrypted first video data.
Specifically, after the terminal device acquires the first video data through S208, since part of the data in the first video data is encrypted, another part of the data is not encrypted, and the terminal device does not have decryption information of the encrypted part of the first video data, in S209, the terminal device can only play the unencrypted part of the first video data, thereby implementing a preview play of the first video data by the terminal device.
In summary, through S204 to S209, after the terminal device sends the play request of the first video data to the first server, the first server determines whether the terminal device has the right of part of the first video data. If the terminal device does not have the authority of playing the first video data, the first server sends the address information of the first video data to the terminal device, and does not send decryption information of the encrypted part in the first video data to the terminal device, so that the terminal device can only realize the trial playing of the first video data by playing the unencrypted part in the first video data.
Therefore, in the above process, for a terminal device that does not have the authority to play the first video data, although the address information of the first video data can be received, the decryption information of the encrypted portion in the first video data is not received, so that the terminal device cannot decrypt and play the entire first video data despite having the video data, and only can realize the trial play through the unencrypted portion in the first video data. Therefore, the terminal equipment which does not have the authority of playing the first video data can not obtain the decryption information which can not store the first video data, and the terminal equipment which does not have the authority of playing the first video data can not directly and maliciously acquire the relevant information of the first video data stored in the terminal equipment by some means and then play the information. In the prior art, the risks that the address information and the decryption information of the encrypted first video data are maliciously attacked, unintentionally leaked or stolen and the like are reduced, so that the safety of the encrypted first video data is ensured, and the safety performance of the first video data is improved.
Optionally, in a specific implementation manner of the step S209, after the terminal device finishes playing the unencrypted portion of the first video data, or when the terminal device plays the unencrypted portion of the first video data, the terminal device may prompt the user to purchase the first video data by popping up a prompt message; or, the terminal device may pop up a prompt message to prompt the user to purchase the first video data after detecting the preset action of the user. The content displayed on the display interface of the terminal device may refer to the embodiments shown in fig. 6 and fig. 7, and the implementation manner and principle thereof are the same, and are not described again.
Subsequently, after the user determines to purchase the first video data, the user may proceed to complete the purchase of the first video data through the terminal device. For example, after the user sends a purchase request to the first server or the second server (or another server for payment management set by the provider of the first video data) through the terminal device, performs mobile payment, and the like, the purchase of the first video data is completed. The terminal device used by the user has the right to play the first video data after purchase.
Alternatively, in the example shown in fig. 8, a terminal device used by a user may request the first server to acquire the right to play the first video data through S210 to implement purchase of the first video data, the first server allocates the right to play the first video data to the terminal device used by the user who purchased the first video data through S211, and the corresponding terminal device acquires the right to play the first video data allocated to the terminal device by the first server through S211, so that the terminal device has the right to play the first video data. Alternatively, the distribution right may be that the first server modifies the identification information of the terminal device stored by the first server.
Subsequently, after having the right to play the first video data, the terminal device may send a play request of the first video to the first server again, and make the first server return decryption information of the encrypted portion in the first video data to the terminal device, so that the terminal device can realize the play of all the first video data after decrypting the encrypted portion in the first video data. Specifically, as shown in fig. 8, the video data processing method provided in this embodiment further includes:
s212: the terminal device sends a playing request of the first video data to the first server, and correspondingly, the first server receives the playing request of the first video data sent by the terminal device.
S213: the first server judges whether the terminal equipment has the authority of playing the video data again, and at the moment, the first server determines the decryption information of the first video data because the terminal equipment already has the authority of playing the first video data.
S214: the first server sends decryption information of the first video data to the terminal device. Correspondingly, the terminal equipment receives the decryption information sent by the first server. The decryption information may be a key used for encrypting the partial data in the first video data, or a certificate (license) for decrypting the encrypted partial data in the first video data, and the key and the certificate may be used for decrypting the first video data.
S215: the terminal device decrypts the encrypted portion of the video data in the acquired first video data according to the decryption information of the first video data acquired in S215 to obtain the first video data, and finally plays the first video data.
To sum up, through the above-mentioned processes of S210-S215, the terminal device may request to play the first video data from the first server again after acquiring the play right of the first video data, and request the decryption information of the encrypted portion in the first video data; at this time, the first server may send decryption information of the encrypted portion of the first video data to the terminal device after determining that the terminal device has the right to play the first video data. Therefore, the terminal equipment which really has the authority of playing the first video data can acquire the decryption information of the first video data and decrypt the encrypted part in the first video data for playing, so that the safety performance of the address information and the decryption information of the encrypted first video data is improved, the encrypted first video data is not easy to acquire by the terminal equipment without the authority and has the risk of embezzlement, and the safety performance of the encrypted first video data is further ensured.
In addition, the way of partially encrypting the first video data in the first embodiment and the second embodiment of the present application may also be applied to a video sharing scene, and support an HTML5 page. When the first device shares the first video data with the second device by sending an HTML5 page, at this time, after the HTML5 page received by the second device requests the first server to play the first video data, the first server only returns address information of the second video data to the HTML5 page, so that the HTML5 page of the second device can request and play the second video data from the second server, and the second device without the right of playing the first video data can perform trial playing on the first video data through the second video data; subsequently, after the user of the second device subscribes to the first video data, the HTML5 page of the second device requests the first server to play the first video data, and the first server returns the address information of the first video data to the HTML5 page, so that the HTML5 page of the second device requests the second server to play the first video data. For a specific implementation, reference may be made to the embodiment shown in fig. 5, and the second device may be a terminal device shown in fig. 5, which is not described again. Or after the HTML5 page received by the second device requests the first server to play the first video data, the first server returns the address information of the partially encrypted first video data to the HTML5 page, so that the HTML5 page received by the second device can also perform trial play on the first video data by playing the video data which is not encrypted in the first video data. Subsequently, after the user of the second device subscribes to the first video data, the HTML5 page of the second device requests the first server to play the first video data, and the first server returns the decryption information of the first video data to the HTML5 page, so that the HTML5 page of the second device decrypts and plays the first video data. For a specific implementation, reference may be made to the embodiment shown in fig. 8, and the second device may be a terminal device shown in fig. 8, which is not described again. Therefore, when the video data processing method of the embodiment of the application is used in a video sharing scene, the compatibility of sharing the HTML5 can be realized, no limitation is imposed on a browser, no display is given to the type of a DRM solution, and the realization difficulty is low.
In the embodiments provided in the foregoing application, the methods provided in the embodiments of the present application are introduced from the perspective of interaction among the first server, the terminal device, and the second server. In order to implement the functions in the method provided by the embodiment of the present application, the first server, the terminal device, and the second device may further include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
For example, fig. 9 is a schematic structural diagram of an embodiment of a video data processing apparatus provided in the present application. The video data processing apparatus 900 shown in fig. 9 includes: a transceiver module 901 and a processing module 902.
Exemplarily, when the video data processing apparatus shown in fig. 9 is used to execute the steps of the first server shown in fig. 5, the transceiving module 901 is used to receive a play request of the first video data sent by the terminal device; the processing module 902 is configured to determine address information of the second video data when the terminal device does not have a right to play the first video data; the second video data is obtained from part of the video data in the first video data, the first video data is encrypted, and the second video data is not encrypted; the transceiving module 901 is further configured to send address information of the second video data to the terminal device. Or, the processing module 902 is further configured to allocate an authority to play the first video data to the terminal device; the transceiver module 901 is further configured to receive a play request of the terminal device for sending the first video data; the transceiving module 901 is further configured to send address information of the first video data to the terminal device. Or, the transceiver module 901 is further configured to receive a decryption request of the first video data sent by the terminal device; and sending the decryption information of the first video data to the terminal equipment. Alternatively, the determining module 902 is further configured to determine the second video data according to an association relationship between the first video data and the second video data. The transceiver module 901 is further configured to receive an association relationship between the first video data and the second video data sent by the second server.
Further exemplarily, when the video data processing apparatus shown in fig. 9 is configured to execute the steps of the terminal device shown in fig. 5, the transceiver module 901 is configured to send a play request of the first video data to the first server; the transceiving module 901 is further configured to receive address information of the second video data sent by the first server; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; the transceiver module 901 is further configured to send an acquisition request of the second video data to the second server according to the address information of the second video data; the transceiving module 901 is further configured to receive second video data sent by a second server, and the processing module 902 is configured to play the second video data. Alternatively, the transceiver module 901 is further configured to: acquiring the authority of playing the first video data; sending a playing request of first video data to a first server; receiving address information of first video data sent by a first server; sending an acquisition request of the first video data to a second server according to the address information of the first video data; and receiving the first video data sent by the second server, wherein the processing module 902 is further configured to play the first video data. Or, the transceiver module 901 is specifically configured to send a decryption request of the first video data to the first server; the processing module 902 is configured to receive decryption information of the first video data sent by the first server, and play the first video data.
As another example, when the video data processing apparatus shown in fig. 9 is used to execute the steps of the second server shown in fig. 5, the transceiving module 901 is used to obtain an obtaining request of the second video data sent by the terminal device; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; and sending the second video data to the terminal equipment. Or, the transceiver module 901 is configured to obtain first video data; determining second video data according to the first video data; the second video data is partial data in the first video data; the processing module 901 is configured to establish an association relationship between the first video data and the second video data; the transceiver module 901 is configured to send the association relationship to the first server. Alternatively, the processing module 902 is further configured to encrypt the first video data.
Exemplarily, when the video data processing apparatus shown in fig. 9 is used to execute the steps of the first server shown in fig. 8, the transceiving module 901 is used to receive a play request of the first video data sent by the terminal device; the processing module 902 is configured to determine whether the terminal device has a right to play the first video data, and the transceiver module 901 is further configured to send address information of the first video data to the terminal device when the processing module 902 determines that the terminal device does not have the right to play the first video data, where a part of the video data in the first video data is encrypted. Or, the processing module 902 is further configured to allocate an authority to play the first video data to the terminal device; the transceiver module 901 is further configured to receive a play request of the first video data sent by the terminal device; and sending decryption information of the encrypted part of the video data in the first video data to the terminal equipment.
As another example, when the video data processing apparatus shown in fig. 9 is used to execute the steps of the terminal device shown in fig. 8, the transceiving module 901 is used to send a play request of the first video data to the first server; receiving address information of first video data sent by a first server; encrypting part of the video data in the first video data; sending an acquisition request of the first video data to a second server according to the address information of the first video data; receiving the first video data sent by the second server, the processing module 902 is configured to play the unencrypted portion of the video data in the first video data. Or, the transceiver module 901 is configured to acquire a right to play the first video data; sending a playing request of first video data to a first server; receiving decryption information of encrypted part of video data in first video data sent by a first server; the encrypted portion of the first video data is decrypted according to the decryption information, and the processing module 902 is configured to play the first video data.
As another example, when the video data processing apparatus shown in fig. 9 is used to execute the steps of the second server shown in fig. 8, the transceiving module 901 is used to obtain an obtaining request of the first video data sent by the terminal device; a part of the video data in the first video data is encrypted; and sending the first video data to the terminal equipment. Or, the transceiver module 901 is configured to obtain first video data; the processing module 902 is configured to encrypt a portion of the video data in the first video data.
The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Fig. 10 is a schematic structural diagram of an embodiment of a video data processing apparatus according to the present application. The communication apparatus 1000 shown in fig. 10 includes: a memory 1010 for storing a program; a communication interface 1020 for communicating with other devices; a processor 1030 for executing programs in memory 1010. It should be understood that the video data processing apparatus shown in fig. 10 may perform the steps performed by the first server in the embodiments of the present application, or may perform the steps performed by the terminal device in the embodiments of the present application, or may perform the steps performed by the second server in the embodiments of the present application.
Illustratively, when the video data processing apparatus 1000 is configured to execute the steps of the first server as in fig. 5, when the program is executed, the processor 1030 may receive a play request of the first video data sent by the terminal device through the communication interface 1020; the processor 1030 is configured to determine address information of the second video data when the terminal device does not have the right to play the first video data; the second video data is obtained from part of the video data in the first video data, the first video data is encrypted, and the second video data is not encrypted; processor 1030 may also send address information for the second video data to the end device via communication interface 1020. Further illustratively, when the video data processing apparatus 1000 is configured to perform the steps of the terminal device as in fig. 5, the processor 1030 may send a play request of the first video data to the first server through the communication interface 1020 when the program is executed; the processor 1030 may receive address information of the second video data transmitted by the first server through the communication interface 1020; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; the processor 1030 may send an acquisition request of the second video data to the second server through the communication interface 1020 according to the address information of the second video data; the processor 1030 may receive the second video data transmitted by the second server through the communication interface 1020, and the processor 1030 may also play the second video data. As still another example, when the video data processing apparatus 1000 is used to execute the steps of the second server as in fig. 5, when the program is executed, the processor 1030 may acquire, through the communication interface 1020, an acquisition request of second video data transmitted by the terminal device; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted; and sending the second video data to the terminal equipment.
Illustratively, when the video data processing apparatus 1000 is configured to execute the steps of the first server as in fig. 8, when the program is executed, the processor 1030 may receive a play request of the first video data sent by the terminal device through the communication interface 1020; the processor 1030 may determine whether the terminal device has a right to play the first video data, and when the processor 1030 determines that the terminal device does not have the right to play the first video data, the processor 1030 may transmit address information of the first video data to the terminal device through the communication interface 1020, and a part of the video data in the first video data is encrypted. Further illustratively, when the video data processing apparatus 1000 is configured to perform the steps of the terminal device as in fig. 8, the processor 1030 may send a play request of the first video data to the first server through the communication interface 1020 when the program is executed; receiving address information of first video data sent by a first server; encrypting part of the video data in the first video data; sending an acquisition request of the first video data to a second server according to the address information of the first video data; receiving the first video data sent by the second server, the processor 1030 may play the unencrypted portion of the first video data. As still another example, when the video data processing apparatus 1000 is used to execute the steps of the second server in fig. 8, when the program is executed, the processor 1030 may acquire, through the communication interface 1020, an acquisition request of first video data transmitted by the terminal device; a part of the video data in the first video data is encrypted; and sending the first video data to the terminal equipment. Alternatively, processor 1030 can be configured to obtain the first video data via communication interface 1020; processor 1030 may encrypt a portion of the video data in the first video data.
It is understood that the communication device 1000 as shown in fig. 10 may be a chip or a circuit. Such as a chip or circuit that may be provided within the terminal device. The communication interface 1020 may also be a transceiver. The transceiver includes a receiver and a transmitter. Further, the communication apparatus 1000 may also include a bus system.
The processor 1030, the memory 1010, the receiver and the transmitter are connected through a bus system, and the processor 1030 is configured to execute instructions stored in the memory 1010 to control the receiver to receive signals and control the transmitter to transmit signals, so as to complete the steps of the network device in the communication method of the present application. Wherein the receiver and the transmitter may be the same or different physical entities. When the same physical entity, may be collectively referred to as a transceiver. The memory 1010 may be integrated with the processor 1030 or may be provided separately from the processor 1030.
As an implementation manner, the functions of the receiver and the transmitter may be considered to be implemented by a transceiving circuit or a transceiving dedicated chip. Processor 1030 may be considered to be implemented by a special purpose processing chip, processing circuit, processor, or a general purpose chip.
The present application further provides a video data processing system, which includes the first server, the second server and the terminal device shown in fig. 5, and executes corresponding steps.
The present application further provides a video data processing system, which includes the first server, the second server and the terminal device shown in fig. 8, and executes corresponding steps.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the above-described apparatus embodiments are merely illustrative, for example, the division of the units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the communication connections shown or discussed may be indirect couplings or communication connections between devices or units through interfaces, and may be electrical, mechanical or other forms.
In addition, each unit in the embodiments of the apparatus of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It is understood that the processor in the embodiments of the present application may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The general purpose processor may be a microprocessor, but may be any conventional processor.
The methods in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer program or instructions may be stored in or transmitted over a computer-readable storage medium. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server that integrates one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; or optical media, such as CD-ROM, DVD; it may also be a semiconductor medium, such as a Solid State Disk (SSD), a Random Access Memory (RAM), a read-only memory (ROM), a register, and the like.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a network device or a terminal device. Of course, the processor and the storage medium may reside as discrete components in a transmitting device or a receiving device.
In the embodiments of the present application, unless otherwise specified or conflicting with respect to logic, the terms and/or descriptions in different embodiments have consistency and may be mutually cited, and technical features in different embodiments may be combined to form a new embodiment according to their inherent logic relationship.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application. The sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic.

Claims (15)

1. A method of processing video data, comprising:
the method comprises the steps that a first server receives a playing request of first video data sent by terminal equipment;
when the terminal equipment does not have the right of playing the first video data, the first server determines the address information of the second video data; the second video data is obtained from part of the first video data, the first video data is encrypted, and the second video data is not encrypted;
and the first server sends the address information of the second video data to the terminal equipment.
2. The method of claim 1, wherein after the first server sends the address information of the second video data to the terminal device, the method further comprises:
the first server distributes the authority for playing the first video data to the terminal equipment;
the first server receives a playing request of the first video data sent by the terminal equipment;
and the first server sends the address information of the first video data to the terminal equipment.
3. The method of claim 2, wherein after the first server sends the address information of the first video data to the terminal device, the method further comprises:
the first server receives a decryption request of the first video data sent by the terminal equipment;
and the first server sends decryption information of the first video data to the terminal equipment.
4. The method of any of claims 1-3, wherein the first server determining address information for the second video data comprises:
and the first server determines the second video data according to the incidence relation between the first video data and the second video data.
5. The method of claim 4, further comprising:
and the first server receives the incidence relation between the first video data and the second video data sent by the second server.
6. A method of processing video data, comprising:
the method comprises the steps that terminal equipment sends a playing request of first video data to a first server;
the terminal equipment receives address information of second video data sent by the first server; the second video data is part of the first video data, the first video data is encrypted, and the second video data is not encrypted;
the terminal equipment sends an acquisition request of the second video data to a second server according to the address information of the second video data;
and the terminal equipment receives the second video data sent by the second server and plays the second video data.
7. The method according to claim 6, wherein the terminal device receives the second video data sent by the second server, and further comprises, after playing the second video data:
the terminal equipment acquires the authority of playing the first video data;
the terminal equipment sends a playing request of the first video data to the first server;
the terminal equipment receives address information of the first video data sent by the first server;
the terminal equipment sends an acquisition request of the first video data to the second server according to the address information of the first video data;
and the terminal equipment receives the first video data sent by the second server and plays the first video data.
8. The method of claim 7, wherein the terminal device playing the first video data comprises:
the terminal equipment sends a decryption request of the first video data to the first server;
the terminal equipment receives decryption information of the first video data sent by the first server;
and the terminal equipment decrypts the first video data according to the decryption information of the first video data and plays the first video data.
9. A method of processing video data, comprising:
the method comprises the steps that a first server receives a playing request of first video data sent by terminal equipment;
when the terminal equipment does not have the right of playing the first video data, the first server sends the address information of the first video data to the terminal equipment, and part of the video data in the first video data is encrypted.
10. The method of claim 9, further comprising: after the first server sends the address information of the first video data to the terminal device, the method further includes:
the first server distributes the authority for playing the first video data to the terminal equipment;
the first server receives a playing request of the first video data sent by the terminal equipment;
and the first server sends decryption information of the encrypted part of the first video data to the terminal equipment.
11. A method of processing video data, comprising:
the method comprises the steps that terminal equipment sends a playing request of first video data to a first server;
the terminal equipment receives address information of first video data sent by the first server; a part of the video data in the first video data is encrypted;
the terminal equipment sends an acquisition request of the first video data to a second server according to the address information of the first video data;
and the terminal equipment receives the first video data sent by the second server and plays part of video data which is not encrypted in the first video data.
12. The method according to claim 11, wherein the terminal device receives the first video data sent by the second server, and further comprises, after playing the unencrypted part of the first video data:
the terminal equipment acquires the authority of playing the first video data;
the terminal equipment sends a playing request of the first video data to the first server;
the terminal equipment receives decryption information which is sent by the first server and used for sending the encrypted part of the first video data;
and the terminal equipment decrypts the encrypted part in the first video data according to the decryption information and plays the first video data.
13. Video data processing apparatus for implementing a method as claimed in any one of claims 1 to 12.
14. A video data processing apparatus comprising a processor and a memory, said memory having stored therein instructions which, when invoked by said processor, cause said apparatus to perform the method of any of claims 1 to 12.
15. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-12.
CN201910827659.7A 2019-09-03 2019-09-03 Video data processing method, device and system Pending CN110719498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910827659.7A CN110719498A (en) 2019-09-03 2019-09-03 Video data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910827659.7A CN110719498A (en) 2019-09-03 2019-09-03 Video data processing method, device and system

Publications (1)

Publication Number Publication Date
CN110719498A true CN110719498A (en) 2020-01-21

Family

ID=69209591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910827659.7A Pending CN110719498A (en) 2019-09-03 2019-09-03 Video data processing method, device and system

Country Status (1)

Country Link
CN (1) CN110719498A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080039A2 (en) * 2000-04-13 2001-10-25 William Mutual System and method for self-publishing webcast content over a computer network
CN101127878A (en) * 2007-09-13 2008-02-20 深圳市融合视讯科技有限公司 An encryption and decryption method for video stream media programs
CN101141246A (en) * 2006-09-05 2008-03-12 华为技术有限公司 Service key obtaining method and subscription management server
CN101489094A (en) * 2008-01-15 2009-07-22 深圳市同洲电子股份有限公司 Subscribing, previewing method and system for ciphered program and front end processing system
CN106941624A (en) * 2017-04-28 2017-07-11 北京小米移动软件有限公司 The treating method and apparatus that Internet video is tried
CN108737854A (en) * 2017-04-21 2018-11-02 武汉斗鱼网络科技有限公司 A kind of method for verifying authority and device of video render

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080039A2 (en) * 2000-04-13 2001-10-25 William Mutual System and method for self-publishing webcast content over a computer network
CN101141246A (en) * 2006-09-05 2008-03-12 华为技术有限公司 Service key obtaining method and subscription management server
CN101127878A (en) * 2007-09-13 2008-02-20 深圳市融合视讯科技有限公司 An encryption and decryption method for video stream media programs
CN101489094A (en) * 2008-01-15 2009-07-22 深圳市同洲电子股份有限公司 Subscribing, previewing method and system for ciphered program and front end processing system
CN108737854A (en) * 2017-04-21 2018-11-02 武汉斗鱼网络科技有限公司 A kind of method for verifying authority and device of video render
CN106941624A (en) * 2017-04-28 2017-07-11 北京小米移动软件有限公司 The treating method and apparatus that Internet video is tried

Similar Documents

Publication Publication Date Title
KR100957121B1 (en) Key distribution method and authentication server
US11847190B2 (en) Digital rights management for HTTP-based media streaming
CN104837035B (en) A kind of video broadcasting method and terminal
JP4980592B2 (en) How to provide a rights data object
KR101248790B1 (en) Method of providing access to encrypted content to one of a plurality of consumer systems, device for providing access to encrypted content and method of generating a secure content package
US20050172127A1 (en) System and method for transcoding encrypted multimedia messages transmitted between two devices
JP2011172276A (en) Method, device and system for relating entities for protecting content to each other
JP2008130096A (en) Method and device for providing device with access right to access right controlled digital content
KR20080103599A (en) Method, system, subscriber equipment and multi-media server for digital copylight protection
EP2683127A1 (en) Voucher authorization for cloud server
CN110072122A (en) Video playing method and related equipment
CN104540016A (en) Video playing method and device
US20230132485A1 (en) System for Thin Client Devices in Hybrid Edge Cloud Systems
WO2007036155A1 (en) A method for realizing preview of iptv programs, an encryption apparatus, a right center system and a user terminal
CN101501724A (en) Rights management system for streamed multimedia content
CN104462877B (en) A kind of digital resource acquisition method under copyright protection and system
KR101502992B1 (en) Server and method for issuing split license, and device
CN112019935B (en) Cross-platform video-on-demand file processing method and device and computing equipment
CN108055356A (en) A kind of information processing method, server, client and readable storage medium storing program for executing
CN110719498A (en) Video data processing method, device and system
CN114679608B (en) VR video encryption playing method, server, user, system, electronic device and medium
KR101990868B1 (en) Method and Apparatus for controlling download of broadcast service secure module
CN107919958B (en) Data encryption processing method, device and equipment
CN107979767B (en) Content secure transmission method and system, content management system and content providing terminal
KR101538713B1 (en) A method of supplying contents service based on multi-session and system of that

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200121