Pre-roll advertisement playing method, terminal, and video server
First Claim
1. A method for playing pre-roll advertisements, applied to a terminal and comprising:
- detecting a play operation of an offline video;
in a first connection state, when detecting a video download operation, sending a pre-roll advertisement obtaining request to a video server;
receiving at least one pre-roll advertisement index from the video server according to the pre-roll advertisement obtaining request;
obtaining at least one pre-roll advertisement corresponding to the at least one pre-roll advertisement index, and storing the at least one pre-roll advertisement; and
updating a list of locally stored pre-roll advertisements according to the at least one pre-roll advertisement index;
determining a current network connection status of the terminal;
when the terminal is in a second connection state, determining, among multiple pre-roll advertisements obtained by the terminal, a specified pre-roll advertisement corresponding to the offline video, comprising;
when the terminal is in a network-unconnected state, obtaining a specified video index returned by the video server, wherein the specified video index is selected by the video server from the at least one pre-roll advertisement index; and
determining a pre-roll advertisement corresponding to the specified video index as the specified pre-roll advertisement corresponding to the offline video; and
playing the specified pre-roll advertisement in a process of playing the offline video.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a pre-roll advertisement playing method, a terminal, and a video server, and relates to the field of multimedia technologies. The method includes: after detecting a play operation of an offline video, determining a current network connection status of a terminal; when the terminal is in a first connection state, determining, among multiple pre-roll advertisements obtained by the terminal, a specified pre-roll advertisement corresponding to the offline video; and playing the specified pre-roll advertisement in a process of playing the offline video. When playing an offline video in a non-WiFi connection state, the terminal may additionally play a pre-roll advertisement. Therefore, an audience range of the pre-roll advertisement is expanded, and an application range is relatively wide.
6 Citations
14 Claims
-
1. A method for playing pre-roll advertisements, applied to a terminal and comprising:
-
detecting a play operation of an offline video; in a first connection state, when detecting a video download operation, sending a pre-roll advertisement obtaining request to a video server; receiving at least one pre-roll advertisement index from the video server according to the pre-roll advertisement obtaining request; obtaining at least one pre-roll advertisement corresponding to the at least one pre-roll advertisement index, and storing the at least one pre-roll advertisement; and updating a list of locally stored pre-roll advertisements according to the at least one pre-roll advertisement index; determining a current network connection status of the terminal; when the terminal is in a second connection state, determining, among multiple pre-roll advertisements obtained by the terminal, a specified pre-roll advertisement corresponding to the offline video, comprising; when the terminal is in a network-unconnected state, obtaining a specified video index returned by the video server, wherein the specified video index is selected by the video server from the at least one pre-roll advertisement index; and determining a pre-roll advertisement corresponding to the specified video index as the specified pre-roll advertisement corresponding to the offline video; and playing the specified pre-roll advertisement in a process of playing the offline video. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for playing pre-roll advertisements, applied to a video server and comprising:
-
obtaining a list of pre-roll advertisements that can be played when a terminal is in a first connection state, comprising; receiving a pre-roll advertisement obtaining request sent by the terminal, wherein the pre-roll advertisement obtaining request is sent after the terminal detects a download operation of the offline video, and the pre-roll advertisement obtaining request comprises at least identification information of the offline video; and obtaining, according to the identification information of the offline video, the list of pre-roll advertisements that can be played when the terminal is in the first connection state; screening pre-roll advertisements in the list of pre-roll advertisements, to obtain a specified video index; and returning the specified video index to the terminal, wherein the terminal determines, according to the specified video index and among multiple pre-roll advertisements obtained by the terminal, a specified pre-roll advertisement corresponding to a to-be-played offline video, and plays a specified pre-roll advertisement corresponding to the specified video index in the first connection state. - View Dependent Claims (7, 8, 9)
-
-
10. A terminal, comprising a processor and a memory, the memory storing computer program instructions, and the processor executing the program instructions stored in the memory to perform the following operations:
-
detecting a play operation of an offline video; in a first connection state, when detecting a video download operation, sending a pre-roll advertisement obtaining request to a video server; receiving at least one pre-roll advertisement index from the video server according to the pre-roll advertisement obtaining request; obtaining at least one pre-roll advertisement corresponding to the at least one pre-roll advertisement index, and storing the at least one pre-roll advertisement; and updating a list of locally stored pre-roll advertisements according to the at least one pre-roll advertisement index; determining a current network connection status of the terminal; when the terminal is in a second connection state, determining, among multiple pre-roll advertisements obtained by the terminal, a specified pre-roll advertisement corresponding to the offline video, comprising; when the terminal is in a network-unconnected state, obtaining a specified video index returned by the video server, wherein the specified video index is selected by the video server from the at least one pre-roll advertisement index; and determining a pre-roll advertisement corresponding to the specified video index as the specified pre-roll advertisement corresponding to the offline video; and playing the specified pre-roll advertisement in a process of playing the offline video. - View Dependent Claims (11, 12, 13, 14)
-
Specification