Individuation-based short play recommendation method and system
By obtaining user portraits and building B-trees, the problem of repeated plots and tags in short drama recommendations is solved, personalized recommendations are realized, and the novelty and relevance of the user experience are improved.
Patent Information
- Application Number
- CN202410786786.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing short drama recommendation methods, frequent repetition of plots and tags leads to boredom in the audience, lack of novelty and relevance, and cannot effectively meet the needs of personalized recommendations.
By obtaining user portraits of target users, collecting search data and viewing history, using weight calculation formulas to screen short episodes, and building B-trees for personalized recommendations, ensuring the novelty and relevance of recommendations.
It realizes personalized short drama recommendations based on user preferences, avoids the recommendation of repeated plots and tags, improves user experience, and meets the requirements of novelty and relevance.
Smart Images

Figure CN118612482A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent recommendation technology, and in particular to a method and system for recommending short plays based on personalization. Background Art
[0002] A short play is a work that tells a complete story in a short time. With the development of the Internet, short plays are becoming more and more suitable for the fast-paced lifestyle of modern people. The recommendation method for short plays is gradually in line with the preferences of each user. However, frequent recommendation of short plays with repeated plots or repeated tags often leads to a deep boredom of the audience. The audience will no longer be attracted by novel plots, but will be predictable and boring about the same plots. Therefore, the recommendation of short plays for the crowd should not only recommend repeated related tags or plots, but also have novelty and relevance. Summary of the invention
[0003] In order to overcome the disadvantage of repeatedly recommending related contents, the present invention provides a method and system for recommending short plays based on personalization.
[0004] The technical implementation scheme of the present invention is: a method for recommending short plays based on personalization, comprising the following steps: S1: Obtain a user profile of a target user, and collect and obtain a first recommended short series based on relevant data in the user profile; S2: The first recommended short series is screened using a weight calculation formula to obtain a second recommended short series; S3: setting the relevant order of the B-tree according to the number of the second recommended short dramas; S4: construct a B-tree according to the order and the second recommended short series, and use the B-tree to make recommendations.
[0005] Preferably, the method of obtaining a user portrait of a target user and collecting and obtaining a first recommended short series based on relevant data in the user portrait includes: obtaining relevant search data of the target user portrait, using the search data to obtain tags of short series watched by the target user, and using relevant tags to obtain relevant short series to form the first recommended short series.
[0006] Preferably, the method of using a weight calculation formula to filter the first recommended short series to obtain the second recommended short series includes: obtaining the target user's favorite label types after counting the most recent preset number of short series watched by the target user, and matching the target user's favorite label types with relevant short series to obtain the number of matching labels for different short series, calculating the weights of all short series in the first recommended short series according to the number of matching labels and the weight calculation formula, and filtering out a second preset number of second recommended short series that meet the requirements according to the weights of all the short series.
[0007] Preferably, the method of obtaining target user preference label types after counting a recent preset number of short dramas watched by the target user comprises: using an LRU algorithm to perform statistical analysis on a recent preset number of short dramas watched by the target user, and then analyzing a first preset number of short dramas therein to obtain target user preference label types, wherein the short dramas watched by the target user are collected, and the recent preset number after removing duplicate short dramas should be greater than the first preset number.
[0008] Preferably, the weights of all the skits in the first recommended skit series are calculated according to the number of matching tags and the weight calculation formula, and a second preset number of second recommended skits that meet the requirements are screened out according to the weights of all the skits, including: the second recommended skits include a third preset number of skits that the target user has watched, and a fourth preset number of skits screened out from the first recommended skits, wherein the second preset number is equal to the third preset number plus the fourth preset number, and the weight calculation formula is: Where S is the weight of the skit, K, B, and Q are influencing factors, X is the number of matching tags for the skit, Y is the number of clicks on the skit, and Z is whether the user has watched the skit. If so, Z is 1, otherwise Z is 0. The value of Q is greater than K and B; and the value of K is greater than B.
[0009] Preferably, setting the relevant order of the B-tree according to the number of the second recommended short episodes includes: setting an order lookup table of second preset numbers and orders, obtaining the order that the B-tree should be set to according to the second recommended short episodes with different second preset numbers and the order lookup table, and the second preset number and the order in the order lookup table are positively correlated.
[0010] Preferably, constructing a B-tree according to the order and the second recommended short series, and using the B-tree for recommendation, includes: sorting the second recommended short series according to the order of the B-tree and the weights in the second recommended short series to obtain a recommended B-tree, and making recommendations based on the recommended B-tree, wherein the short series watched by the target user have the highest weight.
[0011] Preferably, the step of sorting the second recommended short dramas to obtain a recommended B-tree and making recommendations based on the recommended B-tree includes: recommending the short drama at the root node of the recommended B-tree to a target user, and obtaining the first analysis result or the second analysis result based on user feedback; If it is the first analysis result, the left subtree of the recommendation B-tree or the root node of the recommendation B-tree with a weight less than the target weight is used for recommendation; If it is the second analysis result, the right subtree of the recommendation B-tree is used for recommendation, and the short dramas watched by the target user need to be removed before the recommendation process; When the number of root nodes is N (N is a positive integer), the short drama with the largest weight is recommended first.
[0012] Preferably, if it is the first analysis result, the left subtree of the recommendation B-tree or the root node of the recommendation B-tree with a weight less than the target weight is used for recommendation; if it is the second analysis result, the right subtree of the recommendation B-tree is used for recommendation, and the short dramas watched by the target user need to be removed before the recommendation process, including: recommending according to the recommendation B-tree, if it is the first analysis result, recommending the short drama with the smallest difference from the target weight and lower than the target weight; if it is the second analysis result, recommending the short drama with the smallest difference from the target weight and higher than the target weight; wherein the weight of the short drama recommended to the user is the target weight.
[0013] Preferably, the personalized short play recommendation system further includes: A data collection module, used to collect historical drama search data of target users; A first recommended short series acquisition module is used to acquire tags of short series watched by the target user, and to acquire short series with relevant tags by using relevant tags to form the first recommended short series; The user preference tag category module is used to statistically classify the short dramas that the target user has watched in the past; The user's recent favorite tag module uses the LRU algorithm to obtain the tags of the short dramas that the target user has watched recently; A second recommended short series acquisition module is used to calculate the weights of all the short series in the first recommended short series according to the number of matching tags and the weight calculation formula, and screen out a second preset number of second recommended short series that meet the requirements according to the weights of all the short series; An order setting module, used for obtaining the order that the B-tree should be set to according to the second recommended short episodes of different second preset numbers and the order lookup table; A B-tree construction module, used for constructing a B-tree according to the order and the second recommended short series to obtain a recommended B-tree; The recommendation module is used to recommend short plays to users based on user feedback and the recommendation B-tree.
[0014] Beneficial effects of the present invention: The present invention collects the short dramas watched by the target user, obtains the short drama labels, and obtains the first recommended short drama according to the corresponding labels, then calculates the number of matching labels for the first recommended short drama, and obtains the weight of each short drama according to the weight calculation formula, selects a second preset number of second recommended short dramas according to the weights, and determines the order of the B-tree according to the second preset number of second recommended short dramas, finally constructs a recommended B-tree according to the order and the second recommended short dramas, and recommends to the target user based on the recommended B-tree. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1A flowchart of a personalized skit recommendation method according to the present invention; Figure 2 This is a flow chart of the present invention using the recommendation B-tree for recommendation. DETAILED DESCRIPTION
[0016] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0017] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0019] Embodiment 1: A method for recommending short plays based on personalization, such as Figure 1-2 As shown, the following steps are included: S1: Obtain the user profile of the target user, and collect and obtain the first recommended short series based on the relevant data in the user profile; Relevant search data of the target user portrait is obtained, and tags of the short dramas watched by the target user are obtained using the search data. The relevant short dramas are obtained using the relevant tags to form the first recommended short drama.
[0020] It should be noted that by collecting the target user's historical viewing of short dramas, and obtaining the tags of each short drama, short dramas with the same tag type are collected according to the short drama tags as the first recommended short drama series.
[0021] S2: The first recommended short series is screened using a weight calculation formula to obtain a second recommended short series; After counting the most recent preset number of skits watched by the target user, the target user's preferred label types are obtained, and the target user's preferred label types are matched with relevant skits to obtain the number of matching labels for different skits, and the weights of all skits in the first recommended skit series are calculated based on the matching label number and the weight calculation formula, and based on the weights of all skits, a second preset number of second recommended skits that meet the requirements are screened out.
[0022] After using the LRU algorithm to perform statistical analysis on the most recent preset number of short dramas watched by the target user, the first preset number of short dramas are analyzed to obtain the target user's preference tag types, wherein the short dramas watched by the target user are collected, and the most recent preset number after removing duplicate short dramas should be greater than the first preset number.
[0023] The second recommended short series includes a third preset number of short series that the target user has watched, and a fourth preset number of short series selected from the first recommended short series, wherein the second preset number is equal to the third preset number plus the fourth preset number, and the weight calculation formula is: Where S is the weight of the skit, K, B, and Q are influencing factors, X is the number of matching tags for the skit, Y is the number of clicks on the skit, and Z is whether the user has watched the skit. If so, Z is 1, otherwise Z is 0. The value of Q is greater than K and B; and the value of K is greater than B.
[0024] It should be noted that the LRU algorithm is used to perform statistical analysis on the most recent preset number of skits watched by the target user. For example, when the most recent preset number of skits is 3 and the most recently watched skits are: A, B, C, B, the final sequence should be A, C, B. When the first preset number is two, the skits of C and B are analyzed to obtain the target user's most recent favorite tag categories. At the same time, it is ensured that the most recent preset number after removing duplicates is greater than the first preset number to prevent the target user from repeatedly searching for the same skit, which may lead to recommendation deviation. The second recommended short series should include a third preset number of short series that have been watched by the target users, to prevent the root node from having too few matching tags, which would cause the recommended short series to deviate too much from the preferences of the target users. A fourth preset number of short series with the largest weights and a third preset number of short series that have been watched by the target users should be selected from the first recommended short series to form the second recommended short series.
[0025] S3: setting the relevant order of the B-tree according to the number of the second recommended short episodes; Set a second preset number and an order lookup table of the order, and obtain the order that the B-tree should be set to according to the second recommended short episodes with different second preset numbers and the order lookup table. The second preset number and the order in the order lookup table are positively correlated.
[0026] It should be noted that the order lookup table of the second preset number and the order is obtained through historical data or expert experience, and is used to set different second preset numbers. The tree height of the recommendation B-tree is adjusted by limiting the number of second recommended short series, to prevent the tree height of the recommendation B-tree from being too high due to the small order when the number of second recommended short series is large, resulting in the recommended short series being too deviated from the preferences of the target users.
[0027] S4: construct a B-tree according to the order and the second recommended short episode, and use the B-tree to make recommendations.
[0028] According to the order of the B-tree and the weights in the second recommended short series, the second recommended short series are sorted to obtain a recommended B-tree, and recommendations are made based on the recommended B-tree, among which the short series watched by the target user has the highest weight.
[0029] Recommend the short play at the root node of the recommendation B-tree to the target user, and obtain the first analysis result or the second analysis result according to the user feedback; If it is the first analysis result, the left subtree of the recommendation B-tree or the root node of the recommendation B-tree with a weight less than the target weight is used for recommendation; If it is the second analysis result, the right subtree of the recommendation B-tree is used for recommendation. Before the recommendation process, the short dramas watched by the target user need to be removed; When the number of root nodes is N, the short drama with the largest weight is recommended first.
[0030] Recommendations are made based on the recommendation B-tree. If it is the first analysis result, the short drama with the smallest difference from the target weight and lower than the target weight is recommended; if it is the second analysis result, the short drama with the smallest difference from the target weight and higher than the target weight is recommended; the weight of the short drama recommended to the user is the target weight.
[0031] It should be noted that the corresponding recommendation B-tree is constructed through the weight and order of the second recommended short drama; when making recommendations based on the recommendation B-tree, the user's feedback results are obtained. If the feedback result is that the user is interested, the short drama whose weight is less than the first analysis result is recommended from the left subtree of the recommendation B-tree or the root node of the recommendation B-tree; if the user is not interested, the right subtree of the recommendation B-tree is used for recommendation. Before the recommendation process, the short dramas that the target user has watched need to be removed. When the number of root nodes N is greater than or equal to 2, the short drama with the largest weight is recommended; for example: if the root nodes are 50 and 60, the short drama with a weight of 60 is recommended first. If the user's feedback is that the user is interested, the short drama with a weight of 50 will continue to be recommended. If the user's feedback is that the user is not interested, the short drama with a weight greater than 60 and the smallest difference with the weight will be found from the right subtree of the recommendation B-tree for recommendation. When recommending, the short dramas that the user has watched should be removed before recommendation.
[0032] Embodiment 2: Based on Embodiment 1, a personalized short play recommendation system is also included: A data collection module, used to collect historical drama search data of target users; A first recommended short series acquisition module is used to acquire tags of short series watched by the target user, and to acquire short series with relevant tags by using relevant tags to form the first recommended short series; The user preference tag category module is used to statistically classify the short dramas that the target user has watched in the past; The user's recent favorite tag module uses the LRU algorithm to obtain the tags of the short dramas that the target user has watched recently; A second recommended short series acquisition module is used to calculate the weights of all the short series in the first recommended short series according to the number of tags and the weight calculation formula, and screen out a second preset number of second recommended short series that meet the requirements according to the weights of all the short series; An order setting module, used for obtaining the order that the B-tree should be set to according to different second preset numbers of second recommended short episodes and an order lookup table; A B-tree construction module is used to construct a B-tree according to the order and the second recommended short episode to obtain a recommended B-tree; The recommendation module is used to recommend short plays to users based on user feedback and recommendation B-tree.
[0033] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.
Claims
1. A personalized short drama recommendation method, characterized by: The following steps are involved: S1: Obtain a user profile of a target user, and collect and obtain a first recommended short series based on relevant data in the user profile; S2: The first recommended short series is screened using a weight calculation formula to obtain a second recommended short series; S3: setting the relevant order of the B-tree according to the number of the second recommended short dramas; S4: construct a B-tree according to the order and the second recommended short series, and use the B-tree to make recommendations.
2. The personalized short play recommendation method according to claim 1 is characterized in that: The method of obtaining a user portrait of a target user and collecting and obtaining a first recommended short series based on relevant data in the user portrait includes: obtaining relevant search data of the target user portrait, using the search data to obtain tags of short series watched by the target user, and using relevant tags to obtain relevant short series to form the first recommended short series.
3. The personalized short play recommendation method according to claim 1 is characterized in that: The method uses a weight calculation formula to filter the first recommended short series to obtain a second recommended short series, including: obtaining target user preference tag types after counting the most recent preset number of short series watched by the target user, and matching the target user preference tag types with related short series to obtain the number of matching tags for different short series, calculating the weights of all short series in the first recommended short series according to the number of matching tags and the weight calculation formula, and filtering out a second preset number of second recommended short series that meet the requirements according to the weights of all the short series.
4. The personalized short play recommendation method according to claim 3 is characterized in that: The method of obtaining target user preference label types after counting the most recent preset number of short dramas watched by the target user comprises: using an LRU algorithm to perform statistical analysis on the most recent preset number of short dramas watched by the target user, and then analyzing a first preset number of short dramas among them to obtain target user preference label types, wherein the short dramas watched by the target user are collected, and the most recent preset number after removing duplicate short dramas should be greater than the first preset number.
5. The personalized short play recommendation method according to claim 3 is characterized in that: The weights of all the skits in the first recommended skit are calculated according to the number of matching tags and the weight calculation formula, and a second preset number of second recommended skits that meet the requirements are screened out according to the weights of all the skits, including: the second recommended skits include a third preset number of skits that the target user has watched, and a fourth preset number of skits screened out from the first recommended skit, wherein the second preset number is equal to the third preset number plus the fourth preset number, and the weight calculation formula is: Where S is the weight of the skit, K, B, and Q are influencing factors, X is the number of matching tags for the skit, Y is the number of clicks on the skit, and Z is whether the user has watched the skit. If so, Z is 1, otherwise Z is 0. The value of Q is greater than K and B; and the value of K is greater than B.
6. The personalized short play recommendation method according to claim 1 is characterized in that: The method of setting the relevant order of the B-tree according to the number of the second recommended short episodes includes: setting an order lookup table of second preset numbers and orders, obtaining the order that the B-tree should be set to according to the second recommended short episodes with different second preset numbers and the order lookup table, and the second preset number and the order in the order lookup table are positively correlated.
7. The personalized short play recommendation method according to claim 1 is characterized in that: The constructing a B-tree according to the order and the second recommended short series, and using the B-tree for recommendation, includes: sorting the second recommended short series according to the order of the B-tree and the weights in the second recommended short series to obtain a recommended B-tree, and making recommendations according to the recommended B-tree, wherein the short series watched by the target user has the highest weight.
8. The personalized short play recommendation method according to claim 7 is characterized in that: The step of sorting the second recommended short drama series to obtain a recommended B-tree and making recommendations based on the recommended B-tree includes: recommending the short drama at the root node of the recommended B-tree to a target user, and obtaining the first analysis result or the second analysis result based on user feedback; If it is the first analysis result, the left subtree of the recommendation B-tree or the root node of the recommendation B-tree with a weight less than the target weight is used for recommendation; If it is the second analysis result, the right subtree of the recommendation B-tree is used for recommendation, and the short dramas watched by the target user need to be removed before the recommendation process; When the number of root nodes is N (N is a positive integer), the short drama with the largest weight is recommended first.
9. The personalized short play recommendation method according to claim 8 is characterized in that: If the result is the first analysis, the left subtree of the recommendation B-tree or the root node of the recommendation B-tree with a weight less than the target weight is used for recommendation; If it is the second analysis result, the right subtree of the recommendation B-tree is used for recommendation. Before the recommendation process, the short dramas watched by the target user need to be removed, including: recommending according to the recommendation B-tree, if it is the first analysis result, recommending the short dramas with the smallest difference from the target weight and lower than the target weight; if it is the second analysis result, recommending the short dramas with the smallest difference from the target weight and higher than the target weight; the weight of the short drama recommended to the user is the target weight.
10. The personalized short play recommendation system according to any one of claims 1 to 9, characterized in that: include: A data collection module, used to collect historical drama search data of target users; A first recommended short series acquisition module is used to acquire tags of short series watched by the target user, and to acquire short series with relevant tags by using relevant tags to form the first recommended short series; The user preference tag category module is used to statistically classify the short dramas that the target user has watched in the past; The user's recent favorite tag module uses the LRU algorithm to obtain the tags of the short dramas that the target user has watched recently; A second recommended short series acquisition module is used to calculate the weights of all the short series in the first recommended short series according to the number of matching tags and the weight calculation formula, and screen out a second preset number of second recommended short series that meet the requirements according to the weights of all the short series; An order setting module, used for obtaining the order that the B-tree should be set to according to the second recommended short episodes of different second preset numbers and the order lookup table; A B-tree construction module, used for constructing a B-tree according to the order and the second recommended short series to obtain a recommended B-tree; The recommendation module is used to recommend short plays to users based on user feedback and the recommendation B-tree.
Citation Information
Patent Citations
Systems and methods for addressing media database using distance associative hashing
CN110083739A
Label-based short video recommendation method, system, equipment and medium
CN114265953A
Intelligent recommendation method and system based on video content analysis and user tags
CN117440182A
Big data-based network literature movie recommendation management system
CN117708436A
Battery pack
KR1020240144849A
