Method for pushing promotional resources, and electronic device and computer-readable storage medium
Patent Information
- Application Number
- PCT/CN2026/090488
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-04-16
- Filing Date
- 2026-04-14
- Publication Date
- 2026-10-22
Smart Images

Figure CN2026090488_22102026_PF_FP_ABST
Abstract
Description
Methods for disseminating promotional resources, electronic devices, and computer-readable storage media
[0001] This application claims priority to Chinese patent application filed on April 16, 2025, with application number 202510480822.2 and entitled "Method, Apparatus, Electronic Device and Computer-Readable Storage Medium for Pushing Publicity Resources", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of content recommendation technology, specifically to a method, apparatus, electronic device, and computer-readable storage medium for pushing promotional resources. Background Technology
[0003] Posters for completed TV series are usually fixed, and the platform will push these fixed posters to users. For TV series that are currently airing, the posters may be updated regularly, and the latest posters will be pushed to users to increase the show's viewership. Technical issues
[0004] However, neither the push of fixed posters nor the latest posters takes into account whether users have watched the TV series. Therefore, the pushed posters may fail to attract users to watch the TV series and thus fail to increase the TV series' viewership. Technical solutions
[0005] This application provides a method, apparatus, electronic device, and computer-readable storage medium for pushing promotional resources, which can push corresponding promotional resources according to the number of episodes watched by a user's account, thereby increasing the viewing rate of the target film and television resources.
[0006] In a first aspect, embodiments of this application provide a method for pushing promotional resources, including:
[0007] The target number of episodes of the target film and television resource that the user account has watched the latest; the target film and television resource is divided into multiple episodes, and each episode of the film and television resource corresponds to one or more promotional resources;
[0008] Obtain the target promotional resources corresponding to the film and television resources of the target number of episodes; the target promotional resources are generated based on the content of the film and television resources of the target number of episodes.
[0009] The target promotional resources are pushed to the user account.
[0010] In one embodiment, before obtaining the target episode number of the target film and television resource recently viewed by the user account, the method further includes:
[0011] Obtain the movie-watching behavior data uploaded by the user account;
[0012] The viewing behavior data is preprocessed to obtain the target episode number of the target film and television resource that the user account has recently watched;
[0013] The user account and the target episode number are saved to the database accordingly;
[0014] The process of obtaining the target episode number of the latest viewed target film and television resource by the user account includes:
[0015] Retrieve the target set number corresponding to the user account from the database.
[0016] In one embodiment, the preprocessing of the viewing behavior data to obtain the target episode number of the target film and television resource most recently viewed by the user account includes:
[0017] The viewing behavior data is preprocessed in real time to obtain the target episode number of the target film and television resource that the user account has recently watched;
[0018] The step of saving the user account and the target episode number to the database includes:
[0019] The user account and the target set number are saved to a high-performance database in a hash structure.
[0020] In one embodiment, obtaining the target promotional resources corresponding to the film and television resources of the target number of episodes includes:
[0021] Obtain the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0022] Based on the correspondence between the number of episodes of the target film and television resources and the promotional resources, the target promotional resources corresponding to the target number of episodes are determined;
[0023] Retrieve the target promotional resources from the database.
[0024] In one embodiment, prior to retrieving the target promotional resource from the database, the method further includes:
[0025] For the target film and television resources, generate one or more promotional resources corresponding to each of the multiple episodes of the film and television resources;
[0026] Based on one or more of the promotional resources corresponding to each of the multiple episodes of the film and television resources, a correspondence between the number of episodes of the target film and television resources and the promotional resources is generated;
[0027] Save the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0028] The promotional resources are saved to the database.
[0029] In one embodiment, when there are multiple target film and television resources, the step of generating one or more promotional resources corresponding to each of the multiple film and television resources includes:
[0030] Based on the popularity of each of the target film and television resources, the priority of each of the target film and television resources is determined.
[0031] According to the priority from high to low, multiple episodes of the target film and television resources are generated in sequence, and one or more promotional resources corresponding to each of the multiple episodes of the film and television resources are generated.
[0032] In one embodiment, generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resource includes:
[0033] Based on the content of some or all episodes of the target film and television resources, the film and television resources of some or all episodes are divided into multiple sets;
[0034] Generate one or more of the aforementioned promotional resources for each set;
[0035] One or more of the promotional resources corresponding to the set are determined as one or more of the promotional resources corresponding to each episode of the film and television resources in the set.
[0036] Secondly, this application provides a method for pushing promotional resources, applied to a terminal. The method includes: uploading viewing behavior data of a user account for a target film and television resource to a server; the target film and television resource is divided into multiple episodes, and each episode of the film and television resource corresponds to one or more promotional resources.
[0037] Obtain the target promotional resources pushed by the server; the target promotional resources are: based on the viewing behavior data, determine the target number of episodes of the target film and television resource that the user account has recently watched; and obtain the promotional resources based on the target number of episodes; the target promotional resources are generated based on the content of the film and television resource of the target number of episodes;
[0038] Display the target promotional resources.
[0039] Thirdly, embodiments of this application provide a device for pushing promotional resources, including:
[0040] The episode acquisition module is used to acquire the latest episode number of the target film and television resource that the user's account has watched; the target film and television resource is divided into multiple episodes, and each episode of the film and television resource corresponds to one or more promotional resources;
[0041] The resource acquisition module is used to acquire target promotional resources corresponding to the film and television resources of the target number of episodes; the target promotional resources are generated based on the content of the film and television resources of the target number of episodes.
[0042] The push module is used to push the target promotional resources to the user account.
[0043] In one embodiment, before obtaining the target episode number of the target film and television resource recently viewed by the user account, the device further includes:
[0044] The data acquisition module is used to acquire the movie-watching behavior data uploaded by the user account;
[0045] The preprocessing module is used to preprocess the viewing behavior data to obtain the target episode number of the target film and television resource that the user account has recently watched.
[0046] The episode storage module is used to save the user account and the target number of episodes to the database.
[0047] The episode acquisition module includes:
[0048] The episode acquisition unit is used to acquire the target episode number corresponding to the user account from the database.
[0049] In one embodiment, the preprocessing module includes:
[0050] The preprocessing unit is used to preprocess the viewing behavior data in real time to obtain the target episode number of the target film and television resource that the user account has recently watched.
[0051] The episode storage module includes:
[0052] The episode storage unit is used to save the user account and the target episode in a hash structure to a high-performance database.
[0053] In one embodiment, the resource acquisition module includes:
[0054] A relationship acquisition unit is used to acquire the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0055] The resource determination unit is used to determine the target promotional resource corresponding to the target number of episodes based on the correspondence between the number of episodes of the target film and television resource and the promotional resource;
[0056] The resource acquisition unit is used to acquire the target promotional resources from the database.
[0057] In one embodiment, before retrieving the target promotional resources from the database, the apparatus further includes: a resource generation module, configured to generate one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources;
[0058] The relationship generation module is used to generate a correspondence between the number of episodes of the target film and television resources and the promotional resources based on one or more promotional resources corresponding to each of the multiple episodes of the film and television resources.
[0059] The relationship storage module is used to store the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0060] The resource storage module is used to save the promotional resources to the database.
[0061] In one embodiment, when there are multiple target film and television resources, the resource generation module includes:
[0062] The priority determination unit is used to determine the priority of each of the multiple target film and television resources based on their respective popularity.
[0063] The first resource generation unit is used to generate one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources in descending order of priority.
[0064] In one embodiment, the resource generation module includes:
[0065] A set division unit is used to divide the film and television resources of some or all episodes into multiple sets according to the content of each episode.
[0066] The second resource generation unit is used to generate one or more of the promotional resources for each set;
[0067] The resource determination unit is used 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 film and television resources in the set.
[0068] Fourthly, this application provides a device for pushing promotional resources, applied to a terminal. The device includes: an upload module for uploading user account viewing behavior data for target film and television resources to a server; the target film and television resources are divided into multiple episodes, and each episode of the film and television resources corresponds to one or more promotional resources.
[0069] The target acquisition module is used to acquire the target promotional resources pushed by the server; the target promotional resources are: based on the viewing behavior data, determining the target number of episodes of the target film and television resource that the user account has recently watched; and acquiring the promotional resources based on the target number of episodes; the target promotional resources are generated based on the content of the film and television resource of the target number of episodes;
[0070] The display module is used to display the target promotional resources.
[0071] Fifthly, embodiments of this application also provide 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, it implements the steps in the above-described method for pushing promotional resources.
[0072] Sixthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described method for pushing promotional resources.
[0073] In a seventh aspect, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application. Beneficial effects
[0074] In summary, in this embodiment of the application, the target promotional resources corresponding to the target episodes of the target film and television resources can be pushed to the user account based on the latest number of episodes viewed by the user account. In this way, the number of episodes viewed by the user account for the target film and television resources is taken into account, and the target promotional resources are generated based on the content of the film and television resources of the target episodes. Therefore, the target promotional resources are more likely to attract user accounts to watch the target film and television resources, thereby increasing the viewing rate of the target film and television resources. Attached Figure Description
[0075] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0076] Figure 1 is a schematic diagram of the steps of a method for pushing promotional resources according to an embodiment of this application;
[0077] Figure 2 is a flowchart illustrating a method for pushing promotional resources according to an embodiment of this application;
[0078] Figure 3 is a schematic diagram of the steps of another method for pushing promotional resources according to an embodiment of this application;
[0079] Figure 4 is a schematic diagram of the structure of a promotional resource push device provided in an embodiment of this application;
[0080] Figure 5 is a schematic diagram of the structure of another promotional resource push device provided in an embodiment of this application;
[0081] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Embodiments of the present invention
[0082] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0083] In one embodiment, as shown in Figure 1, a method for pushing promotional resources is provided. Although the logical order is shown in the schematic diagram, in some cases, the steps shown or described can be performed in a different order than that shown in the figures. Specifically, this method for pushing promotional resources can be applied to a server, which can be a physical server or a cloud server providing various cloud services. It is worth noting that this application does not limit the number of terminals or servers. Depending on the implementation needs, there can be any number of terminals or servers. For example, a server can be a single server or a server cluster composed of multiple servers, etc.
[0084] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0085] According to the method for pushing promotional resources shown in Figure 1, the method includes at least steps S110 to S130, which are described in detail below:
[0086] In step S110, the target episode number of the target film and television resource that the user account has watched the latest is obtained.
[0087] The target film and television resources are divided into multiple episodes, and each episode corresponds to one or more promotional resources.
[0088] The target film and television resources can be TV series, variety shows, or documentaries, etc. These resources can be divided into multiple episodes. It is understood that the term "episode" in this application's embodiments is a broad concept and can also refer to concepts such as "episode" and "season," which explicitly divide film and television resources. For example, the TV series *Empresses in the Palace* can be divided into 76 episodes, the variety show *Happy Camp* into over 1000 episodes, and the documentary *A Bite of China* into 4 seasons.
[0089] Promotional resources refer to resources used to promote film and television resources. Promotional resources may include, but are not limited to, posters, GIFs and / or short videos.
[0090] Users log into their accounts on a terminal and watch target video resources. When certain viewing conditions are met, the terminal can upload viewing behavior data. Based on this data, the latest episode of the target video resource watched by the user account can be determined. Optionally, meeting the viewing conditions can be a preset viewing duration. The terminal can upload viewing behavior data when playback of the target video resource ends.
[0091] Based on viewing behavior data uploaded by user accounts, the target episode of a particular film or television resource that the user account has recently watched can be determined. For example, if the viewing behavior data indicates that the user account watched episodes 4 and 5, then the target episode that the user account has recently watched is episode 5.
[0092] In one embodiment, to improve the efficiency of pushing target promotional resources to user accounts, the target episode of the target film and television resource that the user account has recently watched can be determined in advance based on the viewing behavior data corresponding to the user account, and the user account and the target episode can be stored accordingly. Thus, when it is necessary to push target promotional resources to the user account, the pre-stored target episode corresponding to the user account can be directly obtained.
[0093] In another embodiment, the viewing behavior data corresponding to the user account can be processed to obtain the target number of episodes when it is necessary to push the target promotional resources to the user account, so as to save storage space for storing the target number of episodes.
[0094] In step S120, the target promotional resources corresponding to the film and television resources of the target number of episodes are obtained.
[0095] The target promotional resources are generated based on the content of the film and television resources for the target number of episodes.
[0096] In one embodiment, the target promotional resource can be generated by a computer based on the content of the target episode's film and television resources. For example, the computer can identify highlight moments in the target episode's film and television resources and generate the target promotional resource based on the video clips of those highlight moments. Optionally, the highlight moments can be determined by analyzing the film and television resources based on technologies such as natural language processing, computer vision, and audio analysis. A highlight moment can also be a moment when the number of bullet comments exceeds a certain threshold.
[0097] For example, if the highlight moment in the target episode's film and television resources is a video clip from second 5 to 10, a short video can be generated based on this clip as a promotional resource. Alternatively, key video frames can be extracted from the 5-10 second clip, and image processing can be performed on these frames to create a poster as a promotional resource. Image processing can involve processing the key video frames according to a preset template or inputting them into an AI drawing tool. The target promotional resource generated by the computer based on the content of the target episode's film and television resources can be generated when the target promotional resource needs to be pushed to user accounts, or it can be pre-generated and stored in a database.
[0098] In another embodiment, the target promotional resources may be pre-designed and produced by relevant personnel based on the content of the target number of film and television resources, and the produced target promotional resources may be stored in a database.
[0099] In step S130, the target promotional resources are pushed to the user account.
[0100] When a user account triggers the push notification condition, the target promotional resource will be pushed to the user account for display. The push notification condition may include, but is not limited to, the user account opening the playback application containing the target video resource. Clicking on the displayed target promotional resource will take the user directly to the playback page of the target video resource, and they can continue watching the video resource from their viewing history.
[0101] By adopting the technical solution of this application embodiment, the target promotional resources corresponding to the target episode of the target film and television resource can be pushed to the user account according to the target episode number of the target film and television resource recently viewed by the user account. In this way, the number of episodes of the target film and television resource viewed by the user account is taken into account, and the target promotional resources are generated based on the content of the film and television resource of the target episode number. Therefore, the target promotional resources are more likely to attract user accounts to watch the target film and television resource, thereby increasing the viewing rate of the target film and television resource.
[0102] Figure 2 is a flowchart illustrating a method for pushing promotional resources according to an embodiment of this application. Based on the above technical solution, as an embodiment, as shown in Figure 2, before obtaining the target episode number of the target film and television resource recently viewed by the user account, the method may further include: obtaining viewing behavior data uploaded by the user account; preprocessing the viewing behavior data to obtain the target episode number of the target film and television resource recently viewed by the user account; and saving the user account and the target episode number to a database. Obtaining the target episode number of the target film and television resource recently viewed by the user account may include: obtaining the target episode number corresponding to the user account from the database. Viewing behavior data uploaded by the user account can be obtained in advance. Viewing behavior data includes multiple data reflecting the user account's viewing behavior, preferences, and related characteristics. For example, viewing behavior data may include the user account's start viewing time, end viewing time, and information about the film and television resource viewed.
[0103] Preprocessing viewing behavior data allows us to determine the latest episode number of the target film / TV resource viewed by a user's account. Preprocessing includes data cleaning and analysis of the viewing behavior data. Data cleaning removes outliers and fills in missing information. Analyzing the viewing behavior data helps us determine the latest episode number viewed by a user's account.
[0104] For example, if viewing behavior data indicates that a user account stopped watching at the 10th minute of episode 5, then analyzing the viewing behavior data can determine that the user account has recently watched episode 5.
[0105] By storing user accounts and target episode numbers in a database, when it's necessary to retrieve the latest viewed episode number of a target film or television resource by a user account, the database can be directly queried to obtain the corresponding target episode number. Using the technical solution of this application embodiment, viewing behavior data is pre-processed to obtain the target episode number corresponding to a user account, and the user account and target episode number are stored in a database. When it's necessary to push target promotional resources to a user account, the latest viewed target episode number can be directly retrieved from the database, thereby improving the efficiency of pushing target promotional resources to user accounts.
[0106] Based on the above technical solution, as an embodiment, preprocessing the viewing behavior data to obtain the target episode number of the target film and television resource recently viewed by the user account may include: real-time preprocessing of the viewing behavior data to obtain the target episode number of the target film and television resource recently viewed by the user account. Saving the user account and the target episode number to the database accordingly may include: saving the user account and the target episode number to a high-performance database using a hash structure.
[0107] After obtaining the viewing behavior data uploaded by the user account, the viewing behavior data can be preprocessed in real time to obtain the target episode of the target film and television resource that the user account has watched the latest as soon as possible.
[0108] To improve the efficiency of retrieving the latest episode number of a user's viewed movie or TV show, the database storing the user account and the target episode number can be a high-performance database; alternatively, it can be a Redis database (a high-performance database). High-performance databases have powerful indexing capabilities, support parallel queries, and can achieve efficient data writing and updating. Therefore, using a high-performance database to store user accounts and target episode numbers can improve the efficiency of retrieving the latest episode number of a user's viewed movie or TV show.
[0109] User accounts and target episodes can be stored in a high-performance database using a hash structure. The hash structure stores user accounts as keys and target episodes as values. When retrieving the target episode corresponding to a user account, the hash structure can quickly locate it without traversing the entire dataset, significantly improving the speed of data retrieval. Furthermore, the hash structure supports efficient data insertion and deletion. Since the target episodes corresponding to user accounts may frequently change, the hash structure allows for the rapid insertion of the latest target episodes and the deletion of invalid ones, thus responding promptly to data changes and maintaining the validity of real-time data.
[0110] By employing the technical solution of this application embodiment, real-time viewing behavior data is preprocessed, and user accounts and target episodes are stored in a hash structure. Furthermore, a high-performance database is used to store user accounts and target episodes, which improves the efficiency of obtaining the latest target episode of a user's viewed film or television resource, ensuring real-time performance. This guarantees that the promotional resources pushed to the user's account are the target promotional resources corresponding to the latest target episode of the user's viewed film or television resource, thereby increasing the probability of the user clicking on the target promotional resources and watching the target film or television resource.
[0111] Based on the above technical solution, as an embodiment, obtaining the target promotional resources corresponding to the target number of episodes of the film and television resources may include: obtaining the correspondence between the number of episodes of the target film and television resources and the promotional resources; determining the target promotional resources corresponding to the target number of episodes based on the correspondence between the number of episodes of the target film and television resources and the promotional resources; and obtaining the target promotional resources from the database.
[0112] The database can be a resource repository; it pre-stores promotional resources corresponding to each episode. These promotional resources can be computer-generated or designed and produced by relevant personnel. Optionally, the database can be a high-performance database. Optionally, the correspondence between the episodes of the target film / television resource and the promotional resources can also be pre-stored in the database. This correspondence can be set when generating each promotional resource.
[0113] When it is necessary to obtain the target promotional resources corresponding to the target number of episodes, you can first obtain the correspondence between the number of episodes of the target film and television resources and the promotional resources. Based on the correspondence between the number of episodes of the target film and television resources and the promotional resources, determine the target promotional resources corresponding to the target number of episodes, and then obtain the target promotional resources corresponding to the target number of episodes from the database.
[0114] The technical solution of this application embodiment predetermines the correspondence between the number of episodes of the target film and television resources and the promotional resources, and saves the promotional resources corresponding to each of the multiple episodes of the target film and television resources. Therefore, when it is necessary to obtain the target promotional resources corresponding to the target episodes, the target promotional resources corresponding to the target episodes can be quickly determined according to the correspondence between the number of episodes of the target film and television resources and the promotional resources, and the pre-saved target promotional resources can be quickly obtained from the database, thereby improving the efficiency of obtaining target promotional resources and ensuring real-time performance.
[0115] Based on the above technical solution, as an embodiment, as shown in Figure 2, before retrieving 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 film and television resources; generating a correspondence between the number of episodes of the target film and television resources and the promotional resources based on the one or more promotional resources corresponding to each of the multiple episodes of the film and television resources; saving the correspondence between the number of episodes of the target film and television resources and the promotional resources; and saving the promotional resources to the database. To save the promotional resources to the database, the promotional resources need to be generated in advance. Therefore, one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources can be generated. This can be achieved by using a computer to generate one or more promotional resources corresponding to each of the multiple episodes of the film and television resources, and / or by relevant personnel designing and producing one or more promotional resources corresponding to each of the multiple episodes of the film and television resources.
[0116] After generating one or more promotional resources corresponding to each of the multiple episodes of a film or television series, these resources can be saved to a database. Subsequently, when retrieving promotional resources for a film or television series, these saved resources can be retrieved directly from the database.
[0117] Since promotional resources are generated for multiple episodes of the target film and television resource, when generating promotional resources corresponding to the multiple episodes of the target film and television resource, the correspondence between the number of episodes of the target film and television resource and the promotional resources can be determined and saved. Optionally, the correspondence between the number of episodes of the target film and television resource and the promotional resources can be saved to a database.
[0118] By adopting the technical solution of this application embodiment, one or more promotional resources corresponding to each of the multiple episodes of the film and television resources are generated in advance, and the correspondence between the number of episodes of the target film and television resources and the promotional resources is 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 obtained quickly, thereby improving the efficiency of obtaining the target promotional resources and ensuring real-time performance.
[0119] Based on the above technical solution, as an embodiment, when there are multiple target film and television resources, generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources may include: determining the priority of each of the multiple target film and television resources according to their popularity; and generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources in descending order of priority.
[0120] Because computing and human resources are limited, it may be difficult to generate promotional resources for all target film and television resources. Therefore, the priority of target film and television resources can be determined based on their popularity, and promotional resources can be generated for the higher-priority target film and television resources first.
[0121] The popularity of a target film or television resource can be determined based on information such as the number of viewers, click-through rate, number of bullet comments, positive review rate, and / or whether it has been completed. The priority of a target film or television resource can be determined based on its popularity.
[0122] For example, a TV series gets 1 point for every 10 million viewers; 2 points for every 30 million viewers; 1 point for every 10% click-through rate; 1 point for every million bullet comments; 1 point for an ongoing series; and no points for a completed series. The total score is calculated by combining the scores of the TV series across all dimensions. The higher the total score, the higher the priority of the TV series.
[0123] When there are multiple target film and television resources to be generated as promotional resources, one or more promotional resources can be generated for each of the multiple episodes of the target film and television resources in order of their priority.
[0124] Optionally, the priority of each episode of the target film and television resource can be determined. When generating one or more promotional resources corresponding to each episode, the episodes of the target film and television resource are generated in descending order of priority. The priority of each episode can be determined based on information such as the number of viewers, click-through rate, number of bullet comments, and / or positive review rate.
[0125] By adopting the technical solution of this application embodiment, when there are multiple target film and television resources, the priority of each of the multiple target film and television resources can be determined, and promotional resources can be generated for the target film and television resources in order of priority from high to low; thus, it is ensured that the promotional resources of high-priority target film and television resources can be generated first.
[0126] Based on the above technical solution, as an embodiment, generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources may include: dividing the film and television resources of some or all episodes into multiple sets according to the content of each episode; generating one or more promotional resources for each set; and determining the one or more promotional resources corresponding to the set as one or more promotional resources corresponding to each episode of the film and television resources in the set.
[0127] To conserve computing and human resources, promotional resources for different episodes within the target film and television resources can be identical. Therefore, multiple episodes of the target film and television resources that require the generation of identical promotional resources can be grouped into a set. One or more promotional resources are generated for each set, and these generated resources are identified as the promotional resources corresponding to the multiple episodes within that set. Optionally, the promotional resources generated for the set can be based on the content of the multiple episodes within the set.
[0128] For example, if the target video resource is a 40-episode TV series, episodes 4 and 5 can be grouped into one set, and the same poster can be generated for this set. Then, when the target episode for a user's account is episode 4, the poster will be pushed to the user's account; when the target episode for a user's account is episode 5, the poster will also be pushed to the user's account.
[0129] Optionally, because adjacent episodes have strong content correlation, film and television resources of adjacent episodes can be grouped into one set. Alternatively, the grouping of adjacent episodes into one set can be determined based on whether the content correlation of adjacent episodes exceeds a correlation threshold. The content correlation of adjacent episodes can be determined by machine recognition of the episode content; a large language model can be used to determine the content correlation of adjacent episodes. By adopting the technical solution of this application embodiment, multiple episodes of film and television resources in the target film and television resource can be grouped into a set, thereby generating identical promotional resources for multiple episodes in the set, which can greatly reduce the number of promotional resources generated, thus saving resources.
[0130] Based on the above technical solution, as an embodiment, obtaining the target promotional resources corresponding to the film and television resources of the target number of episodes may include: obtaining the display parameters corresponding to the user account; and obtaining the target promotional resources corresponding to the display parameters among the multiple promotional resources corresponding to the film and television resources of the target number of episodes.
[0131] Different user accounts are located on different devices, and the areas used to display promotional materials on those devices may also differ. Therefore, pushing promotional materials with identical parameters to all user accounts may result in the materials not being displayed properly. For example, one user account's device may have a 3x4 aspect ratio area for displaying promotional materials, while another user account's device may have a 16x9 aspect ratio area. If the poster's aspect ratio is 3x4, the other user account's device may not be able to display the poster properly, potentially stretching it and causing distortion.
[0132] Therefore, in order to ensure the display effect of promotional resources, the display parameters corresponding to the terminal where the user account is located can be obtained. These display parameters may include, but are not limited to, size and resolution.
[0133] In one embodiment, after determining the target promotional resources based on the target number of episodes, the server can adjust the target promotional resources according to the display parameters corresponding to the terminal where the user account is located.
[0134] In another embodiment, when generating target promotional resources corresponding to the target number of episodes, target promotional resources corresponding to various display parameters can be generated. When pushing target promotional resources to user accounts, the target promotional resources corresponding to the display parameters of the user account can be pushed to the user account.
[0135] This ensures that the target promotional resources are displayed well on the device where the user's account is located, thereby improving the user experience.
[0136] In one embodiment, as shown in FIG3, another method for pushing promotional resources is provided. Although the logical order is shown in the step diagram, in some cases, the steps shown or described may be performed in a different order than that shown in the figures. Specifically, this method for pushing promotional resources can be applied to a terminal, which may include, but is not limited to, one or more of smart TVs, smartphones, tablets, laptops, desktop computers, and in-vehicle computers. These will be described in detail below. It should be noted that the order of description of the following embodiments is not intended to limit the priority of the embodiments.
[0137] According to the method for pushing promotional resources shown in Figure 3, the method includes at least steps S210 to S230, which are described in detail below:
[0138] In step S210, the user account's viewing behavior data for the target film and television resources is uploaded to the server.
[0139] In step S220, the target promotional resources pushed by the server are obtained.
[0140] In step S230, the target promotional resources are displayed.
[0141] The target film and television resources are divided into multiple episodes, with each episode corresponding to one or more promotional resources. The target promotional resources are: promotional resources obtained based on the target number of episodes recently viewed by the user account, determined according to the viewing behavior data; and generated based on the content of the film and television resources for the target number of episodes.
[0142] A user logs into their user account on a terminal and watches a target film or television resource on the terminal. When certain viewing conditions are met, the terminal can upload viewing behavior data of the user account for the target film or television resource to the server. Based on the viewing behavior data, the server can determine the target episode of the target film or television resource that the user account has recently watched. Optionally, meeting the viewing conditions can be achieving a preset viewing duration. The terminal can upload the viewing behavior data when it finishes playing the target film or television resource. The server's determination of the target episode of the target film or television resource that the user account has recently watched based on the viewing behavior data may include: preprocessing the viewing behavior data to obtain the target episode of the target film or television resource that the user account has recently watched.
[0143] Optionally, the target promotional resources can be target promotional resources generated by the computer based on the content of the target number of film and television resources, or they can be pushed to user accounts when it is necessary, or they can be pre-generated by the computer and stored in a database.
[0144] Optionally, the target promotional resources can be pre-designed and produced by relevant personnel based on the content of the target number of episodes of film and television resources, and the produced target promotional resources can be stored in a database.
[0145] When a user account on the terminal triggers the push notification condition, the server pushes the target promotional resource to the user account. The terminal receives the target promotional resource and displays it. The push notification condition may include, but is not limited to, the user account opening the playback application containing the target video resource.
[0146] For a detailed explanation of the embodiments of this application, please refer to the relevant descriptions in the foregoing embodiments.
[0147] Using the technical solution of this application embodiment, the terminal can upload user account viewing behavior data for target film and television resources to the server, thereby obtaining target promotional resources corresponding to the target episode number pushed by the server. Because the target promotional resources correspond to the target episode number and are generated based on the content of the film and television resources for the target episode number, the target promotional resources are more likely to attract user accounts to watch the target film and television resources, thereby increasing the viewing rate of the target film and television resources.
[0148] To facilitate better implementation of the promotional resource delivery method of this application, this application also provides a promotional resource delivery device based on the above-described promotional resource delivery method. The meanings of the terms used are the same as in the promotional resource delivery method described above, and specific implementation details can be found in the descriptions of the method embodiments.
[0149] Please refer to Figure 4, which is a schematic diagram of the structure of the promotional resource push device provided in this application embodiment. The promotional resource push device includes:
[0150] The episode acquisition module 401 is used to acquire the target episode number 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 resource, and each episode of the film and television resource corresponds to one or more promotional resources;
[0151] The resource acquisition module 402 is used to acquire the target promotional resources corresponding to the film and television resources of the target number of episodes; the target promotional resources are generated based on the content of the film and television resources of the target number of episodes.
[0152] The push module 403 is used to push the target promotional resources to the user account.
[0153] In one embodiment, before obtaining the target episode number of the target film and television resource recently viewed by the user account, the device further includes:
[0154] The data acquisition module is used to acquire the movie-watching behavior data uploaded by the user account;
[0155] The preprocessing module is used to preprocess the viewing behavior data to obtain the target episode number of the target film and television resource that the user account has recently watched.
[0156] The episode storage module is used to save the user account and the target number of episodes to the database.
[0157] The set acquisition module 401 includes:
[0158] The episode acquisition unit is used to acquire the target episode number corresponding to the user account from the database.
[0159] In one embodiment, the preprocessing module includes:
[0160] The preprocessing unit is used to preprocess the viewing behavior data in real time to obtain the target episode number of the target film and television resource that the user account has recently watched.
[0161] The episode storage module includes:
[0162] The episode storage unit is used to save the user account and the target episode in a hash structure to a high-performance database.
[0163] In one embodiment, the resource acquisition module 402 includes:
[0164] A relationship acquisition unit is used to acquire the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0165] The resource determination unit is used to determine the target promotional resource corresponding to the target number of episodes based on the correspondence between the number of episodes of the target film and television resource and the promotional resource;
[0166] The resource acquisition unit is used to acquire the target promotional resources from the database.
[0167] In one embodiment, before retrieving the target promotional resources from the database, the apparatus further includes: a resource generation module, configured to generate one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources;
[0168] The relationship generation module is used to generate a correspondence between the number of episodes of the target film and television resources and the promotional resources based on one or more promotional resources corresponding to each of the multiple episodes of the film and television resources.
[0169] The relationship storage module is used to store the correspondence between the number of episodes of the target film and television resources and the promotional resources;
[0170] The resource storage module is used to save the promotional resources to the database.
[0171] In one embodiment, when there are multiple target film and television resources, the resource generation module includes:
[0172] The priority determination unit is used to determine the priority of each of the multiple target film and television resources based on their respective popularity.
[0173] The first resource generation unit is used to generate one or more promotional resources corresponding to each of the multiple episodes of the target film and television resources in descending order of priority.
[0174] In one embodiment, the resource generation module includes:
[0175] A set division unit is used to divide the film and television resources of some or all episodes into multiple sets according to the content of each episode.
[0176] The second resource generation unit is used to generate one or more of the promotional resources for each set;
[0177] The resource determination unit is used 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 film and television resources in the set.
[0178] By adopting the technical solution of this application embodiment, the target promotional resources corresponding to the target episode of the target film and television resource can be pushed to the user account according to the target episode number of the target film and television resource recently viewed by the user account. In this way, the number of episodes of the target film and television resource viewed by the user account is taken into account, and the target promotional resources are generated based on the content of the film and television resource of the target episode number. Therefore, the target promotional resources are more likely to attract user accounts to watch the target film and television resource, thereby increasing the viewing rate of the target film and television resource.
[0179] Please refer to Figure 5, which is a schematic diagram of another promotional resource push device provided in an embodiment of this application. The promotional resource push device is applied to a terminal and includes:
[0180] The upload module 501 is used to upload user account viewing behavior data for target film and television resources to the server; the target film and television resources are divided into multiple episodes of film and television resources, and each episode of film and television resources corresponds to one or more promotional resources;
[0181] The target acquisition module 502 is used to acquire the target promotional resources pushed by the server; the target promotional resources are: based on the viewing behavior data, determining the target number of episodes of the target film and television resources recently watched by the user account; and acquiring promotional resources based on the target number of episodes; the target promotional resources are generated based on the content of the film and television resources of the target number of episodes;
[0182] Display module 503 is used to display the target promotional resources.
[0183] Using the technical solution of this application embodiment, the terminal can upload user account viewing behavior data for target film and television resources to the server, thereby obtaining target promotional resources corresponding to the target episode number pushed by the server. Because the target promotional resources correspond to the target episode number and are generated based on the content of the film and television resources for the target episode number, the target promotional resources are more likely to attract user accounts to watch the target film and television resources, thereby increasing the viewing rate of the target film and television resources.
[0184] Specific limitations regarding the device for pushing promotional resources can be found in the limitations on the method of pushing promotional resources described above, and will not be repeated here. Each module in the aforementioned device for pushing promotional resources can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0185] In addition, this application also provides an electronic device, as shown in FIG6, which illustrates a schematic diagram of the structure of the electronic device involved in this application. Specifically:
[0186] The electronic device may include components such as a processor 601 with one or more processing cores and a memory 602 with one or more computer-readable storage media. Those skilled in the art will understand that the electronic device structure shown in FIG6 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0187] The processor 601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601. The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the electronic device. Furthermore, memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 602 may also include a memory controller to provide processor 601 with access to memory 602.
[0188] In one embodiment, the electronic device further includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0189] 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 control.
[0190] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602, thereby realizing the steps in any of the promotional resource push methods provided in the embodiments of this application.
[0191] Those skilled in the art will understand that the structure shown in Figure 6 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.
[0192] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the methods described in any embodiment of this application.
[0193] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of this application.
[0194] In some embodiments, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the methods described in any embodiment of this application.
[0195] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0196] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0197] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the promotional resource delivery methods provided in this application.
[0198] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0199] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0200] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the promotional resource push methods provided in this application, the beneficial effects that any of the promotional resource push methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0201] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0202] The above provides a detailed description of the method, apparatus, electronic device, and computer-readable storage medium for pushing promotional resources provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for pushing promotional resources, wherein, include: Get the latest number of episodes of the target film or television resource watched by the user's account; The target film and television resources are divided into multiple episodes of film and television resources, and each episode of film and television resources corresponds to one or more promotional resources; Obtain the target promotional resources corresponding to the film and television resources of the target number of episodes; The target promotional resources are generated based on the content of the film and television resources for the target number of episodes. The target promotional resources are pushed to the user account.
2. The method according to claim 1, wherein, Before obtaining the target promotional resources corresponding to the film and television resources of the target number of episodes, the method further includes: Identify the highlight moments in the film and television resources of the target episode; The target promotional resource is generated based on the video clip of the highlight moment; The highlight moment is determined by analyzing film and television resources based on natural language processing, computer vision, and audio analysis technologies; or, the highlight moment is the moment when the number of bullet comments exceeds a certain threshold.
3. The method according to claim 1, wherein, Before obtaining the target episode number of the latest viewed target film and television resource in the user account, the method further includes: Obtain the movie-watching behavior data uploaded by the user account; The viewing behavior data is preprocessed to obtain the target episode number of the target film and television resource that the user account has recently watched; The user account and the target episode number are saved to the database accordingly; The step of obtaining the target episode number of the latest viewed target film and television resource by the user account includes: obtaining the target episode number corresponding to the user account from the database.
4. The method according to claim 3, wherein, The process of obtaining the movie-watching behavior data uploaded by the user account includes: When the viewing time reaches the preset limit and the playback of the target film and television resource ends, the viewing behavior data uploaded by the user account is obtained.
5. The method according to claim 3, wherein, The viewing behavior data includes: the user account's start time, end time, and information about the film and television resources viewed.
6. The method according to claim 3, wherein, The preprocessing of the viewing behavior data to obtain the target episode number of the target film and television resource that the user account has recently watched includes: The viewing behavior data is preprocessed in real time to obtain the target episode number of the target film and television resource that the user account has watched the latest; The step of saving the user account and the target set of episodes to the database includes: saving the user account and the target set of episodes to a high-performance database in a hash structure.
7. The method according to claim 1, wherein, The target promotional resources corresponding to the film and television resources for the target number of episodes include: Obtain the correspondence between the number of episodes of the target film and television resources and the promotional resources; Based on the correspondence between the number of episodes of the target film and television resources and the promotional resources, determine the target promotional resources corresponding to the target number of episodes; Retrieve the target promotional resources from the database.
8. The method according to claim 7, wherein, Before retrieving the target promotional resource from the database, the method further includes: For the target film and television resources, generate one or more promotional resources corresponding to each of the multiple episodes of the film and television resources; Based on one or more of the promotional resources corresponding to each of the multiple episodes of the film and television resources, a correspondence between the number of episodes of the target film and television resources and the promotional resources is generated; Save the correspondence between the number of episodes of the target film and television resources and the promotional resources; The promotional resources are saved to the database.
9. The method according to claim 8, wherein, The process involves generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resource, including: Determine the priority of each episode of the target film and television resource; When generating one or more promotional resources corresponding to each of the multiple episodes of the film and television resources, the multiple episodes of the target film and television resources are generated in descending order of priority.
10. The method according to claim 9, wherein, Determining the priority of each episode of the target film and television resource includes: The priority of each episode of the target film and television resource is determined based on the number of viewers, click-through rate, number of bullet comments, and / or positive review rate of each episode.
11. The method according to claim 8, wherein, When there are multiple target film and television resources, the process involves generating one or more promotional resources corresponding to each of the multiple film and television resources, including: Based on the popularity of each of the target film and television resources, the priority of each of the target film and television resources is determined. According to the priority from high to low, multiple episodes of the target film and television resources are generated in sequence, and one or more promotional resources corresponding to each of the multiple episodes of the film and television resources are generated.
12. The method according to claim 11, wherein, The method further includes: The popularity of the target film and television resource is determined based on the number of viewers, click-through rate, number of bullet comments, positive review rate, and / or whether it is completed.
13. The method according to claim 8, wherein, The process involves generating one or more promotional resources corresponding to each of the multiple episodes of the target film and television resource, including: Based on the content of some or all episodes of the target film and television resources, the film and television resources of some or all episodes are divided into multiple sets; Generate one or more of the aforementioned promotional resources for each set; One or more of the promotional resources corresponding to the set are determined as one or more of the promotional resources corresponding to each episode of the film and television resources in the set.
14. The method according to claim 13, wherein, The method involves dividing the film and television resources into multiple sets based on the content of some or all episodes of the target film and television resources, including: Identify the content of adjacent episodes and use a large language model to determine the content correlation between adjacent episodes; determine whether to group the film and television resources of adjacent episodes into one set based on whether the content correlation between adjacent episodes is greater than the correlation threshold.
15. The method according to claim 1, wherein, The step of pushing the target promotional resources to the user account includes: Obtain the display parameters corresponding to the terminal where the user account is located, including size and resolution; The target promotional resources are adjusted according to the display parameters corresponding to the terminal where the user account is located; The adjusted target promotional resources will be pushed to the user account.
16. The method according to claim 1, wherein, The method further includes: When generating the target promotional resources corresponding to the target set number, target promotional resources corresponding to various display parameters are generated; The step of pushing the target promotional resources to the user account includes: The target promotional resources corresponding to the display parameters of the user account are pushed to the user account.
17. A method for pushing promotional resources, wherein, Applied to a terminal, the method includes: Upload user account viewing behavior data for target film and television resources to the server; the target film and television resources are divided into multiple episodes, and each episode of the film and television resources corresponds to one or more promotional resources; Obtain the target promotional resources pushed by the server; the target promotional resources are: based on the viewing behavior data, determine the target number of episodes of the target film and television resource that the user account has recently watched; and obtain the promotional resources based on the target number of episodes; the target promotional resources are generated based on the content of the film and television resource of the target number of episodes; Display the target promotional resources.
18. The method according to claim 17, wherein, The method further includes: In response to the user account clicking on the displayed target promotional resource, the user is directed to the playback page of the target film and television resource and continues playback of the target film and television resource from the historical viewing progress.
19. An electronic device, wherein, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for pushing promotional resources as described in any one of claims 1 to 18.
20. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for pushing promotional resources as described in any one of claims 1 to 18.