Server, media asset label recommendation method and storage medium

By using the media asset label model trained on the server using user portraits and behavioral data, the problem of user time wasted in the media asset screening process is solved, and the accuracy and user experience of media asset screening are improved.

CN118828073AActive Publication Date: 2024-10-22JUHAOKAN TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311611135.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-10-22
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

Due to the limited page size of the tag display area in the existing media asset screening method, users need to spend a lot of time selecting target media assets and cannot efficiently obtain the required media assets, which reduces the user experience.

Method used

The controller of the server trains the target recommended media asset label model based on the user portrait and user behavior data, obtains the predicted probability of the media asset to be recommended, determines and sends the target recommended media asset label to the terminal device for user selection.

Benefits of technology

It improves the accuracy and user experience when screening media assets, provides more accurate candidate media assets, and reduces users’ time and trouble in the screening process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828073A_ABST
    Figure CN118828073A_ABST
Patent Text Reader

Abstract

The invention relates to a server, a media asset label recommendation method and a storage medium. The server comprises a controller configured to determine a plurality of to-be-recommended media asset labels corresponding to a user according to a user portrait, the recommended media asset labels being used for representing user preferences; the to-be-recommended media asset labels are input into a target recommended media asset label model, prediction probabilities corresponding to all the to-be-recommended media asset labels output by the target recommended media asset label model are obtained, and the target recommended media asset label model is obtained through training according to a plurality of training samples; and according to the plurality of prediction probabilities, determining at least one target recommended media asset label in the plurality of to-be-recommended media asset labels corresponding to the user, and sending the target recommended media asset label to a terminal device, so that the terminal device displays the at least one target recommended media asset label. The target media asset label can be recommended to the user according to the user portrait, and the user satisfaction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of recommendation algorithms, and in particular to a server, a media asset tag recommendation method, and a storage medium. Background Art

[0002] In the prior art, users can filter media and watch media by using tags given by a media application program; for example, refer to Figure 1 As shown, Figure 1 The figure is a schematic diagram of a media resource recommendation interface of a smart TV. A user can select multiple labels in the label display area 21 according to his / her preferences. After receiving at least one label selected by the user, the system selects multiple media resources that meet the label selected by the user from the media resource database and displays the multiple media resources in the display interface. For example, after screening, multiple media resources that meet the user label are displayed. However, in the above media resource screening method, since the size of the label display area 21 page is limited, only limited labels can be listed for the user to select. Therefore, the definition of the label range for the user to select is usually relatively broad.

[0003] For example, the user currently wants to watch a movie about "Muay Thai", but there is no corresponding tag for "Muay Thai" in the tag display area. The user can only further narrow the screening range through the "action" tag. After the system gives the user multiple candidate media resources, the user can further select from the multiple candidate media resources until the target media resource is found. If there are too many candidate media resources, the user is likely to lose patience and give up watching.

[0004] Therefore, when the above method obtains target media assets through tags, the user needs to spend a lot of time selecting target media assets, and the media assets required by the user cannot be efficiently provided through tag screening, which reduces the user experience. Summary of the invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a server, a media asset tag recommendation method and a storage medium.

[0006] In a first aspect, the present disclosure provides a server, including:

[0007] The controller is configured as:

[0008] Determine, based on the user portrait, a plurality of to-be-recommended media asset tags corresponding to the user, wherein the recommended media asset tags are used to represent the user's preferences;

[0009] Input the to-be-recommended media asset tags into the target recommended media asset tag model, and obtain the predicted probabilities corresponding to the to-be-recommended media asset tags output by the target recommended media asset tag model, wherein the target recommended media asset tag model is trained based on a plurality of training samples, and the training samples include: the recommended media asset tags corresponding to the sample user portraits, and the user behavior data corresponding to the recommended media asset tags, and the user behavior data include: the number of clicks on the recommended media asset tags, and the adoption results;

[0010] According to the plurality of predicted probabilities, at least one target recommended media asset tag is determined from the plurality of to-be-recommended media asset tags corresponding to the user, and is sent to a terminal device, so that the terminal device displays the at least one target recommended media asset tag.

[0011] As an optional implementation of the embodiment of the present disclosure, the controller is specifically configured as follows:

[0012] The predicted probabilities corresponding to the media asset tags to be recommended are sorted, and at least one target recommended media asset tag is determined from the plurality of media asset tags to be recommended according to the sorting result.

[0013] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:

[0014] Obtain user portraits corresponding to multiple users, as well as user behavior data of multiple users within a preset period;

[0015] constructing the plurality of training samples according to the plurality of recommended media asset tags, the number of clicks respectively corresponding to the plurality of recommended media asset tags, and the adoption results;

[0016] The plurality of training samples are input into an initial recommended media asset label model, and the initial recommended media asset label model is trained using the plurality of training samples to obtain the target recommended media asset label model.

[0017] As an optional implementation of the embodiment of the present disclosure, the server stores a plurality of media assets to be recommended, and the controller is further configured to:

[0018] According to the number of clicks and the number of tags corresponding to each of the media assets to be recommended within a preset period, the hot parameters corresponding to each of the media assets to be recommended are obtained, and the hot parameters are used to characterize the popularity of the media assets to be recommended;

[0019] According to the hot parameter and the preset threshold, at least one first initial media asset to be recommended is determined from the multiple media assets to be recommended, and the number of clicks corresponding to each first initial media asset to be recommended and the number of clicks on the media asset label are increased until the hot parameter is equal to the preset hot parameter;

