Content recommendation method and apparatus, and device and readable storage medium
By obtaining and analyzing account quality indicators and optimizing media content recommendations, the problem of low quality recommended content in the existing technology is solved, the accuracy of recommendations and user experience are improved, and the usage time of the application is extended.
Patent Information
- Application Number
- PCT/CN2022/108833
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-20
- Filing Date
- 2022-07-29
- Publication Date
- 2024-09-12
AI Technical Summary
In the existing technology, media content recommendation methods are only based on behavioral information of other objects, resulting in poor quality and low accuracy of recommended content, poor information flow ecological environment, and short application usage time.
By obtaining the account information corresponding to the content to be recommended, the account quality indicators are determined, and the recommendation results of the content to be recommended are determined based on the account quality indicators. High-quality account content is recommended to users, improving the quality and accuracy of recommended content, and improving the information flow ecological environment.
It improves the quality and accuracy of media content recommendations, extends application usage time, and improves user experience.
Smart Images

Figure CN2022108833_12092024_PF_FP_ABST
Abstract
Description
Content recommendation method, device, equipment and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 20, 2021, application number 202110960463.2, and application name “Content recommendation method, device, equipment and readable storage medium”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a content recommendation method, apparatus, device, and readable storage medium. Background Art
[0003] In information flow scenarios, media content recommendations are crucial. Generally speaking, the higher the quality of media content recommended by an app and the more relevant it is to the user's interests, the more likely it is to attract users to click on the media content, increasing the app's usage time.
[0004] In related technologies, when an application recommends media content to a specific user, it determines appropriate content from among the available content based on information about other users' behavior with respect to each of the content items, and then recommends the appropriate content to the user based on the application. Other users are users other than the user, and their behavior with respect to the recommended content includes, but is not limited to, information about their behavior with respect to the content items, such as liking, following, and sharing the content items.
[0005] The above content recommendation method only recommends suitable content from among the recommended contents to the object based on the behavioral information of other objects towards the recommended content. The quality and accuracy of the recommended content are poor, resulting in a poor ecological environment for the information flow and a low usage time of the application.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a content recommendation method, apparatus, device, and readable storage medium, which can be used to improve the quality and accuracy of recommended content, improve the ecological environment of information flow, and increase the usage time of applications. The technical solution includes the following contents.
[0008] In one aspect, an embodiment of the present application provides a content recommendation method, the method comprising:
[0009] Get the content to be recommended;
[0010] Obtaining information of a first account corresponding to the content to be recommended, where the first account is an account used by the subject to publish the content to be recommended in a first application;
[0011] determining, based on the information of the first account, an account quality indicator of the first account, where the account quality indicator is used to characterize the quality of the first account;
[0012] Based on the account quality indicator, a recommendation result of the to-be-recommended content in the first application is determined.
[0013] On the other hand, an embodiment of the present application provides a content recommendation device, comprising:
[0014] An acquisition module is used to obtain content to be recommended;
[0015] The acquisition module is further configured to acquire information of a first account corresponding to the content to be recommended, where the first account is the account of the subject that publishes the content to be recommended in the first application;
[0016] a determination module, configured to determine an account quality indicator of the first account based on the information of the first account, wherein the account quality indicator is used to characterize the quality of the first account;
[0017] The determination module is further configured to determine a recommendation result of the to-be-recommended content in the first application based on the account quality indicator.
[0018] On the other hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the electronic device implements any of the above-mentioned content recommendation methods.
[0019] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned content recommendation methods.
[0020] On the other hand, a computer program or a computer program product is also provided, wherein the computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement any of the above-mentioned content recommendation methods.
[0021] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:
[0022] The technical solution provided in the embodiment of the present application determines an account quality indicator based on the information of the first account corresponding to the content to be recommended. The account quality indicator is used to characterize the quality of the first account. Based on the account quality indicator, the recommendation result of the content to be recommended in the first application is determined, thereby recommending the content of high-quality accounts to users, improving the quality and accuracy of the recommended content, and improving the ecological environment of the information flow, thereby increasing the usage time of the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0024] FIG1 is a schematic diagram of an implementation environment of a content recommendation method provided in an embodiment of the present application;
[0025] FIG2 is a flow chart of a content recommendation method provided by an embodiment of the present application;
[0026] FIG3 is a flowchart of a number and document consistency detection method provided in an embodiment of the present application;
[0027] FIG4 is a schematic structural diagram of a factorization machine (FM) model provided in an embodiment of the present application;
[0028] FIG5 is a schematic diagram of the structure of a deep neural network (DNN) model provided in an embodiment of the present application;
[0029] FIG6 is a schematic diagram of the structure of a Deep-Factorization Machines (Deep-FM) model provided in an embodiment of the present application;
[0030] FIG7 is a schematic diagram of an article recommendation provided in an embodiment of the present application;
[0031] FIG8 is a schematic structural diagram of a content recommendation device provided in an embodiment of the present application;
[0032] FIG9 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
[0033] FIG10 is a schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0035] FIG1 is a schematic diagram of an implementation environment of a content recommendation method provided in an embodiment of the present application. As shown in FIG1 , the implementation environment includes an electronic device 11. The content recommendation method in the embodiment of the present application can be executed by the electronic device 11. For example, the electronic device 11 can include at least one of a terminal device or a server.
[0036] The terminal device can be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player and a laptop computer.
[0037] The server can be a single server, a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server can be connected to the terminal device via a wired network or a wireless network. The server can have functions such as data processing, data storage, and data transmission and reception, which are not limited in the embodiments of the present application. The content recommendation method of the embodiment of the present application is based on artificial intelligence technology.
[0038] Based on the above implementation environment, an embodiment of the present application provides a content recommendation method. Taking the flowchart of a content recommendation method provided by an embodiment of the present application shown in Figure 2 as an example, the method can be executed by the electronic device 11 in Figure 1. As shown in Figure 2, the method includes steps 21 to 24.
[0039] Step 21: Obtain content to be recommended.
[0040] The recommended content is media content published by the user in the first application. There is at least one piece of content to be recommended, including but not limited to at least one of text content, image content, audio content, and video content. The recommended content can be user-generated media content, locally stored on the user's electronic device, or captured from the web, all of which are not limited in this embodiment.
[0041] The objects include but are not limited to people, intelligent robots, etc. This application also does not limit the type of the first application. For example, the first application includes but is not limited to video applications, food applications, text applications, music applications, game applications, instant messaging applications, etc.
[0042] Step 22: Obtain information of a first account corresponding to the content to be recommended. The first account is an account used by the subject to publish the content to be recommended in the first application.
[0043] In this embodiment of the present application, the subject has a first account registered in the first application. When the subject publishes media content in the first application, the subject publishes the media content using the first account. Therefore, there is a corresponding relationship between the content to be recommended and the first account. After obtaining the content to be recommended, the first account corresponding to the content to be recommended can be directly obtained, thereby obtaining the information of the first account.
[0044] In the embodiments of the present application, the information of the first account is not limited. For example, the information of the first account includes, but is not limited to, the release time of each media content in the first account, the content information of each media content in the first account, the category of each media content in the first account, information about the object corresponding to the first account, the behavior information corresponding to the object following the first account, and the behavior information corresponding to the object unfollowing the first account.
[0045] Step 23: Determine an account quality index of the first account based on the information of the first account, where the account quality index is used to characterize the quality of the first account.
[0046] It is understandable that there are many factors that affect the quality of the first account, and the method of determining the account quality index may vary depending on the factors. In the embodiment of the present application, the account quality index can be determined according to at least one of steps 231 to 238 as shown below.
[0047] Step 231, based on the information of the first account, determine the account quality index, including: based on the information of the first account and the attention behavior information of each account in the first application, determine the first object influence index, the first object influence index is used to characterize the influence of the first account in the first application; based on the first object influence index, determine the account quality index.
[0048] In other words, the account quality index of the first account is related to the influence of the first account in the first application, and the influence of the first account in the first application is also the influence within the site.
[0049] Among them, the information of the first account includes at least one of the following behavior information corresponding to other objects following the first account, the following behavior information corresponding to other objects unfollowing the first account, the number of objects following the first account, or the number of objects unfollowing the first account.
[0050] The following behavior information includes but is not limited to related information of the following behavior (such as the time of following, the account followed, etc.) and the unfollowing behavior (such as the time of unfollowing, the account unfollowed, etc.).
[0051] The following behavior information corresponding to other objects following the first account includes but is not limited to: the following time corresponding to other objects following the first account (i.e., the time when other objects follow the first account), the accounts followed by other objects following the first account (i.e., the accounts of the first application followed by other objects), the accounts unfollowed by other objects following the first account (i.e., the accounts of the first application unfollowed by other objects), etc.
[0052] The following behavior information corresponding to unfollowing other objects of the first account includes but is not limited to: the following time corresponding to unfollowing other objects of the first account (i.e., the time when other objects follow the first account), the unfollowing time corresponding to unfollowing other objects of the first account (i.e., the time when other objects unfollow the first account), the account followed by other objects of the first account (i.e., the account of the first application followed by other objects), the account unfollowed by other objects of the first account (i.e., the account of the first application unfollowed by other objects), etc.
[0053] The following behavior information of each account in the first application includes but is not limited to: accounts that have been followed in the first application and accounts that have been unfollowed in the first application.
[0054] In a possible implementation, the first object influence indicator is determined based on the information of the first account and the behavior information of each account in the first application according to the following formula (1).
[0055]
[0056] Among them, s i is the first object influence indicator, A i is the number of objects concerned with the first account, η is a parameter characterizing the smoothing effect (ie, a smoothing coefficient), and the value of η is not limited. For example, η=10. is the set of objects that follow the first account. is the weight of other objects u following the first account, t0 is the current time, is the time that other object u follows the first account, σ is a parameter characterizing the smoothing effect, and the value of σ is not limited. For example, σ=1. The object collection for unfollowing the first account, The weight of other objects u that unfollow the first account, is the time when other object u unfollows the first account, α is a control parameter, the value of α is not limited, and illustratively, α=2. + is the set of accounts that have followed in the first application, P - A collection of accounts that have unfollowed in the first application. The account set of the first application that other object u follows, The account set of the first application that is unfollowed by the other object u.
[0057] It should be noted that an object may have accounts in different applications, and these accounts are usually the same. That is, the first account is an account in the first application and also an account in other applications, such as the second application. Therefore, the influence of the first account is reflected not only in the first application, but also in the second application.
[0058] Based on this, in one possible implementation method, the account quality indicator is determined based on the first object influence indicator, including: obtaining the level information of the first account in the second application, the second application is an application other than the first application; based on the level information of the first account in the second application, determining the second object influence indicator, the second object influence indicator is used to characterize the influence of the first account in the second application (i.e., off-site influence); based on the first object influence indicator and the second object influence indicator, determining the account quality indicator.
[0059] The first application and the second application are different applications. There is at least one second application. An object registers a first account in the first application, and the first account can also be used in each second application.
[0060] In the embodiment of the present application, after obtaining the content to be recommended, the information of the first account corresponding to the content to be recommended can be determined, thereby determining the level information of the first account in each second application.
[0061] It should be noted that the level information of the first account in different second applications can be different. For example, the level of second application A is 1-5, with a total of five levels, and the level information of the first account is any one of 1-5. The level of second application B is 1-30, with a total of thirty levels, and the level information of the first account is any one of 1-30.
[0062] In a possible implementation, the second object influence indicator is determined based on the level information of each second account according to formula (2) shown below.
[0063]
[0064] Among them, S i is the second object influence indicator, P i is the set of second applications where the first account is located, l p is the level information of the first account in the second application program p.
[0065] In the embodiment of the present application, after determining the first object influence indicator, the first object influence indicator is normalized, and after determining the second object influence indicator, the second object influence indicator is normalized. Subsequently, based on the weight of the first object influence indicator, the normalized first object influence indicator, the weight of the second object influence indicator, and the normalized second object influence indicator, the final object influence indicator is determined. The weight of the first object influence indicator and the weight of the second object influence indicator, as well as the method of determining them, are not limited.
[0066] Afterwards, the final object influence indicator is used as the account quality indicator, or the account quality indicator is determined based on the final object influence indicator.
[0067] In step 232, the information of the first account includes the release time of each media content in the first account; based on the information of the first account, the account quality index is determined, including: determining the release time variance based on the release time of each media content; and determining the account quality index based on the release time variance.
[0068] The release time variance is the release time variance of the first time period, and the first time period is at least two. The first time period includes at least two unit times, and the unit time is not limited. Exemplarily, the unit time is a number of hours, a number of days, a number of weeks, a number of months, a number of years, etc., where the number is a positive integer and is greater than or equal to 1.
[0069] In an embodiment of the present application, based on the release time of each media content, the media content within a first release time period is determined, and the first release time period includes at least two first time periods. Based on the release time of each media content within the first release time period, the average release time is determined. Based on the release time of each media content within each first time period, the release time variance of each first time period is determined. Based on the release time variance of each first time period, the variance of the release time variance is determined. Based on the release time variance of each first time period and the variance of the release time variance, a release time index is determined, and the release time index is used to characterize the stability of the media content released by the object.
[0070] In a possible implementation, according to formula (3) shown below, based on the release time of each media content, the release time variance of at least two first time periods is determined, and based on the release time variance of each first time period, the release time index is determined.
[0071]
[0072] Among them, H i is the release time indicator, η is the smoothing coefficient, and its value is not limited. α is the control parameter, and its value is not limited. β is the control parameter, and its value is not limited. σ1 is the release time variance in the first time period, and σ2 is the variance of the release time variance. Ideally, σ1 and σ2 are both 0, indicating very high release time stability.
[0073] Afterwards, the publishing time indicator is used as the account quality indicator, or the account quality indicator is determined based on the publishing time indicator.
[0074] In step 233, the information of the first account includes the content information of each media content in the first account and the quantity of the first content in each media content; based on the information of the first account, the account quality index is determined, including: based on the content information of each media content, the content quality index is determined, and the content quality index is used to characterize the quality of the media content; based on the quantity of the first content, the first content probability is determined, and the first content probability is used to characterize the probability that the object publishes the first content; based on the content quality index and the first content probability, the account quality index is determined.
[0075] In the embodiment of the present application, the content information of the media content includes but is not limited to title information, tag information, text information, etc. The first content is content with a first tag, and the first tag includes but is not limited to original, high-quality, etc. Therefore, the first content includes but is not limited to original content, high-quality content, etc.
[0076] In one possible implementation, content quality indicators are determined based on content information of each media content, including: determining a first keyword based on the content information of each media content; obtaining the number of media contents containing the first keyword in each media content, and obtaining the number of second accounts in the first application, where the second account is an account containing the first keyword in the published media content; and determining the content quality indicator based on the number of contents and the number of second accounts.
[0077] During implementation, the content information of each media content may be segmented to obtain multiple words, and stop words from the multiple words may be filtered out to obtain a first keyword. The segmentation method is not limited in the embodiment of the present application. When filtering stop words, the stop words from the multiple words may be filtered out based on a stop word list. The first keyword is at least one.
[0078] For each first keyword, the number of second accounts in the first application is counted, and based on the content information of each media content in the first account, the number of media contents containing the first keyword is determined. Based on the number of second accounts and the number of media contents containing each first keyword, a content quality index is determined according to the following formula (4).
[0079]
[0080] Among them, S i is the content quality indicator, T is the first keyword set determined based on the content information of each media content, α is a control parameter, the value of α is not limited, and illustratively, α=0.5. TF t is the first keyword index, which is used to represent the importance of the first keyword t to the first account, n t is the number of media contents containing the first keyword in each media content in the first account, and N is the number of media contents in the first account. t is the second keyword index, which is used to characterize the importance of the first keyword t to the account in the first application. M is the number of accounts in the first application. t The number of second accounts that have the first keyword t for media content of the account in the first application.
[0081] It should be noted that in formula (4), the larger the first keyword index is, the more important the first keyword t is to the first account, and the larger the second keyword index is, the rarer the first keyword t is, and the more important the first keyword t is to the account in the first application.
[0082] In the embodiment of the present application, the number of first contents in each media content in the first account and the number of media contents in the first account are counted, and the probability of the first content is determined based on the Wilson Score sorting algorithm, that is, the formula (5) shown below.
[0083]
[0084] Where u is the number of first content in each media content in the first account, v is the number of non-first content in each media content in the first account, n is the number of media content in the first account, p is the proportion of first content in the first account, S is the probability of first content, z a is the confidence level, and the confidence level is not limited. For example, z a =2, indicating a 95% confidence level.
[0085] Afterwards, a final media content indicator is determined based on the content quality indicator, the weight corresponding to the content quality indicator, the first content probability, and the weight corresponding to the first content probability. The final media content indicator is used to characterize the quality of the media content in the first account.
[0086] Afterwards, the final media content indicator is used as the account quality indicator, or the account quality indicator is determined based on the final media content indicator.
[0087] In step 234, the information of the first account includes a first category, which is the category to which the media content in the first account belongs; based on the information of the first account, the account quality index is determined, including: based on the first category to which each media content belongs, determining the proportion of media content corresponding to each first category; based on the proportion of media content corresponding to each first category, determining a first category index, which is used to characterize the concentration of the first category in the first account; based on the first category index, determining the account quality index.
[0088] The first category is the category to which the media content belongs, and the first category includes but is not limited to food category, animation category, military category, pet category, parenting category, etc.
[0089] In the embodiment of the present application, a piece of media content belongs to at least one first category. Any two pieces of media content may belong to the same first category, different first categories, or partially the same first category.
[0090] Based on the first categories to which each media content in the first account belongs, the number of media content corresponding to each first category is determined. For any first category, the ratio of the number of media content corresponding to the first category to the number of media content in the first account is determined to obtain a proportion of media content corresponding to the first category.
[0091] Based on the proportion of media content corresponding to each first category, the first category index is determined according to the following formula (6).
[0092]
[0093] Among them, H is the first category index, n is the total number of the first category in the first account, P i is the proportion of media content corresponding to the i-th first category.
[0094] In the embodiment of the present application, the first category indicator is used as the account quality indicator, or the account quality indicator is determined based on the first category indicator.
[0095] In step 235, the information of the first account includes the profile information of the first account, the name information of the first account, and the first category, where the first category is the category to which the media content in the first account belongs; based on the information of the first account, the account quality index is determined, including: based on the category to which each media content in the first account belongs, determining the category with the most media content data from the first category as the final category; based on the profile information and the name information, determining the probability that the first account belongs to each second category; extracting the probability that the first account belongs to the final category from the probability that the first account belongs to each second category; and determining the account quality index based on the probability that the first account belongs to the final category.
[0096] The profile information of the first account is information introducing the first account, and the name information of the first account is the account name of the first account. The profile information and name information of the first account can reflect the category to which the media content of the first account belongs.
[0097] In the embodiment of the present application, based on the first categories to which each media content belongs, the number of media content corresponding to each first category is determined, and the first category with the most media content data is determined from each first category to obtain a final category.
[0098] The profile information and name information are concatenated to obtain concatenated information, which is then classified to determine the probability that the first account belongs to each second category. In one possible implementation, the concatenated information is input into a classification model, such as a Bidirectional Encoder Representations From Transformers (BERT) model, which outputs the probability that the first account belongs to each second category.
[0099] Then, the probability that the first account belongs to the final category is selected from the probabilities that the first account belongs to each second category. The probability that the first account belongs to the final category is used as the account quality indicator, or the account quality indicator is determined based on the probability that the first account belongs to the final category.
[0100] As shown in Figure 3, Figure 3 is a flow chart for detecting the consistency of a number and document provided by an embodiment of the present application. The profile information of the first account + the name information of the first account are input into the transformer-based bidirectional encoder representation model, and the model outputs a probability, which is the probability that the first account belongs to each second category. The second category includes food, animation, military, pets, parenting and other categories, that is, the model outputs the probability that the first account belongs to the food category, the probability that the first account belongs to the animation category, the probability that the first account belongs to the military category, the probability that the first account belongs to the pet category, the probability that the first account belongs to the parenting category, etc. Obtain each piece of media content in the first account and count the categories to which each piece of media content belongs. The categories to which the media content belongs include food, animation, military, pets, parenting, and the like, thereby obtaining the number of media content corresponding to the food category, the number of media content corresponding to the animation category, the number of media content corresponding to the military category, the number of media content corresponding to the pets category, the number of media content corresponding to the parenting category, and the like. Based on the number of media content corresponding to the food category, the number of media content corresponding to the animation category, the number of media content corresponding to the military category, the number of media content corresponding to the pets category, the number of media content corresponding to the parenting category, and the like, determine the category with the largest number of media content as the final category, such as the pets category. Based on the final category and the output probability, obtain the number and document consistency result, where the number and document consistency result is the probability that the first account belongs to the final category in the output probability.
[0101] For example, if the final category is the pet category, the number and document consistency result is the probability that the first account belongs to the pet category.
[0102] It's understandable that the BERT model is a natural language processing (NLP) model. NLP is a key area of computer science and artificial intelligence. It studies theories and methods that enable effective communication between humans and computers using natural language. Natural language processing is a discipline that integrates linguistics, computer science, and mathematics.
[0103] It should be noted that the probability that the first account belongs to the final category can be normalized to obtain a normalized probability, and the normalized probability can be used as the account quality indicator, or the account quality indicator can be determined based on the normalized probability.
[0104] In step 236, the information of the first account includes the content information of each media content in the first account; based on the information of the first account, the account quality index is determined, including: based on the content information of each media content, the transfer characteristics of the first account are determined, and the transfer characteristics are used to characterize the media content that belongs to the transfer in each media content; based on the transfer characteristics of the first account, the probability that the first account belongs to the transfer account and the media content in the transfer account is the transferred media content is determined; based on the probability that the first account belongs to the transfer account, the account quality index is determined.
[0105] When an object publishes media content using a first account, the published media content may be reposted from another object. For this reason, embodiments of the present application determine the reposting characteristics of the first account based on the content information of each media content in the first account, and thereby determine the probability that the first account is a reposting account based on the reposting characteristics of the first account.
[0106] Among them, based on the content information of each media content, the transfer characteristics of the first account are determined, including: determining the second keyword based on the content information of each media content; determining the third keyword based on the content information of each sample transfer content in the sample transfer account; determining the fourth keyword based on the content information of each sample non-transfer content in the sample non-transfer account; determining the transfer characteristics of the first account based on the second keyword, the third keyword and the fourth keyword.
[0107] In this embodiment of the present application, the content information of each media content in the first account is segmented to obtain each word, and stop words are removed from each word to obtain the second keyword. In this way, the third keyword is determined based on the content information of each sample transferred content in the sample transferred account, and the fourth keyword is determined based on the content information of each sample non-transferred content in the sample non-transferred account.
[0108] Among them, the second keyword, the third keyword and the fourth keyword are each at least one, and the number of words in the second keyword, the third keyword and the fourth keyword is not limited. For example, the second keyword contains one word, the third keyword contains 2-4 words, and the fourth keyword also contains 2-4 words.
[0109] The second keyword, the third keyword, and the fourth keyword are taken as an n-gram word band, and the word bag of the first account is counted, and the word bag of the first account is used as the transfer feature of the first account. There is no limitation on the method of counting the word bag of the first account based on the n-gram word band.
[0110] Afterwards, based on the transfer characteristics of the first account, the probability that the first account belongs to the transfer account is determined. In one possible implementation, the transfer characteristics of the first account are input into a neural network model, and the neural network model outputs the probability that the first account belongs to the transfer account, which probability is greater than or equal to 0 and less than or equal to 1. The structure and size of the neural network model are not limited. Exemplarily, the neural network model is a Factorization Machines (FM) model, or a Deep Neural Networks (DNN), or a Deep-Factorization Machines (Deep-FM) model.
[0111] As shown in Figure 4, Figure 4 is a structural diagram of an FM model provided in an embodiment of the present application. The FM model includes a sparse coding layer, a dense coding layer, a factor decomposition layer, and an output layer. Among them, the sparse coding layer is used to perform sparse coding processing on the transport features of the first account, the dense coding layer is used to perform dense coding processing on the transport features after sparse coding processing, the factor decomposition layer is used to perform feature processing based on the transport features after sparse coding processing and the transport features after dense coding processing to obtain a real number, and the output layer is used to normalize the real number into a probability value, which is the probability that the first account belongs to the transport account.
[0112] As shown in Figure 5, Figure 5 is a structural diagram of a DNN model provided in an embodiment of the present application. The DNN model includes a sparse coding layer, a dense coding layer, a hidden layer, and an output layer. Among them, the sparse coding layer is used to perform sparse coding processing on the transfer features of the first account, the dense coding layer is used to perform dense coding processing on the transfer features after sparse coding processing, the hidden layer is used to perform convolution processing based on the transfer features after sparse coding processing and the transfer features after dense coding processing, and the output layer is used to normalize the convolution processing result into a probability value, which is the probability that the first account belongs to the transfer account.
[0113] As shown in Figure 6, Figure 6 is a structural diagram of a Deep-FM model provided in an embodiment of the present application. The Deep-FM model is composed of an FM model and a DNN model, including a sparse coding layer, a dense coding layer, a hidden layer and an output layer. Among them, the sparse coding layer is used to perform sparse coding processing on the transport features of the first account, the dense coding layer is used to perform dense coding processing on the transport features after sparse coding processing, the hidden layer is used to perform convolution processing based on the transport features after sparse coding processing and the transport features after dense coding processing, the factor decomposition machine layer is used to perform feature processing based on the transport features after sparse coding processing and the transport features after dense coding processing to obtain a real number, and the output layer is used to normalize the convolution processing result and the real number into a probability value, which is the probability that the first account belongs to the transport account.
[0114] In the embodiments of the present application, the probability that the first account is a transfer account is used as the account quality indicator, or the account quality indicator is determined based on the probability that the first account is a transfer account. In one possible implementation, the probability that the first account is a transfer account is normalized, and the normalized probability is used as the account quality indicator, or the account quality indicator is determined based on the normalized probability.
[0115] By determining the probability that the first account is a transfer account, the account quality index is determined, and then the recommendation results of the content to be recommended are determined based on the account quality index, thereby increasing the enthusiasm of the object original media content in the application and improving the ecological environment of the information flow.
[0116] Step 237: The information of the first account includes the first category to which each media content in the first account belongs and the release time of each media content; based on the information of the first account, the account quality index is determined, including: based on the first category to which each media content belongs and the release time of each media content, the category fluctuation index is determined, and the category fluctuation index is used to characterize the degree of category fluctuation of the media content released by the object; based on the release time of each media content, the posting fluctuation index is determined, and the posting fluctuation index is used to characterize the degree of time fluctuation of the media content released by the object; based on the category fluctuation index and the posting fluctuation index, the account quality index is determined.
[0117] The description of the first category and release time can be found in the previous article and will not be repeated here.
[0118] In this embodiment of the present application, a category fluctuation index is determined based on the first category to which each piece of media content belongs and the time of publication of each piece of media content, and a posting fluctuation index is determined based on the time of publication of each piece of media content. Subsequently, an account quality index is determined based on the category fluctuation index, the weight corresponding to the category fluctuation index, the posting fluctuation index, and the weight corresponding to the posting fluctuation index.
[0119] There is no restriction on the method of determining the weights corresponding to the category volatility index and the weights corresponding to the volatility index, and there is no restriction on the size of the weights.
[0120] Wherein, based on the first category to which each media content belongs and the release time of each media content, a category fluctuation index is determined, including: based on the first category to which each media content belongs and the release time of each media content, a first fluctuation index is determined, the first fluctuation index is used to characterize the category fluctuation degree of any media content released by the object; based on the first category to which each media content belongs and the release time of each media content, a second fluctuation index is determined, the second fluctuation index is used to characterize the category fluctuation degree between any two media contents released by the object; based on the first fluctuation index and the second fluctuation index, a category fluctuation index is determined.
[0121] In this embodiment of the present application, a first fluctuation index is determined based on the first category to which each piece of media content belongs and the time at which each piece of media content is published, and a second fluctuation index is determined based on the first category to which each piece of media content belongs and the time at which each piece of media content is published. Subsequently, a category fluctuation index is determined based on the first fluctuation index, the weight corresponding to the first fluctuation index, the second fluctuation index, and the weight corresponding to the second fluctuation index.
[0122] There is no limitation on the method of determining the weight corresponding to the first volatility index and the weight corresponding to the second volatility index, and there is no limitation on the size of the weights.
[0123] In one possible implementation, a first fluctuation index is determined based on the first category to which each media content belongs and the release time of each media content, including: determining the first category of the first first number of media contents sorted by release time based on the first category to which each media content belongs and the release time of each media content; dividing the first category sequence to obtain at least two category segments, the first category sequence being a sequence composed of the first categories of each media content sorted by release time; determining the category similarity between adjacent category segments based on the at least two category segments; and determining the first fluctuation index based on the category similarity between adjacent category segments and the first category of the first first number of media contents.
[0124] In an embodiment of the present application, based on the release time of each media content in the first account, the media content is sorted according to the release time, the first first number of media content after sorting is extracted, and the first category of each of the first first number of media content is counted. The size of the first number is not limited. For example, the first number is any value between 5 and 10.
[0125] After sorting the media content according to the release time, a first category sequence is obtained based on the first category of each media content, and the first category sequence is segmented to obtain at least two category segments. The segmentation method can be equal segmentation or unequal segmentation.
[0126] For example, the sorted media content is media content 1-5, where the first category of media content 1 is first category a, the first category of media content 2 is first category a, the first category of media content 3 is first category b, the first category of media content 4 is first category a, and the first category of media content 5 is first category c. At this time, the first category sequence is first category a, first category a, first category b, first category a, first category c. The first category sequence is divided into two segments, resulting in one category segment of first category a, first category a, and first category b, and the other category segment of first category a and first category c.
[0127] Next, based on at least two category segments, the category similarity between adjacent category segments is determined. When determining the category similarity, for each pair of adjacent category segments, a bag-of-words is constructed using the first categories contained in these two adjacent category segments. This bag-of-words serves as the category segment features for these two adjacent category segments. The category segment features are input into a similarity determination model, which outputs the category similarity between the two adjacent category segments. The model structure and size of the similarity determination model are not limited.
[0128] In the embodiment of the present application, based on the category similarity between adjacent category segments and the first category of the first first number of media contents, the first fluctuation index is determined according to the following formula (7).
[0129]
[0130] Where C is the first fluctuation index, n is the number of media contents in the first account during the second release period, and the length of the second release period is not limited. For example, the second release period is one month. i is the i-th media content in the first account during the second release period sorted by release time. CntChann i The number of times the first category of the i-th media content appears in the first number of media contents after sorting the media contents in the first account in the second publishing time period according to the publishing time. windowLength is the sliding window size, windowLength is equal to the first number, Sim i,i+1 is the category similarity between adjacent category segments in at least two category segments.
[0131] Among them, based on the first category to which each media content belongs and the release time of each media content, the second fluctuation index is determined, including: based on the first category to which each media content belongs, determining the category similarity between adjacent media content, where the adjacent media content is adjacent media content after the media content is sorted according to the release time; based on the category similarity between adjacent media content, determining the second fluctuation index.
[0132] The media content carries tag information, and the first category to which the media content belongs is determined based on the tag information. When determining the category similarity between adjacent media content, the similarity is determined according to the formula: category similarity = (tag intersection size) / (tag union size), where the tag intersection size is equal to the number of repeated tags between adjacent media content, and the tag union size is equal to the total number of tags between adjacent media content.
[0133] In the embodiment of the present application, the second fluctuation index is determined based on the category similarity between adjacent media contents according to the formula (8) shown below.
[0134]
[0135] Wherein, T is the second fluctuation index, n is the number of media contents in the first account during the third release period, and the length of the third release period is not limited. For example, the third release period is one month. i is the i-th media content in the first account during the third release period sorted by release time. IntersectionSize i,i+1 UnionSize is the label intersection size between the i-th media content and the i+1-th media content. i,i+1 is the size of the union of labels between the i-th media content and the i+1-th media content.
[0136] In one possible implementation, based on the release time of each media content, a publication fluctuation index is determined, including: based on the release time of each media content, at least one quantile is determined, the quantile is used to represent the ratio of the number of media content in the corresponding time period to the number of each media content; based on at least one quantile, the publication fluctuation index is determined.
[0137] In an embodiment of the present application, the amount of media content in at least two second time periods is determined based on the release time of each piece of media content. The length of the second time period is not limited; illustratively, the second time period is one week. Based on the release time of each piece of media content, the amount of media content in each second time period is determined, and a quantile determination algorithm such as a quantile, quartile, or percentile is used to determine at least one quantile. Based on the at least one quantile, a posting fluctuation index is determined.
[0138] In one possible implementation, there are two quantiles, which are respectively recorded as the first quantile and the second quantile. Exemplarily, a quartile determination algorithm is used to determine four quantiles, with the first quantile being the first quantile and the third quantile being the second quantile.
[0139] The difference between the first quantile and the second quantile is then determined to obtain a quantile difference. A posting fluctuation index is determined based on the amount of media content in the first account during the fourth posting time period and the quantile difference between the amount and the quantile difference. The fourth posting time period is not limited; for example, the fourth posting time period is the most recent week.
[0140] When determining the publication fluctuation index based on the quantity and the quantile difference, a predetermined multiple and the quantile difference may be first determined, and the difference between the quantity and the product is used as the publication fluctuation index. The predetermined multiple is not limited to a specific value; for example, the predetermined multiple is 1.5.
[0141] In the embodiment of the present application, after determining the first fluctuation index, the second fluctuation index, and the posting fluctuation index, a category fluctuation index is determined based on the first and second fluctuation indexes. Furthermore, an account fluctuation index is determined based on the category fluctuation index and the posting fluctuation index. This account fluctuation index is used to characterize the fluctuation of media content within the first account. Specifically, the account fluctuation index is determined based on the first fluctuation index, the second fluctuation index, and the posting fluctuation index.
[0142] In one possible implementation, the first fluctuation index, the second fluctuation index and the posting fluctuation index are normalized, and the account fluctuation index is determined based on the normalized first fluctuation index, the weight of the first fluctuation index, the normalized second fluctuation index, the weight of the second fluctuation index, the normalized posting fluctuation index and the weight of the posting fluctuation index.
[0143] Afterwards, the account fluctuation index is used as the account quality index, or the account quality index is determined based on the account fluctuation index.
[0144] Step 238, the information of the first account includes the number of objects accessing the first account, the number of resources corresponding to the first account, the number of comments on each media content in the first account, the number of shares of each media content, the number of clicks on each media content, the number of likes on each media content, the number of completed views of each media content, or at least one of the number of exposures of each media content; based on the information of the first account, the account quality index is determined, including: based on the number of objects accessing the first account, the number of resources corresponding to the first account, the number of comments on each media content in the first account, the number of shares of each media content, the number of clicks on each media content, the number of likes on each media content, the number of completed views of each media content, or at least one of the number of exposures of each media content, the account popularity index is determined, the account popularity index is used to characterize the popularity of the first account among other objects in the first application; based on the account popularity index, the account quality index is determined.
[0145] In an embodiment of the present application, the number of objects accessing the first account and the number of resources corresponding to the first account are normalized, and a first popularity index is determined based on the normalized number of objects, the weight of the number of objects, the normalized number of resources, and the weight of the number of resources. The first popularity index is used to characterize the popularity of the first account among other objects in the first application.
[0146] Obtain information such as the number of comments, shares, clicks, likes, and complete views of each media content for each media content in the first account. For each media content, use the aforementioned formula (5) to determine the comment probability, share probability, click probability, like probability, and view probability.
[0147] Taking the number of comments on the media content and the number of exposures of the media content as an example, using formula (5) to determine the comment probability, u is the number of comments on the media content, v is the difference between the number of exposures of the media content and the number of comments on the media content, and n is the number of exposures of the media content.
[0148] Similarly, based on the number of shares of the media content and the number of exposures of the media content, the share probability is determined using formula (5). Based on the number of clicks on the media content and the number of exposures of the media content, the click probability is determined using formula (5). Based on the number of likes on the media content and the number of exposures of the media content, the like probability is determined using formula (5). Based on the number of completed views of the media content and the number of exposures of the media content, the view completion probability is determined using formula (5).
[0149] For each media content, based on the comment probability, the weight of the comment probability, the sharing probability, the weight of the sharing probability, the click probability, the weight of the click probability, the like probability, the weight of the like probability, the viewing probability and the weight of the viewing probability, the popularity index corresponding to the media content is determined. The popularity index corresponding to the media content is used to characterize the popularity of the media content among the various objects in the first application.
[0150] Based on the popularity index corresponding to each media content, a second popularity index is determined according to the formula (9) shown below. The second popularity index is used to represent the popularity of the first account among other objects in the first application.
[0151]
[0152] Among them, Score is the second popularity index, N is the number of media contents in the first account, is the popularity index corresponding to the i-th media content in the first account, α is an adjustable coefficient, the size of which is not limited, for example, α = 0.5, and y is a control coefficient, the size of which is not limited.
[0153] In the embodiment of the present application, the account popularity index is determined based on the first popularity index, the weight of the first popularity index, the second popularity index, and the weight of the second popularity index. The account popularity index is used as the account quality index, or the account quality index is determined based on the account popularity index.
[0154] It should be noted that the embodiments of the present application can determine the account quality index based on at least one of the final object influence index, release time index, final media content index, first category index, the probability that the first account belongs to the final category, the probability that the first account belongs to the transfer account, account fluctuation index or account popularity index.
[0155] In one possible implementation, the maximum value is selected from at least one of the final object influence index, release time index, final media content index, first category index, probability that the first account belongs to the final category, probability that the first account belongs to a transfer account, account fluctuation index or account popularity index as the account growth index to characterize the growth potential of the first account.
[0156] In one possible implementation, the account quality index is determined based on at least one of the final object influence index, the release time index, the final media content index, the first category index, the probability that the first account belongs to the final category, the probability that the first account belongs to a transfer account, the account fluctuation index, the account popularity index and the account growth index.
[0157] Exemplarily, the account quality index is determined according to formula (10) shown below.
[0158]
[0159] Where Score is the account quality indicator, M is the number of account indicators. For example, the account indicators include the final object influence indicator, the release time indicator, the final media content indicator, the first category indicator, the probability that the first account belongs to the final category, the probability that the first account belongs to the transfer account, the account fluctuation indicator, the account popularity indicator, and the account growth indicator. Then M = 9. i is the i-th indicator of the account, η i S is the smoothing coefficient corresponding to the i-th indicator of the account. The value of the smoothing coefficient is not limited. i is the value of the i-th indicator of the account, w i The weight corresponding to the i-th indicator of the account. The value of the weight is not limited.
[0160] Step 24: Determine the recommendation result of the content to be recommended in the first application based on the account quality indicator.
[0161] In the embodiment of the present application, for any content to be recommended, the account quality index is first determined according to step 23, and then, based on the account quality index, the recommendation result of the content to be recommended in the first application is determined to be recommended or not recommended.
[0162] Among them, based on the account quality index, after determining the recommendation result of the first application for the content to be recommended, it also includes: in response to the recommendation result of the content to be recommended being a recommendation, recommending the content to be recommended based on the first application; in response to the recommendation result of the content to be recommended being a non-recommendation, filtering out the content to be recommended.
[0163] When the recommendation result of the content to be recommended in the first application is a recommendation, the content to be recommended is recommended based on the first application, so that the object in the first application views the media content, so that the media content of the high-quality account is promoted.
[0164] When the recommendation result of the first application is not recommended, the content to be recommended is filtered out to restrict the objects in the first application from viewing the media content, so that the media content of non-premium accounts is restricted from being promoted.
[0165] The above method determines the account quality index based on the information of the first account corresponding to the content to be recommended. The account quality index is used to characterize the quality of the first account. Based on the account quality index, the recommendation result of the content to be recommended in the first application is determined, thereby recommending the content of high-quality accounts to users, improving the quality and accuracy of recommended content, and improving the ecological environment of information flow, thereby increasing the usage time of the application.
[0166] The above describes the content recommendation method of the embodiment of the present application in detail from the perspective of method steps, and the following will be described in detail using a news application as a scenario. In a news application, media content includes but is not limited to articles, videos, etc.
[0167] Taking articles as an example, as shown in Figure 7, Figure 7 is a schematic diagram of an article recommendation provided by an embodiment of the present application. Any object can use its corresponding first account to publish articles in a news application. Any object in the news application can perform behavioral information such as following, liking, commenting, and viewing any article. In this embodiment of the present application, based on the articles published by the object using the first account in the news application and the behavioral information of each object in the news application, the following ten indicators can be determined.
[0168] (1) Based on the articles published in the news application using the first account and the behavioral information of each object in the news application, the final object influence index is determined. For details, please refer to the relevant description of the final object influence index in the previous section and will not be repeated here.
[0169] (2) Based on the articles published in the news application using the first account, the publishing time indicator is determined. For details, please refer to the relevant description of the publishing time indicator in the previous article, which will not be repeated here.
[0170] (3) Based on the articles published in the news application using the first account, the final media content indicators are determined. For details, please refer to the relevant description of the final media content indicators in the previous article and will not be repeated here.
[0171] (4) Based on the articles published in the news application using the first account, the first category indicators are determined. For details, please refer to the relevant description of the first category indicators in the previous article and will not be repeated here.
[0172] (5) Based on the articles published by the first account in the news application, determine the probability that the first account belongs to the final category. For details, please refer to the previous description of the probability that the first account belongs to the final category, which will not be repeated here.
[0173] (6) Based on the articles published by the first account in the news application, the probability that the first account is a transfer account is determined. For details, please refer to the previous description of the probability that the first account is a transfer account, which will not be repeated here.
[0174] (7) Based on the articles published in the news application using the first account, the account fluctuation index is determined. For details, please refer to the relevant description of the account fluctuation index in the previous article and will not be repeated here.
[0175] (8) Based on the behavior information of each object in the news application, the first popularity index is determined. For details, please refer to the relevant description of the first popularity index in the previous article and will not be repeated here.
[0176] (9) Based on the articles published in the news application using the first account and the behavior information of each object in the news application, a second popularity index is determined. For details, please refer to the relevant description of the second popularity index in the previous article and will not be repeated here.
[0177] (10) Based on the articles published in the news application using the first account and the behavior information of each object in the news application, the account growth index is determined. For details, please refer to the relevant description of the account growth index in the previous article, which will not be repeated here.
[0178] Based on the ten indicators in (1)-(10) above, namely, the final object influence indicator, the release time indicator, the final media content indicator, the first category indicator, the probability that the first account belongs to the final category, the probability that the first account belongs to the transfer account, the account fluctuation indicator, the first popularity indicator, the second popularity indicator and the account growth indicator, the account quality indicator is determined.
[0179] Afterwards, based on the account quality indicators, the recommendation results of the article in the news application are determined. That is, if the recommendation result of the article in the news application is recommended, the article is recommended based on the news application. If the recommendation result of the article in the news application is not recommended, the article is filtered out to recommend articles from high-quality accounts to users, thereby improving the quality of the recommended content.
[0180] After applying the content recommendation method of the embodiment of the present application to graphic and text applications, the usage time of graphic and text applications increased by at least 0.24%, the total usage time of graphic and text applications increased by 0.236%, the seven-day retention rate of the number of daily active users (Daily Active User, DAU) increased by 0.217%, and the average usage time increased by at least 0.242%.
[0181] After applying the content recommendation method of the embodiment of the present application to short video applications, the unique visitor (UV) click-through rate of short video applications increased by 0.19%, the page views (PV) of related pictures and text in short video applications decreased by 0.11%, the UV conversion rate increased by 0.227%, the DAU next-day retention rate increased by 0.188%, and the average UV click-through rate of short video applications increased by 0.186%. Among them, short videos refer to videos with a duration less than or equal to the first duration. The value of the first duration is not limited. For example, the first duration is 3 minutes.
[0182] After applying the content recommendation method of the embodiment of the present application to short video applications, the usage time of short video applications increased by at least 0.31%, the DAU next-day retention rate increased by 0.129%, the total usage time of short video applications increased by 0.333%, the exposure increased by 0.105%, and the next-day retention rate of consumers increased by 0.149%. Among them, short videos refer to videos with a duration greater than or equal to the second duration and less than or equal to the third duration. The second duration is greater than or equal to the first duration and less than the third duration. The values of the second and third durations are not limited. For example, the second duration is 10 minutes and the third duration is 30 minutes.
[0183] It can be seen from this that through the content recommendation of the embodiment of the present application, the quality and accuracy of the recommended content are improved, the ecological environment of the information flow is improved, and the usage time of the application is increased.
[0184] FIG8 is a schematic structural diagram of a content recommendation device provided in an embodiment of the present application. As shown in FIG8 , the device includes an acquisition module 81 and a determination module 82 .
[0185] An acquisition module 81 is used to acquire content to be recommended;
[0186] The acquisition module 81 is further configured to acquire information of a first account corresponding to the content to be recommended, where the first account is the account that the subject uses to publish the content to be recommended in the first application;
[0187] A determination module 82 is configured to determine an account quality indicator of the first account based on the information of the first account, where the account quality indicator is used to characterize the quality of the first account;
[0188] The determination module 82 is further configured to determine a recommendation result of the to-be-recommended content in the first application based on the account quality indicator.
[0189] In one possible implementation, the determination module 82 is used to determine a first object influence index based on information of the first account and attention behavior information of each account in the first application, where the first object influence index is used to characterize the influence of the first account in the first application; and determine an account quality index based on the first object influence index.
[0190] In one possible implementation, the determination module 82 is used to obtain the level information of the first account in the second application, where the second application is an application other than the first application; based on the level information of the first account in the second application, a second object influence indicator is determined, where the second object influence indicator is used to characterize the influence of the first account in the second application; and based on the first object influence indicator and the second object influence indicator, an account quality indicator is determined.
[0191] In a possible implementation, the information of the first account includes the publishing time of each media content in the first account;
[0192] The determination module 82 is configured to determine a release time variance based on the release time of each media content; and determine an account quality indicator based on the release time variance.
[0193] In a possible implementation, the information of the first account includes content information of each media content in the first account and the number of first content in each media content;
[0194] Determination module 82 is used to determine a content quality indicator based on the content information of each media content, and the content quality indicator is used to characterize the quality of the media content; determine a first content probability based on the quantity of the first content, and the first content probability is used to characterize the probability that the object publishes the first content; and determine an account quality indicator based on the content quality indicator and the first content probability.
[0195] In one possible implementation, the determination module 82 is used to determine the first keyword based on the content information of each media content; obtain the content quantity of the media content containing the first keyword in each media content, and obtain the number of second accounts in the first application, where the second account is the account that publishes the media content containing the first keyword; and determine the content quality index based on the content quantity and the number of second accounts in the first application.
[0196] In one possible implementation, the information of the first account includes a first category, where the first category is a category to which the media content in the first account belongs;
[0197] Determination module 82 is used to determine the proportion of media content corresponding to each first category based on the first category to which each media content belongs; determine the first category indicator based on the proportion of media content corresponding to each first category, and the first category indicator is used to characterize the concentration of the first category in the first account; and determine the account quality indicator based on the first category indicator.
[0198] In one possible implementation, the information of the first account includes profile information of the first account, name information of the first account, and a first category, where the first category is a category to which the media content in the first account belongs;
[0199] Determination module 82 is used to determine the category with the most media content data from the first category as the final category based on the categories to which the various media contents in the first account belong; determine the probability that the first account belongs to each second category based on the profile information and name information; extract the probability that the first account belongs to the final category from the probabilities that the first account belongs to each second category; and determine the account quality index based on the probability that the first account belongs to the final category.
[0200] In one possible implementation, the information of the first account includes content information of each media content in the first account;
[0201] Determination module 82 is used to determine the transfer characteristics of the first account based on the content information of each media content, where the transfer characteristics are used to characterize the media content in each media content that is transferred; based on the transfer characteristics of the first account, determine the probability that the first account is a transfer account, and the media content in the transfer account is transferred media content; based on the probability that the first account is a transfer account, determine the account quality index.
[0202] In one possible implementation, the determination module 82 is used to determine the second keyword based on the content information of each media content; determine the third keyword based on the content information of each sample transferred content in the sample transferred account; determine the fourth keyword based on the content information of each sample non-transferred content in the sample non-transferred account; and determine the transfer characteristics of the first account based on the second keyword, the third keyword and the fourth keyword.
[0203] In a possible implementation, the information of the first account includes the first category to which each media content in the first account belongs and the release time of each media content;
[0204] Determination module 82 is used to determine the category fluctuation index based on the first category to which each media content belongs and the release time of each media content, and the category fluctuation index is used to characterize the category fluctuation degree of the media content released by the object; determine the posting fluctuation index based on the release time of each media content, and the posting fluctuation index is used to characterize the time fluctuation degree of the media content released by the object; determine the account quality index based on the category fluctuation index and the posting fluctuation index.
[0205] In one possible implementation, the determination module 82 is used to determine a first fluctuation index based on the first category to which each media content belongs and the release time of each media content, where the first fluctuation index is used to characterize the category fluctuation degree of any media content released by the object; determine a second fluctuation index based on the first category to which each media content belongs and the release time of each media content, where the second fluctuation index is used to characterize the category fluctuation degree between any two media contents released by the object; and determine a category fluctuation index based on the first fluctuation index and the second fluctuation index.
[0206] In one possible implementation, the determination module 82 is used to determine the first category of the first first number of media contents sorted by release time based on the first category to which the media contents belong and the release time of the media contents; divide the first category sequence to obtain at least two category segments, the first category sequence being a sequence composed of the first categories of the media contents sorted by release time; determine the category similarity between adjacent category segments based on the at least two category segments; and determine the first fluctuation index based on the category similarity between adjacent category segments and the first category of the first first number of media contents.
[0207] In one possible implementation, the determination module 82 is configured to determine, based on the first category to which each media content belongs, category similarity between adjacent media content, where the adjacent media content is adjacent media content after the media content is sorted according to release time.
[0208] A second fluctuation index is determined based on category similarities between adjacent media contents.
[0209] In one possible implementation, the determination module 82 is used to determine at least one quantile based on the release time of each media content, where the quantile is used to represent the ratio of the number of media content in the corresponding time period to the number of each media content; and based on the at least one quantile, determine the publication fluctuation index.
[0210] In one possible implementation, the determination module 82 is used to determine an account popularity index based on at least one of the number of objects accessing the first account, the number of resources corresponding to the first account, the number of comments on each media content in the first account, the number of shares of each media content, the number of clicks on each media content, the number of likes on each media content, the number of completed views of each media content, or the number of exposures of each media content. The account popularity index is used to characterize the popularity of the first account among other objects in the first application; and the account quality index is determined based on the account popularity index.
[0211] In a possible implementation, the apparatus further includes:
[0212] a recommendation module, configured to, in response to a recommendation result of the content to be recommended being a recommendation, recommend the content to be recommended based on the first application;
[0213] The filtering module is configured to filter out the content to be recommended in response to a recommendation result of the content to be recommended being not recommended.
[0214] The above-mentioned device determines an account quality indicator based on the information of the first account corresponding to the content to be recommended. The account quality indicator is used to characterize the quality of the first account. Based on the account quality indicator, the recommendation result of the content to be recommended in the first application is determined, thereby achieving the accuracy of recommending the content of high-quality accounts to users, improving the ecological environment of information flow, and improving the quality of recommended content, thereby increasing the usage time of the application.
[0215] It should be understood that the device provided in FIG8 is merely an example of the division of the functional modules described above when implementing its functions. In actual applications, the functions described above can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0216] FIG9 shows a block diagram of a terminal device 900 according to an exemplary embodiment of the present application. Terminal device 900 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop computer, or desktop computer. Terminal device 900 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.
[0217] Typically, the terminal device 900 includes a processor 901 and a memory 902 .
[0218] In some embodiments, the terminal device 900 may further optionally include a peripheral device interface 903 and at least one peripheral device, including at least one of a radio frequency circuit 904 , a display screen 905 , a camera assembly 906 , an audio circuit 907 , a positioning assembly 908 , and a power supply 909 .
[0219] In some embodiments, the terminal device 900 further includes one or more sensors 910 , including but not limited to: an acceleration sensor 911 , a gyroscope sensor 912 , a pressure sensor 913 , a fingerprint sensor 914 , an optical sensor 915 , and a proximity sensor 916 .
[0220] Those skilled in the art will understand that the structure shown in FIG9 does not constitute a limitation on the terminal device 900 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.
[0221] FIG10 is a schematic diagram of the structure of the server provided in an embodiment of the present application. The server 1000 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1001 and one or more memories 1002, wherein the one or more memories 1002 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1001 to implement the content recommendation method provided by the above-mentioned various method embodiments. Of course, the server 1000 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 1000 may also include other components for implementing device functions, which will not be described in detail here.
[0222] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned content recommendation methods.
[0223] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0224] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above-mentioned content recommendation methods.
[0225] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0226] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0227] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A content recommendation method, the method being performed by an electronic device, the method comprising: Get the content to be recommended; Acquire information of a first account corresponding to the content to be recommended, where the first account is an account used by the object to publish the content to be recommended in a first application; Determining an account quality indicator of the first account based on the information of the first account, where the account quality indicator is used to characterize the quality of the first account; Based on the account quality indicator, a recommendation result of the to-be-recommended content in the first application is determined.
2. The method according to claim 1, wherein determining the account quality indicator of the first account based on the information of the first account comprises: Determine a first object influence index based on the information of the first account and the attention behavior information of each account in the first application, where the first object influence index is used to characterize the influence of the first account in the first application; Based on the first object influence indicator, the account quality indicator is determined.
3. The method according to claim 2, wherein determining the account quality indicator based on the first object influence indicator comprises: Obtaining level information of the first account in a second application, where the second application is an application other than the first application; Determine a second object influence indicator based on the level information of the first account in the second application, where the second object influence indicator is used to characterize the influence of the first account in the second application; The account quality indicator is determined based on the first object influence indicator and the second object influence indicator.
4. The method according to claim 1, wherein the information of the first account includes content information of each media content in the first account and the number of first content in each media content; The determining the account quality indicator based on the information of the first account includes: Determining a content quality indicator based on the content information of each media content, wherein the content quality indicator is used to characterize the quality of the media content; Determine a first content probability based on the quantity of the first content, where the first content probability is used to characterize the probability that the object publishes the first content; The account quality indicator is determined based on the content quality indicator and the first content probability.
5. The method according to claim 4, wherein determining the content quality index based on the content information of each media content comprises: Determining a first keyword based on the content information of each media content; Obtaining the number of media contents containing the first keyword in each of the media contents, and obtaining the number of second accounts in the first application, where the second account is an account that publishes media contents containing the first keyword; The content quality indicator is determined based on the content quantity and the number of the second accounts.
6. The method according to claim 1, wherein the information of the first account includes a first category, and the first category is a category to which the media content in the first account belongs; The determining the account quality indicator based on the information of the first account includes: Based on the first categories to which the various media contents belong, determining the proportion of media contents corresponding to the various first categories; Determining a first category index based on the proportion of media content corresponding to each first category, where the first category index is used to characterize the concentration of the first category in the first account; Based on the first category indicator, the account quality indicator is determined.
7. The method according to claim 1, wherein the information of the first account includes brief information of the first account, name information of the first account, and a first category, wherein the first category is a category to which the media content in the first account belongs; The determining the account quality indicator based on the information of the first account includes: Based on the categories to which each media content in the first account belongs, determining a category with the most media content data from the first categories as a final category; Based on the profile information and the name information, determining a probability that the first account belongs to each second category; Extracting the probability that the first account belongs to the final category from the probabilities that the first account belongs to each second category; The account quality indicator is determined based on the probability that the first account belongs to the final category.
8. The method according to claim 1, wherein the information of the first account includes content information of each media content in the first account; The determining the account quality indicator based on the information of the first account includes: Determining, based on the content information of each media content, a transfer feature of the first account, wherein the transfer feature is used to characterize the media content that is transferred among the each media content; Based on the transfer feature of the first account, determining a probability that the first account is a transfer account, and the media content in the transfer account is the transferred media content; The account quality indicator is determined based on the probability that the first account is a transfer account.
9. The method according to claim 8, wherein determining the transfer characteristics of the first account based on the content information of each media content comprises: Determining a second keyword based on the content information of each media content; Determining a third keyword based on content information of each sample transfer content in the sample transfer account; Determining a fourth keyword based on content information of each sample non-transfer content in the sample non-transfer account; Based on the second keyword, the third keyword and the fourth keyword, the transfer characteristics of the first account are determined.
10. The method according to claim 1, wherein the information of the first account includes a first category to which each media content in the first account belongs and a release time of each media content; The determining the account quality indicator based on the information of the first account includes: Determining a category fluctuation index based on the first category to which each media content belongs and the release time of each media content, wherein the category fluctuation index is used to characterize the category fluctuation degree of the media content released by the object; Determining a posting fluctuation index based on the release time of each media content, wherein the posting fluctuation index is used to characterize the degree of time fluctuation of the media content released by the object; The account quality index is determined based on the category fluctuation index and the posting fluctuation index.
11. The method according to claim 10, wherein determining the category fluctuation index based on the first category to which each media content belongs and the release time of each media content comprises: Determining a first fluctuation index based on the first category to which each media content belongs and the release time of each media content, wherein the first fluctuation index is used to characterize the category fluctuation degree of any media content released by the object; Determining a second fluctuation index based on the first category to which each media content belongs and the release time of each media content, wherein the second fluctuation index is used to characterize the category fluctuation degree between any two media content released by the object; The category volatility index is determined based on the first volatility index and the second volatility index.
12. The method according to claim 11, wherein determining the first fluctuation index based on the first category to which each media content belongs and the release time of each media content comprises: Based on the first category to which each media content belongs and the release time of each media content, determining the first category of the first first number of media content after the media content is sorted according to the release time; Segmenting a first category sequence to obtain at least two category segments, wherein the first category sequence is a sequence composed of the first categories of the respective media contents sorted by release time; Based on the at least two category segments, determining category similarities between adjacent category segments; A first fluctuation indicator is determined based on the category similarities between the adjacent category segments and the first category of the first number of media contents.
13. The method according to claim 12, wherein determining the second fluctuation index based on the first category to which each media content belongs and the release time of each media content comprises: Based on the first category to which each media content belongs, determining the category similarity between adjacent media content, the adjacent media content being adjacent media content after the respective media content is sorted according to release time; A second fluctuation index is determined based on the category similarity between the adjacent media contents.
14. The method according to claim 10, wherein determining the posting fluctuation index based on the release time of each media content comprises: Based on the release time of each of the media contents, determining at least one quantile, the quantile being used to represent the ratio of the number of media contents in the corresponding time period to the number of each of the media contents; Based on the at least one quantile, the publication fluctuation index is determined.
15. The method according to claim 1, wherein the information of the first account includes the release time of each media content in the first account; The determining the account quality indicator based on the information of the first account includes: Determining a release time variance based on the release time of each media content; Based on the publishing time variance, the account quality indicator is determined.
16. The method according to claim 1, wherein determining the account quality indicator based on the information of the first account comprises: Determine an account popularity index based on at least one of the number of objects accessing the first account, the number of resources corresponding to the first account, the number of comments on each media content in the first account, the number of shares of each media content, the number of clicks on each media content, the number of likes on each media content, the number of completed views of each media content, or the number of exposures of each media content, where the account popularity index is used to characterize the popularity of the first account among other objects in the first application; Based on the account popularity index, the account quality index is determined.
17. The method according to claim 1, wherein the step of determining, based on the account quality indicator, that the content to be recommended is after the recommendation result of the first application, further comprises: In response to the recommendation result of the content to be recommended being a recommendation, recommending the content to be recommended based on the first application; In response to the recommendation result of the content to be recommended being not recommended, the content to be recommended is filtered out.
18. A content recommendation device, comprising: An acquisition module is used to acquire content to be recommended; The acquisition module is further used to acquire information of a first account corresponding to the content to be recommended, where the first account is an account that the object publishes the content to be recommended in the first application; a determination module, configured to determine an account quality indicator of the first account based on the information of the first account, wherein the account quality indicator is used to characterize the quality of the first account; The determination module is further configured to determine a recommendation result of the to-be-recommended content in the first application based on the account quality indicator.
19. An electronic device, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the electronic device implements the content recommendation method as described in any one of claims 1 to 17.
20. A computer-readable storage medium, the computer-readable storage medium being used to store a computer program, the computer program being used to execute the content recommendation method according to any one of claims 1 to 17.
21. A computer program product, when the computer program product is executed, enables the processor to implement the content recommendation method according to any one of claims 1 to 17.
