CN111866591A - Video playing method, device, equipment and storage medium - Google Patents

Video playing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111866591A
CN111866591A CN202010719712.4A CN202010719712A CN111866591A CN 111866591 A CN111866591 A CN 111866591A CN 202010719712 A CN202010719712 A CN 202010719712A CN 111866591 A CN111866591 A CN 111866591A
Authority
CN
China
Prior art keywords
public network
video
target
network video
server
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
CN202010719712.4A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010719712.4A priority Critical patent/CN111866591A/en
Publication of CN111866591A publication Critical patent/CN111866591A/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44245Monitoring the upstream path of the transmission network, e.g. its availability, bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a video playing method, a video playing device, video playing equipment and a storage medium. The method comprises the following steps: displaying video information corresponding to at least one candidate public network video; taking the candidate public network video corresponding to the selected video information as a target public network video, and sending an authentication request to a public network server, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of the target public network video; and responding to the target authentication result to indicate that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file. In the process, the video playing client based on the private network operation can play the public network video, and the types of the videos which can be played are rich. In addition, the public network video playing needs to acquire decryption information from a public network server, so that the playing safety of the public network video under a private network can be ensured, and the video playing effect is good.

Description

Video playing method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a video playing method, a video playing device, video playing equipment and a storage medium.
Background
IPTV (Internet protocol television) is a technology capable of converting a traditional media transmission mode into a brand-new interactive personalized demand experience, supports services such as on-demand and interactive voting on the basis of a traditional live program, and can provide a variety of interactive services including digital televisions to home users.
Generally, IPTV provides services in a private network, and a video playing client for implementing the IPTV services is a video playing client operating based on the private network. At present, a video playing client running based on a private network can only play a private network video provided by the private network, the types of videos available for playing are limited, the video playing effect is poor, and the video watching experience of a user is poor.
Disclosure of Invention
The embodiment of the application provides a video playing method, a video playing device, video playing equipment and a storage medium, which can be used for improving the video playing effect. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a video playing method, where the method is applied to a video playing client operating on the basis of a private network, and the method includes:
displaying video information corresponding to at least one candidate public network video;
taking a candidate public network video corresponding to selected video information in the video information corresponding to the at least one candidate public network video as a target public network video, and sending an authentication request to a public network server, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of the target public network video, and the public network server is used for returning a target authentication result obtained based on the public network user identifier and the video identifier;
responding to the target authentication result indicating that authentication is successful, obtaining an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video obtained from the public network server, and playing the target public network video based on the decrypted video source file.
The video playing method is applied to a public network server and comprises the following steps:
receiving an authentication request sent by a video playing client, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of a target public network video, and the video playing client operates on the basis of a private network;
acquiring a target authentication result based on the public network user identification of the target object and the video identification of the target public network video;
and returning the target authentication result to the video playing client, wherein the video playing client is used for responding to the target authentication result to indicate that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
In another aspect, a video playback apparatus is provided, the apparatus including:
the display unit is used for displaying video information corresponding to at least one candidate public network video;
a sending unit, configured to send an authentication request to a public network server, where the authentication request includes a public network user identifier of a target object and a video identifier of a target public network video, and the public network server is configured to return a target authentication result obtained based on the public network user identifier and the video identifier, where the candidate public network video corresponding to selected video information in video information corresponding to the at least one candidate public network video is used as the target public network video;
the obtaining unit is used for responding to the target authentication result to indicate that the authentication is successful and obtaining an encrypted video source file of the target public network video;
and the playing unit is used for decrypting the encrypted video source file based on the decryption information of the target public network video acquired from the public network server and playing the target public network video based on the decrypted video source file.
In a possible implementation manner, the obtaining unit is further configured to obtain a public network video interest ordering request of the target object;
the sending unit is further configured to respond to the public network video interest ordering request carrying the private network user identifier of the target object, send the public network video interest ordering request to a private network server, where the private network server is configured to obtain the public network user identifier of the target object based on the private network user identifier of the target object, obtain public network video interest ordering information corresponding to the public network video interest ordering request, and send the public network video interest ordering information carrying the public network user identifier of the target object to the public network server, where the public network server is configured to return a public network video interest ordering result matched with the public network user identifier of the target object;
the device further comprises:
and the receiving unit is used for receiving the public network video interest ordering result and displaying the public network video interest ordering result on a video interest display page, wherein the public network video interest ordering result is used for indicating the public network video interest of the target object.
In a possible implementation manner, the obtaining unit is further configured to obtain a public network video interest ordering request of the target object;
the sending unit is further configured to respond to the public network video interest ordering request carrying the public network user identifier of the target object, and send the public network video interest ordering request to a private network server, where the private network server is configured to obtain public network video interest ordering information corresponding to the public network video interest ordering request, and send the public network video interest ordering information carrying the public network user identifier of the target object to the public network server, and the public network server is configured to return a public network video interest ordering result matched with the public network user identifier of the target object;
the receiving unit is configured to receive the public network video interest ordering result, and display the public network video interest ordering result on a video interest display page, where the public network video interest ordering result is used to indicate a public network video interest of the target object.
In a possible implementation manner, the display unit is further configured to display guidance information in response to the target authentication result indicating that the public network video interest of the target object needs to be updated, where the guidance information is used for guiding to update the public network video interest.
In a possible implementation manner, the obtaining unit is further configured to obtain video information corresponding to at least one candidate public network video sent by a private network server, where the private network server is configured to obtain public network video asset information from the public network server, and the public network video asset information includes an encrypted video source file of the at least one candidate public network video and video information corresponding to the at least one candidate public network video; and obtaining the encrypted video source file of the target public network video from the encrypted video source file of the at least one candidate public network video.
In a possible implementation manner, the video playing client is integrated with a public network video playing control, and the sending unit is configured to call the public network video playing control to send an authentication request to the public network server;
the obtaining unit is used for responding to the target authentication result indicating that the authentication is successful, and calling the public network video playing control to obtain an encrypted video source file of the target public network video;
the playing unit is used for calling the public network video playing control to decrypt the encrypted video source file based on the decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
In a possible implementation manner, the sending unit is further configured to send an encrypted video source file address of the target public network video to the public network video playing control based on an address obtaining request sent by the public network video playing control, where the address obtaining request includes a video identifier of the target public network video;
the obtaining unit is further configured to call the public network video playing control to obtain the encrypted video source file of the target public network video from a private network server based on the encrypted video source file address of the target public network video.
There is also provided a video playback apparatus, the apparatus comprising:
the system comprises a receiving unit, a video playing client and a processing unit, wherein the receiving unit is used for receiving an authentication request sent by the video playing client, the authentication request comprises a public network user identifier of a target object and a video identifier of a target public network video, and the video playing client operates on the basis of a private network;
the acquisition unit is used for acquiring a target authentication result based on the public network user identification of the target object and the video identification of the target public network video;
and the return unit is used for returning the target authentication result to the video playing client, the video playing client is used for responding to the target authentication result to indicate that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
In a possible implementation manner, the obtaining unit is configured to obtain a public network video interest corresponding to a public network user identifier of the target object and a public network video interest requirement corresponding to a video identifier of the target public network video; responding to the public network video interest meeting the public network video interest requirement, and taking a first authentication result as a target authentication result, wherein the first authentication result is used for indicating that the authentication is successful; and in response to the public network video interest right not meeting the public network video interest right requirement, taking a second authentication result as a target authentication result, wherein the second authentication result is used for indicating that the public network video interest right of the target object needs to be updated.
In a possible implementation manner, the receiving unit is further configured to receive public network video interest subscription information carrying a public network user identifier of the target object;
the obtaining unit is further configured to execute a rights and interests ordering service based on the public network video rights and interests ordering information, to obtain a public network video rights and interests ordering result matched with the public network user identifier of the target object, where the public network video rights and interests ordering result is used to indicate the public network video rights and interests of the target object;
the return unit is further configured to return the public network video interest ordering result to the video playing client.
In a possible implementation manner, the receiving unit is configured to receive an authentication request sent by a video playing client calling a public network video playing control, where the public network video playing control is integrated in the video playing client;
the return unit is used for returning the target authentication result to a public network video playing control in the video playing client, the video playing client is used for responding to the target authentication result to indicate that authentication is successful, calling the public network video playing control to obtain an encrypted video source file of the target public network video, calling the public network video playing control to decrypt the encrypted video source file based on decryption information of the target public network video obtained from a public network server, and playing the target public network video based on a decrypted video source file.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement any of the above video playing methods.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned video playing methods.
In another aspect, a computer program product or a computer program is also provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the computer device executes any one of the video playing methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
and the video playing client operating on the basis of the private network displays video information corresponding to the candidate public network video for selection of the target object so as to determine the target public network video to be played, and then decrypts and plays the target public network video on the basis of the target public network video decryption information acquired from the public network server. Based on the process, the video playing client based on the private network operation can play the public network video, and the types of the videos available for playing are rich. In addition, as the public network video needs to be played by acquiring decryption information from the public network server, the playing safety of the public network video under a private network can be ensured, the video playing effect is good, and the video watching experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a video playing method provided in an embodiment of the present application;
fig. 2 is a flowchart of a video playing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a default page of a video playing client according to an embodiment of the present application;
FIG. 4 is a schematic illustration of a target zone provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a process for acquiring information of a public network video media according to an embodiment of the present application;
fig. 6 is a schematic diagram of a public network video interest ordering process according to an embodiment of the present application;
fig. 7 is a schematic diagram of a playing process of a target public network video according to an embodiment of the present application;
fig. 8 is a schematic diagram of a video playback device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a video playing apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a video playback device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It is noted that the terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Referring to fig. 1, a schematic diagram of an implementation environment of a video playing method provided in an embodiment of the present application is shown. The implementation environment includes: a terminal 11, a private network server 12 and a public network server 13.
The terminal 11 is provided with a video playing client running on the basis of a private network. In one possible implementation manner, the video playing client is integrated with a public network video playing control, and the public network video playing control is used for controlling playing of a public network video under a private network. When the video playing client needs to play the public network video, the method provided by the embodiment of the application can be applied to play the video. The private network server 12 is configured to provide a background server for the video playing client installed in the terminal 11. The private network server 12 can acquire and store public network video assets (including encrypted video source files and video information) from the public network server 13. The public network server 13 is used for managing related services of public network videos, and the public network server 13 can send the public network video media information to the private network server 12.
The video playing client in the terminal 11 can obtain the video information corresponding to the candidate public network video from the private network server 12, and display the video information corresponding to the candidate public network video for selection of the target object. The video playing client in the terminal 11 can also obtain the encrypted video source file from the private network server 12 and the decryption information from the public network server 13, and then perform decryption playing on the public network video.
In one possible implementation manner, the terminal 11 may be any electronic product that can perform human-Computer interaction with a user through one or more manners such as a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or a handwriting device, for example, a PC (Personal Computer), a smart phone, a PDA (Personal Digital Assistant), a wearable device, a pocket PC (pocket PC), a tablet Computer, a smart car, a smart television, a smart sound box, and the like. The private network server 12 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. The public network server 13 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. The terminal 11 and the private network server 12 establish communication connection through a wired or wireless network. The private network server 12 and the public network server 13 establish communication connection through a wired or wireless network
It should be understood by those skilled in the art that the above-mentioned terminal 11, private network server 12 and public network server 13 are only examples, and other existing or future terminals, private network servers or public network servers may be suitable for the present application, and are included in the scope of the present application and are incorporated herein by reference.
Based on the implementation environment shown in fig. 1, the embodiment of the present application provides a video playing method, which is applied to an interaction process between a video playing client operating on a private network in a terminal 11 and a public network server 13. As shown in fig. 2, the method provided in the embodiment of the present application includes the following steps:
in step 201, the video playing client displays video information corresponding to at least one candidate public network video.
The video playing client operates on the basis of the private network, which means that the video playing process of the video playing client is controlled by a private network operator. Private network refers to a private network that typically serves a particular object. Exemplarily, the video playing client in the embodiment of the present application refers to a video playing client for implementing an IPTV service. Typically, IPTV operates under a private network, and the private network for IPTV operation is provided by a broadcast television network operator. The broadcast television network operator can be divided into a plurality of different operators according to regions, for example, a north Hu broadcast television network operator, a Beijing broadcast television network operator, and the like, and the broadcast television network operators in different regions control the video playing process of the video playing client under different private networks.
In the embodiment of the application, the video playing client displays video information corresponding to at least one candidate public network video. Candidate public network videos refer to alternative videos derived from the public network. The video information corresponding to the candidate public network video is information used for describing the candidate public network video, and each video information uniquely corresponds to one candidate public network video. Illustratively, the video information corresponding to the candidate public network video comprises at least one of poster images of the candidate public network video, names of the candidate public network video, leading information of the candidate public network video, profile information of the candidate public network video, interest information of the candidate public network video and video identifications of the candidate public network video. The interest information of the candidate public network video is used for indicating the interest requirement of the candidate public network video, for example, the candidate public network video needs to be played for payment, the candidate public network video needs to be played by using member interests, and the like.
It should be noted that, before implementing step 201, the video playing client needs to first obtain video information corresponding to at least one candidate public network video sent by the private network server. The private network server is used for acquiring the public network video media asset information from the public network server. The public network video media information comprises at least one encrypted video source file of the candidate public network video and video information corresponding to the candidate public network video respectively. It should be noted that the encrypted video source file of the candidate public network video acquired by the private network server is obtained by encrypting the video source file of the candidate public network video by the public network server, and sending the encrypted video source file to the private network server is beneficial to realizing secure playing and restricted playing of the public network video in the private network.
The private network server is used for providing a background server for the video playing client, and the public network server is used for managing related services of the public network video. In a possible implementation manner, the process of the private network server obtaining the video asset information of the public network from the public network server is as follows: the private network server sends a media resource acquisition request to the public network server; the public network server carries out security verification on the private network server based on the media resource acquisition request; and responding to the passing of the security verification, the public network server encrypts the video source file of at least one candidate public network video to be sent to obtain an encrypted video source file of at least one candidate public network video, and then sends public network video media information comprising the encrypted video source file of at least one candidate public network video and video information corresponding to at least one candidate public network video to the private network server.
The embodiment of the application does not limit the way of the public network server to perform security verification on the private network server. Illustratively, the public network server implements security verification of the private network server by verifying whether an IP (Internet Protocol) address of the private network server is valid; or the media asset acquisition request comprises a media asset request account and a password, and the public network server realizes the safety verification of the private network server by verifying whether the media asset request account is matched with the password.
In a possible implementation manner, after obtaining the public network video asset information, the private network server sends video information corresponding to at least one candidate public network video in the public network video asset information to the video playing client. Therefore, the video playing client obtains video information corresponding to at least one candidate public network video.
In a possible implementation manner, the private network server may be one server or a server cluster including multiple servers, which is not limited in this embodiment of the present application. For the case that the private network server is one server, the private network server itself can realize various functions. For the case that the private network server is a server cluster comprising a plurality of servers, the private network server can distribute different functions to different servers for realization. When the private network server comprises a plurality of servers, the normal operation of other servers cannot be influenced when any server breaks down, and the operation stability of the server is high. In the embodiment of the present application, a private network server is taken as an example of a server cluster including a plurality of servers.
Similarly, the public network server may be one server or a server cluster including a plurality of servers, which is not limited in the embodiment of the present application. For the case that the public network server is one server, the public network server itself can realize multiple functions. In the case that the public network server is a server cluster including a plurality of servers, the public network server can allocate different functions to different servers for implementation. When the public network server comprises a plurality of servers, the normal operation of other servers cannot be influenced when any server breaks down, and the operation stability of the servers is high. In the embodiment of the present application, a public network server is taken as an example of a server cluster including a plurality of servers.
In one possible implementation manner, the private Network server includes a media asset injection server, a content delivery (CND) server, and a play operation server, and the public Network server includes a media asset synchronization server. The media asset injection server in the private network server is used for injecting the public network video media asset information into the private network; the content distribution server in the private network server is used for storing and distributing video source files; the playing operation server in the private network server is used for controlling the front-end display of the video playing client; the media resource synchronization service in the public network server is used for storing the related information (video source file, video information and the like) of the public network video. In this case, the private network server acquiring the public network video media asset information from the public network server means that the media asset injection server in the private network server acquires the public network video media asset information from the media asset synchronization server in the public network server.
In a possible implementation manner, after the media asset injection server in the private network server obtains the public network video media asset information, the encrypted video source file of at least one candidate public network video in the public network video media asset information is synchronized to the content distribution server in the private network server, and the video information corresponding to the at least one candidate public network video is synchronized to the playing operation server in the private network server. In this case, the process of the video playing client acquiring the video information corresponding to the at least one candidate public network video sent by the private network server is as follows: the video playing client acquires video information corresponding to at least one candidate public network video sent by a playing operation server in the private network service.
In a possible implementation manner, the playing operation server in the private network service may send the video information corresponding to at least one candidate public network video to the video playing client, and may also send the target display manner to the video playing client. The target display mode is used for controlling the display mode of the video information corresponding to at least one candidate public network video. And after the video playing client acquires the video information corresponding to the at least one candidate public network video and the target display mode sent by the playing operation server, the video information corresponding to the at least one candidate public network video is displayed according to the target display mode.
The target display mode is not limited in the embodiments of the present application. The target display mode can be set according to experience and can also be flexibly adjusted according to application scenes. Illustratively, the target display mode indicates that video information corresponding to at least one candidate public network video is displayed in the target area. In this case, the video playing client displays video information corresponding to at least one candidate public network video in the target area. It should be noted that, the layout manner of displaying the video information corresponding to the at least one candidate public network video in the target area may be specified by the target display manner, or may be a default layout manner of the video playing client, which is not limited in the embodiment of the present application.
In the embodiment of the present application, each candidate public network video refers to an independent video, for example, a movie video, a video episode in a television show, and the like. In one possible implementation manner, the process of displaying video information corresponding to at least one candidate public network video includes: displaying a default page, and displaying a public network video information inlet on the default page; and responding to a trigger instruction of the public network video information inlet, and displaying the video information corresponding to at least one candidate public network video. For the situation that the video playing client displays the video information corresponding to the at least one candidate public network video in the target area, the public network video information entry may refer to a target area entry, and the video information corresponding to the at least one candidate public network video is displayed in the target area in response to a trigger instruction of the target area entry.
Illustratively, the default page of the video playing client is shown in fig. 3, and in the default page shown in fig. 3, the "more" option in the navigation bar is selected by default, and the target section entry 301 is included in the display content under the "more" option. When the target object clicks the target area entry 301, the video playing client acquires a trigger instruction of the target area entry, and then jumps to the target area as shown in fig. 4.
The default page in the target section shown in fig. 4 displays entries of video information corresponding to one category of candidate public network videos (e.g., entry 401 of video information corresponding to a candidate public network video of a small-package recommended genre, entry 402 of video information corresponding to a candidate public network video of a free choice genre), entries of video information corresponding to a certain movie (e.g., entry 403 of video information corresponding to movie 1 and entry 404 of video information corresponding to movie 2), entries of video information corresponding to a certain drama (e.g., entry 405 of video information corresponding to drama 1), and entries of video information corresponding to a certain variety (e.g., entry 406 of video information corresponding to variety 1), and the like. At each entrance, a poster image and a name are displayed. After the target object clicks any one of the entries, detailed video information is further displayed.
Illustratively, the process of obtaining public network video asset information is shown in fig. 5. The media asset injection server sends a media asset acquisition request to a media asset synchronization server; and the media asset synchronization server sends the public network video media asset information to the media asset injection server. The media resource injection server synchronizes video information corresponding to at least one candidate public network video to the playing operation server, and synchronizes an encrypted video source file of at least one candidate public network video to the content distribution server (the content distribution server 1, the content distribution server 2, etc.). The playing operation server sends the video information corresponding to at least one candidate public network video to the video playing client (video playing client 1, video playing client 2, etc.). The interactive object can acquire the encrypted video source file in the content distribution server and realize playing based on the video playing client.
It should be noted that, in the embodiment of the present application, the video information corresponding to the at least one candidate public network video and the encrypted video source file of the at least one candidate public network video are limited to be included in the public network video asset information and are simultaneously acquired from the public network server by the private network server. In an exemplary embodiment, the video information corresponding to the at least one candidate public network video and the encrypted video source file of the at least one candidate public network video may be obtained by the private network server separately from the public network server. In another exemplary embodiment, the private network server may also only obtain video information corresponding to at least one candidate public network video from the public network server, and then obtain an encrypted video source file of the candidate public network video from the public network server when a certain candidate public network video needs to be played in the following.
In step 202, the video playing client sends an authentication request to the public network server by using a candidate public network video corresponding to the selected video information in the video information corresponding to the at least one candidate public network video as a target public network video.
The authentication request comprises the public network user identification of the target object and the video identification of the target public network video.
And each piece of displayed video information uniquely corresponds to one candidate public network video, and the candidate public network video corresponding to the selected video information in the video information corresponding to at least one candidate public network video is used as the target public network video. The target public network video is the public network video which needs to be played for the target object in the video playing client terminal based on the private network operation. In the process of browsing the displayed video information, the target object can select the interested video information, the video information is the selected video information in the video information corresponding to at least one candidate public network video, and the candidate public network video corresponding to the video information is the target public network video to be played. The target public network video may refer to a movie video, a video album of a television show, a video album of a variety, and the like, which is not limited in the embodiment of the present application.
The authentication request comprises the public network user identification of the target object and the video identification of the target public network video. And the video identifier of the target public network video is used for uniquely identifying the target public network video. Illustratively, the video identification of the target public network video refers to an ID (Identity Document) of the target public network video. The video information corresponding to the target public network video may include the identifier of the target public network video, and the video identifier of the target public network video may be directly extracted from the video information. When the video information corresponding to the target public network video does not include the identifier of the target public network video, the video identifier of the target public network video can be obtained by encoding the video information corresponding to the target public network video.
The public network user identification of the target object is used for uniquely identifying the target object under the public network environment, and the public network user identification of the target object and the private network user identification of the target object have a mapping relation. The private network user identification of the target object is used for uniquely identifying the target object in a private network environment, and after the target object logs in the video playing client, the video playing client can determine the private network user identification of the target object. For example, the login account of the target object is used as the private network user identification of the target object. The public network and the private network video services have own user systems, and the form or type of the user identifier of the public network is different from that of the user identifier of the private network, so that the public network server cannot directly identify the private network user identifier of the target object. Thus, included in the authentication request is the public network subscriber identity of the target object.
Since the video playing client only records the private network user identifier of the target object, the public network user identifier of the target object needs to be acquired based on the private network user identifier of the target object before sending the authentication request to the public network server. In a possible implementation manner, the manner of obtaining the public network user identifier of the target object based on the private network user identifier of the target object is as follows: the video playing client sends a user identifier mapping request to a private network server, wherein the user identifier mapping request comprises a private network user identifier of a target object; the private network server maps the private network user identification of the target object into the public network user identification of the target object, and returns the public network user identification of the target object to the video playing client. In a possible implementation manner, a virtual public network user identifier pool pre-allocated to the private network by the public network server is stored in the private network server, and the process of mapping the private network user identifier of the target object to the public network user identifier of the target object by the private network server is as follows: the private network server selects one virtual public network user identifier from the existing virtual public network user identifier pool as the public network user identifier of the target object, and then the selected virtual public network user identifier is removed from the existing virtual public network user identifier pool.
In one possible implementation, the video playing client is integrated with a public network video playing control. And a public network video playing control integrated in the video playing client is used for controlling the playing of the public network video under the private network. The playing process of the public network video is controlled by the public network video playing control, so that the video source file of the public network video can be prevented from leaking to the public network through the private network, and the playing safety of the public network video in the private network is further improved. In this case, the process of sending the authentication request to the public network server by the video playing client is as follows: and the video playing client calls the public network video playing control to send an authentication request to the public network server. Illustratively, the public network video playing control integrated in the video playing client is a public network video playing SDK (software development kit).
Under the condition of integrating a public network video playing control used for controlling the playing of the public network video in the private network, the target public network video to be played is the public network video, so after the target public network video is determined, the public network video playing control needs to be called to realize the playing of the target public network video. In the process of calling the public network video playing control to realize the playing of the target public network video, firstly, the public network video playing control needs to be called to send an authentication request to a public network server so as to be authenticated by the public network server. The process of authentication by the public network server is the key of public network policy control, which refers to control under the condition of considering the requirements of payment, regional broadcasting limitation, platform policy broadcasting limitation and the like required by a copyright party.
In one possible implementation, the public network server includes an authentication server for implementing an authentication process for the authentication request. In this case, the video playing client sending the authentication request to the public network server means that the video playing client sends the authentication request to the authentication server in the public network server. The video playing client calls the public network video playing control to send the authentication request to the public network server, namely the video playing client calls the public network video playing control to send the authentication request to the authentication server in the public network server.
In one possible implementation, both the video playing client and the public network video playing control cannot directly interact with the public network server. In this case, the process of sending the authentication request to the public network server by the video playing client is as follows: the video playing client sends an authentication request to the proxy server, and the proxy server forwards the authentication request to the public network server. The process that the video playing client calls the public network video playing control to send the authentication request to the public network server is as follows: the video playing client calls the public network video playing control to send an authentication request to the proxy server, and the proxy server forwards the authentication request to the public network server. The proxy server may refer to one of the private network servers, or may refer to another server other than the private network server, which is not limited in this embodiment of the present application as long as the proxy server can interact with the public network server.
In step 203, the public network server receives an authentication request sent by the video playing client, where the authentication request includes a public network user identifier of the target object and a video identifier of the target public network video.
The video playing client operates based on a private network. After the video playing client sends an authentication request to the public network server, the public network server receives the authentication request sent by the playing video playing client. In a possible implementation manner, for a case that a video playing client integrates a public network video playing control for controlling a playing process of a public network video, a manner of sending an authentication request to a public network server by the video playing client is as follows: and the video playing client calls the public network video playing control to send an authentication request to the public network server. In this case, the receiving, by the public network server, the authentication request sent by the video playing client is: and the public network server receives an authentication request sent by the playing video playing client calling the public network video playing control.
In a possible implementation manner, for a case that the public network server includes an authentication server, the video playing client calls the public network video playing control to send an authentication request to the authentication server in the public network server, and the receiving of the authentication request sent by the public network video playing control in the video playing client by the public network server means that the authentication server in the public network server receives the authentication request sent by the video playing client calling the public network video playing control.
In a possible implementation manner, for a case that the video playing client invokes the public network video playing control to send the authentication request to the proxy server, and the proxy server forwards the authentication request to the public network server, a process of the public network server receiving the authentication request sent by the video playing client invoking the public network video playing control is as follows: and the public network server receives the authentication request forwarded by the proxy server, and the proxy server is used for receiving the authentication request sent by the video playing client calling the public network video playing control.
In step 204, the public network server obtains a target authentication result based on the public network user identifier of the target object and the video identifier of the target public network video.
The process that the public network server obtains the target authentication result reflects the strategy control process of the public network server, and the target authentication result can indicate whether the target public network video can be played for the target object. In a possible implementation manner, the process of obtaining the target authentication result by the public network server based on the public network user identifier of the target object and the video identifier of the target public network video includes the following two steps:
step 1: and the public network server acquires the public network video rights corresponding to the public network user identification of the target object and the public network video rights corresponding to the video identification of the target public network video.
The public network video equity corresponding to the public network user identification of the target object refers to the public network video equity which the target object has ordered and is still in the validity period. Illustratively, the public network video interests available for subscription include, but are not limited to, general membership interests, premium membership interests, and the like. The public network video interest requirement corresponding to the video identification of the target public network video is used for indicating the public network video interest required by the target public network video. Illustratively, the public network video interest requirement corresponding to the video identification of the target public network video is not less than the premium membership interest; or the public network video interest requirement corresponding to the video identifier of the target public network video is not lower than the common member interest.
In one possible implementation, the manner in which the public network server obtains the public network video interest corresponding to the public network user identifier of the target object includes, but is not limited to, the following three ways:
mode 1: the public network server stores the corresponding relation between the public network user identification and the public network video rights and interests. And the public network server directly inquires the public network video rights corresponding to the public network user identification of the target object in the corresponding relation between the public network user identification and the public network video rights.
Mode 2: the private network server stores the corresponding relation between the public network user identification and the public network video rights. The public network server sends a request for acquiring the video rights of the public network to a private network server, wherein the request for acquiring the video rights of the public network comprises a public network user identifier of a target object; the private network server inquires the public network video rights corresponding to the public network user identification of the target object in the corresponding relation between the public network user identification and the public network video rights, and then sends the public network video rights corresponding to the public network user identification of the target object to the public network server. Therefore, the public network server acquires the public network video rights and interests corresponding to the public network user identification of the target object.
Mode 3: and the authentication request carries the public network video rights and interests, and the public network video rights and interests carried by the authentication request are used as the public network video rights and interests corresponding to the public network user identification of the target object.
In a possible implementation manner, the public network server stores a corresponding relationship between the video identifier and the public network video interest requirement, and the public network server queries the public network video interest requirement corresponding to the video identifier of the target public network video in the corresponding relationship between the direct video identifier and the public network video interest requirement.
In one possible implementation, the public network video interest requirement corresponding to the video identification of the target public network video may include a plurality of different sub-requirements. Illustratively, the public network video interest requirements include sub-requirements corresponding to the Hubei region and sub-requirements corresponding to other regions, the sub-requirements corresponding to the Hubei region are not lower than the conventional interest, and the sub-requirements corresponding to the other regions are not lower than the common member interest.
Step 2: and the public network server acquires a target authentication result based on the public network video interest corresponding to the public network user identifier of the target object and the public network video interest requirement corresponding to the video identifier of the target public network video.
And acquiring a target authentication result by detecting whether the public network video interest corresponding to the public network user identifier of the target object meets the public network video interest corresponding to the public network user identifier of the target object. In one possible implementation manner, the manner of obtaining the target authentication result based on the public network video interest corresponding to the public network user identifier of the target object and the public network video interest requirement corresponding to the video identifier of the target public network video includes the following two manners:
the first method is as follows: and in response to the public network video interest meeting the public network video interest requirement, taking the first authentication result as a target authentication result, wherein the first authentication result is used for indicating that the authentication is successful.
The public network video interest meets the public network video interest requirement, and the target public network video is allowed to be played for the target object in the interest angle.
In one possible implementation, for the case that the video interest requirement of the public network includes a plurality of different sub-results, the video interest requirement of the public network meeting the video interest requirement of the public network means that the video interest of the public network meets the matched sub-result in the video interest requirement of the public network. Illustratively, when the public network video interest requirement includes a sub-requirement corresponding to the northlake region and sub-requirements corresponding to other regions, if the video playing client logged in by the target object runs based on the private network of the northlake region, the sub-requirement corresponding to the northlake region is a matched sub-result. And when the public network video interest meets the corresponding sub-requirements of the Hubei area, the public network video interest meets the public network video interest requirement.
When the public network video interest meets the public network video interest requirement, the target public network video is allowed to be played for the target object. In this case, the authentication is successful, and the first authentication result indicating the successful authentication is used as the target authentication result.
In one possible implementation, when the authentication is successful, the public network server returns decryption information of the target public network video to the video playing client. The decryption information of the target public network video may be included or carried in the target authentication result for returning, or may be returned separately, which is not limited in the embodiment of the present application. That is to say, when the authentication is successful, the decryption information of the target public network video is returned to the video playing client, so that the video playing client decrypts the encrypted video source file of the target public network video to realize the playing of the target public network video. In one possible implementation manner, the decryption information of the target public network video is dynamic decryption information, and the decryption information obtained at different times is different. The method is beneficial to improving the playing safety of the target public network video.
The second method comprises the following steps: and in response to the public network video interest not meeting the public network video interest requirement, taking the second authentication result as a target authentication result, wherein the second authentication result is used for indicating that the public network video interest of the target object needs to be updated.
The public network video interest does not meet the public network video interest requirement, and the target public network video is not allowed to be played for the target object in the interest angle. In this case, the authentication fails, and the reason for the authentication failure is that the public network video rights and interests of the target object need to be updated. Therefore, the second authentication result is used as the target authentication result, and the second authentication result is used for indicating that the public network video rights and interests of the target object need to be updated.
In a possible implementation manner, before performing step 1 and step 2, a play prohibition condition of the target public network video may be obtained, and then it is detected whether the related information of the target object meets the play prohibition condition of the target public network video. If the relevant information of the target object meets the play prohibition condition of the target public network video, taking a result for indicating the play prohibition as a target authentication result, and at the moment, indicating that the target public network video is prohibited to be played for the target object; and if the relevant information of the target object does not meet the play prohibition condition of the target public network video, executing the step 1 and the step 2.
The condition for prohibiting playing of the target public network video is determined by the public network operator, and the embodiment of the application does not limit this. The related information of the target object is related to the forbidden playing condition of the target public network video. Exemplarily, assuming that the play prohibition condition of the target public network video is prohibition of playing in beijing area, the related information of the target object refers to a geographic area where a private network that supports the video playing client logged in by the target object to run is located. If the condition for prohibiting playing of the target public network video is that playing of the target in the blacklist is prohibited, the related information of the target is information for indicating whether the target is in the blacklist.
In one possible implementation, the public network video interest corresponding to the public network user identifier of the target object refers to the public network video interest of the target object. The public network video interest of the target object refers to the public network video interest which is ordered to the public network server by the target object through the video playing client in advance. Before the public network server acquires the public network video interest corresponding to the public network user identification of the target object, the target object can order the public network video interest through a public network video interest ordering process by using the video playing client. In a possible implementation manner, the process of implementing the public network video interest ordering process by the video playing client includes the following steps 1 to 6:
step 1: the video playing client side obtains a public network video interest ordering request of the target object.
The video playing client provides a public network video interest ordering entrance, and when an ordering instruction of a target object for a certain public network video interest is detected, a public network video interest ordering request of the target object is obtained. The request for subscribing the public network video interest of the target object comprises the public network video interest (such as a common membership interest) that the target object wants to subscribe to, the cost of the public network video interest, account information for paying the cost required by the public network video interest, and the like.
It should be noted that, although the public network user identifier of the target object is obtained before the authentication request is sent to the public network server, the public network user identifier of the target object is not necessarily obtained when the target object performs the public network video interest subscription. When the public network user identification of the target object is not obtained, only the private network user identification of the target object exists in the video playing client. Therefore, there are two cases:
case 1: and the public network video interest ordering request carries the private network user identification of the target object.
This case 1 illustrates that only the private network user id of the target object exists in the video playing client, and in this case 1, step 2 is executed.
Case 2: and the public network video interest ordering request carries the public network user identification of the target object.
This case 2 shows that the video playing client has not only the private network user identifier of the target object but also the public network user identifier of the target object. In case 2, the video playing client responds to the public network video interest ordering request carrying the public network user identifier of the target object, and sends the public network video interest ordering request to the private network server, the private network server is used for acquiring the public network video interest ordering information corresponding to the public network video interest ordering request and sending the public network video interest ordering information carrying the public network user identifier of the target object to the public network server, and the public network server is used for returning the public network video interest ordering result matched with the public network user identifier of the target object. Step 3 is then performed directly.
In one possible implementation manner, the manner in which the private network server obtains the public network video interest order information corresponding to the public network video interest order request is as follows: and generating a public network video interest order based on the information in the public network video interest order request, and using the public network video interest order as the public network video interest order information corresponding to the public network video interest order request.
In one possible implementation, the private network server includes a charging server for managing charge-related services, such as a BOSS (Business & Operation Support System) server. The public network server comprises a subscription server for managing the interest subscription related services. In this case, the video playing client sending the public network video interest ordering request carrying the public network user identifier of the target object to the private network server means that the video playing client sending the public network video interest ordering request carrying the public network user identifier of the target object to a charging server in the private network server. The private network server sends the public network video interest ordering information carrying the public network user identification of the target object to the public network server, namely, a charging server in the private network server sends the public network video interest ordering information carrying the public network user identification of the target object to an ordering server in the public network server.
Step 2: responding to the public network video interest ordering request carrying the private network user identification of the target object, sending the public network video interest ordering request to a private network server, wherein the private network server is used for obtaining the public network user identification of the target object based on the private network user identification of the target object, obtaining the public network video interest ordering information corresponding to the public network video interest ordering request, sending the public network video interest ordering information carrying the public network user identification of the target object to the public network server, and the public network server is used for returning a public network video interest ordering result matched with the public network user identification of the target object.
Since the public network server can only recognize the public network user identification. Therefore, when the public network user identifier of the target object does not exist, the private network server needs to acquire the public network user identifier of the target object first. And after the private network server acquires the public network user identification of the target object and sends the public network video interest ordering information carrying the public network user identification of the target object to the public network server, executing the step 3.
In a possible implementation manner, after obtaining the public network user identifier of the target object based on the private network user identifier of the target object, the private network server sends the public network user identifier of the target object to the video playing client, so that the video playing client stores the public network user identifier of the target object.
And step 3: and the public network server receives the public network video interest ordering information carrying the public network user identification of the target object.
After the private network server sends the public network video interest ordering information carrying the public network user identification of the target object to the public network server, the public network server receives the public network video interest ordering information carrying the public network user identification of the target object.
In a possible implementation manner, for a case where the private network server includes a charging server for managing charge-related services, and the public network server includes an ordering server for managing interest-ordering-related services, the receiving, by the public network server, of the public network video interest ordering information carrying the public network user identifier of the target object means that the ordering server in the public network server receives the public network video interest ordering information carrying the public network user identifier of the target object, and the public network video interest ordering information carrying the public network user identifier of the target object is sent by the charging server in the private network server.
And 4, step 4: and the public network server executes the interest ordering service based on the public network video interest ordering information to obtain a public network video interest ordering result matched with the public network user identifier of the target object, wherein the public network video interest ordering result is used for indicating the public network video interest of the target object.
The embodiment of the application does not limit the process of executing the equity ordering service, and the equity ordering services corresponding to different types of public network video equity may be the same or different. Illustratively, the process of the public network server executing the interest ordering service based on the public network video interest ordering information is as follows: and the public network server deducts the cost in the public network video interest ordering information from an account corresponding to the public network user identification of the target object. And after the interest ordering service is executed, obtaining a public network video interest ordering result matched with the public network user identification of the target object. The public network video interest ordering result is used for indicating the public network video interest of the target object. Illustratively, the public network video interest results include, but are not limited to, the public network video interest that the target object has subscribed to and the expiration date of the public network video interest.
In a possible implementation manner, after the public network video interest result of the target object is obtained, the public network server correspondingly stores the public network video interest result of the target object and the public network user identifier of the target object.
In a possible implementation manner, for a case that the private network server includes a charging server for managing cost-related services, and the public network server includes an ordering server for managing interest-ordering-related services, the public network server executes the interest-ordering service based on the public network video interest-ordering information, and obtaining a public network video interest-ordering result matched with the public network user identifier of the target object means that the ordering server in the public network server executes the interest-ordering service based on the public network video interest-ordering information, and obtains a public network video interest-ordering result matched with the public network user identifier of the target object.
And 5: and the public network server returns the public network video interest ordering result to the video playing client.
And after the public network video interest ordering result is obtained, the public network server returns the public network video interest ordering result to the video playing client. In one possible implementation manner, the process of the public network server returning the public network video interest ordering result to the video playing client is as follows: and the public network server sends the public network video interest ordering result to the private network server, and the private network server sends the public network video interest ordering result to the video playing client.
In a possible implementation manner, after receiving the public network video interest ordering result of the target object, the private network server correspondingly stores the public network video interest ordering result of the target object and the public network user identifier of the target object. In a possible implementation manner, when sending the public network video interest ordering result to the video playing client, the private network server maps the public network video interest ordering result to a public network video interest ordering result corresponding to the private network user identifier of the target object, and then sends the public network video interest ordering result to the video playing client.
In a possible implementation manner, for the case that the private network server includes a charging server for managing charge-related services, and the public network server includes an ordering server for managing interest-ordering-related services, the sending of the public network video interest ordering result to the private network server by the public network server means that the ordering server in the public network server sends the public network video interest ordering result to the charging server in the private network server.
Step 6: and the video playing client receives the public network video interest ordering result, displays the public network video interest ordering result on the video interest display page, and the public network video interest ordering result is used for indicating the public network video interest of the target object.
After the private network server sends the public network video interest ordering result to the video playing client, the video playing client receives the public network video interest ordering result of the target object. And after receiving the public network video interest ordering result, the video playing client displays the public network video interest ordering result on the video interest display page. The embodiment of the application does not limit the display mode of the public network video interest ordering result. Illustratively, the public network video interest ordering result and the name of the public network provider are correspondingly displayed.
Illustratively, the flow of the subscription of the video interest of the public network is shown in fig. 6. The video playing client sends a public network video interest ordering request carrying the private network user identification of the target object to a BOSS server (charging server) in the private network server. The BOSS server obtains a public network user identifier of the target object based on the private network user identifier of the target object, obtains public network video interest ordering information corresponding to the public network video interest ordering request, and sends the public network video interest ordering information carrying the public network user identifier of the target object to an ordering server in the public network server. And the ordering server executes the interest ordering service and returns a public network video interest ordering result to the BOSS server, wherein the public network video interest ordering result carries the public network user identification of the target object. And the BOSS server sends the public network video interest ordering result to the video playing client.
In step 205, the public network server returns the target authentication result to the video playing client.
And after the target authentication result is obtained, the public network server returns the target authentication result to the video playing client. In a possible implementation manner, in a case that the public network server includes the authentication server, the returning of the target authentication result to the video playing client by the public network server means that the authentication server in the public network server returns the target authentication result to the video playing client.
In one possible implementation, the public network server cannot directly interact with the video playing client. Under the condition, the process that the public network server returns the target authentication result to the video playing client side comprises the following steps: and the public network server sends the target authentication result to the proxy server, and the proxy server forwards the target authentication result to the video playing client.
In a possible implementation manner, for a case that the video playing client integrates a public network video playing control for controlling a playing process of a public network video, a process of the public network server returning a target authentication result to the video playing client is as follows: and the public network server returns the target authentication result to a public network video playing control in the video playing client.
And after the public network server returns the target authentication result to the video playing client, the video playing client receives the target authentication result returned by the public network server. In a possible implementation manner, for the case that the authentication server in the public network server returns the target authentication result to the video playing client, the video playing client receives the target authentication result returned by the authentication server in the public network server.
In a possible implementation manner, for a case that the public network server sends the target authentication result to the proxy server, and the proxy server forwards the target authentication result to the video playing client, a process that the video playing client receives the target authentication result returned by the public network server is as follows: the video playing client receives the target authentication result forwarded by the proxy server, and the proxy server is used for receiving the target authentication result sent by the public network server.
In a possible implementation manner, for a case that the video playing client integrates a public network video playing control for controlling a playing process of a public network video, the receiving, by the video playing client, of the target authentication result returned by the public network server means that the video playing client receives the target authentication result returned by the public network server to the public network video playing control.
And after receiving the target authentication result, analyzing the target authentication result, wherein different target authentication results correspond to different execution operations. According to step 204, the target authentication result may be the first authentication result or the second authentication result. When the target authentication result is the first authentication result, the authentication is successful, and the target authentication result is used for indicating the authentication success because the first authentication result is used for indicating the authentication success. In this case, step 206 is performed.
And when the target authentication result is a second authentication result, the authentication is failed, and the target authentication result is used for indicating that the public network video rights and interests of the target object need to be updated because the second authentication result is used for indicating that the public network video rights and interests of the target object need to be updated. At this time, the video playing client responds to the target authentication result and indicates that the public network video rights and interests of the target object need to be updated, and displays guiding information which is used for guiding the public network video rights and interests to be updated. The process of updating the public network video interest by the target object refers to the public network video interest ordering process with the public network user identifier of the target object, and is not described herein again.
In a possible implementation manner, the target authentication result may also be used to indicate that the target public network video playing is prohibited from being played for the target object, in which case, the video playing client displays a prompt message in response to the target authentication result indicating that the target public network video playing is prohibited from being played for the target object, and the prompt message is used to prompt the target object that the target public network video cannot be played.
In step 206, the video playing client responds to the target authentication result indicating that the authentication is successful, obtains an encrypted video source file of the target public network video, decrypts the encrypted video source file based on the decryption information of the target public network video obtained from the public network server, and plays the target public network video based on the decrypted video source file.
And when the target authentication result is used for indicating that the authentication is successful, the video playing client acquires a public network video source file, and then decrypts the encrypted video source file based on the target public network video information acquired from the public network server. In a possible implementation manner, the video playing client obtaining the public network video source file refers to that the video playing client obtains the public network video source file from an encrypted video source file of at least one candidate public network video. And the encrypted video source file of at least one candidate public network video is obtained from the public network server by the private network server.
In a possible implementation manner, the video playing client stores the encrypted video source file address of the target public network video, and the video playing client can directly obtain the encrypted video source file of the target public network video from the private network server according to the encrypted video source file address of the target public network video.
In one possible implementation, the decryption information of the target public network video is obtained from a public network server. The embodiment of the application does not limit the specific acquisition mode of the decryption information of the target public network video. Illustratively, the decryption information of the target public network video includes or is carried in a target authentication result used for indicating that the authentication is successful, and at this time, the video playing client acquires the decryption information of the target public network video when acquiring the target authentication result. Illustratively, after the first authentication result is taken as the target authentication result, the public network server returns the decryption information of the target public network video in addition to the target authentication result, so that the video playing client acquires the decryption information of the target public network video returned by the public network server.
In a possible implementation manner, for a case that the video playing client integrates a public network video playing control for controlling a playing process of a public network video, the implementation manner of step 206 is: and the video playing client responds to the target authentication result to indicate that the authentication is successful, calls the public network video playing control to obtain the encrypted video source file of the target public network video, calls the public network video playing control to decrypt the encrypted video source file based on the decryption information of the target public network video obtained from the public network server, and plays the target public network video based on the decrypted video source file. Under the condition of integrating a public network video playing control for controlling the playing of the public network video, the video source file of the public network video can be prevented from being exposed under the environment of a private network, and the playing safety of the public network video under the private network is further ensured.
In one possible implementation manner, the process of calling the public network video playing control to obtain the encrypted video source file of the target public network video includes: sending an encrypted video source file address of a target public network video to a public network video playing control based on an address obtaining request sent by the public network video playing control, wherein the address obtaining request comprises a video identifier of the target public network video; and calling the public network video playing control to obtain the encrypted video source file of the target public network video from the private network server according to the encrypted video source file address of the target public network video.
The encrypted video source file of the public network video is stored in the private network server, and the encrypted video source file of the target public network video needs to be acquired from the private network server. And the public network video playing control sends an address acquisition request to the video playing client, wherein the address acquisition request comprises the video identifier of the target public network video. The video playing client stores the encrypted video source file address of each public network video, and sends the encrypted video source file address of the target public network video to the public network video playing control after receiving the address acquisition request. After the encrypted video source file address of the target public network video is sent to the public network video playing control, the public network video playing control is called to obtain the encrypted video source file of the target public network video from the private network server according to the encrypted video source file address of the target public network video. In this case, the encrypted video source file of the target public network video is acquired by the public network video playing control, and since the decryption information of the target public network video is also acquired by the public network video playing control, the decryption process is executed by the public network video playing control, and the decrypted video source file is also controlled by the public network video playing control and cannot be exposed to the video playing client, so that the playing safety of the target public network video is ensured.
In one possible implementation manner, the process of calling the public network video playing control to obtain the encrypted video source file of the target public network video from the private network server according to the encrypted video source file address of the target public network video comprises the following steps: calling a public network video playing control to send an encrypted video source file acquisition request to a private network server, wherein the encrypted video source file acquisition request comprises an encrypted video source file address of a target public network video; and the private network server returns the encrypted video source file of the target public network video to the public network video playing control.
After the encrypted video source file of the target public network video is obtained, the public network video playing control is called to decrypt the encrypted video source file based on the decryption information to obtain a decrypted video source file, and then the public network video playing control is called to play the target public network video based on the decrypted video source file. Under the condition, the video playing client only plays a role of displaying the playing page and does not acquire the video source file, so that the risk that the video source file of the public network video is leaked to the public network from the private network can be avoided, and the playing safety is improved.
In a possible implementation manner, for the case that the encrypted video source file of the public network video is stored in the content distribution server in the private network server, the obtaining of the encrypted video source file of the target public network video from the private network server means obtaining the encrypted video source file of the target public network video from the content distribution server in the private network server.
Exemplarily, the playing process of the target public network video is as shown in fig. 7, and the video playing client integrates a public network video playing SDK for controlling the playing process of the public network video, that is, the video playing client realizes the playing of the public network video through the public network video playing SDK. The video playing client calls a public network video playing SDK to send an authentication request to the proxy server, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of a target public network video; the proxy server forwards the authentication request to an authentication server in the public network server; the authentication server obtains a target authentication result.
When the public network video interest of the target object does not meet the public network video interest requirement corresponding to the target public network video, the authentication fails, and the authentication server sends a target authentication result used for indicating that the public network video interest of the target object needs to be updated to the proxy server; the proxy server forwards a target authentication result which is used for indicating that the public network video rights and interests of the target object need to be updated to a public network video playing SDK; the SDK sends a target authentication result used for indicating that the public network video rights and interests of the target object need to be updated to a video playing client; and the video playing client executes the relevant flow of ordering the video rights and interests of the public network.
When the public network video interest of the target object meets the public network video interest requirement corresponding to the target public network video, the authentication is successful, and the authentication server sends decryption information of the target public network video to the proxy server; and the proxy server forwards the decryption information of the target public network video to the public network video playing SDK. The method comprises the steps that a public network video playing SDK sends an address obtaining request to a video playing client; and the video playing client sends the encrypted video source file address of the target public network video to the public network video playing SDK. And the public network video playing SDK sends an encrypted video source file acquisition request to a content distribution server in the private network server, and the content distribution server returns an encrypted video source file of the target public network video to the public network video playing SDK. And the public network video playing SDK decrypts the encrypted video source file based on the decryption information to obtain a decrypted video source file, and then successfully plays the target public network video.
In the embodiment of the application, the internet video information is injected into the content distribution server of the private network server, and the media information is superposed to the playing operation server, and the playing operation server controls the video playing client to display the video information of the public network video, so that the target object can select the public network video to play. The public network video media information is directly superposed on the private network, and the public network video is provided for private network users on the premise of meeting the requirements of private network safety and playing operation and meeting the requirements of public network video safety and copyright constraint, so that the private network users can watch the public network video, and the video watching experience of the private network users is enriched.
In the embodiment of the application, the video playing client based on private network operation displays the video information corresponding to the candidate public network video for selection of the target object so as to determine the target public network video to be played, and then decrypts and plays the target public network video based on the decryption information of the target public network video acquired from the public network server. Based on the process, the video playing client based on the private network operation can play the public network video, and the types of the videos available for playing are rich. In addition, as the public network video needs to be played by acquiring decryption information from the public network server, the playing safety of the public network video under a private network can be ensured, the video playing effect is good, and the video watching experience of a user is improved.
Referring to fig. 8, an embodiment of the present application provides a video playback device, including:
a display unit 801, configured to display video information corresponding to at least one candidate public network video;
a sending unit 802, configured to send an authentication request to a public network server, where the authentication request includes a public network user identifier of a target object and a video identifier of a target public network video, and the public network server is configured to return a target authentication result obtained based on the public network user identifier and the video identifier, where the candidate public network video corresponding to the selected video information in the video information corresponding to the at least one candidate public network video is used as the target public network video;
an obtaining unit 803, configured to obtain, in response to the target authentication result indicating that the authentication is successful, an encrypted video source file of the target public network video;
the playing unit 804 is configured to decrypt the encrypted video source file based on the decryption information of the target public network video acquired from the public network server, and play the target public network video based on the decrypted video source file.
In a possible implementation manner, the obtaining unit 803 is further configured to obtain a public network video interest ordering request of the target object;
the sending unit 802 is further configured to respond to the public network video interest ordering request and carry a private network user identifier of the target object, send the public network video interest ordering request to a private network server, where the private network server is configured to obtain a public network user identifier of the target object based on the private network user identifier of the target object, obtain public network video interest ordering information corresponding to the public network video interest ordering request, and send the public network video interest ordering information carrying the public network user identifier of the target object to the public network server, where the public network server is configured to return a public network video interest result matched with the public network user identifier of the target object;
referring to fig. 9, the apparatus further comprises:
the receiving unit 805 is configured to receive a public network video interest ordering result, and display the public network video interest ordering result on a video interest display page, where the public network video interest ordering result is used to indicate a public network video interest of a target object.
In a possible implementation manner, the obtaining unit 803 is further configured to obtain a public network video interest ordering request of the target object;
the sending unit 802 is further configured to send the public network video interest ordering request to a private network server in response to the public network video interest ordering request carrying a public network user identifier of a target object, where the private network server is configured to obtain public network video interest ordering information corresponding to the public network video interest ordering request, send the public network video interest ordering information carrying the public network user identifier of the target object to the public network server, and the public network server is configured to return a public network video interest ordering result matched with the public network user identifier of the target object;
the receiving unit 805 is configured to receive a public network video interest ordering result, and display the public network video interest ordering result on a video interest display page, where the public network video interest ordering result is used to indicate a public network video interest of a target object.
In one possible implementation manner, the display unit 801 is further configured to display guidance information in response to the target authentication result indicating that the public network video interest of the target object needs to be updated, where the guidance information is used to guide updating of the public network video interest.
In a possible implementation manner, the obtaining unit 803 is further configured to obtain video information corresponding to at least one candidate public network video sent by a private network server, where the private network server is configured to obtain public network video asset information from a public network server, and the public network video asset information includes an encrypted video source file of the at least one candidate public network video and video information corresponding to the at least one candidate public network video; and obtaining the encrypted video source file of the target public network video from the encrypted video source file of at least one candidate public network video.
In a possible implementation manner, the video playing client integrates a public network video playing control, and the sending unit 802 is configured to call the public network video playing control to send an authentication request to the public network server;
an obtaining unit 803, configured to, in response to the target authentication result indicating that the authentication is successful, invoke a public network video playing control to obtain an encrypted video source file of the target public network video;
the playing unit 804 is configured to invoke the public network video playing control to decrypt the encrypted video source file based on the decryption information of the target public network video acquired from the public network server, and play the target public network video based on the decrypted video source file.
In a possible implementation manner, the sending unit 802 is further configured to send an encrypted video source file address of the target public network video to the public network video playing control based on an address obtaining request sent by the public network video playing control, where the address obtaining request includes a video identifier of the target public network video;
the obtaining unit 803 is further configured to invoke the public network video playing control to obtain the encrypted video source file of the target public network video from the private network server based on the encrypted video source file address of the target public network video.
In the embodiment of the application, the video playing client based on private network operation displays the video information corresponding to the candidate public network video for selection of the target object so as to determine the target public network video to be played, and then decrypts and plays the target public network video based on the decryption information of the target public network video acquired from the public network server. Based on the process, the video playing client based on the private network operation can play the public network video, and the types of the videos available for playing are rich. In addition, as the public network video needs to be played by acquiring decryption information from the public network server, the playing safety of the public network video under a private network can be ensured, the video playing effect is good, and the video watching experience of a user is improved.
Referring to fig. 10, an embodiment of the present application provides a video playback apparatus, including:
a receiving unit 1001, configured to receive an authentication request sent by a video playing client, where the authentication request includes a public network user identifier of a target object and a video identifier of a target public network video, and the video playing client operates based on a private network;
an obtaining unit 1002, configured to obtain a target authentication result based on a public network user identifier of a target object and a video identifier of a target public network video;
a returning unit 1003, configured to return the target authentication result to the video playing client, where the video playing client is configured to obtain an encrypted video source file of the target public network video in response to the target authentication result indicating that authentication is successful, decrypt the encrypted video source file based on decryption information of the target public network video obtained from the public network server, and play the target public network video based on the decrypted video source file.
In a possible implementation manner, the obtaining unit 1002 is configured to obtain a public network video interest corresponding to a public network user identifier of a target object and a public network video interest requirement corresponding to a video identifier of a target public network video; responding to that the public network video interest meets the public network video interest requirement, and taking a first authentication result as a target authentication result, wherein the first authentication result is used for indicating that the authentication is successful; and in response to the public network video interest not meeting the public network video interest requirement, taking the second authentication result as a target authentication result, wherein the second authentication result is used for indicating that the public network video interest of the target object needs to be updated.
In a possible implementation manner, the receiving unit 1001 is further configured to receive public network video interest ordering information carrying a public network user identifier of a target object;
the obtaining unit 1002 is further configured to execute a rights and interests ordering service based on the public network video rights and interests ordering information, to obtain a public network video rights and interests ordering result matched with the public network user identifier of the target object, where the public network video rights and interests ordering result is used to indicate the public network video rights and interests of the target object;
the returning unit 1003 is further configured to return the public network video interest ordering result to the video playing client.
In a possible implementation manner, the receiving unit 1001 is configured to receive an authentication request sent by a video playing client calling a public network video playing control, where the public network video playing control is integrated in the video playing client;
a returning unit 1003, configured to return the target authentication result to a public network video playing control in the video playing client, where the video playing client is configured to respond to the target authentication result indicating that authentication is successful, call the public network video playing control to obtain an encrypted video source file of the target public network video, call the public network video playing control to decrypt the encrypted video source file based on decryption information of the target public network video obtained from the public network server, and play the target public network video based on the decrypted video source file.
In the embodiment of the application, the video playing client based on the private network operation can play the public network video, and the types of the videos available for playing are rich. In addition, as the public network video needs to be played by acquiring decryption information from the public network server, the playing safety of the public network video under a private network can be ensured, the video playing effect is good, and the video watching experience of a user is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 11 is a schematic structural diagram of a terminal provided in an embodiment of the present application, where the terminal is installed with a video playing client that operates based on a private network. The terminal may be: the system comprises a PC, a smart phone, a PDA, a wearable device, a palm PC PPC, a tablet computer, a smart car machine, a smart television, a smart sound box and the like. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and rendering content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the video playback method provided by the method embodiments of the present application.
In some embodiments, the terminal may further include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch screen display 1105, camera assembly 1106, audio circuitry 1107, positioning assembly 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to capture touch signals on or over the surface of the display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this point, the display screen 1105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 1105 may be one, disposed on the front panel of the terminal; in other embodiments, the display screens 1105 may be at least two, respectively disposed on different surfaces of the terminal or in a folded design; in still other embodiments, the display 1105 may be a flexible display disposed on a curved surface or on a folded surface of the terminal. Even further, the display screen 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display screen 1105 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
Camera assembly 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the terminal respectively. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
The positioning component 1108 is used to locate the current geographic Location of the terminal to implement navigation or LBS (Location based service). The positioning component 1108 may be a positioning component based on the united states GPS (Global positioning system), the chinese beidou system, the russian graves system, or the european union's galileo system.
The power supply 1109 is used to supply power to the various components in the terminal. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
The acceleration sensor 1111 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the touch display screen 1105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the terminal, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user with respect to the terminal. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1113 may be disposed on the side bezel of the terminal and/or on the lower layer of the touch display screen 1105. When the pressure sensor 1113 is arranged on the side frame of the terminal, a holding signal of a user to the terminal can be detected, and the processor 1101 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 1113. When the pressure sensor 1113 is disposed at the lower layer of the touch display screen 1105, the processor 1101 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is configured to collect a fingerprint of the user, and the processor 1101 identifies the user according to the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1114 may be disposed on the front, back, or side of the terminal. When a physical key or a vendor Logo is provided on the terminal, the fingerprint sensor 1114 may be integrated with the physical key or the vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the touch display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is turned down. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
A proximity sensor 1116, also referred to as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 1116 is used to capture the distance between the user and the front face of the terminal. In one embodiment, the touch display screen 1105 is controlled by the processor 1101 to switch from a bright screen state to a dark screen state when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal is gradually decreasing; when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal gradually becomes larger, the touch display screen 1105 is controlled by the processor 1101 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 12 is a schematic structural diagram of a server according to an embodiment of the present application, where the server may refer to any one of the servers mentioned above. The server may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1201 and one or more memories 1202, where the one or more memories 1202 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1201 to implement the video playing method provided by the above-described method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer device is also provided that includes a processor and a memory having at least one program code stored therein. The at least one program code is loaded and executed by one or more processors to implement any of the video playback methods described above.
In an exemplary embodiment, there is also provided a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor of a computer device to implement any of the video playback methods described above.
In one possible implementation, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute any one of the video playing methods described above.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A video playing method is characterized in that the method is applied to a video playing client terminal based on private network operation, and the method comprises the following steps:
displaying video information corresponding to at least one candidate public network video;
taking a candidate public network video corresponding to selected video information in the video information corresponding to the at least one candidate public network video as a target public network video, and sending an authentication request to a public network server, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of the target public network video, and the public network server is used for returning a target authentication result obtained based on the public network user identifier and the video identifier;
responding to the target authentication result indicating that authentication is successful, obtaining an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video obtained from the public network server, and playing the target public network video based on the decrypted video source file.
2. The method of claim 1, further comprising:
acquiring a public network video interest ordering request of a target object;
responding to the public network video interest ordering request carrying the private network user identification of the target object, sending the public network video interest ordering request to a private network server, wherein the private network server is used for obtaining the public network user identification of the target object based on the private network user identification of the target object, obtaining the public network video interest ordering information corresponding to the public network video interest ordering request, sending the public network video interest ordering information carrying the public network user identification of the target object to the public network server, and the public network server is used for returning a public network video interest ordering result matched with the public network user identification of the target object;
and receiving the public network video interest ordering result, and displaying the public network video interest ordering result on a video interest display page, wherein the public network video interest ordering result is used for indicating the public network video interest of the target object.
3. The method of claim 1, further comprising:
acquiring a public network video interest ordering request of a target object;
responding to the public network video interest ordering request carrying the public network user identification of the target object, and sending the public network video interest ordering request to a private network server, wherein the private network server is used for acquiring public network video interest ordering information corresponding to the public network video interest ordering request, and sending the public network video interest ordering information carrying the public network user identification of the target object to the public network server, and the public network server is used for returning a public network video interest ordering result matched with the public network user identification of the target object;
and receiving the public network video interest ordering result, and displaying the public network video interest ordering result on a video interest display page, wherein the public network video interest ordering result is used for indicating the public network video interest of the target object.
4. The method according to any one of claims 1-3, further comprising:
and responding to the target authentication result indicating that the public network video rights and interests of the target object need to be updated, and displaying guide information, wherein the guide information is used for guiding the update of the public network video rights and interests.
5. The method of claim 1, wherein prior to displaying the video information corresponding to the at least one candidate public network video, the method further comprises:
the method comprises the steps of obtaining video information corresponding to at least one candidate public network video sent by a private network server, wherein the private network server is used for obtaining public network video media information from the public network server, and the public network video media information comprises an encrypted video source file of at least one candidate public network video and video information corresponding to the at least one candidate public network video;
the obtaining of the encrypted video source file of the target public network video includes:
and obtaining the encrypted video source file of the target public network video from the encrypted video source file of the at least one candidate public network video.
6. The method of claim 1, wherein the video playing client integrates a public network video playing control, and the sending the authentication request to the public network server comprises:
calling the public network video playing control to send an authentication request to the public network server;
the responding to the target authentication result indicating that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file includes:
and responding to the target authentication result indicating that authentication is successful, calling the public network video playing control to acquire an encrypted video source file of the target public network video, calling the public network video playing control to decrypt the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
7. The method of claim 6, wherein the invoking the public network video playing control to obtain an encrypted video source file of the target public network video comprises:
sending an encrypted video source file address of the target public network video to the public network video playing control based on an address obtaining request sent by the public network video playing control, wherein the address obtaining request comprises a video identifier of the target public network video;
and calling the public network video playing control to obtain the encrypted video source file of the target public network video from a private network server based on the encrypted video source file address of the target public network video.
8. A video playing method is applied to a public network server, and the method comprises the following steps:
receiving an authentication request sent by a video playing client, wherein the authentication request comprises a public network user identifier of a target object and a video identifier of a target public network video, and the video playing client operates on the basis of a private network;
acquiring a target authentication result based on the public network user identification of the target object and the video identification of the target public network video;
and returning the target authentication result to the video playing client, wherein the video playing client is used for responding to the target authentication result to indicate that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
9. The method of claim 8, wherein obtaining a target authentication result based on the public network user identifier of the target object and the video identifier of the target public network video comprises:
acquiring a public network video interest corresponding to the public network user identifier of the target object and a public network video interest requirement corresponding to the video identifier of the target public network video;
responding to the public network video interest meeting the public network video interest requirement, and taking a first authentication result as a target authentication result, wherein the first authentication result is used for indicating that the authentication is successful;
and in response to the public network video interest right not meeting the public network video interest right requirement, taking a second authentication result as a target authentication result, wherein the second authentication result is used for indicating that the public network video interest right of the target object needs to be updated.
10. The method of claim 9, wherein prior to obtaining the public network video interest corresponding to the target object's public network user identity, the method further comprises:
receiving public network video interest ordering information carrying the public network user identification of the target object;
executing a rights and interests ordering service based on the public network video rights and interests ordering information to obtain a public network video rights and interests ordering result matched with the public network user identifier of the target object, wherein the public network video rights and interests ordering result is used for indicating the public network video rights and interests of the target object;
and returning the video interest ordering result of the public network to the video playing client.
11. The method according to any one of claims 8-10, wherein said receiving an authentication request sent by a video playing client comprises:
receiving an authentication request sent by a video playing client calling a public network video playing control, wherein the public network video playing control is integrated in the video playing client;
the returning the target authentication result to the video playing client comprises:
and returning the target authentication result to a public network video playing control in the video playing client, wherein the video playing client is used for responding to the target authentication result indicating that authentication is successful, calling the public network video playing control to obtain an encrypted video source file of the target public network video, calling the public network video playing control to decrypt the encrypted video source file based on decryption information of the target public network video obtained from the public network server, and playing the target public network video based on the decrypted video source file.
12. A video playback apparatus, comprising:
the display unit is used for displaying video information corresponding to at least one candidate public network video;
a sending unit, configured to send an authentication request to a public network server, where the authentication request includes a public network user identifier of a target object and a video identifier of a target public network video, and the public network server is configured to return a target authentication result obtained based on the public network user identifier and the video identifier, where the candidate public network video corresponding to selected video information in video information corresponding to the at least one candidate public network video is used as the target public network video;
the obtaining unit is used for responding to the target authentication result to indicate that the authentication is successful and obtaining an encrypted video source file of the target public network video;
and the playing unit is used for decrypting the encrypted video source file based on the decryption information of the target public network video acquired from the public network server and playing the target public network video based on the decrypted video source file.
13. A video playback apparatus, comprising:
the system comprises a receiving unit, a video playing client and a processing unit, wherein the receiving unit is used for receiving an authentication request sent by the video playing client, the authentication request comprises a public network user identifier of a target object and a video identifier of a target public network video, and the video playing client operates on the basis of a private network;
the acquisition unit is used for acquiring a target authentication result based on the public network user identification of the target object and the video identification of the target public network video;
and the return unit is used for returning the target authentication result to the video playing client, the video playing client is used for responding to the target authentication result to indicate that the authentication is successful, acquiring an encrypted video source file of the target public network video, decrypting the encrypted video source file based on decryption information of the target public network video acquired from the public network server, and playing the target public network video based on the decrypted video source file.
14. A computer device comprising a processor and a memory, wherein at least one program code is stored in the memory, and wherein the at least one program code is loaded and executed by the processor to implement the video playback method as claimed in any one of claims 1 to 7 or the video playback method as claimed in any one of claims 8 to 11.
15. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor, to implement the video playback method according to any one of claims 1 to 7, or the video playback method according to any one of claims 8 to 11.
CN202010719712.4A 2020-07-23 2020-07-23 Video playing method, device, equipment and storage medium Pending CN111866591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010719712.4A CN111866591A (en) 2020-07-23 2020-07-23 Video playing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010719712.4A CN111866591A (en) 2020-07-23 2020-07-23 Video playing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111866591A true CN111866591A (en) 2020-10-30