[0020] Constructing a target media asset set to be recommended according to the at least one first initial media asset to be recommended, the at least one tag corresponding to the first initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag, and the at least one second initial media asset to be recommended, the at least one tag corresponding to the second initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag;

[0021] The at least one second initial media asset to be recommended is the other media assets to be recommended among the multiple media assets to be recommended except the at least one first initial media asset to be recommended.

[0022] As an optional implementation of the embodiment of the present disclosure, the controller is specifically configured as follows:

[0023] Obtaining the number of media asset clicks corresponding to each of the plurality of media assets to be recommended;

[0024] Obtaining the numbers of multiple labels corresponding to the multiple media assets to be recommended, and multiplying the numbers by the corresponding media asset click counts to obtain the media asset label click counts;

[0025] For each of the media assets to be recommended, the hot parameters respectively corresponding to the plurality of media assets to be recommended are obtained according to the number of clicks on the media assets, the number of clicks on the media asset tags, the number of media asset tags and the number of media assets to be recommended.

[0026] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:

[0027] After obtaining the target recommended media asset tag, based on the target recommended media asset tag and the tags corresponding to each target media asset in the target media asset set, at least one target recommended media asset corresponding to the target recommended media asset tag is determined in the target media asset set, and sent to the terminal device so that the terminal device displays the at least one target recommended media asset.

[0028] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:

[0029] Obtaining evaluation parameters corresponding to the target recommended media asset tag;

[0030] updating the plurality of training samples according to the evaluation parameter and the target recommended media asset label;

[0031] The target recommended media asset label model is periodically updated using the updated plurality of training samples.

[0032] In a second aspect, a method for recommending media resource tags is provided, the method comprising:

[0033] Determine, based on the user portrait, a plurality of to-be-recommended media asset tags corresponding to the user, wherein the recommended media asset tags are used to represent the user's preferences;

[0034] Input the to-be-recommended media asset tags into the target recommended media asset tag model, and obtain the predicted probabilities corresponding to the to-be-recommended media asset tags output by the target recommended media asset tag model, wherein the target recommended media asset tag model is trained based on a plurality of training samples, and the training samples include: the recommended media asset tags corresponding to the sample user portraits, and the user behavior data corresponding to the recommended media asset tags, and the user behavior data include: the number of clicks on the recommended media asset tags, and the adoption results;

[0035] According to the plurality of predicted probabilities, at least one target recommended media asset tag is determined from the plurality of to-be-recommended media asset tags corresponding to the user, and is sent to a terminal device, so that the terminal device displays the at least one target recommended media asset tag.

[0036] As an optional implementation of the embodiment of the present disclosure, after inputting the to-be-recommended media asset tags into the target recommended media asset tag model and obtaining the predicted probabilities corresponding to the respective to-be-recommended media asset tags output by the target recommended media asset tag model, the method further includes:

[0037] The predicted probabilities corresponding to the media asset tags to be recommended are sorted, and at least one target recommended media asset tag is determined from the plurality of media asset tags to be recommended according to the sorting result.

[0038] In a third aspect, a computer-readable storage medium is provided, including: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the media asset tag recommendation method shown in the second aspect is implemented.

[0039] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0040] In the technical solution provided by the embodiment of the present disclosure, the controller of the server determines a plurality of to-be-recommended media tags corresponding to the user based on the user portrait, and the recommended media tags are used to characterize the user preferences; the to-be-recommended media tags are input into the target recommended media tag model, and the predicted probabilities corresponding to each of the to-be-recommended media tags output by the target recommended media tag model are obtained, wherein the target recommended media tag model is trained based on a plurality of training samples, and the training samples include: the recommended media tags corresponding to the sample user portrait, and the user behavior data corresponding to the recommended media tags, and the user behavior data include: the number of clicks on each of the recommended media tags, and the adoption results; based on the plurality of predicted probabilities, at least one target recommended media tag is determined from the plurality of to-be-recommended media tags corresponding to the user, and sent to the terminal device, so that the terminal device displays at least one of the target recommended media tags. In the above technical scheme, the user portrait can be combined to obtain the multiple media asset tags to be recommended, and then the target recommended media asset tag model can be used to calculate the prediction probability corresponding to each media asset tag to be recommended, and then at least one target recommended media asset tag can be determined and sent to the terminal device. In this way, at least one media asset tag that meets the user's preferences can be fed back to the user, thereby eliminating the need for the user to select tags from multiple fixed tags for media screening. The present application can recommend tags that meet the user's preferences to the user in combination with the user's preferences. Based on this, the accuracy of the user's media screening through media asset tags can be improved, thereby ensuring that more accurate candidate media are provided to the user when media is screened through media recommendation tags, thereby improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] Figure 1 This is a schematic diagram of a media resource recommendation interface for a smart TV;

[0044] Figure 2 A schematic diagram of an application scenario of a method for supporting media asset tag recommendation provided by an embodiment of the present disclosure;

[0045] Figure 3 A hardware configuration block diagram of a server according to one or more embodiments of the present disclosure;

[0046] Figure 4 A framework diagram of a media resource recommendation system according to one or more embodiments of the present disclosure;

[0047] Figure 5 A flowchart of a media asset tag recommendation method provided in an embodiment of the present disclosure;

[0048] Figure 6 A schematic diagram of an interface of a display device for another media resource tag recommendation method provided by an embodiment of the present disclosure;

[0049] Figure 7 A schematic diagram of a media resource recommendation interface provided by an embodiment of the present disclosure;

