Disclosure of Invention
Based on the above problems, the embodiment of the invention discloses an advertisement pushing method and device based on a video picture, so that different users can watch different advertisement contents in the ordering process when ordering the same video file, thereby realizing the individual delivery of the advertisement contents. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an advertisement push method based on a video frame, which is applied to a server; the method comprises the following steps:
receiving a video-on-demand request sent by a terminal, wherein the video-on-demand request carries a target identity identifier and a target video identifier of an on-demand video file; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
determining a preset advertisement material group corresponding to the original target video file with the target video identification; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
determining a target version of a currently required predetermined advertising material based on the target identity identifier;
and feeding back target playing sequence information in a preset advertisement material belonging to the target version and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information to the terminal so that the terminal plays the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information, and requesting to play the video data of an original target video file or a segment file with the file identifier corresponding to the corresponding video playing time period from the server in sequence according to the video playing time period given by the target playing sequence information and the corresponding segment time period, thereby pushing advertisement content in the segment file to a user in a video on demand process.
Optionally, the method for constructing any version of the predetermined advertisement material corresponding to the original target video file includes:
integrating advertisement content of a preset version into a video clip of a preset time period in an original target video file;
extracting a video clip containing the advertisement content from the original target video file integrated with the advertisement content;
using the extracted video clip containing the advertisement content as a clip file containing the advertisement content;
constructing playing sequence information including corresponding relations among video playing time periods, file identifications of files to be played in the time periods and the segment time periods based on the playing sequence relation between the segment files and the target video files;
wherein, the file to be played in the time period comprises the original target video file or the fragment file.
Optionally, the first frame image of the at least one clip file integrated with the advertisement content is an image in an I-frame format; the first frame images of all the video clips except the video clip corresponding to the clip file of the original target video file are I-frame images.
Optionally, the determining a target version of the currently required predetermined advertisement material based on the target identity identifier includes:
determining an advertisement material version corresponding to the target identity identifier according to a pre-constructed corresponding relation between the identity identifier and the advertisement material version aiming at the original target video file;
the determined version of the advertising material is used as a target version of the currently desired predetermined advertising material.
Optionally, the determining a target version of the currently required predetermined advertisement material based on the target identity identifier includes:
obtaining pre-recorded target user characteristic information corresponding to the target identity identifier;
analyzing to obtain target preset standard information in the target user characteristic information;
determining an advertisement material version corresponding to the target preset standard information according to a pre-constructed corresponding relation between the preset standard information and the advertisement material version aiming at the original target video file;
the determined version of the advertising material is used as a target version of the currently desired predetermined advertising material.
Optionally, the target user feature information includes: video historical access information, and correspondingly, the target predetermined standard information comprises: the most video content types in the video historical access information;
or,
the target user characteristic information comprises: advertisement historical viewing information, and accordingly, the target predetermined criteria information includes: the most advertisement content types in the advertisement history viewing information.
In a second aspect, an embodiment of the present invention provides an advertisement push method based on a video frame, which is applied to a terminal; the method comprises the following steps:
receiving a video-on-demand instruction sent by a user, wherein the video-on-demand instruction carries a target video identifier of a video file requested by the user;
responding to the video-on-demand instruction, and constructing a video-on-demand request carrying the target video identifier and the identity identifier; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
sending the video-on-demand request to a server, so that the server determines a preset advertisement material group corresponding to an original target video file with the target video identifier after receiving the video-on-demand request, determines a target version of a currently required preset advertisement material based on the target identity identifier, and further feeds back target playing sequence information in the preset advertisement material belonging to the target version and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information to the terminal; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
receiving target playing sequence information fed back by the server and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information;
playing the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information;
and according to the video playing time periods and the corresponding segment time periods given by the target playing sequence information, sequentially requesting the server to play the video data of the original target video file or the segment file with the file identification corresponding to the corresponding video playing time period, thereby pushing the advertisement content in the segment file to the user in the video on demand process.
In a third aspect, an embodiment of the present invention provides an advertisement pushing apparatus based on a video frame, which is applied to a server; the device comprises:
the video on demand request receiving module is used for receiving a video on demand request sent by a terminal, wherein the video on demand request carries a target identity identifier and a target video identifier of an on demand video file; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
the material group determining module is used for determining a preset advertisement material group corresponding to the original target video file with the target video identification; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
the material version determining module is used for determining a target version of the current required predetermined advertisement material based on the target identity identifier;
and the data feedback module is used for feeding back target playing sequence information in a preset advertisement material belonging to the target version and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information to the terminal so as to enable the terminal to play the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information, and sequentially requesting to play the video data of an original target video file or a segment file with the file identifier corresponding to the corresponding video playing time period from the server according to the video playing time period given by the target playing sequence information and the corresponding segment time period, so that the advertisement content in the segment file is pushed to a user in a video-on-demand process.
Optionally, the method for constructing any version of the predetermined advertisement material corresponding to the original target video file includes:
integrating advertisement content of a preset version into a video clip of a preset time period in an original target video file;
extracting a video clip containing the advertisement content from the original target video file integrated with the advertisement content;
using the extracted video clip containing the advertisement content as a clip file containing the advertisement content;
constructing playing sequence information including corresponding relations among video playing time periods, file identifications of files to be played in the time periods and the segment time periods based on the playing sequence relation between the segment files and the target video files;
wherein, the file to be played in the time period comprises the original target video file or the fragment file.
Optionally, the first frame image of the at least one clip file integrated with the advertisement content is an image in an I-frame format; the first frame images of all the video clips except the video clip corresponding to the clip file of the original target video file are I-frame images.
Optionally, the material version determining module includes:
the first corresponding relation processing unit is used for determining the advertisement material version corresponding to the target identity identifier according to the corresponding relation between the identity identifier and the advertisement material version which is aimed at the original target video file and is constructed in advance;
a first material version determining unit for determining the determined advertisement material version as a target version of the currently required predetermined advertisement material.
Optionally, the material version determining module includes:
the target user characteristic information determining unit is used for acquiring pre-recorded target user characteristic information corresponding to the target identity identifier;
the target preset standard information obtaining unit is used for analyzing and obtaining target preset standard information in the target user characteristic information;
the second corresponding relation processing unit is used for determining the advertisement material version corresponding to the target preset standard information according to the corresponding relation which is aimed at the original target video file and is constructed in advance about the preset standard information and the advertisement material version;
a second material version determination unit for making the determined advertisement material version a target version of the currently required predetermined advertisement material.
Optionally, the target user feature information includes: video historical access information, and correspondingly, the target predetermined standard information comprises: the most video content types in the video historical access information;
or,
the target user characteristic information comprises: advertisement historical viewing information, and accordingly, the target predetermined criteria information includes: the most advertisement content types in the advertisement history viewing information.
In a fourth aspect, an embodiment of the present invention provides an advertisement pushing apparatus based on a video frame, which is applied to a terminal; the device comprises:
the video-on-demand instruction receiving module is used for receiving a video-on-demand instruction sent by a user, wherein the video-on-demand instruction carries a target video identifier of a video file requested by the user;
the video-on-demand instruction response module is used for responding to the video-on-demand instruction and constructing a video-on-demand request carrying the target video identifier and the identity identifier; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
a video-on-demand request sending module, configured to send the video-on-demand request to a server, so that after receiving the video-on-demand request, the server determines a predetermined advertisement material group corresponding to an original target video file having the target video identifier, and determines a target version of a currently required predetermined advertisement material based on the target identity identifier, and further feeds back target playing sequence information in the predetermined advertisement material belonging to the target version and video data of a file having a file identifier corresponding to a first video playing time period given by the target playing sequence information to the terminal; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
the data receiving module is used for receiving target playing sequence information fed back by the server and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information;
the data playing module is used for playing the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information;
and the data processing module is used for sequentially requesting the server to play the video data of the original target video file or the segment file with the file identifier corresponding to the corresponding video playing time period according to the video playing time period and the corresponding segment time period given by the target playing sequence information, so that the advertisement content in the segment file is pushed to the user in the video on demand process.
Therefore, in the scheme, the server is preset with the preset advertisement materials of different versions for the original target video; when the terminal requests the original target video file, the server feeds back the video data of the original target video file and the predetermined advertisement material of the target version determined based on the identity identifier to the terminal, and the terminal plays the video data of the original target video file and the video data of the segment file in the predetermined advertisement material of the target version in an integrated manner. Therefore, by the scheme, different users can watch different advertisement contents in the ordering process when the same video file is ordered by the users, so that the individual delivery of the advertisement contents is realized.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
From the perspective of a server, the embodiment of the invention provides an advertisement pushing method based on a video picture, so that different users can watch different advertisement contents in the process of ordering the same video file, and the personalized delivery of the advertisement contents is realized. It should be noted that the server is a server responsible for the vod service.
As shown in fig. 1, from the perspective of a server, an advertisement push method based on a video frame provided by an embodiment of the present invention may include the following steps:
s101, receiving a video on demand request sent by a terminal;
the video-on-demand request carries a target identity identifier and a target video identifier of the video-on-demand file; the target identity identifier is identification information utilized when a user holding the terminal requests a video file. In practical applications, the target identity identifier may be a physical address or an IP address of the terminal, and may also be a user account based on which the user accesses the server, which is reasonable.
S102, determining a preset advertisement material group corresponding to the original target video file with the target video identification;
it should be noted that, preset advertisement materials of different versions are set in the server in advance for the video file that needs to be used as the advertisement push carrier, so that the video file that needs to be used as the advertisement push carrier corresponds to respective preset advertisement material groups, and a corresponding relationship between the preset advertisement material groups and the video identifiers is established. Furthermore, after receiving a video-on-demand request carrying a target video identifier and a target identity identifier sent by a terminal, a predetermined advertisement material group corresponding to an original target video file lock with the target video identifier can be determined based on the corresponding relationship between the predetermined advertisement material group and the video identifier.
The preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content extracted after integrating the advertisement content with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file.
Specifically, the construction method of the predetermined advertisement material of any version corresponding to the original target video file includes:
integrating advertisement content of a preset version into a video clip of a preset time period in an original target video file;
extracting a video clip containing the advertisement content from the original target video file integrated with the advertisement content;
using the extracted video clip containing the advertisement content as a clip file containing the advertisement content;
constructing playing sequence information including corresponding relations among video playing time periods, file identifications of files to be played in the time periods and the segment time periods based on the playing sequence relation between the segment files and the target video files;
the file to be played in the time period comprises the original target video file or the fragment file.
It is emphasized that the above-described manner of constructing any version of the predetermined advertising material of the original target video file is merely an example, and should not be construed as a limitation on the embodiments of the present invention. And, a predetermined version of advertisement content can be integrated into a video clip of a predetermined time period in the original target video file by the related art.
S103, determining a target version of the current required predetermined advertisement material based on the target identity identifier;
since the predetermined advertisement material group corresponding to the original target video file includes the predetermined advertisement materials of different versions, the target version of the predetermined advertisement material currently required by the terminal needs to be determined, thereby realizing the individual delivery of the advertisement content.
In one implementation, a correspondence between the identity identifier and the version of the advertising material may be pre-constructed for the original target video file, such that a target version of the currently desired predetermined advertising material is determined based on the correspondence. Specifically, the determining a target version of the currently required predetermined advertisement material based on the target id may include:
determining an advertisement material version corresponding to the target identity identifier according to a pre-constructed corresponding relation between the identity identifier and the advertisement material version aiming at the original target video file;
the determined version of the advertising material is used as a target version of the currently desired predetermined advertising material.
In yet another implementation, a corresponding relationship between the predetermined standard information and the advertisement material version may be constructed in advance for the original target video file, so as to determine the target version of the predetermined advertisement material that is currently required based on the corresponding relationship, wherein the predetermined standard information is information analyzed from the target user characteristic information. Specifically, the determining a target version of the currently required predetermined advertisement material based on the target identity identifier may include:
obtaining pre-recorded target user characteristic information corresponding to the target identity identifier;
analyzing to obtain target preset standard information in the target user characteristic information;
determining an advertisement material version corresponding to the target preset standard information according to a pre-constructed corresponding relation between the preset standard information and the advertisement material version aiming at the original target video file;
the determined version of the advertising material is used as a target version of the currently desired predetermined advertising material.
Specifically, the target user feature information may include: video history access information, and accordingly, the target predetermined criterion information may include: the most video content types in the video historical access information;
or,
the target user characteristic information may include: the advertisement historical viewing information, and accordingly, the target predetermined criteria information may include: the most advertisement content types in the advertisement history viewing information.
Wherein the video content types may include: a type of television show, a type of entertainment for a variety, a type of movie, etc.; and the advertisement content types may include: home type, appliance type, automobile type, digital type, etc. Of course, if the target id identifier is a user account, at this time, the target user characteristic information may also be personal information corresponding to the user account, and the target predetermined standard information may be: age information.
S104, feeding back the target playing sequence information in the preset advertisement material belonging to the target version and the video data of the file with the file identification corresponding to the first video playing time period given by the target playing sequence information to the terminal.
After the target version of the currently required predetermined advertisement material is determined, the target playing sequence information in the predetermined advertisement material belonging to the target version and the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information can be fed back to the terminal. It is understood that the file having the file identifier corresponding to the first video playing time period given by the target playing sequence information may be a clip file containing advertisement content or an original target video file, which is reasonable. It is emphasized that, since the target playing sequence information in the predetermined advertisement material belonging to the target version has a very small data amount with respect to the video data, the server can complete the transmission of the target playing sequence information in the predetermined advertisement material belonging to the target version quickly, and complete the transmission of the video data of the file having the file identification corresponding to the first video playing period given by the target playing sequence information for a long time.
Correspondingly, the terminal plays the video data of the file with the file identification corresponding to the first video playing time period given by the target playing sequence information, and sequentially requests the server to play the video data of the original target video file or the segment file with the file identification corresponding to the corresponding video playing time period according to the video playing time period and the corresponding segment time period given by the target playing sequence information, so that the advertisement content in the segment file is pushed to the user in the video on demand process.
Furthermore, as will be understood by those skilled in the art, for an original target video file including P frames and I frames, since an I frame image can be used as a reference point for random access, parsing is not required to be performed based on a previous video frame image, and parsing of a P frame image is required to be performed based on a previous P frame image or an I frame image, in order to reduce the amount of operations in the terminal for parsing video data, thereby increasing the parsing rate, the first frame image of at least one clip file integrated with advertisement content may be an image in the form of an I frame; the first frame images of all the video clips of the original target video file are I-frame images, and all the video clips are video clips except the video clip corresponding to the clip file, so that the first frame images can be analyzed and played quickly when the video clips are switched to be played, and the previous video frame images do not need to be referred.
For clarity, the following example describes the relationship of a clip file containing advertising content to the original target video file.
As shown in fig. 3, video1 is an original target video file, video2 is a first clip file containing advertisement content, and video3 is a second clip file containing advertisement content. Wherein, the video2 corresponds to the video segment 1 in the video1, that is, the video2 is the video segment 1 containing the advertisement content extracted after the advertisement content is integrated to the video 1; video3 corresponds to video segment 2 in video1, i.e., video3 is video segment 2 containing advertisement content extracted after integrating advertisement content with video 1. For the predetermined advertisement material containing video2 and video3, the playing sequence information contained therein can refer to table 1 as follows:
TABLE 1
Wherein, if it is determined that the predetermined advertisement material currently required by the terminal is the predetermined advertisement material containing video2 and video3, based on the identifier of the terminal, the server may feed back the playing sequence information in table 1 and the video data of the time period [0-T1) of video1 to the terminal when feeding back the terminal data, and after obtaining the playing sequence information and the video data in table 1, the terminal may play the received video data, and may sequentially request and play according to the playing sequence information: video data of a time period [0- (T2-T1) ] of Video2, Video data of a time period (T2-T3) of Video1, Video data of a time period [0- (T4-T3) ] of Video3 and Video data of a time period (T4-T5) of Video1 sequentially achieve the purpose of personalized advertisement content delivery in the process of playing Video files.
It should be noted that the example based on fig. 3 is only an illustration, and should not be construed as limiting the invention in any way.
Therefore, in the scheme, the server is preset with the preset advertisement materials of different versions for the original target video; when the terminal requests the original target video file, the server feeds back the video data of the original target video file and the predetermined advertisement material of the target version determined based on the identity identifier to the terminal, and the terminal plays the video data of the original target video file and the video data of the segment file in the predetermined advertisement material of the target version in an integrated manner. Therefore, by the scheme, different users can watch different advertisement contents in the ordering process when the same video file is ordered by the users, so that the individual delivery of the advertisement contents is realized.
From the perspective of a terminal, the embodiment of the invention provides an advertisement pushing method based on a video picture, so that different users can watch different advertisement contents in the process of ordering the same video file, and the personalized delivery of the advertisement contents is realized. In addition, in practical application, the terminal can be a tablet computer, a smart phone, a notebook computer or a desktop computer, and the like; the functional software for implementing the video-frame-based advertisement push method provided by the embodiment may be video playing client software installed in the terminal.
As shown in fig. 2, from the perspective of a terminal, an advertisement push method based on a video frame provided by an embodiment of the present invention may include the following steps:
as shown in fig. 2, an advertisement push method based on video pictures may include the following steps:
s201, receiving a video-on-demand instruction sent by a user;
specifically, the video-on-demand instruction carries a target video identifier of a video file requested by a user.
S202, responding to the video-on-demand instruction, and constructing a video-on-demand request carrying the target video identifier and the identity identifier;
after receiving a video-on-demand instruction which is sent by a user and aims at a certain video file, the terminal can respond to the video-on-demand instruction and further construct a video-on-demand request carrying the target video identifier and the identity identifier. The target identity identifier is identification information utilized when the user holding the terminal requests the video file. In practical applications, the target identity identifier may be a physical address or an IP address of the terminal, and may also be a user account based on which the user accesses the server, which is reasonable.
S203, sending the video on demand request to a server;
after the vod request carrying the target vod id and the id is constructed, the vod request may be sent to the server. Correspondingly, after receiving the video-on-demand request, the server determines a predetermined advertisement material group corresponding to the original target video file with the target video identifier, determines a target version of the currently required predetermined advertisement material based on the target identity identifier, and further feeds back target playing sequence information in the predetermined advertisement material belonging to the target version and video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information to the terminal.
The preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file.
S204, receiving target playing sequence information fed back by the server and video data of a file with a file identifier corresponding to a first video playing time period given by the target playing sequence information;
s205, playing the video data of the file with the file identification corresponding to the first video playing time period given by the target playing sequence information;
s206, according to the video playing time periods and the corresponding segment time periods given by the target playing sequence information, sequentially requesting the server to play the video data of the original target video files or the segment files with the file identifications corresponding to the corresponding video playing time periods, and accordingly pushing the advertisement contents in the segment files to the user in the video-on-demand process.
The terminal can play the video data of the file with the file identifier corresponding to the first video playing time period given by the target playing sequence information after receiving the data fed back by the server, and sequentially requests the server to play the video data of the original target video file or the segment file with the file identifier corresponding to the corresponding video playing time period according to the video playing time period and the corresponding segment time period given by the target playing sequence information, so that the advertisement content in the segment file is pushed to the user in the video on demand process. It is reasonable to emphasize that the file having the file identifier corresponding to the first video playing time period given by the target playing sequence information may be a clip file containing advertisement content or an original target video file.
Therefore, in the scheme, the server is preset with the preset advertisement materials of different versions for the original target video; when the terminal requests the original target video file, the server feeds back the video data of the original target video file and the predetermined advertisement material of the target version determined based on the identity identifier to the terminal, and the terminal plays the video data of the original target video file and the video data of the segment file in the predetermined advertisement material of the target version in an integrated manner. Therefore, by the scheme, different users can watch different advertisement contents in the ordering process when the same video file is ordered by the users, so that the individual delivery of the advertisement contents is realized.
Corresponding to the above advertisement pushing device based on video pictures provided from the server perspective, as shown in fig. 4, an embodiment of the present invention further provides an advertisement pushing device based on video pictures, which is applied to a server; the apparatus may include:
a video-on-demand request receiving module 410, configured to receive a video-on-demand request sent by a terminal, where the video-on-demand request carries a target identity identifier and a target video identifier of a video file on demand; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
a material group determining module 420, configured to determine a predetermined advertisement material group corresponding to the original target video file with the target video identifier; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
a material version determining module 430, configured to determine a target version of a currently required predetermined advertisement material based on the target identity identifier;
a data feedback module 440, configured to feed back, to the terminal, target playing sequence information in a predetermined advertisement material belonging to the target version and video data of a file having a file identifier corresponding to a first video playing time period given by the target playing sequence information, so that the terminal plays the video data of the file having the file identifier corresponding to the first video playing time period given by the target playing sequence information, and sequentially request, according to the video playing time periods given by the target playing sequence information and corresponding segment time periods, the server to play the video data of the original target video file or the segment file having the file identifier corresponding to the corresponding video playing time periods, so as to push advertisement content in the segment file to a user in a video-on-demand process.
Therefore, in the scheme, the server is preset with the preset advertisement materials of different versions for the original target video; when the terminal requests the original target video file, the server feeds back the video data of the original target video file and the predetermined advertisement material of the target version determined based on the identity identifier to the terminal, and the terminal plays the video data of the original target video file and the video data of the segment file in the predetermined advertisement material of the target version in an integrated manner. Therefore, by the scheme, different users can watch different advertisement contents in the ordering process when the same video file is ordered by the users, so that the individual delivery of the advertisement contents is realized.
Specifically, the construction method of the predetermined advertisement material of any version corresponding to the original target video file includes:
integrating advertisement content of a preset version into a video clip of a preset time period in an original target video file;
extracting a video clip containing the advertisement content from the original target video file integrated with the advertisement content;
using the extracted video clip containing the advertisement content as a clip file containing the advertisement content;
constructing playing sequence information including corresponding relations among video playing time periods, file identifications of files to be played in the time periods and the segment time periods based on the playing sequence relation between the segment files and the target video files;
wherein, the file to be played in the time period comprises the original target video file or the fragment file.
Specifically, the first frame image of the at least one clip file integrated with the advertisement content is an image in the form of an I frame; the first frame images of all the video clips except the video clip corresponding to the clip file of the original target video file are I-frame images.
Specifically, the material version determining module 430 may include:
the first corresponding relation processing unit is used for determining the advertisement material version corresponding to the target identity identifier according to the corresponding relation between the identity identifier and the advertisement material version which is aimed at the original target video file and is constructed in advance;
a first material version determining unit for determining the determined advertisement material version as a target version of the currently required predetermined advertisement material.
Specifically, the material version determining module 430 may include:
the target user characteristic information determining unit is used for acquiring pre-recorded target user characteristic information corresponding to the target identity identifier;
the target preset standard information obtaining unit is used for analyzing and obtaining target preset standard information in the target user characteristic information;
the second corresponding relation processing unit is used for determining the advertisement material version corresponding to the target preset standard information according to the corresponding relation which is aimed at the original target video file and is constructed in advance about the preset standard information and the advertisement material version;
a second material version determination unit for making the determined advertisement material version a target version of the currently required predetermined advertisement material.
Specifically, the target user feature information may include: video historical access information, and correspondingly, the target predetermined standard information comprises: the most video content types in the video historical access information;
or,
the target user characteristic information may include: advertisement historical viewing information, and accordingly, the target predetermined criteria information includes: the most advertisement content types in the advertisement history viewing information.
Corresponding to the above advertisement push method based on video pictures provided from the terminal perspective, as shown in fig. 5, an embodiment of the present invention further provides an advertisement push device based on video pictures, which is applied to a terminal; the apparatus may include:
a video-on-demand instruction receiving module 510, configured to receive a video-on-demand instruction sent by a user, where the video-on-demand instruction carries a target video identifier of a video file requested by the user;
a video-on-demand instruction response module 520, configured to respond to the video-on-demand instruction and construct a video-on-demand request carrying the target video identifier and the identity identifier; the target identity identifier is identification information utilized when a user holding the terminal requests a video file;
a video-on-demand request sending module 530, configured to send the video-on-demand request to a server, so that after receiving the video-on-demand request, the server determines a predetermined advertisement material group corresponding to an original target video file having the target video identifier, and determines a target version of a currently required predetermined advertisement material based on the target identity identifier, and further feeds back target playing sequence information in the predetermined advertisement material belonging to the target version and video data of a file having a file identifier corresponding to a first video playing time period given by the target playing sequence information to the terminal; the preset advertisement material group comprises different versions of preset advertisement materials, and each version of the preset advertisement material comprises the playing sequence information of the version and at least one fragment file integrated with advertisement content; the playing sequence information comprises the corresponding relation of a video playing time period, a file identifier of a file to be played in the time period and a segment time period; the clip file integrated with the advertisement content is a video clip containing the advertisement content, which is extracted after the advertisement content is integrated with the original target video file, and the file to be played in the time period comprises the original target video file or the clip file;
a data receiving module 540, configured to receive target playing sequence information fed back by the server and video data of a file having a file identifier corresponding to a first video playing time period given by the target playing sequence information;
a data playing module 550, configured to play the video data of the file having the file identifier corresponding to the first video playing time period given by the target playing sequence information;
and the data processing module 560 is configured to sequentially request the server to play the video data of the original target video file or the segment file having the file identifier corresponding to the corresponding video playing time period according to the video playing time period and the corresponding segment time period given by the target playing sequence information, so as to push the advertisement content in the segment file to the user in the video-on-demand process.
Therefore, in the scheme, the server is preset with the preset advertisement materials of different versions for the original target video; when the terminal requests the original target video file, the server feeds back the video data of the original target video file and the predetermined advertisement material of the target version determined based on the identity identifier to the terminal, and the terminal plays the video data of the original target video file and the video data of the segment file in the predetermined advertisement material of the target version in an integrated manner. Therefore, by the scheme, different users can watch different advertisement contents in the ordering process when the same video file is ordered by the users, so that the individual delivery of the advertisement contents is realized.
For system or apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.