Family

ID=72949935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010719712.4A Pending CN111866591A (en) 2020-07-23 2020-07-23 Video playing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111866591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822509A (en) * 2021-01-29 2021-05-18 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618916A (en) * 2013-11-13 2014-03-05 四川长虹电器股份有限公司 Internet video playing method based on smart television terminal
CN108156488A (en) * 2017-12-22 2018-06-12 北京数码视讯软件技术发展有限公司 Interactive approach and electronic equipment based on gateway server
CN109547824A (en) * 2018-11-27 2019-03-29 亦非云互联网技术(上海)有限公司 A kind of video traffic method of servicing and system, storage medium and vpn server
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network
CN111182357A (en) * 2019-09-29 2020-05-19 腾讯科技(深圳)有限公司 Internet media playing method, device and system based on interactive network television

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618916A (en) * 2013-11-13 2014-03-05 四川长虹电器股份有限公司 Internet video playing method based on smart television terminal
CN108156488A (en) * 2017-12-22 2018-06-12 北京数码视讯软件技术发展有限公司 Interactive approach and electronic equipment based on gateway server
CN109547824A (en) * 2018-11-27 2019-03-29 亦非云互联网技术(上海)有限公司 A kind of video traffic method of servicing and system, storage medium and vpn server
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network
CN111182357A (en) * 2019-09-29 2020-05-19 腾讯科技(深圳)有限公司 Internet media playing method, device and system based on interactive network television

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822509A (en) * 2021-01-29 2021-05-18 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and medium
CN112822509B (en) * 2021-01-29 2023-07-21 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN110290146B (en) Method and device for generating shared password, server and storage medium
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN111506884A (en) User invitation method, device, computer equipment and computer readable storage medium
CN110597924B (en) Block chain-based user identification processing method, device, equipment and storage medium
CN111190748B (en) Data sharing method, device, equipment and storage medium
CN112583806B (en) Resource sharing method, device, terminal, server and storage medium
CN111787407B (en) Interactive video playing method and device, computer equipment and storage medium
CN110826103A (en) Block chain-based document authority processing method, device, equipment and storage medium
CN110365501B (en) Method and device for group joining processing based on graphic code
CN110598386B (en) Block chain-based data processing method, device, equipment and storage medium
CN110851823A (en) Data access method, device, terminal and storage medium
CN113204672B (en) Resource display method, device, computer equipment and medium
CN113886611A (en) Resource display method and device, computer equipment and medium
CN110889264B (en) Multimedia information processing method, device, equipment and storage medium
CN111866591A (en) Video playing method, device, equipment and storage medium
CN110825465A (en) Log data processing method and device, electronic equipment and storage medium
CN110727894A (en) Target material setting method, device, equipment and storage medium
CN114816600B (en) Session message display method, device, terminal and storage medium
CN113377647B (en) Page processing method, device, server, terminal and readable storage medium
CN111131619B (en) Account switching processing method, device and system
CN113569219A (en) Live broadcast embedded program authorization method, device, equipment and storage medium
CN113190302A (en) Information display method and device, electronic equipment and storage medium
CN112468838A (en) Live broadcast room management method, system, device, equipment and storage medium
CN112765571A (en) Authority management method, system, device, server and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40030851

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030