[0050] Figure 8 is a flowchart of another media asset tag recommendation method provided by an embodiment of the present disclosure;

[0051] Fig. 9 is a flowchart of another media asset tag recommendation method provided by an embodiment of the present disclosure;

[0052] Fig.10 It is a flowchart of another media resource tag recommendation method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0055] The terms "first", "second", "third", etc. in the specification and claims of the present disclosure and the above drawings are used to distinguish similar or similar objects or entities, and are not necessarily meant to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0056] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0057] In the prior art, users can filter media and watch media by using tags given by a media application program; for example, refer to Figure 1 As shown, Figure 1 The figure is a schematic diagram of a media resource recommendation interface of a smart TV. A user can select multiple labels in the label display area 21 according to his / her preferences. After receiving at least one label selected by the user, the system selects multiple media resources that meet the label selected by the user from the media resource database and displays the multiple media resources in the display interface. For example, after screening, multiple media resources that meet the user label are displayed. However, in the above media resource screening method, since the size of the label display area 21 page is limited, only limited labels can be listed for the user to select. Therefore, the definition of the label range for the user to select is usually relatively broad.

[0058] For example, the user currently wants to watch a movie about "Muay Thai", but there is no corresponding tag for "Muay Thai" in the tag display area. The user can only further narrow the screening range through the "action" tag. After the system gives the user multiple candidate media resources, the user can further select from the multiple candidate media resources until the target media resource is found. If there are too many candidate media resources, the user is likely to lose patience and give up watching.

[0059] Therefore, when the above method obtains target media assets through tags, the user needs to spend a lot of time selecting target media assets, and the media assets required by the user cannot be efficiently provided through tag screening, which reduces the user experience.

[0060] In order to solve the above problems, the embodiments of the present disclosure propose a server, a media tag recommendation method, and a storage medium, wherein the controller of the server determines multiple media tags to be recommended corresponding to the user based on the user portrait, and the recommended media tags are used to characterize the user preferences; the media tags to be recommended are input into the target recommended media tag model, and the predicted probabilities corresponding to each of the media tags to be recommended output by the target recommended media tag model are obtained, wherein the target recommended media tag model is trained based on multiple training samples, and the training samples include: the recommended media tags corresponding to the sample user portrait, and the user behavior data corresponding to the recommended media tags, and the user behavior data include: the number of clicks on each of the recommended media tags, and the adoption results; based on the multiple predicted probabilities, at least one target recommended media tag is determined from the multiple media tags to be recommended corresponding to the user, and sent to the terminal device, so that the terminal device displays at least one of the target recommended media tags. In the above technical scheme, the user portrait can be combined to obtain the multiple media asset tags to be recommended, and then the target recommended media asset tag model can be used to calculate the prediction probability corresponding to each media asset tag to be recommended, and then at least one target recommended media asset tag can be determined and sent to the terminal device. In this way, at least one media asset tag that meets the user's preferences can be fed back to the user, thereby eliminating the need for the user to select tags from multiple fixed tags for media screening. The present application can recommend tags that meet the user's preferences to the user in combination with the user's preferences. Based on this, the accuracy of the user's media screening through media asset tags can be improved, thereby ensuring that more accurate candidate media are provided to the user when media is screened through media recommendation tags, thereby improving the user's experience.

[0061] For example, Figure 2 As shown, Figure 2 A schematic diagram of an application scenario of a method for supporting media asset tag recommendation provided by an embodiment of the present disclosure, in which Figure 2 In the embodiment, the server 100 uses the target recommended media asset label model to obtain the prediction probability corresponding to each to-be-recommended media asset included in the to-be-recommended media asset data set, and determines at least one target recommended media asset from the multiple to-be-recommended media assets based on multiple prediction probabilities, and further sends the at least one target recommended media asset to the terminal device 200, so that the terminal device 200 displays the at least one target recommended media asset. The terminal device 200 in this embodiment can be a smart device with a smart display function, such as a smart TV, a smart tablet, or a smart phone. The specific type of the terminal device is not limited in the embodiments of the present disclosure.

[0062] In some embodiments, the terminal device 200 also communicates data with the server 100. The terminal device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 100 may provide various content and interactions to the terminal device 200. The server may be a server that provides various services, such as a server that provides support for media data collected by the terminal device. The server may perform analysis and other processing on the received media data, and feed back the processing results (such as endpoint information) to the terminal device. The server may be a server cluster or multiple server clusters, and may include one or more types of servers.

[0063] The media asset tag recommendation method provided in the embodiments of the present disclosure may be implemented based on a server, or a functional module or functional entity in the server.

[0064] For example, Figure 3 FIG. 1 is a hardware configuration block diagram of a server according to one or more embodiments of the present disclosure. Figure 3 As shown, the server includes: a tuner 310, a communicator 320, a controller 330, a display interface 340, at least one of a memory and a power supply. Among them, the controller 330 includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display interface 340 can be a VGA (Video Graphics Array). Generally, the requirements for server graphics cards are not high, so the general server graphics card interface is a VGA interface, which is generally used to install the server operating system or daily debugging. The tuner 310 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as EPG audio and video data signals. The communicator 320 is a component for communicating with external devices according to various communication protocol types. For example: the communicator can include other network communication protocol chips or near field communication protocol chips such as Wifi modules, Bluetooth modules, wired Ethernet modules, and at least one of infrared receivers. The server can establish the transmission and reception of control signals and data signals with the terminal device 300 or the local control device through the communicator 320. The controller 330 and the tuner-demodulator 310 can be located in different separate devices, that is, the tuner-demodulator 310 can also be in an external device of the main device where the controller 330 is located, such as an external set-top box.

