A method for selecting a matching partner for a costarring video is performed by a terminal. The terminal obtains a first video recorded by a first user and a plurality of second videos in which a second role matching the first role is played by a respective second user. After obtaining a matching score between the first video and the plurality of second videos in each user type, the terminal ranks the second videos in which the second role is played by the second users for each user type and displays a ranking result of the second videos in which the second role is played for each user type. After obtaining a user selection of a second video according to the ranking result, the terminal synthesizes a complete video from the first video and the user-selected second video and plays the complete video.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for selecting a partner for a costarring video performed by a terminal having one or more processors and memory storing a plurality of programs to be executed by the one or more processors, the method comprising: obtaining a first video recorded by a first user and in which a first role is played by the first user; identifying a plurality of second videos, each second video including a second role matching the first role and played by a second user having a respective user type; calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types; ranking, in a descending order of the matching scores, the plurality of second videos and respectively displaying a ranking result of the plurality of second videos in which the second role is played for each user type; receiving a user selection of one of the plurality of second videos from the ranking result and in which the second role is played; synthesizing a complete video from the user-selected second video in which the second role is played and the first video in which the first role is played; and playing the complete video on a screen of the terminal.
2. The method according to claim 1 , wherein the calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types comprises: obtaining a feedback score of the second video in which the second role is correspondingly played by the second user; obtaining attribute information of the first user playing the first role and attribute information of the second user playing the second role; calculating an attribute matching score of the second user according to the attribute information of the first user and the attribute information of the second user; and calculating, according to a product of the attribute score of the second user and a corresponding feedback score, the matching score between the first video and the second video in which the second role is correspondingly played by the second user.
3. The method according to claim 2 , wherein the obtaining a feedback score of the second video in which the second role is played by the second user comprises: obtaining a sum of basic scores of all videos comprising the second video in which the second role is correspondingly played by the second user; and using the sum of the basic scores as the feedback score of the second video in which the second role is played by the second user.
4. The method according to claim 3 , wherein the obtaining a sum of basic scores of all videos comprising the second video in which the second role is played by the second user comprises: obtaining a play score and an interaction score of each video in which the second role is played by the second user; using a sum of the play score and the interaction score as a basic score of the video in which the second role is played by the second user; and calculating a sum of all basic scores for the videos in which the second role is played by the second user.
5. The method according to claim 4 , wherein the obtaining a play score and an interaction score of each video in which the second role is played by the second user comprises: obtaining play times, demonstration times, comment times, and like times of the video in which the second role is played by the second user; obtaining, by multiplying a ratio of the play times to the demonstration times by a first coefficient factor, the play score of the video in which the second role is played by the second user; obtaining a product of the comment times and a second coefficient factor and a product of the like times and a third coefficient factor; and obtaining a ratio of a sum of the two products to the play times, to obtain the interaction score of the video in which the second role is played by the second user.
6. The method according to claim 1 , further comprising: obtaining a priority of each user type; ranking the user types in a descending order of priority; and displaying the user types according to the level of the priorities.
7. A terminal comprising one or more processors, memory coupled to the one or more processors, and a plurality of programs stored in the memory that, when executed by the one or more processors, cause the terminal to perform a plurality of operations including: obtaining a first video recorded by a first user and in which a first role is played by the first user; identifying a plurality of second videos, each second video including a second role matching the first role and played by a second user having a respective user type; calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types; ranking, in a descending order of the matching scores, the plurality of second videos and respectively displaying a ranking result of the plurality of second videos in which the second role is played for each user type; receiving a user selection of one of the plurality of second videos from the ranking result and in which the second role is played; synthesizing a complete video from the user-selected second video in which the second role is played and the first video in which the first role is played; and playing the complete video on a screen of the terminal.
8. The terminal according to claim 7 , wherein the calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types comprises: obtaining a feedback score of the second video in which the second role is correspondingly played by the second user; obtaining attribute information of the first user playing the first role and attribute information of the second user playing the second role; calculating an attribute matching score of the second user according to the attribute information of the first user and the attribute information of the second user; and calculating, according to a product of the attribute score of the second user and a corresponding feedback score, the matching score between the first video and the second video in which the second role is correspondingly played by the second user.
9. The terminal according to claim 8 , wherein the obtaining a feedback score of the second video in which the second role is played by the second user comprises: obtaining a sum of basic scores of all videos comprising the second video in which the second role is correspondingly played by the second user; and using the sum of the basic scores as the feedback score of the second video in which the second role is played by the second user.
10. The terminal according to claim 9 , wherein the obtaining a sum of basic scores of all videos comprising the second video in which the second role is played by the second user comprises: obtaining a play score and an interaction score of each video in which the second role is played by the second user; using a sum of the play score and the interaction score as a basic score of the video in which the second role is played by the second user; and calculating a sum of all basic scores for the videos in which the second role is played by the second user.
11. The terminal according to claim 10 , wherein the obtaining a play score and an interaction score of each video in which the second role is played by the second user comprises: obtaining play times, demonstration times, comment times, and like times of the video in which the second role is played by the second user; obtaining, by multiplying a ratio of the play times to the demonstration times by a first coefficient factor, the play score of the video in which the second role is played by the second user; obtaining a product of the comment times and a second coefficient factor and a product of the like times and a third coefficient factor; and obtaining a ratio of a sum of the two products to the play times, to obtain the interaction score of the video in which the second role is played by the second user.
12. The terminal according to claim 7 , wherein the plurality of operations further comprise: obtaining a priority of each user type; ranking the user types in a descending order of priority; and displaying the user types according to the level of the priorities.
13. A non-transitory computer readable storage medium storing a plurality of programs for selecting a partner for a costarring video, wherein the plurality of programs, when executed by one or more processors of a terminal, cause the terminal to perform a plurality of operations including: obtaining a first video recorded by a first user and in which a first role is played by the first user; identifying a plurality of second videos, each second video including a second role matching the first role and played by a second user having a respective user type; calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types; ranking, in a descending order of the matching scores, the plurality of second videos and respectively displaying a ranking result of the plurality of second videos in which the second role is played for each user type; receiving a user selection of one of the plurality of second videos from the ranking result and in which the second role is played; synthesizing a complete video from the user-selected second video in which the second role is played and the first video in which the first role is played; and playing the complete video on a screen of the terminal.
14. The non-transitory computer readable storage medium according to claim 13 , wherein the calculating a matching score between the first video and each of the plurality of second videos according to their respective video content and user types comprises: obtaining a feedback score of the second video in which the second role is correspondingly played by the second user; obtaining attribute information of the first user playing the first role and attribute information of the second user playing the second role; calculating an attribute matching score of the second user according to the attribute information of the first user and the attribute information of the second user; and calculating, according to a product of the attribute score of the second user and a corresponding feedback score, the matching score between the first video and the second video in which the second role is correspondingly played by the second user.
15. The non-transitory computer readable storage medium according to claim 14 , wherein the obtaining a feedback score of the second video in which the second role is played by the second user comprises: obtaining a sum of basic scores of all videos comprising the second video in which the second role is correspondingly played by the second user; and using the sum of the basic scores as the feedback score of the second video in which the second role is played by the second user.
16. The non-transitory computer readable storage medium according to claim 15 , wherein the obtaining a sum of basic scores of all videos comprising the second video in which the second role is played by the second user comprises: obtaining a play score and an interaction score of each video in which the second role is played by the second user; using a sum of the play score and the interaction score as a basic score of the video in which the second role is played by the second user; and calculating a sum of all basic scores for the videos in which the second role is played by the second user.
17. The non-transitory computer readable storage medium according to claim 16 , wherein the obtaining a play score and an interaction score of each video in which the second role is played by the second user comprises: obtaining play times, demonstration times, comment times, and like times of the video in which the second role is played by the second user; obtaining, by multiplying a ratio of the play times to the demonstration times by a first coefficient factor, the play score of the video in which the second role is played by the second user; obtaining a product of the comment times and a second coefficient factor and a product of the like times and a third coefficient factor; and obtaining a ratio of a sum of the two products to the play times, to obtain the interaction score of the video in which the second role is played by the second user.
18. The non-transitory computer readable storage medium according to claim 13 , wherein the plurality of operations further comprise: obtaining a priority of each user type; ranking the user types in a descending order of priority; and displaying the user types according to the level of the priorities.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
June 17, 2019
April 21, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.