Information recommendation method and device
By building a user interest behavior library and counting value management, the video platform solves the problem of protecting user privacy and recommending videos of interest, and achieves natural recommendations and user experience improvement on the video platform.
Patent Information
- Application Number
- CN202110475167.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-04-29
AI Technical Summary
When existing video platforms recommend videos, it is difficult to quickly find the video information that users are interested in while protecting users' personal privacy, and too many watch lists will reveal user preferences.
By constructing the user's interest behavior and disinterest behavior in the user behavior library, it is judged whether to write the media information into the repeated recommendation list, and the recommendation method is determined based on the recommendation count value, and the original media library or repeated recommendation list is used to select the video, update and reset the recommendation Count value to achieve repeated recommendation of videos.
Effectively protect user privacy and improve user experience, by dynamically adjusting recommendation methods and count value management to ensure that video information that users are interested in can be naturally recommended without revealing their preferences.
Smart Images

Figure CN113139086B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information processing, and in particular to an information recommendation method and device. Background Art
[0002] In the related art, after a user logs in to a video platform, the video platform selects corresponding videos from a video library according to a preset recommendation strategy to recommend to the user. In addition, the user adds the video information of interest to a watch list so that the user can watch the video of interest repeatedly. Summary of the invention
[0003] The inventors noticed that the recommendation strategies used in the related art all follow the logic of "finding similar videos", that is, videos that users have watched will not be recommended repeatedly by the video platform. When a user adds video information of interest to a watch list, if there is too much information in the watch list, it is difficult for the user to quickly find the video information of interest. In addition, the watch list will also expose the user's personal privacy.
[0004] Accordingly, the present disclosure provides an information recommendation solution that can repeatedly recommend media information that a user is interested in to the user while protecting the user's personal privacy.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information recommendation method, comprising: in response to an information recommendation trigger operation performed by a user, determining a media information recommendation method according to a recommendation count value; if the media information recommendation method is a first recommendation method, selecting a piece of media information from an original media library using an original recommendation strategy and recommending it to the user, and adding 1 to the recommendation count value according to a preset condition so as to update the recommendation count value; if the media information recommendation method is a second recommendation method, selecting a target record associated with the user in a repeated recommendation list; pushing the media information associated with the media information identifier in the target record to the user, and resetting the recommendation count value.
[0006] In some embodiments, after the media information associated with the media information identifier is pushed to the user, the remaining number of recommendations in the target record is updated; if the remaining number of recommendations in the target record is 0, the target record is deleted.
[0007] In some embodiments, determining a media information recommendation method based on a recommendation count value includes: determining whether the recommendation count value is less than a preset count threshold; if the recommendation count value is less than the preset count threshold, determining that the media information recommendation method is the first recommendation method; if the recommendation count value is equal to the preset count threshold, determining that the media information recommendation method is the second recommendation method.
[0008] In some embodiments, the preset condition includes adding 1 to the recommendation count value to update the recommendation count value after the media information selected from the original media library is recommended to the user.
[0009] In some embodiments, the preset condition also includes, after recommending the media information selected from the original media library to the user, if the media information selected from the original media library is of a predetermined type, adding 1 to the recommendation count value to update the recommendation count value.
[0010] In some embodiments, the type of the media information associated with the media information identifier is different from the predetermined type.
[0011] In some embodiments, determining a media information recommendation method based on a recommendation count value includes: configuring a first probability for the first recommendation method, configuring a second probability for the second recommendation method, the sum of the first probability and the second probability being 1, and the second probability being positively correlated with the recommendation count value; selecting between the first recommendation method and the second recommendation method based on the first probability and the second probability; and determining the media information recommendation method based on the selection result.
[0012] In some embodiments, the above method also includes: collecting the user behavior of the user with respect to the media information currently being played; determining whether it is necessary to write the media information currently being played into a repeated recommendation list based on the user behavior; if it is determined that the media information currently being played needs to be written into the repeated recommendation list, querying in the repeated recommendation list whether it includes a record associated with the user identifier of the user and the information identifier of the media information currently being played; if the repeated recommendation list does not include a record associated with the user identifier of the user and the information identifier of the media information currently being played, creating a new record in the repeated recommendation list, the new record including the user identifier of the user, the information identifier of the media information currently being played and a preset remaining number of recommendations.
[0013] In some embodiments, if the repeated recommendation list includes records associated with the user identifier of the user and the information identifier of the media information currently being played, the remaining number of recommendations is updated to a preset remaining number of recommendations in the records associated with the user identifier of the user and the information identifier of the media information currently being played.
[0014] In some embodiments, determining whether it is necessary to write the currently played media information into a repeated recommendation list based on the user behavior includes: detecting whether the user behavior includes behavior of not being interested in the media information; if the user behavior includes behavior of not being interested in the media information, determining that it is not necessary to write the currently played media information into a repeated recommendation list; if the user behavior does not include behavior of not being interested in the media information, further detecting whether the user behavior includes behavior of being interested in the media information; if the user behavior includes behavior of being interested in the media information, determining that it is necessary to write the currently played media information into a repeated recommendation list.
[0015] In some embodiments, determining whether it is necessary to write the currently played media information into a repeated recommendation list based on the user behavior includes: using a user interest behavior library to obtain a score corresponding to the user behavior, and determining a summary value based on the obtained score, wherein the user interest behavior library is constructed using a historical behavior library, and the user interest behavior library includes behaviors of interest in the media and corresponding scores, as well as behaviors of no interest in the media and corresponding scores; determining whether it is necessary to write the currently played media information into a repeated recommendation list based on the summary value.
[0016] In some embodiments, determining whether it is necessary to write the currently played media information into a repeated recommendation list based on the summary value includes: if the summary value associated with the behavior of interest in the media included in the summary value is greater than a preset summary threshold, determining that it is necessary to write the currently played media information into a repeated recommendation list.
[0017] In some embodiments, determining whether it is necessary to write the currently played media information into a repeated recommendation list based on the summary value includes: if the ratio of the summary value associated with the behavior of interest in the media included in the summary value to the summary value associated with the behavior of no interest in the media included in the summary value is greater than a preset ratio threshold, then determining that the currently played media information needs to be written into the repeated recommendation list.
[0018] In some embodiments, after the media information associated with the media information identifier is pushed to the user, the user's viewing behavior is collected; the score of the corresponding behavior in the user's user interest behavior library and the score of the corresponding behavior in the historical behavior library are updated according to the user's viewing behavior.
[0019] According to a second aspect of an embodiment of the present disclosure, an information recommendation device is provided, comprising: a first processing module, configured to determine a media information recommendation method according to a recommendation count value in response to an information recommendation trigger operation performed by a user; a second processing module, configured to, if the media information recommendation method is the first recommendation method, select a piece of media information from an original media library using an original recommendation strategy and recommend it to the user, and add 1 to the recommendation count value according to a preset condition to update the recommendation count value; if the media information recommendation method is the second recommendation method, select a target record associated with the user in a repeated recommendation list, push the media information associated with the media information identifier in the target record to the user, and reset the recommendation count value.
[0020] According to a third aspect of an embodiment of the present disclosure, there is provided an information recommendation device, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to execute a method as described in any of the above embodiments based on the instructions stored in the memory.
[0021] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method involved in any of the above embodiments is implemented.
[0022] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1 A flowchart of a method for updating a repeated recommendation list according to an embodiment of the present disclosure;
[0025] Figure 2 A flowchart of an information recommendation method according to an embodiment of the present disclosure;
[0026] Figure 3 This is a schematic diagram of the structure of an information recommendation device according to an embodiment of the present disclosure;
[0027] Figure 4 This is a schematic diagram of the structure of an information recommendation device according to another embodiment of the present disclosure;
[0028] Figure 5 This is a schematic diagram of the structure of an information recommendation device according to another embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0030] Unless specifically stated otherwise, the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
[0031] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0032] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0033] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0034] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0035] Figure 1 The following is a flow chart of a method for updating a repeated recommendation list according to an embodiment of the present disclosure. In some embodiments, the following steps of the method for updating a repeated recommendation list are performed by an information recommendation device.
[0036] In step 101, user behaviors of users with respect to currently played media information are collected.
[0037] In step 102, it is determined whether the currently played media information needs to be written into a repeat recommendation list according to the user behavior.
[0038] In some embodiments, a historical behavior library is constructed by summarizing different users' behaviors of being interested in media information and behaviors of being uninterested in media information when watching media information. For example, users' behaviors of being interested in media information include: paying attention to media information, watching in a loop, viewing other media information of the same anchor, viewing comments, pausing, viewing similar media information, searching for media information, forwarding media information, adjusting volume, body movements, etc. Users' behaviors of being uninterested in media information include: not finishing watching the video, swiping quickly, clicking the dislike button, swiping after seeing similar media information, not opening media information, etc.
[0039] In some embodiments, an initial score may be set for each behavior. The initial scores of each behavior may be the same or different. The historical behavior library is shown in Table 1.
[0040]
[0041] Table 1
[0042] In some embodiments, the user interest behavior library of each user is constructed by copying the historical behavior library. The user interest behavior library is shown in Table 2.
[0043]
[0044]
[0045] Table 2
[0046] In some embodiments, the user interest behavior library is used to detect whether the user behavior includes behaviors that are not interested in media information. If the user behavior includes behaviors that are not interested in media information, it is determined that the currently played media information does not need to be written into the repeated recommendation list. If the user behavior does not include behaviors that are not interested in media information, it is further detected whether the user behavior includes behaviors that are interested in media information. If the user behavior includes behaviors that are interested in media information, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0047] That is to say, as long as there is no interest behavior, the currently played media information will not be written into the repeated recommendation list. Alternatively, if there is only interest behavior, the currently played media information will be written into the repeated recommendation list.
[0048] In other embodiments, the user interest behavior library is used to obtain scores corresponding to user behaviors, and a summary value is determined based on the obtained scores. Based on the summary value, it is determined whether the currently played media information needs to be written into the repeated recommendation list.
[0049] For example, if the summary value associated with the behavior of being interested in the media included in the summary value is greater than a preset summary threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0050] If the initial summary value of user A is 0, and user A loops and adjusts the volume when watching video 1, as shown in Table 2 above, the summary value of user A is increased by 20. If user A clicks the dislike button when watching video 1, the summary value of user A is reduced by 10. If the final summary value of user A is greater than the preset summary threshold, it is determined that the information of video 1 is written into the repeated recommendation list.
[0051] For another example, if the ratio of the summary value associated with the behavior of interest in the media included in the summary value to the summary value associated with the behavior of not being interested in the media included in the summary value is greater than a preset ratio threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0052] If the score corresponding to the interested behavior of user A while watching video 1 is 70, and the score corresponding to the uninterested behavior is 20, since the ratio of 70 / 20 is greater than the preset ratio threshold, it is determined to write the information of video 1 into the repeated recommendation list.
[0053] In step 103, if it is determined that the currently played media information needs to be written into the repeat recommendation list, the repeat recommendation list is queried to see whether a record associated with the user identifier of the user and the information identifier of the currently played media information is included.
[0054] In step 104, if the repeated recommendation list does not include a record associated with the user ID of the user and the information ID of the currently playing media information, a new record is created in the repeated recommendation list, the new record including the user ID of the user, the information ID of the currently playing media information and a preset remaining number of recommendations.
[0055] For example, based on the behavior of user A when watching video 3, it is determined that video 3 needs to be written into the repeated recommendation list. If the repeated recommendation list does not include a record associated with user A and video 3, a new record is created in the repeated recommendation list, and the new record includes the user ID of user A, the information ID of video 3, and the preset remaining number of recommendations, as shown in Table 3. For example, the preset remaining number of recommendations is 5 times.
[0056]
[0057] Table 3
[0058] In step 105, if the repeated recommendation list includes a record associated with the user ID of the user and the information ID of the currently playing media information, the remaining number of recommendations is updated to a preset remaining number of recommendations in the record associated with the user ID of the user and the information ID of the currently playing media information.
[0059] For example, based on the behavior of user A when watching video 1, it is determined that video 1 needs to be written into the repeated recommendation list. If the repeated recommendation list includes records associated with user A and video 1, as shown in Table 3, then in the repeated recommendation list, the remaining number of recommendations in the records associated with user A and video 1 is revised to 5 times, as shown in Table 4.
[0060]
[0061] Table 4
[0062] Figure 2 The following is a flow chart of an information recommendation method according to an embodiment of the present disclosure. In some embodiments, the following information recommendation method steps are performed by an information recommendation device.
[0063] In step 201, in response to an information recommendation triggering operation performed by a user, a media information recommendation method is determined according to a recommendation count value.
[0064] In some embodiments, the user performs an information recommendation trigger operation by sliding down the interface or operating a waterfall flow page.
[0065] It should be noted that the recommendation count value corresponds to the number of times the media information in the original media library is continuously recommended to the user. If the media information is recommended to the user using a repeated recommendation list, the recommendation count value is reset to 0.
[0066] In some embodiments, it is determined whether the recommendation count value is less than a preset count threshold. If the recommendation count value is less than the preset count threshold, the media information recommendation method is determined to be the first recommendation method. If the recommendation count value is equal to the preset count threshold, the media information recommendation method is determined to be the second recommendation method.
[0067] For example, if the preset counting threshold is 3, after recommending 3 media information in succession from the original media library, the repeated recommendation list is used to recommend the media information that the user wishes to recommend repeatedly to the user. This makes the media information that the user wishes to recommend repeatedly appear more naturally without leaking the user's preference privacy.
[0068] In other embodiments, a first probability is configured for a first recommendation method for recommending media information from an original media library, and a second probability is configured for a second recommendation method for recommending media information by using a repeated recommendation list, the sum of the first probability and the second probability is 1, and the second probability is positively correlated with the recommendation count value. A selection is made between the first recommendation method and the second recommendation method based on the first probability and the second probability, and a media information recommendation method is determined based on the selection result.
[0069] For example, if the current recommendation count value is 0, the probability of configuring the first recommendation method is 0.9, the probability of configuring the second recommendation method is 0.1, and a selection is made between the first recommendation method and the second recommendation method according to the configuration. If the selection result is the first recommendation method, the first recommendation method is used to recommend media information, and the current recommendation count value is 1. If the user re-triggers the operation, the probability of configuring the first recommendation method is 0.8, the probability of configuring the second recommendation method is 0.2, and a selection is made between the first recommendation method and the second recommendation method according to the configuration. By analogy, if the second recommendation method is not selected, the probability of the second recommendation method increases according to the increase of the recommendation count value, such as 0.1, 0.2, 0.3, etc. If the probability of the second recommendation method is 1, the second recommendation method will definitely be selected. Through the above processing, the media information that the user wishes to recommend repeatedly can appear randomly, thereby not leaking the user's preference privacy.
[0070] In step 202, if the media information recommendation method is the first recommendation method, a piece of media information is selected from the original media library using the original recommendation strategy and recommended to the user, and the recommendation count value is increased by 1 according to a preset condition to update the recommendation count value.
[0071] In some embodiments, the preset condition includes updating the recommendation count value after the media information selected from the original media library is recommended to the user. That is, in the first updating mode, after the media information selected from the original media library is recommended to the user, the current recommendation count value is increased by 1 to update the recommendation count value.
[0072] In other embodiments, the preset condition includes updating the recommendation count value after the media information selected from the original media library is recommended to the user, if the media information selected from the original media library is of a predetermined type. That is, in the second updating mode, if the media information selected from the original media library is of a predetermined type, the current recommendation count value is increased by 1 to update the recommendation count value. On the contrary, if the media information selected from the original media library is not of the predetermined type, the recommendation count value is not updated.
[0073] It should be noted here that since using the original recommendation strategy to recommend media information from the original media library is not the inventive point of the present disclosure, it will not be described in detail here.
[0074] In step 203, if the media information recommendation method is the second recommendation method, a target record associated with the user is selected from the repeated recommendation list.
[0075] In some embodiments, if the repeated recommendation list includes multiple target records associated with the user, a target record may be randomly selected.
[0076] In other embodiments, if in the above-mentioned second update method, the recommendation count value is updated only for media information of a predetermined type, then when the repeated recommendation list includes multiple target records associated with the user, the type of media information associated with the media information identifier in the selected target record is different from the predetermined type.
[0077] For example, after 5 programming videos are recommended to the user through the original media library, a music video is recommended to the user through the repeated recommendation list, which can effectively improve the user experience.
[0078] In step 204, the media information associated with the media information identifier in the target record is pushed to the user, and the recommendation count value is reset.
[0079] For example, the recommendation count value is reset so that the recommendation count value is set to 0.
[0080] In some embodiments, after the media information associated with the media information identifier is pushed to the user, the remaining number of recommendations in the target record is updated. If the remaining number of recommendations in the target record is 0, the target record is deleted.
[0081] For example, if the remaining number of recommendations in the target record is 3, after the media information associated with the media information identifier in the target record is pushed to the user, the remaining number of recommendations in the target record is updated to 2 to indicate that the media information can be recommended 2 more times.
[0082] For another example, if the remaining number of recommendations in the target record is 1, after the media information associated with the media information identifier in the target record is pushed to the user, the remaining number of recommendations in the target record is updated to 0. Since the current remaining number of recommendations in the target record is 0, it indicates that the number of times the video information has been repeatedly recommended to the user has reached a predetermined number of times. In this case, the target record is deleted from the repeated recommendation list.
[0083] In some embodiments, after the media information associated with the media information identifier is pushed to the user, the user's viewing behavior is collected, and the score of the corresponding behavior in the user's user interest behavior library and the score of the corresponding behavior in the historical behavior library are updated according to the user's viewing behavior.
[0084] For example, user A views comments, adjusts the volume, and clicks the dislike button while watching video 1. In this case, the scores corresponding to the views, volume, and dislike buttons are increased by 1, as shown in Table 5.
[0085]
[0086] Figure 5
[0087] In addition, according to the behavior of user A in the process of watching video 1, the historical behavior library is updated accordingly. It should be noted here that the score increment corresponding to the same behavior in the historical behavior library is smaller than the score increment corresponding to the user interest behavior library. This ensures that the overall data fluctuation is small.
[0088] In the information recommendation method provided in the above embodiment of the present disclosure, media information of interest to the user is repeatedly recommended to the user by means of a repeated recommendation list. Since the user does not need to pay attention to the media information of interest, the user's personal privacy can be effectively protected.
[0089] Figure 3 FIG. 1 is a schematic diagram of the structure of an information recommendation device according to an embodiment of the present disclosure. Figure 3 As shown, the information recommendation device includes a first processing module 31 and a second processing module 32 .
[0090] The first processing module 31 is configured to determine a media information recommendation method according to a recommendation count value in response to an information recommendation triggering operation performed by a user.
[0091] In some embodiments, the user performs an information recommendation trigger operation by sliding down the interface or operating a waterfall flow page.
[0092] It should be noted that the recommendation count value corresponds to the number of times the media information in the original media library is continuously recommended to the user. If the media information is recommended to the user using a repeated recommendation list, the recommendation count value is reset to 0.
[0093] In some embodiments, it is determined whether the recommendation count value is less than a preset count threshold. If the recommendation count value is less than the preset count threshold, the media information recommendation method is determined to be the first recommendation method. If the recommendation count value is equal to the preset count threshold, the media information recommendation method is determined to be the second recommendation method.
[0094] In other embodiments, a first probability is configured for a first recommendation method for recommending media information from an original media library, and a second probability is configured for a second recommendation method for recommending media information by using a repeated recommendation list, the sum of the first probability and the second probability is 1, and the second probability is positively correlated with the recommendation count value. A selection is made between the first recommendation method and the second recommendation method based on the first probability and the second probability, and a media information recommendation method is determined based on the selection result.
[0095] The second processing module 32 is configured to select a piece of media information from the original media library and recommend it to the user using the original recommendation strategy if the media information recommendation method is the first recommendation method, and add 1 to the recommendation count value according to a preset condition to update the recommendation count value.
[0096] In some embodiments, the preset condition includes updating the recommendation count value after the media information selected from the original media library is recommended to the user. That is, in the first updating mode, after the media information selected from the original media library is recommended to the user, the current recommendation count value is increased by 1 to update the recommendation count value.
[0097] In other embodiments, the preset condition includes updating the recommendation count value after the media information selected from the original media library is recommended to the user, if the media information selected from the original media library is of a predetermined type. That is, in the second updating mode, if the media information selected from the original media library is of a predetermined type, the current recommendation count value is increased by 1 to update the recommendation count value. On the contrary, if the media information selected from the original media library is not of the predetermined type, the recommendation count value is not updated.
[0098] It should be noted here that since using the original recommendation strategy to recommend media information from the original media library is not the inventive point of the present disclosure, it will not be described in detail here.
[0099] If the media information recommendation method is the second recommendation method, the second processing module 32 selects a target record associated with the user in the repeated recommendation list, pushes the media information associated with the media information identifier in the target record to the user, and resets the recommendation count value.
[0100] In some embodiments, if the repeated recommendation list includes multiple target records associated with the user, a target record may be randomly selected.
[0101] In other embodiments, if in the above-mentioned second update method, the recommendation count value is updated only for media information of a predetermined type, then when the repeated recommendation list includes multiple target records associated with the user, the type of media information associated with the media information identifier in the selected target record is different from the predetermined type.
[0102] In some embodiments, after the media information associated with the media information identifier is pushed to the user, the remaining number of recommendations in the target record is updated. If the remaining number of recommendations in the target record is 0, the target record is deleted.
[0103] Figure 4 This is a schematic diagram of the structure of an information recommendation device according to another embodiment of the present disclosure. Figure 4 and Figure 3 The difference is that in Figure 4 In the illustrated embodiment, the information recommendation device further includes a third processing module 33 .
[0104] The third processing module 33 collects the user's behavior on the currently played media information, and determines whether the currently played media information needs to be written into the repeated recommendation list according to the user's behavior.
[0105] In some embodiments, the third processing module 33 constructs a historical behavior library by summarizing different users' behaviors of being interested in media information and behaviors of being uninterested in media information when watching media information. For example, users' behaviors of being interested in media information include: paying attention to media information, watching in a loop, viewing other media information of the same anchor, viewing comments, pausing, viewing similar media information, searching for media information, forwarding media information, adjusting volume, body movements, etc. Users' behaviors of being uninterested in media information include: not finishing watching the video, swiping quickly, clicking the dislike button, swiping after seeing similar media information, not opening media information, etc.
[0106] In some embodiments, the third processing module 33 builds a user interest behavior library for each user by copying the historical behavior library.
[0107] In some embodiments, the third processing module 33 uses the user interest behavior library to detect whether the user behavior includes behaviors that are not interested in media information. If the user behavior includes behaviors that are not interested in media information, it is determined that there is no need to write the currently played media information into the repeated recommendation list. If the user behavior does not include behaviors that are not interested in media information, it is further detected whether the user behavior includes behaviors that are interested in media information. If the user behavior includes behaviors that are interested in media information, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0108] That is to say, as long as there is no interest behavior, the currently played media information will not be written into the repeated recommendation list. Alternatively, if there is only interest behavior, the currently played media information will be written into the repeated recommendation list.
[0109] In other embodiments, the third processing module 33 uses the user interest behavior library to obtain scores corresponding to user behaviors, and determines summary values based on the obtained scores. Based on the summary values, it is determined whether the currently played media information needs to be written into the repeated recommendation list.
[0110] For example, if the summary value associated with the behavior of being interested in the media included in the summary value is greater than a preset summary threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0111] For another example, if the ratio of the summary value associated with the behavior of interest in the media included in the summary value to the summary value associated with the behavior of not being interested in the media included in the summary value is greater than a preset ratio threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
[0112] If it is determined that the currently played media information needs to be written into the repeated recommendation list, the third processing module 33 queries whether the repeated recommendation list includes a record associated with the user ID of the user and the information identifier of the currently played media information. If the repeated recommendation list does not include a record associated with the user ID of the user and the information identifier of the currently played media information, the third processing module 33 creates a new record in the repeated recommendation list, and the new record includes the user ID of the user, the information identifier of the currently played media information, and the preset remaining number of recommendations.
[0113] If the repeated recommendation list includes records associated with the user ID of the user and the information ID of the media information currently being played, the third processing module 33 updates the remaining number of recommendations to a preset remaining number of recommendations in the records associated with the user ID of the user and the information ID of the media information currently being played.
[0114] Figure 5 FIG. 1 is a schematic diagram of the structure of an information recommendation device according to another embodiment of the present disclosure. Figure 5 As shown, the information recommendation device includes a memory 51 and a processor 52 .
[0115] The memory 51 is used to store instructions. The processor 52 is coupled to the memory 51. The processor 52 is configured to execute the instructions stored in the memory to implement the following. Figure 1 or Figure 2 The method of any one of the embodiments.
[0116] like Figure 5 As shown, the information recommendation device further includes a communication interface 53 for information exchange with other devices. At the same time, the information recommendation device further includes a bus 54 through which the processor 52, the communication interface 53, and the memory 51 communicate with each other.
[0117] The memory 51 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. The memory 51 may also be a memory array. The memory 51 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
[0118] In addition, the processor 52 may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.
[0119] The present disclosure also relates to a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, which are executed by a processor to implement the following Figure 1 or Figure 2 The method of any one of the embodiments.
[0120] In some embodiments, the functional unit module described above can be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components or any appropriate combination thereof for performing the functions described in the present disclosure.
[0121] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0122] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.
Claims
1. An information recommendation method, comprising: In response to an information recommendation trigger operation performed by a user, determining a media information recommendation mode according to a recommendation count value, wherein the recommendation count value corresponds to the number of times the media information in the original media library is continuously recommended to the user; If the media information recommendation method is the first recommendation method, a piece of media information is selected from the original media library using the original recommendation strategy and recommended to the user, and the recommendation count value is increased by 1 according to a preset condition so as to update the recommendation count value; If the media information recommendation method is the second recommendation method, selecting a target record associated with the user in the repeated recommendation list; Pushing the media information associated with the media information identifier in the target record to the user, and resetting the recommendation count value; After the media information associated with the media information identifier is pushed to the user, updating the remaining number of recommendations in the target record; If the remaining number of recommendations in the target record is 0, deleting the target record; Wherein, the information recommendation method further includes: Collecting user behavior of the user with respect to the currently played media information; Determining whether it is necessary to write the currently played media information into the repeated recommendation list according to the user behavior; If it is determined that the currently played media information needs to be written into the repeated recommendation list, querying in the repeated recommendation list whether a record associated with the user identifier of the user and the information identifier of the currently played media information is included; If the repeated recommendation list does not include a record associated with the user ID of the user and the information ID of the media information currently being played, a new record is created in the repeated recommendation list, and the new record includes the user ID of the user, the information ID of the media information currently being played, and a preset remaining number of recommendations.
2. The method according to claim 1, wherein: The media information recommendation method determined according to the recommendation count value includes: Determine whether the recommended count value is less than a preset count threshold; If the recommendation count value is less than the preset count threshold, determining that the media information recommendation method is the first recommendation method; If the recommendation count value is equal to the preset count threshold, the media information recommendation method is determined to be the second recommendation method.
3. The method according to claim 2, wherein: The preset condition includes adding 1 to the recommendation count value to update the recommendation count value after the media information selected from the original media library is recommended to the user.
4. The method according to claim 3, wherein: The preset condition also includes, after the media information selected from the original media library is recommended to the user, if the media information selected from the original media library is of a predetermined type, adding 1 to the recommendation count value to update the recommendation count value.
5. The method according to claim 4, wherein: The type of the media information associated with the media information identifier is different from the predetermined type.
6. The method according to claim 1, wherein: The media information recommendation method determined according to the recommendation count value includes: Configuring a first probability for the first recommendation mode and configuring a second probability for the second recommendation mode, wherein the sum of the first probability and the second probability is 1, and the second probability is positively correlated with the recommendation count value; Selecting between the first recommendation mode and the second recommendation mode according to the first probability and the second probability; The media information recommendation method is determined according to the selection result.
7. The method according to any one of claims 1 to 6, further comprising: If the repeated recommendation list includes a record associated with the user ID of the user and the information ID of the media information currently being played, then in the record associated with the user ID of the user and the information ID of the media information currently being played, the remaining number of recommendations is updated to a preset remaining number of recommendations.
8. The method according to any one of claims 1 to 6, wherein: Determining whether it is necessary to write the currently played media information into the repeated recommendation list according to the user behavior includes: Detecting whether the user behavior includes behavior of being uninterested in media information; If the user behavior includes a behavior of not being interested in the media information, determining that the currently played media information does not need to be written into the repeated recommendation list; If the user behavior does not include behavior of being uninterested in media information, further detecting whether the user behavior includes behavior of being interested in media information; If the user behavior includes an interest in media information, it is determined that the currently played media information needs to be written into the repeated recommendation list.
9. The method according to any one of claims 1 to 6, wherein: Determining whether it is necessary to write the currently played media information into the repeated recommendation list according to the user behavior includes: Using a user interest behavior library to obtain a score corresponding to the user behavior, and determining a summary value according to the obtained score, wherein the user interest behavior library is constructed using a historical behavior library, and the user interest behavior library includes behaviors of interest in media and corresponding scores, and behaviors of no interest in media and corresponding scores; It is determined according to the summary value whether it is necessary to write the currently played media information into the repeated recommendation list.
10. The method according to claim 9, wherein: Determining whether the currently played media information needs to be written into the repeated recommendation list according to the summary value includes: If the summary value associated with the behavior of being interested in the media included in the summary value is greater than a preset summary threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
11. The method according to claim 9, wherein: Determining whether the currently played media information needs to be written into the repeated recommendation list according to the summary value includes: If the ratio of the summary value associated with the behavior of interest in the media included in the summary value to the summary value associated with the behavior of no interest in the media included in the summary value is greater than a preset ratio threshold, it is determined that the currently played media information needs to be written into the repeated recommendation list.
12. The method according to claim 9, further comprising: After pushing the media information associated with the media information identifier to the user, collecting the viewing behavior of the user; The score of the corresponding behavior in the user interest behavior library of the user and the score of the corresponding behavior in the historical behavior library of the user are updated according to the viewing behavior of the user.
13. An information recommendation device, comprising: A first processing module is configured to determine a media information recommendation method according to a recommendation count value in response to an information recommendation trigger operation performed by a user, wherein the recommendation count value corresponds to the number of times the media information in the original media library is continuously recommended to the user; The second processing module is configured to select a piece of media information from the original media library and recommend it to the user by using the original recommendation strategy if the media information recommendation method is the first recommendation method, and to increase the recommendation count value by 1 according to a preset condition so as to update the recommendation count value; If the media information recommendation method is the second recommendation method, a target record associated with the user is selected from the repeated recommendation list, the media information associated with the media information identifier in the target record is pushed to the user, and the recommendation count value is reset. After the media information associated with the media information identifier is pushed to the user, the remaining number of recommendations in the target record is updated, and if the remaining number of recommendations in the target record is 0, the target record is deleted; The third processing module is configured to collect the user behavior of the user with respect to the media information currently being played, determine whether it is necessary to write the media information currently being played into a repeated recommendation list based on the user behavior, and if it is determined that the media information currently being played needs to be written into the repeated recommendation list, query whether the repeated recommendation list includes a record associated with the user identifier of the user and the information identifier of the media information currently being played; if the repeated recommendation list does not include a record associated with the user identifier of the user and the information identifier of the media information currently being played, create a new record in the repeated recommendation list, and the new record includes the user identifier of the user, the information identifier of the media information currently being played, and a preset remaining number of recommendations.
14. An information recommendation device, comprising: a memory configured to store instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to any one of claims 1 to 12 based on instructions stored in the memory.
15. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 to 12 is implemented.