[0065] In some embodiments, the controller 330 controls the operation of the server and responds to the user's operation through various software control programs stored in the memory. The controller 330 controls the overall operation of the server. The user can input user commands through the graphical user interface (GUI) displayed on the display interface 340, and the user input interface receives the user input commands through the graphical user interface (GUI).

[0066] Figure 4 A framework diagram of a media resource recommendation system according to one or more embodiments of the present disclosure is shown in FIG. Figure 4 As shown, the system may include an acquisition module 41, a prediction probability acquisition module 42, and a target recommended media asset tag determination module 43. The acquisition module 41 is used to determine multiple to-be-recommended media asset tags corresponding to the user according to the user portrait, and the recommended media asset tags are used to characterize the user preferences; the prediction probability acquisition module 42 is used to input the to-be-recommended media asset tags into the target recommended media asset tag model, and obtain the prediction probabilities corresponding to each to-be-recommended media asset tag output by the target recommended media asset tag model, wherein the target recommended media asset tag model is trained based on multiple training samples, and the training samples include: the recommended media asset tags corresponding to the sample user portrait, and the user behavior data corresponding to the recommended media asset tags, and the user behavior data includes: the number of clicks on each of the recommended media asset tags, and the adoption results; the target recommended media asset tag determination module 43 is used to determine at least one target recommended media asset tag from the multiple to-be-recommended media asset tags corresponding to the user according to the multiple prediction probabilities, and send it to the terminal device, so that the terminal device displays at least one target recommended media asset tag.

[0067] In the above technical scheme, since the target recommended media asset label model is trained based on multiple training samples, the training samples include: the recommended media asset label corresponding to the sample user portrait, the user behavior data corresponding to the recommended media asset label, and the user behavior data includes: the number of clicks on each of the recommended media asset labels, and the adoption results. In this way, the user portrait and the corresponding user behavior data can be combined to calculate multiple media asset labels to be recommended, and the corresponding prediction probabilities can be obtained. Based on this, at least one media asset recommendation label that meets the user's preferences can be fed back to the user through the prediction probability, so that when media is screened through media recommendation labels, more accurate candidate media are provided to the user, thereby improving the user experience.

[0068] In order to explain this scheme in more detail, the following will be combined in an exemplary manner Figure 5It is understood that although the steps in the flowchart of 5 are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Figure 5 At least part of the steps may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps. The method for recommending media asset tags provided in the embodiment of the present disclosure shall prevail.

[0069] Figure 5 A flowchart of a media asset tag recommendation method provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the media resource tag recommendation method specifically includes the following steps:

[0070] S501. Determine multiple media resource tags to be recommended corresponding to the user according to the user portrait.

[0071] The recommended media resource tags are used to represent user preferences.

[0072] In some embodiments, users can select media to watch on various display devices through various media applications on the market. For example, users can log in to their personal accounts on the media application on the TV to watch TV series, movies, etc. Therefore, in the embodiments of the present application, user portraits will be portrayed based on the user's historical viewing records to obtain user portraits corresponding to different users; the essence of the user profile is a description of user needs. Specifically, the user profile is the user characteristics that can reflect the user's preferences; when recommending media to users, media tags can be recommended in combination with the user profile. The tag is the abstraction and description of user attributes, interests, behaviors and other characteristics, which can reflect the specific characteristics of the current user, so that when recommending media tags in the future, combined with the user profile, it can recommend tags that are closer to user needs and satisfy the user as much as possible.

[0073] For example, if user A's media viewing records are mostly suspense films and horror films, then the user portrait of user A can be obtained through the viewing records and user A's account information, which may be: user A is a young male user who prefers suspense, horror, and thriller genres; based on user A's user portrait, it can be determined that the multiple media tags to be recommended corresponding to user A may include: suspense, horror, thriller and other media tags of the same type.

[0074] It should be noted that the multiple media asset tags to be recommended also include multiple media asset tags obtained according to user behavior data; specifically, in the system, a log for storing user behavior data, that is, user viewing records, will be established. By reading the log, the user's viewing records within a preset time period can be obtained, so as to further obtain the user's corresponding media asset tags from the viewing records. For example, through the viewing records, it can be obtained that when the user has recently watched a large number of science fiction films, it can be known that the user has recently liked to watch science fiction films, and science fiction can be used as one of the multiple media asset tags to be recommended. This makes multiple tags among the multiple media asset tags to be recommended closer to the user's current preferences, so as to recommend media that better satisfies the user.

[0075] S502: Input the to-be-recommended media asset tags into a target recommended media asset tag model, and obtain the predicted probabilities corresponding to the to-be-recommended media asset tags output by the target recommended media asset tag model.

[0076] Among them, the target recommended media asset label model is trained based on multiple training samples, and the training samples include: recommended media asset labels corresponding to sample user portraits, user behavior data corresponding to the recommended media asset labels, and the user behavior data includes: the number of clicks on each of the recommended media asset labels, and the adoption results.

[0077] In some embodiments, the target recommended media asset label model can be obtained by training any neural network model; it is used to combine the user portrait, give the corresponding prediction probability of each to-be-recommended label through model reasoning, and select the target recommended media asset label to be fed back to the user according to the size of the prediction probability.

