Advertisement delivery method, device, equipment, storage medium and computer program
By calculating the characteristic information of users' historical videos and videos to be played, the advertising strategy is dynamically adjusted, which solves the problem of a single advertising delivery method in the existing technology and improves the relevance of advertising and user experience.
Patent Information
- Application Number
- CN202210430237.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-22
AI Technical Summary
The advertising delivery method in the existing technology is single and fixed, and it is impossible to dynamically adjust the advertising delivery strategy according to the user's video browsing habits and interests.
By obtaining the target user's historical video characteristic information and the video characteristic information to be played, the similarity is calculated to determine the associated historical video and the number of placements, the ad type is selected based on the user characteristic information, and the position and number of ad placements are dynamically adjusted when the video is played.
It enriches the advertising delivery methods, improves the user experience, can dynamically adjust the number and type of advertising delivery according to the user's interest level, and increases the relevance of advertising.
Smart Images

Figure CN114782092B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an advertisement delivery method, device, equipment, storage medium and computer program. Background Art
[0002] With the rapid development of computer technology, the client provides more and more functions for users. For example, users can watch videos through the client, and the client can also deliver advertisements when users watch videos.
[0003] In the related technology, the client can determine the target advertisement to be delivered according to business needs, and when the video watched by the user reaches the specified position, pause the video watched by the user and play the target advertisement. For example, the target advertisement is played before the video starts playing, or the target advertisement is played when the video watched by the user reaches the middle position.
[0004] It can be seen that in the related art, the method of advertising delivery is single and fixed. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide an advertisement delivery method, device, equipment, storage medium and computer program to deliver advertisements in a targeted manner when users browse videos, thereby enriching the ways of delivering advertisements. The specific technical solutions are as follows:
[0006] In a first aspect of the present invention, an advertisement delivery method is provided, the method comprising:
[0007] Acquire video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and acquire video feature information of the video to be played indicated by the target user as second video feature information;
[0008] Based on the similarity between the first video feature information and the second video feature information, determining a historical video associated with the video to be played from each historical video as a target historical video;
[0009] Based on the total browsing time of the target user browsing the target historical video, determining the number of times the advertisement is played when the video to be played is played as the target delivery number;
[0010] Based on the similarity between the user characteristic information of the target user and the preset advertisement type, determining the advertisement type of the advertisement played when the to-be-played video is played as the target advertisement type;
[0011] When playing the video to be played, an advertisement of the target advertisement type is played according to the target delivery number of times.
[0012] Optionally, the determining, based on the similarity between the first video feature information and the second video feature information, a historical video associated with the video to be played from each historical video as a target historical video includes:
[0013] For every two historical videos, calculating the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos;
[0014] Based on the similarity between the historical videos, clustering the historical videos to obtain multiple video groups; wherein the similarity between the historical videos included in a video group is greater than a preset threshold;
[0015] Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, a historical video in the video group associated with the video to be played is determined as a target historical video.
[0016] Optionally, determining the number of times to play an advertisement when playing the to-be-played video based on the total browsing time of the target user browsing the target historical video as the target delivery number includes:
[0017] From each preset duration interval, determine the preset duration interval to which the total browsing duration corresponding to the target historical video belongs as the target duration interval;
[0018] In the correspondence between the preset duration interval and the number of delivery times, the number of delivery times corresponding to the target duration interval is determined, and the number of times the advertisement is played when playing the video to be played is obtained as the target number of delivery times; wherein the duration contained in the preset duration interval in the correspondence is positively correlated with the number of delivery times.
[0019] Optionally, when playing the to-be-played video, playing the advertisement of the target advertisement type according to the target delivery number of times includes:
[0020] Calculating the ratio of the duration of the video to be played to the target number of delivery times to obtain a time interval for playing advertisements when playing the video to be played;
[0021] Determining an advertisement placement position in the video to be played based on the determined time interval and the duration of the video to be played;
[0022] During the process of playing the video to be played, when the video to be played reaches the advertisement delivery position, the advertisement of the target advertisement type is played.
[0023] Optionally, the video feature information of a video includes at least one of the following:
[0024] The video type label of the video;
[0025] Production information of the video, including: the release time of the video, the identifier of the device that generated the video, and the identifier of the user who uploaded the video;
[0026] Browsing information of the video, including: the total number of views and ratings of the video;
[0027] The user characteristic information includes at least one of the following:
[0028] Basic personal information, including: gender, age and occupation of the target user;
[0029] Interest information, the interest information including: interest tags and feature information of videos of interest to the target user; the feature information of videos of interest to the target user is determined based on browsing behavior information of the target user browsing videos;
[0030] Browsing behavior information, the browsing behavior information includes: like behavior information, comment behavior information and forwarding behavior information of the target user when browsing videos.
[0031] In a second aspect of the present invention, an advertisement delivery device is provided, the device comprising:
[0032] An acquisition module, used to acquire video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and to acquire video feature information of the video to be played indicated by the target user as second video feature information;
[0033] A first determination module, configured to determine, from various historical videos, a historical video associated with the video to be played as a target historical video based on the similarity between the first video feature information and the second video feature information;
[0034] A second determination module is used to determine the number of times the advertisement is played when the to-be-played video is played based on the total browsing time of the target user browsing the target historical video, as the target delivery number;
[0035] A third determination module is used to determine the advertisement type of the advertisement played when playing the to-be-played video based on the similarity between the user characteristic information of the target user and the preset advertisement type as the target advertisement type;
[0036] The playing module is used to play the advertisement of the target advertisement type according to the target delivery number when playing the video to be played.
[0037] Optionally, the first determination module is specifically configured to calculate, for each two historical videos, the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos;
[0038] Based on the similarity between the historical videos, clustering the historical videos to obtain multiple video groups; wherein the similarity between the historical videos included in a video group is greater than a preset threshold;
[0039] Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, a historical video in the video group associated with the video to be played is determined as a target historical video.
[0040] Optionally, the second determining module is specifically configured to determine, from among the preset time intervals, a preset time interval to which the total browsing time corresponding to the target historical video belongs, as the target time interval;
[0041] In the correspondence between the preset duration interval and the number of delivery times, the number of delivery times corresponding to the target duration interval is determined, and the number of times the advertisement is played when playing the video to be played is obtained as the target number of delivery times; wherein the duration contained in the preset duration interval in the correspondence is positively correlated with the number of delivery times.
[0042] Optionally, the playback module is specifically used to calculate the ratio of the duration of the video to be played to the target number of delivery times, so as to obtain a time interval for playing advertisements when playing the video to be played;
[0043] Determining an advertisement placement position in the video to be played based on the determined time interval and the duration of the video to be played;
[0044] During the process of playing the video to be played, when the video to be played reaches the advertisement delivery position, the advertisement of the target advertisement type is played.
[0045] Optionally, the video feature information of a video includes at least one of the following:
[0046] The video type label of the video;
[0047] Production information of the video, including: the release time of the video, the identifier of the device that generated the video, and the identifier of the user who uploaded the video;
[0048] Browsing information of the video, including: the total number of views and ratings of the video;
[0049] The user characteristic information includes at least one of the following:
[0050] Basic personal information, including: gender, age and occupation of the target user;
[0051] Interest information, the interest information including: interest tags and feature information of videos of interest to the target user; the feature information of videos of interest to the target user is determined based on browsing behavior information of the target user browsing videos;
[0052] Browsing behavior information, the browsing behavior information includes: like behavior information, comment behavior information and forwarding behavior information of the target user when browsing videos.
[0053] In another aspect of the present invention, an electronic device is provided, comprising:
[0054] at least one processor; and
[0055] a memory communicatively connected to the at least one processor; wherein,
[0056] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform any of the above-mentioned steps of the advertisement delivery method.
[0057] In another aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any of the above-mentioned advertising delivery methods.
[0058] In another aspect of the present invention, a computer program product is provided, including a computer program, wherein the computer program implements any of the above-mentioned advertisement delivery methods when executed by a processor.
[0059] An embodiment of the present invention provides an advertisement delivery method, which obtains video feature information of each historical video that a target user has browsed within a historical time period as first video feature information, and obtains video feature information of a video to be played indicated by the target user as second video feature information; based on the similarity between the first video feature information and the second video feature information, determines a historical video associated with the video to be played from each historical video as a target historical video; based on the total browsing time of the target historical video browsed by the target user, determines the number of times an advertisement is played when the video to be played is played as a target delivery number; based on the similarity between the user feature information of the target user and a preset advertisement type, determines the advertisement type of the advertisement played when the video to be played is played as a target advertisement type; when the video to be played is played, an advertisement of the target advertisement type is played according to the target delivery number.
[0060] Based on the above processing, the total browsing time of the target user browsing the target historical video can indicate the target user's interest in the target historical video. If the target historical video is a video associated with the video to be played, the target user's interest in the target historical video is similar to the interest in the video to be played. The target number of delivery times is determined based on the total browsing time corresponding to the target historical video, that is, the target number of delivery times is determined based on the target user's interest in the video to be played. And the target advertisement type determined based on the user characteristic information is the advertisement type that the target user may be interested in. Furthermore, when the user browses the video to be played, the advertisement of the target advertisement type is played according to the target number of delivery times, that is, the number of delivery advertisements can be dynamically adjusted based on the target user's interest in the video to be played, and advertisements that the target user may be interested in can be delivered, that is, advertisements can be delivered in a targeted manner when the user browses the video, enriching the way of advertisement delivery. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0062] Figure 1 A flowchart of an advertisement delivery method provided in an embodiment of the present invention;
[0063] Figure 2 A flowchart of another advertisement delivery method provided in an embodiment of the present invention;
[0064] Figure 3 A flowchart of another advertisement delivery method provided in an embodiment of the present invention;
[0065] Figure 4 A flowchart of another advertisement delivery method provided in an embodiment of the present invention;
[0066] Figure 5 A flowchart of another advertisement delivery method provided in an embodiment of the present invention;
[0067] Figure 6 A structural diagram of an advertisement delivery device provided in an embodiment of the present invention;
[0068] Figure 7 The present invention is a structural diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0070] In the related art, the client can determine the target advertisement to be delivered according to business needs, and when the video being watched by the user reaches a specified position, the video being watched by the user is paused and the target advertisement is played, for example, the target advertisement is played before the video starts playing, or the target advertisement is played when the video being watched by the user reaches the middle position. It can be seen that in the related art, the method of delivering advertisements is single and fixed.
[0071] In order to solve the above technical problems, an embodiment of the present invention provides an advertisement delivery method, which is applied to an electronic device. The electronic device may be a client for playing videos. The client may deliver advertisements when a target user browses a video according to the method provided by the implementation of the present invention. Alternatively, the electronic device may be a server corresponding to a client for playing videos. The server may determine the target delivery times and target advertisement types corresponding to the target user according to the method provided by the embodiment of the present invention, and send the target delivery times and target advertisement types to the client, so that the client delivers advertisements according to the target delivery times and target advertisement types when the target user browses the video, and the user's browsing experience may be improved.
[0072] See also Figure 1 , Figure 1 A flowchart of an advertisement delivery method provided by an embodiment of the present invention, the method may include the following steps:
[0073] S101: Obtain video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and obtain video feature information of the video to be played indicated by the target user as second video feature information.
[0074] S102: Based on the similarity between the first video feature information and the second video feature information, determine a historical video associated with the video to be played from each historical video as a target historical video.
[0075] S103: Based on the total browsing time of the target user browsing the target historical videos, determine the number of times the advertisement is played when playing the video to be played, which is used as the target delivery number.
[0076] S104: Based on the similarity between the user characteristic information of the target user and the preset advertisement type, determine the advertisement type of the advertisement played when playing the video to be played as the target advertisement type.
[0077] S105: When playing the video to be played, playing an advertisement of the target advertisement type according to the target delivery times.
[0078] Based on the advertising delivery method provided by the embodiment of the present invention, the total browsing time of the target user browsing the target historical video can represent the target user's interest in the target historical video. The target historical video is a video associated with the video to be played, and the target user's interest in the target historical video is similar to the interest in the video to be played. The target delivery times are determined based on the total browsing time corresponding to the target historical video, that is, the target delivery times are determined based on the target user's interest in the video to be played. And the target advertisement type determined based on the user characteristic information is the advertisement type that the target user may be interested in. Furthermore, when the user browses the video to be played, the advertisement of the target advertisement type is played according to the target delivery times, that is, the number of advertisements delivered can be dynamically adjusted based on the target user's interest in the video to be played, and advertisements that the target user may be interested in can be delivered, that is, advertisements can be delivered in a targeted manner when the user browses the video, enriching the advertisement delivery methods, and improving the user's browsing experience.
[0079] With respect to step S101, the target user may be any user who logs into the electronic device, or the target user may be a designated user among the users who log into the electronic device, for example, a non-member user.
[0080] When the target user needs to browse videos, the target user can input a video play instruction to the electronic device. Accordingly, the electronic device can determine that the video indicated by the video play instruction is the video to be played, and obtain the video feature information of the video to be played (i.e., the second video feature information).
[0081] The electronic device may also determine each historical video that the target user has browsed within a historical time period, and the historical video may include at least one of the following videos:
[0082] PPC (Professionally-produced Content) videos, such as film and television drama videos, all have an album ID that indicates the production source of the video. For example, the album IDs of multiple episodes of the same TV series are all the names of the TV series, or the album IDs of multiple episodes of the same TV series are all the numbers of the TV series.
[0083] UGC (User Generated Content) videos, such as videos shot and uploaded by ordinary users, may be users who log in to the electronic device but have not been professionally authenticated. UGC videos have an identifier of the uploading user that indicates the production source of the video.
[0084] PGC (Professional User Generated Content) videos, for example, videos shot and uploaded by professional users, who are users who have logged into the electronic device and have undergone professional certification, for example, certified photographers. PGC videos have an identifier of the uploading user that represents the production source of the video.
[0085] Then, the electronic device can obtain the video feature information (i.e., the first video feature information) of each historical video. The historical time period can be set by the technician based on experience, for example, the historical time period can be the day closest to the current moment, or the historical time period can also be the three days closest to the current moment.
[0086] In one embodiment of the present invention, the video feature information of a video includes at least one of the following:
[0087] The video type tag of the video. The video type tag of a video can be a keyword (e.g., subject word, type tag, etc.) set by the user who uploaded the video. The keyword can represent the video type and video content of the video. For example, the keywords representing the video type of the video may include: action, ancient costume, movie commentary, product evaluation, PPC, UGC and PUGC, etc. The keywords representing the video content of the video may include: actor name, character name, geographical environment and weather environment of the characters in the video, etc.
[0088] The production information of the video includes: the release time of the video, the identifier of the device that generated the video, and the identifier of the user who uploaded the video. When the video is a PPC video, the production information of the video may also include the album ID of the video. The production information of the video may indicate the production source of the video. The release time of the video may indicate the timeliness of the video. The device that generated the video may be the device that shot the video, or the device that edited the video, or the device that uploaded the video.
[0089] The browsing information of the video includes: the total number of views and ratings of the video. The total number of views of the video is the total number of views of the video by all users in the historical time period, and the total number of views of the video can indicate the popularity of the video. The rating of the video is the rating of the video by users who have viewed the video, and the rating of the video can indicate the quality of the video.
[0090] For step S102, after acquiring the first video feature information and the second video feature information, the electronic device can determine the historical video associated with the video to be played (ie, the target historical video) from the historical videos based on the first video feature information and the second video feature information in the following manner.
[0091] Method 1:
[0092] For each historical video, the electronic device can determine whether there is video feature information in the first video feature information of the historical video that is the same as the second video feature information. If so, the electronic device can determine that the similarity between the historical video and the video to be played is high, and then determine that the historical video is the target historical video associated with the video to be played.
[0093] Exemplarily, the second video feature information of the video to be played may include: UGC, movie commentary, the uploading user is user A, and the rating is 9. The historical videos include: historical video 1, historical video 2, and historical video 3. The first video feature information of historical video 1 includes: album ID is 10001 and the total number of views is 100. The first video feature information of historical video 2 includes: product evaluation, the uploading user is user A, and the rating is 7. The first video feature information of historical video 3 includes: movie commentary and the uploading user is user C.
[0094] The first video feature information of historical video 2 contains the same video feature information as the second video feature information, that is, the uploading user is user A, and the first video feature information of historical video 3 contains the same video feature information as the second video feature information, that is, movie commentary. Accordingly, the electronic device can determine that the similarity between historical video 2, historical video 3 and the video to be played is high, and determine that historical video 2 and historical video 3 are the target historical videos associated with the video to be played.
[0095] Method 2:
[0096] In one embodiment of the present invention, Figure 1 Based on Figure 2 , step S102 may include the following steps:
[0097] S1021: For every two historical videos, calculate the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos.
[0098] S1022: Clustering the historical videos based on the similarities between the historical videos to obtain multiple video groups.
[0099] The similarity between the historical videos included in a video group is greater than a preset threshold.
[0100] S1023: Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, determine the historical videos in the video group associated with the video to be played as the target historical videos.
[0101] For each historical video, the electronic device can map the first video feature information of the historical video based on the word2vec (word to vector) algorithm to obtain a corresponding feature vector (which can be called a first feature vector). For every two historical videos, the electronic device can calculate the similarity between the first feature vectors corresponding to the two historical videos to obtain the similarity between the two historical videos.
[0102] Alternatively, for each historical video, the video feature information of the historical video includes: the video type label, production information and browsing information of the historical video. The electronic device may perform mapping processing on the video type label of the historical video to obtain a corresponding feature vector (which may be referred to as a first sub-feature vector), perform mapping processing on the production information of the historical video to obtain a corresponding feature vector (which may be referred to as a second sub-feature vector), and perform mapping processing on the browsing information of the historical video to obtain a corresponding feature vector (which may be referred to as a third sub-feature vector).
[0103] For each two historical videos, the electronic device may calculate the similarity between the first sub-feature vectors corresponding to the two historical videos (which may be referred to as the first similarity), calculate the similarity between the second sub-feature vectors corresponding to the two historical videos (which may be referred to as the second similarity), and calculate the similarity between the third sub-feature vectors corresponding to the two historical videos (which may be referred to as the third similarity). The electronic device may calculate the weighted sum of the first similarity, the second similarity, and the third similarity to obtain the similarity between the two historical videos.
[0104] Then, the electronic device can cluster each historical video based on the similarity between each two historical videos to obtain multiple video groups. For example, the electronic device can cluster each historical video based on the similarity between each two historical videos and the K-means algorithm to obtain multiple video groups.
[0105] The electronic device can also map the first video feature information of the video to be played based on the word2vec algorithm to obtain a corresponding feature vector (which can be called a second feature vector). Furthermore, for each video group, the electronic device can calculate the similarity between the first feature vector and the second feature vector of the specified historical video in the video group to obtain the similarity between the video group and the video to be played. The specified historical video in a video group can be a historical video represented by the cluster center of the video group, or it can be any historical video in the video group.
[0106] The electronic device may determine a historical video in a video group that has the greatest similarity to the video to be played as a target historical video associated with the video to be played.
[0107] Method 3:
[0108] The electronic device can calculate the similarity between each two historical videos, and the similarity between the video to be played and each historical video, and cluster the historical videos and the videos to be played based on the calculated similarity to obtain multiple video groups. The electronic device can refer to the relevant introduction in the embodiment of the second method for calculating the similarity between videos.
[0109] Then, the electronic device may determine the video group to which the to-be-played video belongs, and determine a historical video in the video group to which the to-be-played video belongs as a target historical video associated with the to-be-played video.
[0110] For step S103, after determining the target historical video, the electronic device can calculate the sum of the browsing time of the target user browsing each target historical video, obtain the total browsing time of the target user browsing the target historical videos, and determine the target number of delivery based on the total browsing time corresponding to the target historical video. The longer the total browsing time, the greater the corresponding target number of delivery.
[0111] The longer the total browsing time corresponding to the target historical video, the higher the target user's interest in the target historical video, and the video to be played is associated with the target historical video, and the target user's interest in the video to be played is also higher. Correspondingly, for the video to be played in which the target user has a higher degree of interest, the target user browses the video to be played for a longer time, that is, the time that can be used for advertising delivery is longer, and the corresponding number of advertising delivery times is greater.
[0112] In one embodiment of the present invention, Figure 1 Based on Figure 3 , step S103 may include the following steps:
[0113] S1031: From the preset time intervals, determine the preset time interval to which the total browsing time corresponding to the target historical video belongs, as the target time interval.
[0114] S1032: In the correspondence between the preset duration interval and the delivery times, the delivery times corresponding to the target duration interval are determined, and the number of times the advertisement is played when the video to be played is obtained as the target delivery times.
[0115] Among them, the duration included in the preset duration interval in the above corresponding relationship is positively correlated with the number of delivery times.
[0116] For example, see Table 1, which is a table of the correspondence between preset duration intervals and delivery times. If the total browsing time corresponding to the target historical video is 100 minutes, the target duration interval to which the total browsing time corresponding to the target historical video belongs is (90, 120]. In the correspondence between the preset duration interval and the delivery times, the delivery times corresponding to the target duration interval (i.e., (90, 120]) is 3, then it can be determined that the target delivery times for playing advertisements when playing the video to be played is 3, that is, the advertisement is played 3 times during the playing of the video to be played.
[0117] Table 1
[0118] Preset duration interval (minutes) Number of delivery times (0,30] 0 (30,60] 1 (60,90] 2 (90,120] 3
[0119] Based on the above processing, when the target user is a non-member user and the total browsing time corresponding to the target historical video is long, the target delivery times determined based on the total browsing time corresponding to the target historical video is also large, that is, when the non-member user browses the video, the number of advertisements played is large. When the number of advertisements played is large, the non-member user may upgrade to a member user to reduce the number of advertisements played, that is, the non-member can be upgraded to a member user, thereby improving the conversion rate of member users.
[0120] With respect to step S104, after determining the target number of times to play the advertisement when playing the video to be played, the electronic device may also determine the advertisement type (ie, target advertisement type) of the advertisement played when playing the video to be played based on user characteristic information of the target user.
[0121] In one embodiment of the present invention, the user characteristic information of the target user includes at least one of the following:
[0122] Basic personal information: Basic personal information may include: gender, age and occupation of the target user.
[0123] The interest information includes: the target user's interest tags and the feature information of the videos of interest; the feature information of the videos of interest to the target user is determined based on the browsing behavior information of the target user browsing videos. The target user's interest tags are set when the target user logs into the electronic device for the first time. For example, the target user's interest tags may include: movies, travel, and games.
[0124] Browsing behavior information, which includes: the target user's like behavior information, comment behavior information, and forwarding behavior information when browsing videos.
[0125] The electronic device may determine the video feature information that the target user is interested in based on the target user's browsing behavior information of browsing videos, for example, from the video feature information of each video liked by the target user, determine the same video feature information as the video feature information that the target user is interested in. Alternatively, from the video feature information of each video forwarded by the target user, determine the same video feature information as the video feature information that the target user is interested in.
[0126] Preset advertisement types may include: beauty product advertisements, travel product advertisements, daily necessities advertisements, movie advertisements, game application advertisements, reading application advertisements, etc.
[0127] The electronic device may determine the target advertisement type of the advertisement delivered when playing the video to be played in the following manner.
[0128] Method 1:
[0129] For each preset advertising type, the electronic device can determine whether there is user characteristic information corresponding to the preset advertising type in the user characteristic information of the target user. If so, the electronic device can determine that the preset advertising type has a high degree of similarity with the user characteristic information of the target user, and determine that the preset advertising type is the target advertising type.
[0130] Exemplarily, the preset advertisement types may include: beauty product advertisements, travel product advertisements, daily necessities advertisements, movie advertisements, game application advertisements, reading application advertisements, etc. User characteristic information of the target user includes: female, 26 years old, interest tag: travel, and characteristic information of the video of interest: beauty product evaluation.
[0131] If the user characteristic information of the target user includes user characteristic information corresponding to the travel products advertisement (i.e., interest tag: travel), and user characteristic information corresponding to the beauty products advertisement (i.e., characteristic information of the video of interest: beauty products review), it can be determined that the beauty products advertisement and the travel products advertisement have a high degree of similarity with the user characteristic information of the target user, and the beauty products advertisement and the travel products advertisement are determined to be the target advertisement types to be placed when playing the video to be played.
[0132] Method 2:
[0133] For each preset advertisement type, the electronic device may map the preset advertisement type based on the word2vec algorithm to obtain a corresponding feature vector (which may be referred to as a third feature vector). The electronic device may also map the user feature information of the target user based on the word2vec algorithm to obtain a corresponding feature vector (which may be referred to as a fourth feature vector).
[0134] Then, the electronic device may calculate the similarity between the fourth feature vector and the third feature vector of each preset advertisement type as the similarity between the user characteristic information of the target user and the preset advertisement type. Furthermore, the electronic device may determine, from the preset advertisement types, a preset advertisement type with a greater similarity to the user characteristic information of the target user as the target advertisement type. For example, the first preset number of preset advertisement types may be determined from the preset advertisement types in descending order of the corresponding similarities as the target advertisement type.
[0135] In one embodiment of the present invention, Figure 1 Based on Figure 4 , step S105 may include the following steps:
[0136] S1051: Calculate the ratio of the duration of the video to be played to the target number of delivery times to obtain the time interval for playing advertisements when playing the video to be played.
[0137] S1052: Determine an advertisement placement position in the video to be played based on the determined time interval and the duration of the video to be played.
[0138] S1053: During the process of playing the video to be played, when the video to be played reaches the advertisement placement position, an advertisement of the target advertisement type is played.
[0139] When the target delivery times are multiple times, the advertisement played each time may be the same advertisement, or the advertisement played each time may be an advertisement of a different target advertisement type.
[0140] For example, the duration of the video to be played is 120 minutes, and the target number of delivery times is 3, then the time interval between playing advertisements is 40 minutes, that is, there is a 40-minute interval between every two advertisements.
[0141] Accordingly, the electronic device can determine that the 0th minute of the video to be played, the 40th minute of the video to be played, and the 80th minute of the video to be played are the advertising placement positions. Furthermore, the electronic device can play an advertisement of the target advertisement type before playing the video to be played, and when the video to be played reaches the 40th minute, pause the video to be played and play an advertisement of the target advertisement type, and when the video to be played reaches the 80th minute, pause the video to be played and play an advertisement of the target advertisement type.
[0142] See also Figure 5 , Figure 5 The present invention is a flowchart of another method for delivering advertisements provided in an embodiment of the present invention.
[0143] When a user watches a video through the client, for each user, the client can record the video playing record of the user and upload the playing record, that is, upload the playing record of the user to the server.
[0144] For example, see Table 2, which is a video playback record table provided by an embodiment of the present invention.
[0145] Table 2
[0146] View User ID Video ID Upload User ID Playing time (minutes) 001 1001 A 30 002 1002 B 40 003 1003 none 30
[0147] The above play record indicates that user 001 watched video 1001, the play time of video 1001 was 30 minutes, and the uploader of video 1001 was user A. User 002 watched video 1002, the play time of video 1002 was 40 minutes, and the uploader of video 1002 was user B. User 003 watched video 1003, and the play time of video 1003 was 30 minutes.
[0148] The server can collect the user's playback behavior based on the user's playback record. Furthermore, based on the user's playback behavior, the historical videos that the user has watched are grouped to obtain multiple video groups, and the playback time corresponding to each video group is calculated, that is, the total browsing time of the historical videos in the video group that the user has browsed is calculated to obtain the user's corresponding playback time record.
[0149] For example, see Table 3, which is a play duration record table provided in an embodiment of the present invention.
[0150] Table 3
[0151] View User ID Video Group Playing time (minutes) 001 TV series A 70 001 Upload User B 100
[0152] The above play time record indicates that the total browsing time of user 001 for watching the videos included in TV series A is 70 minutes, and the total browsing time of user 001 for watching the videos uploaded by user B is 100 minutes.
[0153] The technicians can configure the advertising delivery strategy in advance on the server and generate an advertising delivery strategy interface. That is, the technicians configure the corresponding relationship between the preset time interval and the delivery number, as well as the preset advertisement type in advance on the server, and set up an interface for calling the electronic device to obtain the corresponding relationship between the preset time interval and the delivery number, as well as the preset advertisement type.
[0154] Upon receiving a play instruction from the target user for the video to be played, the server calls the advertising delivery strategy interface to obtain the corresponding relationship between the preset duration interval and the number of delivery times, as well as the preset advertising type. Furthermore, the server can determine the corresponding target advertising type based on the playback record of the target user, that is, determine the target advertising type based on the user characteristic information of the target user. The server can also determine the target historical video browsed by the target user based on the second video characteristic information of the video to be played and the first video characteristic information of the historical video that the target user has browsed, and determine the target delivery times based on the total browsing time of the target historical video, and use the target delivery times and the target advertising type as the advertising delivery strategy corresponding to the target user, and send the advertising delivery strategy corresponding to the target user to the client. After the client receives the advertising delivery strategy corresponding to the target user, when playing the video to be played, it plays the advertisement of the target advertising type according to the target delivery times.
[0155] Based on the above processing, the number of times advertisements are delivered can be dynamically adjusted based on the target user's interest in the video to be played, and advertisements can be delivered in a targeted manner when the video to be played is played for the target user, thereby enriching the methods of advertisement delivery, and delivering advertisements that the target user may be interested in. The delivered advertisements meet user needs and can improve user experience.
[0156] and Figure 1 Corresponding to the method embodiment of Figure 6 , Figure 6 This is a structural diagram of an advertisement delivery device provided in an embodiment of the present invention, wherein the device comprises:
[0157] The acquisition module 601 is used to acquire video feature information of each historical video that the target user has browsed in the historical time period as the first video feature information, and acquire video feature information of the video to be played indicated by the target user as the second video feature information;
[0158] A first determination module 602 is used to determine, from various historical videos, a historical video associated with the video to be played as a target historical video based on the similarity between the first video feature information and the second video feature information;
[0159] The second determination module 603 is used to determine the number of times to play the advertisement when playing the to-be-played video based on the total browsing time of the target user browsing the target historical video, as the target delivery number;
[0160] A third determination module 604 is used to determine the advertisement type of the advertisement played when playing the to-be-played video based on the similarity between the user characteristic information of the target user and the preset advertisement type as the target advertisement type;
[0161] The playing module 605 is used to play the advertisement of the target advertisement type according to the target delivery number when playing the video to be played.
[0162] Optionally, the first determination module 602 is specifically configured to calculate, for each two historical videos, the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos;
[0163] Based on the similarity between the historical videos, clustering the historical videos to obtain multiple video groups; wherein the similarity between the historical videos included in a video group is greater than a preset threshold;
[0164] Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, a historical video in the video group associated with the video to be played is determined as a target historical video.
[0165] Optionally, the second determination module 603 is specifically configured to determine, from among the preset time intervals, a preset time interval to which the total browsing time corresponding to the target historical video belongs, as the target time interval;
[0166] In the correspondence between the preset duration interval and the number of delivery times, the number of delivery times corresponding to the target duration interval is determined, and the number of times the advertisement is played when playing the video to be played is obtained as the target number of delivery times; wherein the duration contained in the preset duration interval in the correspondence is positively correlated with the number of delivery times.
[0167] Optionally, the playing module 605 is specifically used to calculate the ratio of the duration of the video to be played to the target number of delivery times, and obtain the time interval for playing advertisements when playing the video to be played;
[0168] Determining an advertisement placement position in the video to be played based on the determined time interval and the duration of the video to be played;
[0169] During the process of playing the video to be played, when the video to be played reaches the advertisement delivery position, the advertisement of the target advertisement type is played.
[0170] Optionally, the video feature information of a video includes at least one of the following:
[0171] The video type label of the video;
[0172] Production information of the video, including: the release time of the video, the identifier of the device that generated the video, and the identifier of the user who uploaded the video;
[0173] Browsing information of the video, including: the total number of views and ratings of the video;
[0174] The user characteristic information includes at least one of the following:
[0175] Basic personal information, including: gender, age and occupation of the target user;
[0176] Interest information, the interest information including: interest tags and feature information of videos of interest to the target user; the feature information of videos of interest to the target user is determined based on browsing behavior information of the target user browsing videos;
[0177] Browsing behavior information, the browsing behavior information includes: like behavior information, comment behavior information and forwarding behavior information of the target user when browsing videos.
[0178] Based on the advertising delivery device provided by the embodiment of the present invention, the total browsing time of the target user browsing the target historical video can represent the target user's interest in the target historical video. The target historical video is a video associated with the video to be played, and the target user's interest in the target historical video is similar to the interest in the video to be played. The target delivery times are determined based on the total browsing time corresponding to the target historical video, that is, the target delivery times are determined based on the target user's interest in the video to be played. And the target advertisement type determined based on the user characteristic information is the advertisement type that the target user may be interested in. Furthermore, when the user browses the video to be played, the advertisement of the target advertisement type is played according to the target delivery times, that is, the number of advertisements delivered can be dynamically adjusted based on the target user's interest in the video to be played, and advertisements that the target user may be interested in can be delivered, that is, advertisements can be delivered in a targeted manner when the user browses the video, enriching the way of advertisement delivery.
[0179] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, including:
[0180] at least one processor 701; and
[0181] A memory 702 that is communicatively connected to the at least one processor 701; wherein,
[0182] The memory 702 stores instructions that can be executed by the at least one processor 701, and the instructions are executed by the at least one processor 701 to enable the at least one processor 701 to perform the following steps:
[0183] Acquire video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and acquire video feature information of the video to be played indicated by the target user as second video feature information;
[0184] Based on the similarity between the first video feature information and the second video feature information, determining a historical video associated with the video to be played from each historical video as a target historical video;
[0185] Based on the total browsing time of the target user browsing the target historical video, determining the number of times the advertisement is played when the video to be played is played as the target delivery number;
[0186] Based on the similarity between the user characteristic information of the target user and the preset advertisement type, determining the advertisement type of the advertisement played when the to-be-played video is played as the target advertisement type;
[0187] When playing the video to be played, an advertisement of the target advertisement type is played according to the target delivery number of times.
[0188] In one embodiment of the present invention, the electronic device further includes: a communication bus and a communication interface.
[0189] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0190] The communication interface is used for communication between the above electronic device and other devices.
[0191] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0192] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0193] Based on the electronic device provided by the embodiment of the present invention, the total browsing time of the target user browsing the target historical video can represent the target user's interest in the target historical video. The target historical video is a video associated with the video to be played, and the target user's interest in the target historical video is similar to the interest in the video to be played. The target number of delivery times is determined based on the total browsing time corresponding to the target historical video, that is, the target number of delivery times is determined based on the target user's interest in the video to be played. And the target advertisement type determined based on the user characteristic information is the advertisement type that the target user may be interested in. Furthermore, when the user browses the video to be played, the advertisement of the target advertisement type is played according to the target number of delivery times, that is, the number of delivery advertisements can be dynamically adjusted based on the target user's interest in the video to be played, and advertisements that the target user may be interested in can be delivered, that is, advertisements can be delivered in a targeted manner when the user browses the video, enriching the way of advertisement delivery.
[0194] In another embodiment provided by the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any of the advertising delivery methods described in the above embodiments.
[0195] In another embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the advertising delivery method described in any one of the above embodiments is implemented.
[0196] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0197] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0198] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0199] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. An advertisement delivery method, characterized in that: The method comprises: Acquire video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and acquire video feature information of the video to be played indicated by the target user as second video feature information; Based on the similarity between the first video feature information and the second video feature information, determining a historical video associated with the video to be played from each historical video as a target historical video; Based on the total browsing time of the target user browsing the target historical video, determining the number of times the advertisement is played when the video to be played is played as the target delivery number; there is a positive correlation between the total browsing time and the target delivery number; Based on the similarity between the user characteristic information of the target user and the preset advertisement type, determining the advertisement type of the advertisement played when the to-be-played video is played as the target advertisement type; When playing the video to be played, an advertisement of the target advertisement type is played according to the target delivery number of times.
2. The method according to claim 1, characterized in that The determining, based on the similarity between the first video feature information and the second video feature information, a historical video associated with the to-be-played video from each historical video as a target historical video includes: For every two historical videos, calculating the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos; Based on the similarity between the historical videos, clustering the historical videos to obtain multiple video groups; wherein the similarity between the historical videos included in a video group is greater than a preset threshold; Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, a historical video in the video group associated with the video to be played is determined as a target historical video.
3. The method according to claim 1, characterized in that: The determining, based on the total browsing time of the target user browsing the target historical video, the number of times of playing the advertisement when playing the to-be-played video as the target number of delivery times includes: From each preset duration interval, determine the preset duration interval to which the total browsing duration corresponding to the target historical video belongs as the target duration interval; In the correspondence between the preset duration interval and the number of delivery times, the number of delivery times corresponding to the target duration interval is determined, and the number of times the advertisement is played when playing the video to be played is obtained as the target number of delivery times; wherein the duration contained in the preset duration interval in the correspondence is positively correlated with the number of delivery times.
4. The method according to claim 1, characterized in that: The step of playing the target advertisement type according to the target delivery times when playing the video to be played includes: Calculating the ratio of the duration of the video to be played to the target number of delivery times to obtain a time interval for playing advertisements when playing the video to be played; Determining an advertisement placement position in the video to be played based on the determined time interval and the duration of the video to be played; During the process of playing the video to be played, when the video to be played reaches the advertisement delivery position, the advertisement of the target advertisement type is played.
5. The method according to claim 1, characterized in that The video feature information of a video includes at least one of the following: The video type label of the video; Production information of the video, including: the release time of the video, the identifier of the device that generated the video, and the identifier of the user who uploaded the video; Browsing information of the video, including: the total number of views and ratings of the video; The user characteristic information includes at least one of the following: Basic personal information, including: gender, age and occupation of the target user; Interest information, the interest information including: interest tags and feature information of videos of interest to the target user; the feature information of videos of interest to the target user is determined based on browsing behavior information of the target user browsing videos; Browsing behavior information, the browsing behavior information includes: like behavior information, comment behavior information and forwarding behavior information of the target user when browsing videos.
6. An advertisement delivery device, characterized in that: The device comprises: An acquisition module, used to acquire video feature information of each historical video that the target user has browsed in the historical time period as first video feature information, and to acquire video feature information of the video to be played indicated by the target user as second video feature information; A first determination module, configured to determine, from various historical videos, a historical video associated with the video to be played as a target historical video based on the similarity between the first video feature information and the second video feature information; A second determination module is used to determine the number of times the advertisement is played when the to-be-played video is played based on the total browsing time of the target user browsing the target historical video, as the target number of delivery times; there is a positive correlation between the total browsing time and the target number of delivery times; A third determination module is used to determine the advertisement type of the advertisement played when playing the to-be-played video based on the similarity between the user characteristic information of the target user and the preset advertisement type as the target advertisement type; The playing module is used to play the advertisement of the target advertisement type according to the target delivery number when playing the video to be played.
7. The device according to claim 6, characterized in that The first determination module is specifically configured to calculate, for each two historical videos, the similarity between the first video feature information of the two historical videos as the similarity between the two historical videos; Based on the similarity between the historical videos, clustering the historical videos to obtain multiple video groups; wherein the similarity between the historical videos included in a video group is greater than a preset threshold; Based on the similarity between the second video feature information and the first video feature information of the historical videos in each video group, a historical video in the video group associated with the video to be played is determined as a target historical video.
8. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
9. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.
