Propaganda resource pushing method and device, electronic equipment and computer readable storage medium
By pushing personalized publicity resources based on the number of episodes of users, the problem that posters in the existing technology cannot increase the viewing rate of TV series is solved, and a higher viewing rate is achieved.
Patent Information
- Application Number
- CN202510480822.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-07-25
AI Technical Summary
The prior art does not consider whether the user watches the TV series when pushing the TV series poster, resulting in the poster being unable to effectively increase the viewing rate.
Push the target publicity resources based on the number of viewing episodes in the user account. By obtaining the user's movie viewing behavior data, generate publicity resources corresponding to the target episodes and push them to the user account.
The viewing rate of target film and television resources has been improved, and users have been attracted to continue watching through personalized publicity resources.
Smart Images

Figure CN120378695A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of content recommendation, and in particular to a method, device, electronic device and computer-readable storage medium for pushing publicity resources. Background Art
[0002] The posters of completed TV dramas are usually fixed, and the platform will push the fixed posters to users. For TV dramas that are being updated, the posters may be updated regularly, and the latest posters will be pushed to users to increase the viewing rate of the TV drama. However, whether it is pushing fixed posters or the latest posters, it does not consider whether the user watches the TV drama. Therefore, the pushed posters may not attract users to watch the TV drama and cannot increase the viewing rate of the TV drama. Summary of the Invention
[0003] The embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for pushing publicity resources, which can push corresponding publicity resources according to the number of watched episodes of a user account, thereby increasing the viewing rate of the target film and television resource.
[0004] In a first aspect, the embodiments of the present application provide a method for pushing publicity resources, including:
[0005] Obtaining the target number of episodes of the target film and television resource that the user account has recently watched; the target film and television resource is divided into multiple episodes of film and television resources, and each episode of the film and television resource corresponds to one or more publicity resources;
[0006] Obtaining the target publicity resources corresponding to the film and television resources of the target number of episodes; the target publicity resources are: generated according to the content of the film and television resources of the target number of episodes;
[0007] Pushing the target publicity resources to the user account.
[0008] In one of the embodiments, before obtaining the target number of episodes of the target film and television resource that the user account has recently watched, the method further includes:
[0009] Obtaining the viewing behavior data uploaded by the user account;
[0010] Preprocessing the viewing behavior data to obtain the target number of episodes of the target film and television resource that the user account has recently watched;
[0011] Correspondingly saving the user account and the target number of episodes to a database;
[0012] The obtaining of the target number of episodes of the target film and television resource that the user account has recently watched includes:
[0013] Obtaining the target number of episodes corresponding to the user account from the database.
[0014] In one embodiment, the preprocessing of the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently viewed includes:
[0015] Preprocessing the viewing behavior data in real time to obtain the target episode number of the target video resource that the user account has most recently viewed;
[0016] The corresponding storage of the user account and the target episode number in the database includes:
[0017] Correspondingly storing the user account and the target episode number in a high-performance database in a hash structure.
[0018] In one embodiment, the obtaining of the target promotional resources corresponding to the video resources of the target episode number includes:
[0019] Obtaining the correspondence between the episode number of the target video resource and the promotional resources;
[0020] Determining the target promotional resources corresponding to the target episode number according to the correspondence between the episode number of the target video resource and the promotional resources;
[0021] Obtaining the target promotional resources from the database.
[0022] In one embodiment, before obtaining the target promotional resources from the database, the method further includes:
[0023] Generating one or more promotional resources corresponding to each of multiple episodes of the target video resource;
[0024] Generating the correspondence between the episode number of the target video resource and the promotional resources according to one or more promotional resources corresponding to each of multiple episodes of the video resources;
[0025] Saving the correspondence between the episode number of the target video resource and the promotional resources;
[0026] Saving the promotional resources to the database.
[0027] In one embodiment, when there are multiple target video resources, the generating of one or more promotional resources corresponding to each of multiple episodes of the target video resource includes:
[0028] Determining the priority of each of the multiple target video resources according to the popularity of each of the multiple target video resources;
[0029] Sequentially generate one or more of the publicity resources corresponding to each of the multiple episodes of the target video resource in order from highest to lowest according to the said priority.
[0030] In one embodiment, generating one or more of the publicity resources corresponding to each of the multiple episodes of the target video resource includes:
[0031] Divide the video resources of some or all of the episodes in the target video resource into multiple sets according to the content of each of the video resources of some or all of the episodes;
[0032] Generate one or more of the publicity resources for each of the said sets;
[0033] Determine the one or more publicity resources corresponding to the set as the one or more publicity resources corresponding to each episode of the video resources in the set.
[0034] In a second aspect, an embodiment of the present application provides a method for pushing publicity resources, which is applied to a terminal. The method includes:
[0035] Upload the viewing behavior data of the user account for the target video resource to the server; the target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more publicity resources;
[0036] Obtain the target publicity resources pushed by the server; the target publicity resources are: determine the target episode number of the target video resource that the user account has watched most recently according to the viewing behavior data; and obtain the publicity resources according to the target episode number; the target publicity resources are: generated according to the content of the video resources of the target episode number;
[0037] Display the target publicity resources.
[0038] In a third aspect, an embodiment of the present application provides a device for pushing publicity resources, including:
[0039] An episode number acquisition module, configured to acquire the target episode number of the target video resource that the user account has watched most recently; the target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more publicity resources;
[0040] A resource acquisition module, configured to acquire the target publicity resources corresponding to the video resources of the target episode number; the target publicity resources are: generated according to the content of the video resources of the target episode number;
[0041] A push module, configured to push the target publicity resources to the user account.
[0042] In one embodiment, before obtaining the target episode number of the target video resource that the user account has most recently viewed, the device further includes:
[0043] A data acquisition module, configured to acquire the viewing behavior data uploaded by the user account;
[0044] A preprocessing module, configured to preprocess the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently viewed;
[0045] An episode number storage module, configured to correspondingly store the user account and the target episode number in a database;
[0046] The episode number acquisition module includes:
[0047] An episode number acquisition unit, configured to acquire the target episode number corresponding to the user account from the database.
[0048] In one embodiment, the preprocessing module includes:
[0049] A preprocessing unit, configured to preprocess the viewing behavior data in real time to obtain the target episode number of the target video resource that the user account has most recently viewed;
[0050] The episode number storage module includes:
[0051] An episode number storage unit, configured to correspondingly store the user account and the target episode number in a high-performance database in a hash structure.
[0052] In one embodiment, the resource acquisition module includes:
[0053] A relationship acquisition unit, configured to acquire the correspondence between the episode numbers of the target video resource and the promotional resources;
[0054] A resource determination unit, configured to determine the target promotional resource corresponding to the target episode number according to the correspondence between the episode numbers of the target video resource and the promotional resources;
[0055] A resource acquisition unit, configured to acquire the target promotional resource from the database.
[0056] In one embodiment, before acquiring the target promotional resource from the database, the device further includes:
[0057] A resource generation module, configured to generate one or more promotional resources respectively corresponding to multiple episodes of the target video resource for the multiple episodes of the video resource;
[0058] A relationship generation module, configured to generate a correspondence between the number of episodes of the target video resource and the promotional resources according to one or more of the promotional resources respectively corresponding to the multi-set of the video resources;
[0059] A relationship storage module, configured to store the correspondence between the number of episodes of the target video resource and the promotional resources;
[0060] A resource storage module, configured to store the promotional resources in the database.
[0061] In one embodiment, when there are multiple target video resources, the resource generation module includes:
[0062] A priority determination unit, configured to determine the priorities of the multiple target video resources according to the popularity of each of the multiple target video resources;
[0063] A first resource generation unit, configured to sequentially generate one or more of the promotional resources respectively corresponding to the multi-set of the video resources of the target video resource in descending order of the priority.
[0064] In one embodiment, the resource generation module includes:
[0065] A set partitioning unit, configured to divide the video resources of some or all of the episodes of the target video resource into multiple sets according to the content of the video resources of some or all of the episodes of the target video resource;
[0066] A second resource generation unit, configured to generate one or more of the promotional resources for each set;
[0067] A resource determination unit, configured to determine one or more of the promotional resources corresponding to the set as one or more of the promotional resources corresponding to each episode of the video resources in the set.
[0068] Fourthly, an embodiment of the present application provides a promotional resource push device, which is applied to a terminal. The device includes:
[0069] An upload module, configured to upload the viewing behavior data of the user account for the target video resource to the server; the target video resource is divided into multi-set video resources, and each episode of the video resource corresponds to one or more promotional resources;
[0070] A target acquisition module, configured to acquire the target promotional resources pushed by the server; the target promotional resources are: determining the target episode number of the target video resource that the user account has watched most recently according to the viewing behavior data; and acquiring the promotional resources according to the target episode number; the target promotional resources are: generated according to the content of the video resources of the target episode number;
[0071] A display module for displaying the target promotional resource.
[0072] In a fifth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above-mentioned method for pushing promotional resources are implemented.
[0073] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method for pushing promotional resources are implemented.
[0074] In a seventh aspect, an embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various alternative implementation manners of the embodiment of the present application.
[0075] In summary, in the embodiment of the present application, the target set number of the target video resource that the user account has most recently viewed can be used to push the target promotional resource corresponding to the target set number to the user account. In this way, the viewing set number of the user account for the target video resource is considered, and the target promotional resource is generated based on the content of the video resource of the target set number. Therefore, the target promotional resource can more effectively attract the user account to view the target video resource, thereby increasing the viewing rate of the target video resource. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] In order to more clearly illustrate the technical solutions in the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0077] Figure 1 It is a schematic diagram of the steps of a method for pushing promotional resources provided by an embodiment of the present application;
[0078] Figure 2 It is a flowchart of a method for pushing promotional resources provided by an embodiment of the present application;
[0079] Figure 3 It is a schematic diagram of the steps of another method for pushing promotional resources provided by an embodiment of the present application;
[0080] Figure 4It is a schematic structural diagram of a promotion resource push device provided by an embodiment of the present application;
[0081] Figure 5 It is a schematic structural diagram of another promotion resource push device provided by an embodiment of the present application;
[0082] Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0083] Next, the technical solutions in the present application will be clearly and completely described in conjunction with the accompanying drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0084] In one embodiment, as Figure 1 shown, a method for pushing promotion resources is provided. Although the logical order is shown in the step schematic diagram, in some cases, the steps shown or described can be executed in an order different from that shown in the drawings. Specifically, the method for pushing promotion resources can be applied to a server, where the server can be a physical server or a cloud server providing various cloud services. It should be noted that the present application does not limit the number of terminals or servers. According to the implementation requirements, there can be any number of terminals or servers. For example, the server can be a single server or a server cluster composed of multiple servers, etc.
[0085] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the priority order of the embodiments.
[0086] According to Figure 1 the method for pushing promotion resources shown, the method at least includes steps S110 to S130, which are introduced in detail as follows:
[0087] In step S110, obtain the target episode number of the target video resource that the user account has recently viewed.
[0088] The target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more promotion resources.
[0089] The target video resource can be a TV series, variety show, documentary, etc. The target video resource can be divided into multiple episodes. It can be understood that the "episode" in the embodiments of the present application is a broad concept and can also refer to concepts such as "issue" and "season" that clearly divide video resources.
[0090] Promotional resources refer to resources used for promoting video resources, which may include, but are not limited to, posters, gifs, and / or short videos.
[0091] The user logs in to the user account on the terminal and watches the target video resource on the terminal. When the viewing meets the conditions, the terminal can upload viewing behavior data. According to the viewing behavior data, the target episode number of the target video resource that the user account has most recently watched can be determined. Optionally, the viewing meeting the conditions can be that the viewing reaches a preset duration. Among them, the terminal uploading the viewing behavior data can be performed when the playback of the target video resource ends.
[0092] According to the viewing behavior data uploaded by the user account, the target episode number of the target video resource that the user account has most recently watched can be determined. For example, if the viewing behavior data indicates that the user account has watched episode 4 and episode 5, then the target episode number that the user account has most recently watched is episode 5.
[0093] In one embodiment, in order to improve the efficiency of pushing the target promotional resources to the user account, the target episode number of the target video resource that the user account has most recently watched can be determined in advance according to the viewing behavior data corresponding to the user account, and the user account and the target episode number can be stored in correspondence, so that when it is necessary to push the target promotional resources to the user account, the target episode number corresponding to the user account stored in advance can be directly obtained.
[0094] In another embodiment, when it is necessary to push the target promotional resources to the user account, the viewing behavior data corresponding to the user account can be processed to obtain the target episode number, so as to save the storage space for storing the target episode number.
[0095] In step S120, obtain the target promotional resources corresponding to the video resources of the target episode number.
[0096] The target promotional resources are: generated according to the content of the video resources of the target episode number.
[0097] In one embodiment, the target promotional resources can be generated by a computer according to the content of the video resources of the target episode number. For example, the computer can identify the highlight moments in the video resources of the target episode number and generate the target promotional resources according to the video clips of the highlight moments. Optionally, the highlight moments can be determined by analyzing the video resources based on technologies such as natural language processing, computer vision, and audio analysis. The highlight moments can also be the moments when the number of bullet screens exceeds the number threshold.
[0098] For example, if the highlight moment in the video resource of the target episode is the video clip from the 5th to the 10th second, a short video can be generated based on the video clip from the 5th to the 10th second as a promotional resource; or key video frames can be extracted from the video clip from the 5th to the 10th second, and image processing can be performed on the key video frames to obtain a poster as a promotional resource. The image processing can be to process the key video frames according to a preset template, or to input the key video frames into an AI painting tool for processing.
[0099] Among them, the target promotional resource generated by the computer according to the content of the video resource of the target episode can be carried out when it is necessary to push the target promotional resource to the user account, or can be pre-generated by the computer and saved in the database.
[0100] In another embodiment, the target promotional resource can be pre-designed and produced by relevant personnel according to the content of the video resource of the target episode, and the produced target promotional resource can be saved in the database.
[0101] In step S130, the target promotional resource is pushed to the user account.
[0102] When the user account triggers the push condition, the target promotional resource is pushed to the user account to display the target promotional resource to the user account. The push condition can include but is not limited to: the user account opens the playback application where the target video resource is located.
[0103] When the user account clicks on the displayed target promotional resource, it can directly enter the playback page of the target video resource and can directly continue watching the target video resource from the historical viewing progress.
[0104] By adopting the technical solution of the embodiment of the present application, the target episode of the target video resource that the user account has recently watched can be determined, and thus the target promotional resource corresponding to the target episode is pushed to the user account; in this way, the viewing episode of the user account for the target video resource is considered, and the target promotional resource is generated according to the content of the video resource of the target episode, so the target promotional resource can better attract the user account to watch the target video resource, thereby improving the viewing rate of the target video resource.
[0105] Figure 2 It is a schematic flowchart of the method for pushing promotional resources provided by an embodiment of the present application. On the basis of the above technical solution, as an embodiment, such as Figure 2As shown, before obtaining the target episode number of the target video resource that the user account has most recently watched, the method may further include: obtaining the viewing behavior data uploaded by the user account; preprocessing the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently watched; and correspondingly saving the user account and the target episode number to a database. The obtaining of the target episode number of the target video resource that the user account has most recently watched may include: obtaining the target episode number corresponding to the user account from the database.
[0106] The viewing behavior data uploaded by the user account may be obtained in advance. The viewing behavior data includes multiple data reflecting the viewing behavior, preferences, and related features of the user account. For example, the viewing behavior data may include the start viewing time, end viewing time of the user account, and information about the video resource being watched, etc.
[0107] By preprocessing the viewing behavior data, the target episode number of the target video resource that the user account has most recently watched can be obtained. The preprocessing includes data cleaning and analysis of the viewing behavior data. By performing data cleaning on the viewing behavior data, abnormal information can be removed and missing information can be completed. By analyzing the viewing behavior data, the target episode number that the user account has most recently watched can be determined.
[0108] For example, if the viewing behavior data indicates that the user account ended viewing at the 10th minute of the 5th episode, by analyzing the viewing behavior data, it can be determined that the user account has most recently watched the 5th episode.
[0109] By correspondingly saving the user account and the target episode number to the database, when it is necessary to obtain the target episode number of the target video resource that the user account has most recently watched, the user account can be directly queried from the database, and the target episode number corresponding to the user account can be obtained.
[0110] By adopting the technical solution of the embodiment of the present application, the target episode number corresponding to the user account is obtained by preprocessing the viewing behavior data in advance, and the user account and the target episode number are correspondingly saved to the database. When it is necessary to push the target promotional resource to the user account, the target episode number that the user account has most recently watched can be directly obtained from the database, thereby improving the efficiency of pushing the target promotional resource to the user account.
[0111] Based on the above technical solutions, as an embodiment, the preprocessing of the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently viewed may include: real-time preprocessing of the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently viewed. The corresponding storage of the user account and the target episode number in the database may include: storing the user account and the target episode number in a high-performance database in a hash structure.
[0112] After obtaining the viewing behavior data uploaded by the user account, the viewing behavior data can be preprocessed in real time to quickly obtain the target episode number of the target video resource that the user account has most recently viewed.
[0113] To improve the efficiency of obtaining the target episode number of the target video resource that the user account has most recently viewed, the database for storing the user account and the target episode number can be a high-performance database; optionally, it can be a Redis database (a high-performance database). The high-performance database has a relatively powerful indexing function, supports parallel queries, and can achieve efficient data writing and updating. Therefore, using a high-performance database to store the user account and the target episode number can improve the efficiency of obtaining the target episode number of the target video resource that the user account has most recently viewed.
[0114] The user account and the target episode number can be stored in the high-performance database in a hash structure. The hash structure can store the user account as the key and the target episode number as the value. When it is necessary to obtain the target episode number corresponding to the user account, the hash structure can quickly locate it without traversing the entire data set, thereby greatly improving the speed of obtaining the target episode number corresponding to the user account. In addition, the hash structure supports efficient insertion and deletion of data. Since the target episode number corresponding to the user account may often change, the hash structure can quickly insert the latest target episode number and delete the no-longer-valid target episode number, thereby promptly responding to data changes and maintaining the validity of real-time data.
[0115] Adopting the technical solutions of the embodiments of the present application, through real-time preprocessing of the viewing behavior data, storing the user account and the target episode number in a hash structure, and using a high-performance database to store the user account and the target episode number, the efficiency of obtaining the target episode number of the target video resource that the user account has most recently viewed can be improved, ensuring real-time performance. Furthermore, it can be ensured that the promotional resources pushed to the user account are the target promotional resources corresponding to the target episode number of the target video resource that the user account has most recently viewed, thereby increasing the probability of the user clicking on the target promotional resources and watching the target video resource.
[0116] Based on the above technical solution, as an embodiment, obtaining the target promotional resources corresponding to the target number of episodes of the video resources may include: obtaining the correspondence between the number of episodes of the target video resources and the promotional resources; determining the target promotional resources corresponding to the target number of episodes according to the correspondence between the number of episodes of the target video resources and the promotional resources; and obtaining the target promotional resources from a database.
[0117] The database may be a resource library; the promotional resources corresponding to each number of episodes are pre-stored in the database. The promotional resources corresponding to each number of episodes stored in the database may be computer-generated or designed and produced by relevant personnel.
[0118] Optionally, the database may be a high-performance database. Optionally, the correspondence between the number of episodes of the target video resources and the promotional resources may also be pre-stored in the database. The correspondence between the number of episodes of the target video resources and the promotional resources may be set when generating each promotional resource.
[0119] When it is necessary to obtain the target promotional resources corresponding to the target number of episodes, the correspondence between the number of episodes of the target video resources and the promotional resources may be obtained first, the target promotional resources corresponding to the target number of episodes may be determined according to the correspondence between the number of episodes of the target video resources and the promotional resources, and then the target promotional resources corresponding to the target number of episodes may be obtained from the database.
[0120] By adopting the technical solution of the embodiment of the present application, the correspondence between the number of episodes of the target video resources and the promotional resources is determined in advance, and the promotional resources corresponding to each of the multiple numbers of episodes of the target video resources are stored. Therefore, when it is necessary to obtain the target promotional resources corresponding to the target number of episodes, the target promotional resources corresponding to the target number of episodes can be quickly determined according to the correspondence between the number of episodes of the target video resources and the promotional resources, and the pre-stored target promotional resources can be quickly obtained from the database, thereby improving the efficiency of obtaining the target promotional resources and ensuring real-time performance.
[0121] Based on the above technical solution, as an embodiment, as Figure 2 shown, before obtaining the target promotional resources from the database, the method may further include: generating one or more promotional resources corresponding to each of the multiple episodes of the target video resources; generating the correspondence between the number of episodes of the target video resources and the promotional resources according to the one or more promotional resources corresponding to each of the multiple episodes of the video resources; storing the correspondence between the number of episodes of the target video resources and the promotional resources; and storing the promotional resources in the database.
[0122] In order to save promotional resources to a database, it is necessary to pre-generate promotional resources. Therefore, for multiple episodes of a target video resource, one or more promotional resources corresponding to each of the multiple episodes of the video resource can be generated. Among them, one or more promotional resources corresponding to each of the multiple episodes of the video resource can be generated by a computer, and / or designed and produced by relevant personnel for each of the multiple episodes of the video resource.
[0123] After generating one or more promotional resources corresponding to each of the multiple episodes of the video resource, the one or more promotional resources corresponding to each of the multiple episodes of the video resource can be saved to the database. Subsequently, when obtaining the promotional resources corresponding to the video resource, the saved promotional resources can be directly retrieved from the database.
[0124] Since the promotional resources are generated for multiple episodes of the target video resource, when generating the promotional resources corresponding to multiple episodes of the target video resource, the correspondence between the number of episodes of the target video resource and the promotional resources can be determined, and the correspondence between the number of episodes of the target video resource and the promotional resources can be saved. Optionally, the correspondence between the number of episodes of the target video resource and the promotional resources can be saved to the database.
[0125] Adopting the technical solution of the embodiment of the present application, one or more promotional resources corresponding to each of the multiple episodes of the video resource are pre-generated, and the correspondence between the number of episodes of the target video resource and the promotional resources and the promotional resources are saved. In this way, when it is necessary to obtain the promotional resources corresponding to the target number of episodes, the saved target promotional resources can be quickly obtained, thereby improving the efficiency of obtaining the target promotional resources and ensuring real-time performance.
[0126] On the basis of the above technical solution, as an embodiment, when there are multiple target video resources, for multiple episodes of the target video resource, generating one or more of the promotional resources corresponding to each of the multiple episodes of the video resource may include: determining the priority of each of the multiple target video resources according to the popularity of each of the multiple target video resources; and sequentially generating one or more of the promotional resources corresponding to each of the multiple episodes of the video resource for the target video resource in descending order of the priority.
[0127] Because computing resources and human resources are limited, it may be difficult to generate promotional resources for all target video resources. Therefore, the priority of the target video resource can be determined according to the popularity of the target video resource, so as to generate promotional resources for the target video resource with a higher priority first.
[0128] The popularity of the target video resource can be determined according to information such as the number of views, click-through rate, number of bullet screens, positive review rate, and / or whether it has ended of the target video resource. According to the popularity of the target video resource, the priority of the target video resource can be determined.
[0129] For example, if the number of viewers of a TV drama reaches ten million, 1 point can be added to the TV drama; if the number of viewers reaches thirty million, 2 points can be added to the TV drama; if the click-through rate reaches 10%, 1 point can be added to the TV drama; if the number of bullet comments reaches one million, 1 point can be added to the TV drama; if the TV drama is unfinished, 1 point can be added to the TV drama; no points are added if the TV drama has ended. By synthesizing the scores of the TV drama in various dimensions, the total score of the TV drama can be obtained. The higher the total score of the TV drama, the higher the priority of the TV drama.
[0130] When there are multiple target video resources for which promotional resources are to be generated, one or more promotional resources corresponding to each multi-episode video resource of the multiple target video resources can be generated in sequence according to the priority levels of the multiple target video resources from high to low.
[0131] Optionally, the priority levels of the multi-episode video resources of the target video resource can also be determined. When generating one or more promotional resources corresponding to each of the multi-episode video resources, one or more promotional resources corresponding to each of the multi-episode video resources of the target video resource are generated in sequence according to the priority levels of the multi-episode video resources from high to low. The priority levels of the multi-episode video resources can be determined according to information such as the number of viewers, click-through rate, number of bullet comments, and / or positive review rate of each of the multi-episode video resources.
[0132] By adopting the technical solution of the embodiment of the present application, when there are multiple target video resources, the priority levels of the multiple target video resources can be determined, and thus promotional resources for the target video resources can be generated in sequence according to the priority levels from high to low. In this way, it is ensured that the promotional resources of the target video resources with high priority can be preferentially generated.
[0133] Based on the above technical solution, as an embodiment, generating one or more promotional resources corresponding to each of the multi-episode video resources of the target video resource may include: dividing the video resources of some or all of the episodes in the target video resource into multiple sets according to the content of the video resources of some or all of the episodes; generating one or more promotional resources for each set; and determining the one or more promotional resources corresponding to the set as the one or more promotional resources corresponding to each episode in the set.
[0134] To save computing resources and human resources, the promotional resources corresponding to different episodes of the target video resource can be the same. Therefore, multiple episodes of video resources in the target video resource that need to generate the same promotional resources can be divided into a set. Generate one or more promotional resources for each set, and determine the one or more promotional resources generated for the set as the promotional resources corresponding to the multiple episodes of video resources in the set. Optionally, the promotional resources generated for the set can be generated according to the content of the multiple episodes of video resources in the set.
[0135] For example, if the target video resource is a 40-episode TV drama, the 4th and 5th episodes can be divided into a set, and the same poster is generated for this set. Then, when the target episode corresponding to the user account is the 4th episode, the poster is pushed to the user account; when the target episode corresponding to the user account is the 5th episode, the poster is also pushed to the user account.
[0136] Optionally, because the content relevance of adjacent episodes is strong, the video resources of adjacent episodes can be divided into a set. Optionally, it can be determined whether to divide the video resources of adjacent episodes into a set according to whether the content relevance of adjacent episodes is greater than the relevance threshold. Among them, the content relevance of adjacent episodes can be identified by a machine for the content of the episodes, and then the relevance of the content is judged; the large language model can be used to judge the content relevance of adjacent episodes.
[0137] By adopting the technical solution of the embodiment of the present application, multiple episodes of video resources in the target video resource can be divided into sets, so that the same promotional resources can be generated for the multiple episodes of video resources in the sets, which can greatly reduce the number of generated promotional resources, thereby saving resources.
[0138] Based on the above technical solution, as an embodiment, obtaining the target promotional resources corresponding to the video resources of the target episode number may include: obtaining the display parameters corresponding to the user account; obtaining the target promotional resources corresponding to the display parameters among the multiple promotional resources corresponding to the video resources of the target episode number.
[0139] The terminals where different user accounts are located are different, and the areas for displaying promotional resources in the terminals may also be different. Therefore, if promotional resources with exactly the same parameters are pushed to each user account, the promotional resources may not be well displayed.
[0140] For example, the aspect ratio of the area for displaying promotional resources in the terminal where one user account is located is 3×4, while the aspect ratio of the area for displaying promotional resources in the terminal where another user account is located is 16×9, and the aspect ratio of the poster is 3×4. Then, the terminal where the other user account is located cannot well display the poster, and the poster may be stretched, resulting in deformation of the poster.
[0141] Therefore, in order to ensure the display effect of promotional resources, display parameters corresponding to the terminal where the user account is located can be obtained, and the display parameters can include, but are not limited to, size and resolution.
[0142] In one embodiment, after determining the target promotional resources according to the target set number, the server can adjust the target promotional resources according to the display parameters corresponding to the terminal where the user account is located.
[0143] In another embodiment, when generating the target promotional resources corresponding to the target set number, target promotional resources corresponding to multiple display parameters can be generated. When pushing the target promotional resources to the user account, it can be the target promotional resources corresponding to the display parameters of the user account that are pushed to the user account.
[0144] In this way, it can be ensured that the target promotional resources are well displayed on the terminal where the user account is located, thereby improving the user experience.
[0145] In one embodiment, as Figure 3 shown, another method for pushing promotional resources is provided. Although the logical order is shown in the step schematic diagram, in some cases, the steps shown or described can be executed in an order different from that shown in the drawings. Specifically, this method for pushing promotional resources can be applied to a terminal, where the terminal can include, but is not limited to, one or more of a smart TV, a smartphone, a tablet computer, a portable computer, a desktop computer, and a vehicle-mounted computer.
[0146] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the priority order of the embodiments.
[0147] According to Figure 3 the method for pushing promotional resources shown, this method at least includes steps S210 to S230, which are introduced in detail as follows:
[0148] In step S210, upload the viewing behavior data of the user account for the target video resource to the server.
[0149] In step S220, obtain the target promotional resources pushed by the server.
[0150] In step S230, display the target promotional resources.
[0151] Among them, the target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more promotional resources. The target promotional resource is: determining the target episode number of the target video resource that the user account has most recently watched according to the viewing behavior data; and the promotional resource obtained according to the target episode number; the target promotional resource is generated according to the content of the video resource of the target episode number.
[0152] The user logs in to the user account on the terminal and watches the target video resource on the terminal. When the viewing meets the conditions, the terminal can upload the viewing behavior data of the user account for the target video resource to the server. According to the viewing behavior data, the server can determine the target episode number of the target video resource that the user account has most recently watched. Optionally, the viewing meeting the conditions may be that the viewing reaches a preset duration. Among them, the terminal uploading the viewing behavior data may be performed when the playback of the target video resource ends.
[0153] The server determining the target episode number of the target video resource that the user account has most recently watched according to the viewing behavior data may include: preprocessing the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently watched.
[0154] Optionally, the target promotional resource may be the target promotional resource generated by the computer according to the content of the video resource of the target episode number. It may be performed when it is necessary to push the target promotional resource to the user account, or it may be pre-generated by the computer and saved in the database.
[0155] Optionally, the target promotional resource may be pre-designed and produced by relevant personnel according to the content of the video resource of the target episode number, and the produced target promotional resource may be saved in the database.
[0156] When the push condition is triggered by the user account on the terminal, the server pushes the target promotional resource to the user account. The terminal receives the target promotional resource and displays it. The push condition may include but is not limited to: the user account opens the playback application where the target video resource is located.
[0157] For the detailed explanation of the embodiments of the present application, reference may be made to the relevant descriptions in the foregoing embodiments.
[0158] Adopting the technical solution of the embodiments of the present application, the terminal can upload the viewing behavior data of the user account for the target video resource to the server, so as to obtain the target promotional resource corresponding to the target episode number pushed by the server. Because the target promotional resource corresponds to the target episode number and the target promotional resource is generated according to the content of the video resource of the target episode number, the target promotional resource can better attract the user account to watch the target video resource, thereby improving the viewing rate of the target video resource.
[0159] To facilitate the better implementation of the method for pushing publicity resources in this application, this application also provides a publicity resource pushing device based on the above-mentioned method for pushing publicity resources. The meanings of the nouns are the same as those in the above-mentioned method for pushing publicity resources, and the specific implementation details can be referred to the descriptions in the method embodiments.
[0160] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the publicity resource pushing device provided by the embodiments of this application. The publicity resource pushing device includes:
[0161] An episode number acquisition module 401, configured to acquire the target episode number of the target video resource that the user account has recently watched; the target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more publicity resources;
[0162] A resource acquisition module 402, configured to acquire the target publicity resources corresponding to the video resources of the target episode number; the target publicity resources are: generated according to the content of the video resources of the target episode number;
[0163] A pushing module 403, configured to push the target publicity resources to the user account.
[0164] In one embodiment, before acquiring the target episode number of the target video resource that the user account has recently watched, the device further includes:
[0165] A data acquisition module, configured to acquire the viewing behavior data uploaded by the user account;
[0166] A preprocessing module, configured to preprocess the viewing behavior data to obtain the target episode number of the target video resource that the user account has recently watched;
[0167] An episode number storage module, configured to correspondingly store the user account and the target episode number in a database;
[0168] The episode number acquisition module 401 includes:
[0169] An episode number acquisition unit, configured to acquire the target episode number corresponding to the user account from the database.
[0170] In one embodiment, the preprocessing module includes:
[0171] A preprocessing unit, configured to preprocess the viewing behavior data in real time to obtain the target episode number of the target video resource that the user account has recently watched;
[0172] The episode number storage module includes:
[0173] An episode number storage unit for storing the user account and the target episode number in a hash structure corresponding to a high-performance database.
[0174] In one embodiment, the resource acquisition module 402 includes:
[0175] A relationship acquisition unit for acquiring the corresponding relationship between the episode numbers of the target video resource and the promotional resources;
[0176] A resource determination unit for determining the target promotional resources corresponding to the target episode numbers according to the corresponding relationship between the episode numbers of the target video resource and the promotional resources;
[0177] A resource acquisition unit for acquiring the target promotional resources from a database.
[0178] In one embodiment, before acquiring the target promotional resources from the database, the device further includes:
[0179] A resource generation module for generating one or more promotional resources corresponding to each of multiple episodes of the target video resource for the multiple episodes of the video resource;
[0180] A relationship generation module for generating the corresponding relationship between the episode numbers of the target video resource and the promotional resources according to one or more promotional resources corresponding to each of multiple episodes of the video resource;
[0181] A relationship storage module for storing the corresponding relationship between the episode numbers of the target video resource and the promotional resources;
[0182] A resource storage module for storing the promotional resources in the database.
[0183] In one embodiment, when there are multiple target video resources, the resource generation module includes:
[0184] A priority determination unit for determining the priorities of multiple target video resources according to the popularity of each of the multiple target video resources;
[0185] A first resource generation unit for sequentially generating one or more promotional resources corresponding to each of multiple episodes of the target video resource in descending order of the priorities.
[0186] In one embodiment, the resource generation module includes:
[0187] A set partitioning unit for dividing the video resources of some or all of the episode numbers of the target video resource into multiple sets according to the content of each of the video resources of some or all of the episode numbers;
[0188] A second resource generation unit, configured to generate one or more of the promotional resources for each of the sets.
[0189] A resource determination unit, configured to determine one or more of the promotional resources corresponding to a set as one or more of the promotional resources corresponding to each episode of the video resource in the set.
[0190] By adopting the technical solution of the embodiment of the present application, the target number of episodes of the target video resource that the user account has recently viewed can be determined, and thus the target promotional resources corresponding to the target number of episodes can be pushed to the user account. In this way, the number of episodes of the target video resource viewed by the user account is considered, and the target promotional resources are generated based on the content of the video resource of the target number of episodes. Therefore, the target promotional resources can more effectively attract the user account to view the target video resource, thereby increasing the viewing rate of the target video resource.
[0191] Please refer to Figure 5 , Figure 5 FIG. is a schematic structural diagram of another promotional resource pushing device provided by an embodiment of the present application. The promotional resource pushing device is applied to a terminal and includes:
[0192] An upload module 501, configured to upload the viewing behavior data of the user account for the target video resource to the server. The target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more promotional resources.
[0193] A target acquisition module 502, configured to acquire the target promotional resources pushed by the server. The target promotional resources are: determining the target number of episodes of the target video resource that the user account has recently viewed according to the viewing behavior data; and acquiring the promotional resources according to the target number of episodes. The target promotional resources are: generated based on the content of the video resource of the target number of episodes.
[0194] A display module 503, configured to display the target promotional resources.
[0195] By adopting the technical solution of the embodiment of the present application, the terminal can upload the viewing behavior data of the user account for the target video resource to the server, so as to obtain the target promotional resources corresponding to the target number of episodes pushed by the server. Since the target promotional resources correspond to the target number of episodes and are generated based on the content of the video resource of the target number of episodes, the target promotional resources can more effectively attract the user account to view the target video resource, thereby increasing the viewing rate of the target video resource.
[0196] For the specific limitations of the promotion resource pushing device, reference can be made to the limitations of the promotion resource pushing method in the foregoing text, which will not be elaborated herein. Each module in the above-mentioned promotion resource pushing device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in the form of hardware or independent of it, or stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0197] In addition, this application also provides an electronic device, such as Figure 6 shown, which shows the structural schematic diagram of the electronic device involved in this application. Specifically:
[0198] The electronic device may include a processor 601 with one or more processing cores and a memory 602 with one or more computer-readable storage media and other components. Those skilled in the art can understand that Figure 6 the structure of the electronic device shown in
[0199] does not constitute a limitation on the electronic device, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0200] The processor 601 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines. By running or executing the software programs and / or modules stored in the memory 602, and calling the data stored in the memory 602, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 601.
[0201] In one embodiment, the electronic device further includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, a recharge system, a power device debugging circuit, a power converter or inverter, and a power status indicator.
[0202] In one embodiment, the electronic device may further include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0203] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, so as to implement the steps in any one of the promotion resource pushing methods provided by the embodiments of the present application.
[0204] Those skilled in the art can understand that Figure 6 the structure shown in
[0205] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0206] In one embodiment, an electronic device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the method described in any embodiment of the present application is implemented.
[0207] In some embodiments, a computer program product is also proposed, including a computer program or instruction, and when the computer program or instruction is executed by the processor, the method described in any embodiment of the present application is implemented.
[0208] For the specific implementation of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.
[0209] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0210] Therefore, the present application provides a computer-readable storage medium on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any one of the promotion resource pushing methods provided by the present application.
[0211] For the specific implementation of each of the above operations, reference may be made to the previous embodiments and will not be elaborated herein.
[0212] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
[0213] Since the instructions stored in the computer-readable storage medium can execute the steps in any one of the promotion resource pushing methods provided by the present application, the beneficial effects achievable by any one of the promotion resource pushing methods provided by the present application can be realized. For details, reference may be made to the previous embodiments and will not be elaborated herein.
[0214] Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.
[0215] The above has introduced in detail a promotion resource pushing method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used in this article to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A method for pushing publicity resources, characterized in that, Including: Obtain the target episode number of the target video resource that the user account has most recently watched; The target video resource is divided into multiple episodes of video resources, and each episode of the video resource corresponds to one or more promotional resources; Obtain the target promotional resources corresponding to the video resources of the target episode number; The target promotional resources are: generated according to the content of the video resources of the target episode number; Push the target promotional resources to the user account.
2. The method according to claim 1, characterized in that Before obtaining the target episode number of the target video resource that the user account has most recently watched, the method further includes: Obtain the viewing behavior data uploaded by the user account; Preprocess the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently watched; Correspondingly save the user account and the target episode number to a database; The obtaining the target episode number of the target video resource that the user account has most recently watched includes: Obtain the target episode number corresponding to the user account from the database.
3. The method according to claim 2, wherein The preprocessing the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently watched includes: Real-time preprocess the viewing behavior data to obtain the target episode number of the target video resource that the user account has most recently watched; The correspondingly saving the user account and the target episode number to a database includes: Correspondingly save the user account and the target episode number to a high-performance database in a hash structure.
4. The method according to claim 1, characterized in that, The obtaining the target promotional resources corresponding to the video resources of the target episode number includes: Obtain the correspondence between the episode numbers of the target video resource and the promotional resources; Determine the target promotional resources corresponding to the target episode number according to the correspondence between the episode numbers of the target video resource and the promotional resources; Obtain the target promotional resources from the database.
5. The method according to claim 4, characterized in that, Before obtaining the target promotional resources from the database, the method further includes: Generate one or more promotional resources corresponding to each of the multiple episodes of the target video resource; Generate the correspondence between the episode numbers of the target video resource and the promotional resources according to one or more promotional resources corresponding to each of the multiple episodes of the video resource; Save the correspondence between the episode numbers of the target video resource and the promotional resources; Save the promotional resources to the database.
6. The method according to claim 5, wherein When there are multiple target video resources, the generating one or more promotional resources corresponding to each of the multiple episodes of the target video resource includes: Determine the priorities of the multiple target video resources according to the popularity of the multiple target video resources; In the order from high to low of the priorities, sequentially generate one or more promotional resources corresponding to each of the multiple episodes of the target video resource.
7. The method according to claim 5, characterized in that, The generating one or more promotional resources corresponding to each of the multiple episodes of the target video resource includes: Divide the video resources of some or all episodes in the target video resource into multiple sets according to the content of each of the video resources of some or all episodes; Generate one or more of the promotional resources for each of the sets; Determine the one or more promotional resources corresponding to the set as the one or more promotional resources corresponding to each episode of the video resources in the set.
8. A method for pushing publicity resources, characterized in that, Applied to a terminal, the method includes: Upload the viewing behavior data of the user account for the target video resource to the server; the target video resource is divided into multiple episodes of video resources, and each episode of the video resources corresponds to one or more promotional resources; Obtain the target promotional resources pushed by the server; the target promotional resources are: according to the viewing behavior data, determine the target episode number of the target video resource that the user account has recently watched; and the promotional resources obtained according to the target episode number; the target promotional resources are: generated according to the content of the video resources of the target episode number; Display the target promotional resources.
9. A push device for publicity resources, characterized in that Includes: An episode number obtaining module, configured to obtain the target episode number of the target video resource that the user account has recently watched; The target video resource is divided into multiple episodes of video resources, and each episode of the video resources corresponds to one or more promotional resources; A resource obtaining module, configured to obtain the target promotional resources corresponding to the video resources of the target episode number; The target promotional resources are: generated according to the content of the video resources of the target episode number; A pushing module, configured to push the target promotional resources to the user account.
10. A device for pushing publicity resources, characterized in that, Applied to a terminal, the device includes: An uploading module, configured to upload the viewing behavior data of the user account for the target video resource to the server; the target video resource is divided into multiple episodes of video resources, and each episode of the video resources corresponds to one or more promotional resources; A target obtaining module, configured to obtain the target promotional resources pushed by the server; the target promotional resources are: according to the viewing behavior data, determine the target episode number of the target video resource that the user account has recently watched; and the promotional resources obtained according to the target episode number; the target promotional resources are: generated according to the content of the video resources of the target episode number; A display module, configured to display the target promotional resources.
11. An electronic device, characterized in that, Includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps in the method for pushing promotional resources as described in any one of claims 1 to 8 are implemented.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps in the method for pushing promotional resources as described in any one of claims 1 to 8 are implemented.