[0078] Specifically, when the media asset tags to be recommended are input into the target recommended media asset tag model, the media tags obtained from the user portrait corresponding to the user and the media tags obtained based on the user behavior data are input into the target recommended media asset tag model in the form of a feature matrix. Taking user 1 as an example, the media tags corresponding to the user portrait of user 1 are converted into a vector form to obtain a feature matrix A about the user portrait. i ; Then, initialize a 1-column m-dimensional all-zero vector B i,j , traverse all media assets clicked by users within the preset period, and obtain the corresponding media asset label sequence; if the current media asset label is p, and label p is not adopted by the user, then media label p is added to vector B i,j The number at the position of is set to -1. If the media tag p is adopted by the user, the media tag p is placed in the vector B i,j The numbers at the positions are set to 1. That is, we can use vector B i,jIndicates whether the media resource label of user 1 in round j is adopted by other users. Similarly, initialize a 1-column m-dimensional all-zero vector C i,j , traverse all media assets clicked by users within the preset period, obtain the corresponding media asset tag sequence, and if the media asset tag p has been recommended twice, add the media asset tag p in the vector C i,j The number at the position of is set to 2. It can represent the number of times user 1 recommends media resource tag p in the jth round.

[0079] The above three feature matrices, i.e., the feature matrix A of multiple media resource labels to be recommended obtained from the user portrait of user 1 i , and the characteristic matrix B of the adoption results of multiple media asset tags to be recommended obtained based on the behavior data of user 1 i,j , and the feature matrix C of the number of times multiple media asset tags are adopted i,j ; Input it into the target recommended media asset label model, and the target recommended media asset label model can perform probability prediction on multiple media asset labels to be recommended to obtain the predicted probability corresponding to each of the media asset labels to be recommended.

[0080] It should be noted that the target recommendation media asset label model can be obtained by training a machine learning algorithm model such as a deep learning neural network model or a convolutional neural network model through training samples. The embodiment of the present invention does not limit the specific type of the target recommendation label model.

[0081] S503: Determine at least one target recommended media asset tag from the multiple to-be-recommended media asset tags corresponding to the user according to the multiple predicted probabilities, and send the determination to a terminal device, so that the terminal device displays the at least one target recommended media asset tag.

[0082] In some embodiments, after obtaining the predicted probabilities corresponding to the multiple media asset tags to be recommended, the degree to which each tag meets the user's requirements can be determined based on the size of the predicted probabilities corresponding to the recommended media asset tags. In this embodiment of the present application, based on the size of the predicted probabilities corresponding to the recommended media asset tags, the recommended media asset tag with the largest predicted probability can be fed back to the user as the target media asset tag. Alternatively, a predicted probability threshold can be set, and tags with a probability greater than the predicted probability threshold can be fed back to the user as the target tags.

[0083] Optionally, the predicted probabilities corresponding to the media asset tags to be recommended may be sorted, and at least one target recommended media asset tag may be determined from the plurality of media asset tags to be recommended according to the sorting result.

[0084] Specifically, corresponding weight coefficients can be set in advance for the media tags in the multiple media tags to be recommended. If you want to obtain media tags that are closer to the user portrait, you can set the proportion of the weight coefficient of the corresponding media tag in the user portrait to be relatively large; if you want to obtain media tags that are closer to the user's most recent behavior data, you can set the proportion of the weight coefficient of the media tag obtained from the user behavior data to be relatively large; so as to meet user needs in different scenarios.

[0085] In an embodiment of the present application, after obtaining the target recommended media asset tag, based on the target recommended media asset tag and the tags corresponding to each target media asset in the target media asset set, at least one target recommended media asset corresponding to the target recommended media asset tag is determined in the target media asset set and sent to a terminal device so that the terminal device displays the at least one target recommended media asset.

[0086] Reference Figure 6 As shown in FIG. 1 , a tag recommendation interface provided by an embodiment of the present application is provided. After obtaining the at least one target recommended media asset tag, the at least one target recommended tag is displayed on Figure 6 In the target recommendation tag display interface 61, two touch buttons are set, corresponding to adoption and rejection, so that the user can choose whether to adopt at least one current target recommended media asset tag or not to adopt at least one current target recommended media asset tag according to personal wishes; if adopted, the system updates the target media asset set to be recommended according to the current tag and provides a new media asset tag; if not adopted, the system marks the media asset tags that are not adopted by the current user through the target recommended media asset tag model to avoid recommending the same or similar media asset tags in the next round, and perform the next round of tag calculation until the user adopts a media asset tag and clicks on the target media asset, or exits the current recommendation process.

[0087] In the technical solution provided by the embodiment of the present disclosure, the controller of the server determines a plurality of to-be-recommended media tags corresponding to the user based on the user portrait, and the recommended media tags are used to characterize the user preferences; the to-be-recommended media tags are input into the target recommended media tag model, and the predicted probabilities corresponding to each of the to-be-recommended media tags output by the target recommended media tag model are obtained, wherein the target recommended media tag model is trained based on a plurality of training samples, and the training samples include: the recommended media tags corresponding to the sample user portrait, and the user behavior data corresponding to the recommended media tags, and the user behavior data include: the number of clicks on each of the recommended media tags, and the adoption results; based on the plurality of predicted probabilities, at least one target recommended media tag is determined from the plurality of to-be-recommended media tags corresponding to the user, and sent to the terminal device, so that the terminal device displays at least one of the target recommended media tags. In the above technical scheme, the user portrait can be combined to obtain the multiple media asset tags to be recommended, and then the target recommended media asset tag model can be used to calculate the prediction probability corresponding to each media asset tag to be recommended, and then at least one target recommended media asset tag can be determined and sent to the terminal device. In this way, at least one media asset tag that meets the user's preferences can be fed back to the user, thereby eliminating the need for the user to select tags from multiple fixed tags for media screening. The present application can recommend tags that meet the user's preferences to the user in combination with the user's preferences. Based on this, the accuracy of the user's media screening through media asset tags can be improved, thereby ensuring that more accurate candidate media are provided to the user when media is screened through media recommendation tags, thereby improving the user's experience.

[0088] As an extension and refinement of the above embodiment, refer to Figure 7 As shown, the method for obtaining the target recommended media asset label model can refer to the following steps:

[0089] S701. Obtain user portraits corresponding to multiple users, and user behavior data of the multiple users within a preset period.

[0090] The user behavior data of the individual user within a preset period includes the number of clicks on the recommended media resource tag and the adoption result.

[0091] In some embodiments, the preset period may be the number of clicks on the recommended media asset tag in the most recent month, and the adoption results; wherein the adoption results may be divided into adoption and non-adoption.

[0092] In the embodiment of the present application, a large amount of user portraits, user behavior data and target labels are collected as sample data to train the initial recommended media asset label model. For example, assume that the user set U = [u1, u2, ... n ], where u irepresents the i-th user. The sequence of media resources clicked by the user in the preset time period is M = [m i,1 、m i,2 ,…m i,n For media asset j in the media asset sequence, its label set is T = [t j,1 ,t j,2 ,…t j,n ].

[0093] S702: construct the plurality of training samples according to the plurality of recommended media asset tags, the number of clicks respectively corresponding to the plurality of recommended media asset tags, and the adoption results.

[0094] S703: Input the plurality of training samples into an initial recommended media asset label model, and train the initial recommended media asset label model using the plurality of training samples to obtain the target recommended media asset label model.

[0095] During model training, it is also necessary to input the feature matrix of multiple recommended media labels obtained from the user portraits corresponding to multiple users, the feature matrix of the adoption results of multiple recommended media labels obtained according to the behavioral data of multiple users, and the feature matrix of the number of adoptions of multiple media labels; and the corresponding recommended media labels into the initial recommended media label model for training.

[0096] During training, an auxiliary model can also be set up. For example, the auxiliary model can be a deep reinforcement learning (Deep Q-Network, DQN) target network model, which has the same structure as the recommended media asset label model, so as to obtain optimized model parameters by calculating the model loss. It can be set that the parameters of the recommended media asset label model are updated once every preset number of training times using the optimized model parameters obtained by the DQN target network model, so as to complete the model update and make the model more optimized.

[0097] Specifically, the function formula for calculating the loss is as follows:

[0098] loss = loss_func(model e (S)Score+γ*model t (S′)

[0099] Among them, loss represents the loss size, γ represents the preset number of training times, and model e Indicates the current recommended media asset label model, S represents model e The current model state, model t represents the auxiliary model, s′ represents model eIn the model state after being updated according to the simulated user adoption results, Score represents the evaluation parameter obtained according to the simulated user adoption results, that is, the reward size.

[0100] As an extension and refinement of the above embodiment, in the embodiments of the present application, refer to Figure 8 As shown, the server stores a plurality of media resources to be recommended, and the controller is further configured to:

[0101] S801. Obtain popular parameters corresponding to each of the media resources to be recommended according to the number of clicks and the number of tags corresponding to each of the media resources to be recommended within a preset period.

[0102] The popularity parameter is used to characterize the popularity of the media asset to be recommended.

[0103] In an embodiment of the present application, when obtaining at least one corresponding target recommended media asset according to the at least one target recommendation tag, it is obtained from the multiple media assets to be recommended. Therefore, when recommending at least one target recommended media asset, it is easily affected by the popularity of the current media asset. When satisfying the at least one target recommendation tag, what is often fed back to the user is the media asset with high popularity while ignoring the relatively unpopular media asset. However, it is not ruled out that some users want to find unpopular media assets. Therefore, in order to make the media asset data including multiple media assets to be recommended more fair, the embodiment of the present application calculates the scarcity of multiple media assets to be recommended, determines to recommend unpopular media with low popularity, and increases the popularity parameters of unpopular media with low popularity, so that the popularity parameters of multiple media assets to be recommended are consistent, and there is no media asset with high popularity or low popularity.

[0104] In some embodiments, the specific method of obtaining the hot parameters corresponding to each of the to-be-recommended media assets according to the number of clicks and the number of tags corresponding to each of the to-be-recommended media assets within a preset period described in step S801 above can be as follows:

[0105] S8011. Obtain the number of media asset clicks corresponding to each of the plurality of media assets to be recommended.

[0106] S8012: Obtain the number of media asset labels corresponding to the plurality of media assets to be recommended, and multiply the number of clicks on the corresponding media assets by the number of clicks on the corresponding media assets to obtain the number of clicks on the media asset labels.

[0107] S8013. For each of the media assets to be recommended, obtain the hot parameters respectively corresponding to the multiple media assets to be recommended according to the number of clicks on the media assets, the number of clicks on the media asset tags, the number of media asset tags, and the number of media assets to be recommended.

[0108] Specifically, the popularity parameter is used to characterize the popularity of the media asset to be recommended. The larger the popularity parameter is, the lower the popularity of the media asset is and the higher its scarcity is. The popularity parameter can be represented by Q. The formula for calculating the popularity parameter is as follows:

[0109]

[0110] Among them, c i,1 Indicates the number of times the media asset is clicked by the user, c i,2 Indicates the number of times the media asset tag is clicked by the user, m indicates the number of media assets to be recommended, and k indicates the number of tags of the media asset. Based on the above formula, the hot parameter corresponding to the media asset is obtained to measure the popularity of the media asset.

[0111] S802. According to the popular parameter and the preset threshold, determine at least one first initial media asset to be recommended from the multiple media assets to be recommended, and increase the number of clicks corresponding to each first initial media asset to be recommended and the number of clicks on the media asset label until the popular parameter is equal to the preset popular parameter. It should be noted that the preset popular parameter can be the number of media asset clicks corresponding to the media asset with the highest popularity among the multiple media assets to be recommended; it can also be the number of clicks with a relatively middle popularity set by the developer based on the number of clicks of the multiple media assets to be recommended, and this application does not impose any limitation on this.

[0112] In some embodiments, a threshold value for the number of media assets can be set to specify that a threshold number of media assets to be recommended are selected from the multiple media assets to be recommended each time. For example, the threshold value can be set to 100, that is, 100 media assets to be recommended are selected each time, and the popular parameters of the 100 media assets to be recommended are calculated. Then, based on the size of the popular parameters, the popular parameters are selected from the 100 media assets to be recommended from high to low, and the number is 100 multiplied by the preset threshold number of media assets to be recommended to generate the first initial media assets to be recommended. If the preset threshold value is 0.1, the first 10 media assets to be recommended with the hot parameter size among the 100 media assets to be recommended are finally selected as the second initial media assets to be recommended. It should be noted that those skilled in the art can set the preset threshold value according to actual conditions.

[0113] S803. Construct a target media asset set to be recommended based on the at least one first initial media asset to be recommended, at least one tag corresponding to the first initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag, and at least one second initial media asset to be recommended, at least one tag corresponding to the second initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag.

[0114] The at least one second initial media asset to be recommended is the other media assets to be recommended among the multiple media assets to be recommended except the at least one first initial media asset to be recommended.

[0115] After the above steps, each media asset in the target media asset set to be recommended finally meets the user's needs, while not ignoring the media assets with low popularity, avoiding the extreme practice of blindly recommending only the media assets with high popularity, and providing the user with a more comprehensive target media asset set to be recommended.

[0116] Optionally, based on the above embodiments, in some embodiments of the present disclosure, since users have different interests and hobbies and different needs for media assets at different times, based on this, in order to ensure that the target recommended media asset label model can provide users with accurate target recommended media assets and improve user experience, the media asset label recommendation method provided in the present application also includes the following steps:

[0117] S1001: Obtain evaluation parameters corresponding to the target recommended media asset tag.

[0118] In some embodiments, the evaluation parameters corresponding to the target recommended media asset tags can be obtained through user feedback, which can be specifically evaluated based on whether the user adopts or not, and further evaluated based on three conditions: whether the adopted tag hits the to-be-recommended media asset tag corresponding to the user portrait, whether the adopted tag hits the to-be-recommended media asset tag corresponding to the user behavior data, and whether the adopted tag is a tag that has been recommended; the target recommended media asset tags are scored based on these three conditions to obtain the evaluation parameters to measure whether the current target recommended media asset tags meet user needs. The target recommended media asset tag model can be further optimized through the evaluation parameters.

[0119] Specifically, by calculating the scores corresponding to the above three conditions, the scores corresponding to the three conditions are added together to serve as the evaluation parameter corresponding to the target recommended media asset tag.

[0120] Optionally, corresponding weight coefficients can be set for the above three conditions respectively to adjust the emphasis of the model output target recommended media asset labels. If you want the model output target recommended media asset labels to focus more on user portraits, that is, user features, then you can adjust the weight coefficient of the recommended media asset label corresponding to the user portrait that the adopted label hits, so that the weight coefficient corresponding to this condition accounts for the largest proportion among the three conditions.

[0121] S1002: Update the plurality of training samples according to the evaluation parameters and the target recommended media asset labels.

[0122] In some embodiments, by combining the evaluation parameters corresponding to the target recommended media resource tags, the user's current demand for media resource tags can be more clearly obtained, so as to update the training samples and adjust the model strategy in time to make the model more in line with the current user's needs.

[0123] S1003: Periodically update the target recommended media asset label model using the updated plurality of training samples.

[0124] The periodicity means that the target recommended media asset label model can be updated at preset time intervals using the updated plurality of training samples.

[0125] Specifically, the controller of the server periodically obtains user information and a collection of popular media assets, and updates multiple training samples based on the user information and the collection of popular media assets, and then uses the updated multiple training samples to periodically update the target recommendation media asset label model.

[0126] In the technical solution provided by the embodiments of the present disclosure, in the above process, multiple training samples can be periodically updated according to user information and popular media asset sets, and the target recommendation media asset label model can be periodically updated using the updated multiple training samples, thereby ensuring that the target recommendation media asset label model can provide users with accurate target recommendation media assets, thereby improving the user experience.

[0127] The embodiments of the present disclosure also provide a storage medium containing computer executable instructions, which, when executed by a computer processor, implement the various processes of the method provided in any of the above embodiments and can achieve the same technical effect. To avoid repetition, they are not described here.

[0128] The computer-readable storage medium may be a read-only memory device (ROM), a random access memory device (RAM), a magnetic disk or an optical disk, etc.

[0129] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A server, characterized in that: include: The controller is configured as: Determine, based on the user portrait, a plurality of to-be-recommended media asset tags corresponding to the user, wherein the recommended media asset tags are used to represent the user's preferences; Input the to-be-recommended media asset tags into the target recommended media asset tag model, and obtain the predicted probabilities corresponding to the to-be-recommended media asset tags output by the target recommended media asset tag model, wherein the target recommended media asset tag model is trained based on a plurality of training samples, and the training samples include: the recommended media asset tags corresponding to the sample user portraits, and the user behavior data corresponding to the recommended media asset tags, and the user behavior data include: the number of clicks on the recommended media asset tags, and the adoption results; According to the plurality of predicted probabilities, at least one target recommended media asset tag is determined from the plurality of to-be-recommended media asset tags corresponding to the user, and is sent to a terminal device, so that the terminal device displays the at least one target recommended media asset tag.

2. The server according to claim 1, characterized in that: The controller is specifically configured as follows: The predicted probabilities corresponding to the media asset tags to be recommended are sorted, and at least one target recommended media asset tag is determined from the plurality of media asset tags to be recommended according to the sorting result.

3. The server according to claim 1, characterized in that: The controller is further configured to: Obtaining user portraits corresponding to a plurality of users and user behavior data of the plurality of users within a preset period; the user behavior data of the plurality of users within the preset period includes the number of clicks on the recommended media asset tag and the adoption result; constructing the plurality of training samples according to the plurality of recommended media asset tags, the number of clicks respectively corresponding to the plurality of recommended media asset tags, and the adoption results; The plurality of training samples are input into an initial recommended media asset label model, and the initial recommended media asset label model is trained using the plurality of training samples to obtain the target recommended media asset label model.

4. The server according to claim 1, characterized in that: The server stores a plurality of media resources to be recommended, and the controller is further configured to: According to the number of clicks and the number of tags corresponding to each of the media assets to be recommended within a preset period, the hot parameters corresponding to each of the media assets to be recommended are obtained, and the hot parameters are used to characterize the popularity of the media assets to be recommended; According to the hot parameter and the preset threshold, at least one first initial media asset to be recommended is determined from the multiple media assets to be recommended, and the number of clicks corresponding to each first initial media asset to be recommended and the number of clicks on the media asset label are increased until the hot parameter is equal to the preset hot parameter; Constructing a target media asset set to be recommended according to the at least one first initial media asset to be recommended, the at least one tag corresponding to the first initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag, and the at least one second initial media asset to be recommended, the at least one tag corresponding to the second initial media asset to be recommended, the number of clicks, and the number of clicks on the media asset tag; The at least one second initial media asset to be recommended is the other media assets to be recommended among the multiple media assets to be recommended except the at least one first initial media asset to be recommended.

5. The server according to claim 4, characterized in that: The controller is specifically configured as follows: Obtaining the number of media asset clicks corresponding to each of the plurality of media assets to be recommended; Obtaining the numbers of multiple labels corresponding to the multiple media assets to be recommended, and multiplying the numbers by the corresponding media asset click counts to obtain the media asset label click counts; For each of the media assets to be recommended, the hot parameters respectively corresponding to the plurality of media assets to be recommended are obtained according to the number of clicks on the media assets, the number of clicks on the media asset tags, the number of media asset tags and the number of media assets to be recommended.

6. The server according to claim 4, characterized in that: The controller is further configured to: After obtaining the target recommended media asset tag, based on the target recommended media asset tag and the tags corresponding to each target media asset in the target media asset set, at least one target recommended media asset corresponding to the target recommended media asset tag is determined in the target media asset set, and sent to the terminal device so that the terminal device displays the at least one target recommended media asset.

7. The server according to claim 1, characterized in that: The controller is further configured to: Obtaining evaluation parameters corresponding to the target recommended media asset tag; updating the plurality of training samples according to the evaluation parameter and the target recommended media asset label; The target recommended media asset label model is periodically updated using the updated plurality of training samples.

8. A method for recommending media resource tags, characterized in that: The method comprises: Determine, based on the user portrait, a plurality of to-be-recommended media asset tags corresponding to the user, wherein the recommended media asset tags are used to represent the user's preferences; Input the to-be-recommended media asset tags into the target recommended media asset tag model, and obtain the predicted probabilities corresponding to the to-be-recommended media asset tags output by the target recommended media asset tag model, wherein the target recommended media asset tag model is trained based on a plurality of training samples, and the training samples include: the recommended media asset tags corresponding to the sample user portraits, and the user behavior data corresponding to the recommended media asset tags, and the user behavior data include: the number of clicks on the recommended media asset tags, and the adoption results; According to the plurality of predicted probabilities, at least one target recommended media asset tag is determined from the plurality of to-be-recommended media asset tags corresponding to the user, and is sent to a terminal device, so that the terminal device displays the at least one target recommended media asset tag.

9. The method according to claim 8, characterized in that After inputting the to-be-recommended media asset tags into the target recommended media asset tag model and obtaining the predicted probabilities corresponding to the respective to-be-recommended media asset tags output by the target recommended media asset tag model, the method further includes: The predicted probabilities corresponding to the media asset tags to be recommended are sorted, and at least one target recommended media asset tag is determined from the plurality of media asset tags to be recommended according to the sorting result.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the media asset tag recommendation method according to any one of claims 8 to 9 is implemented.

Citation Information

Patent Citations

  • Recommendation method and device, equipment and computer storage medium

    CN112395489A

  • Server and media asset recommendation method

    CN113190758A

  • Training method and device, recommendation method and device, electronic equipment and storage medium

    CN113312512A

  • Model training method, information recommendation method and device

    CN114297491A

  • Image processing method, computer readable storage medium, and computer device

    WO2020211003A1