Summary of the invention
Embodiments of the invention provide a kind of multimedia file recommend method and electronic equipment, can recommend for different user the multimedia file of this user preference, improve the recommendation efficiency of multimedia file, strengthen the user and experience.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The first aspect of the embodiment of the present invention, provide a kind of multimedia file recommend method, is applied to electronic equipment, and described electronic equipment comprises the multimedia client, and described method comprises:
Obtain the preference type of theme of current login user in described multimedia client, comprise at least one multimedia file type of theme in described preference type of theme;
Determine the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and described multimedia file to be recommended belong to different multimedia file type of theme;
The multimedia file type of theme belonged to according to described multimedia file to be recommended and described multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and described preference type of theme calculates the recommendation index of described multimedia file to be recommended;
Generate the multimedia file recommendation list according to the recommendation index of at least one described multimedia file to be recommended, and show at least one multimedia file to be recommended in described multimedia file recommendation list.
In conjunction with first aspect, in a kind of possible implementation, described ownership granularity is the probability that described multimedia file to be recommended belongs to different multimedia file type of theme;
The type of theme belonged to according to described multimedia file to be recommended and the ownership granularity of described multimedia file to be recommended, and the recommendation index of the described multimedia file to be recommended of described preference type of theme calculating comprise:
The multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to;
In the ownership granularity of described multimedia file to be recommended, obtain coupling ownership granularity, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful;
According to the recommendation index of the described multimedia file to be recommended of described coupling ownership Granular Computing, described multimedia file to be recommended has at least one described coupling ownership granularity;
Wherein, at least one described coupling ownership granularity sum that the recommendation index of described multimedia file to be recommended is described multimedia file to be recommended.
In conjunction with second aspect and above-mentioned possible implementation, at another kind, in possible implementation, before the recommendation index that calculates described multimedia file to be recommended, described method also comprises:
Obtain the preference probability of described current login user to each described preference type of theme;
The type of theme belonged to according to described multimedia file to be recommended and the ownership granularity of described multimedia file to be recommended, and the recommendation index of the described multimedia file to be recommended of described preference type of theme calculating comprise:
The multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to;
In the ownership granularity of described multimedia file to be recommended, obtain coupling ownership granularity, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful;
Calculate the preference probability of at least one described preference type of theme and the product that described coupling belongs to coupling ownership granularity corresponding with described preference type of theme in granularity;
Calculate the recommendation index of described multimedia file to be recommended according at least one product calculated;
Wherein, the recommendation index of described multimedia file to be recommended is at least one sum of products calculated.
In conjunction with second aspect and above-mentioned possible implementation, in possible implementation, obtain the preference type of theme of current login user in described multimedia client at another kind, comprising:
Obtain described multimedia client and play in record for the multimedia file of described current login user, the broadcasting frequency of the multimedia file of each described multimedia file type of theme;
Determine that described broadcasting frequency is described preference type of theme higher than the multimedia file type of theme of predeterminated frequency threshold value;
Wherein, a described multimedia file belongs at least one described multimedia file type of theme;
Obtain the preference probability of described current login user to each described preference type of theme, comprising:
Play the broadcasting frequency in record according to the described multimedia file of each described preference type of theme at described multimedia file, determine the preference probability of described current login user to each described preference type of theme.
In conjunction with second aspect and above-mentioned possible implementation, in possible implementation, according to the recommendation index of at least one described multimedia file to be recommended, generate the multimedia file recommendation list at another kind, comprising:
According to the recommendation index of described multimedia file to be recommended, descending order generates described multimedia file recommendation list;
Wherein, the type of theme and the descriptor that at least comprise each described multimedia file title to be recommended, described multimedia file to be recommended in described multimedia file recommendation list.
The second aspect of the embodiment of the present invention, provide a kind of electronic equipment, and described electronic equipment comprises the multimedia client, and described electronic equipment comprises:
Acquiring unit, for obtaining the preference type of theme of the current login user of described multimedia client, comprise at least one multimedia file type of theme in described preference type of theme;
Determining unit, the ownership granularity that the multimedia file type of theme belonged to for definite at least one multimedia file to be recommended and described multimedia file to be recommended belong to different multimedia file type of theme;
Computing unit, the ownership granularity that the multimedia file type of theme belonged to for the multimedia file described to be recommended of determining according to described determining unit and described multimedia file to be recommended belong to different multimedia document theme type, and the described preference type of theme that obtains of described acquiring unit calculates the recommendation index of described multimedia file to be recommended;
Generation unit, generate the multimedia file recommendation list for the recommendation index of at least one described multimedia file to be recommended of calculating according to described computing unit, and show at least one multimedia file to be recommended in described multimedia file recommendation list.
In conjunction with second aspect, in a kind of possible implementation, described ownership granularity is the probability that described multimedia file to be recommended belongs to different multimedia file type of theme;
Described computing unit comprises:
Matching module, for the multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to;
The first acquisition module, for the ownership granularity at described multimedia file to be recommended, obtain described matching module coupling ownership granularity, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful;
Computing module, for the recommendation index of the described multimedia file to be recommended of described coupling ownership Granular Computing that obtains according to described the first acquisition module, described multimedia file to be recommended has at least one described coupling ownership granularity;
Wherein, at least one described coupling ownership granularity sum that the recommendation index of described multimedia file to be recommended is described multimedia file to be recommended.
In conjunction with second aspect and above-mentioned possible implementation, at another kind in possible implementation, described acquiring unit, also, for before calculating the recommendation index of described multimedia file to be recommended at described computing unit, obtain the preference probability of described current login user to each described preference type of theme;
Described computing unit comprises:
Matching module, for the multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to;
The first acquisition module, for the ownership granularity at described multimedia file to be recommended, obtain described matching module coupling ownership granularity, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful;
Computing module, belong to for preference probability and the described coupling of calculating at least one described preference type of theme the product that the granularity coupling corresponding with described preference type of theme belongs to granularity; Calculate the recommendation index of described multimedia file to be recommended according at least one product calculated;
Wherein, the recommendation index of described multimedia file to be recommended is at least one sum of products calculated.
In conjunction with second aspect and above-mentioned possible implementation, at another kind, in possible implementation, described acquiring unit comprises:
The second acquisition module, play record, the broadcasting frequency of the multimedia file of each described multimedia file type of theme for obtaining described multimedia client for the multimedia file of described current login user;
Determination module, the described broadcasting frequency of obtaining for definite described the second acquisition module is described preference type of theme higher than the multimedia file type of theme of predeterminated frequency threshold value;
Wherein, a described multimedia file belongs at least one described multimedia file type of theme;
Described acquiring unit, also play the broadcasting frequency of record at described multimedia file for the described multimedia file according to each described preference type of theme, determine the preference probability of described current login user to each described preference type of theme.
In conjunction with second aspect and above-mentioned possible implementation, at another kind, in possible implementation, described generation unit, also generate described multimedia file recommendation list for the descending order of recommendation index according to described multimedia file to be recommended;
Wherein, the type of theme and the descriptor that at least comprise each described multimedia file title to be recommended, described multimedia file to be recommended in described multimedia file recommendation list.
Multimedia file recommend method and electronic equipment that the embodiment of the present invention provides, obtain the preference type of theme of current login user in the multimedia client, comprises at least one multimedia file type of theme in the preference type of theme; Determine the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme; The multimedia file type of theme belonged to according to multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and the preference type of theme calculates the recommendation index of multimedia file to be recommended; Generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.Compared with prior art, the multimedia file type of theme that can belong in conjunction with user's preference type of theme, multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type and recommend multimedia file for the user, can recommend for different user the multimedia file of this user preference, improve the recommendation efficiency of multimedia file, strengthen the user and experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
In addition, term " system " and " network " often are used interchangeably in this article herein.Herein term " and/or ", be only a kind of incidence relation of describing affiliated partner, can there be three kinds of relations in expression, for example, A and/or B can mean: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, the character "/", generally mean that forward-backward correlation is to liking a kind of relation of "or" herein.
Embodiment 1
The embodiment of the present invention provides a kind of multimedia file recommend method, as shown in Figure 1, comprising:
S101, electronic equipment obtain the preference type of theme of current login user in the multimedia client, comprise at least one multimedia file type of theme in the preference type of theme.
Exemplary, electronic equipment can be installed TV version client and have any one in the electric terminal of video playback capability for intelligent TV set, PC, smart mobile phone or ipad etc.
Concrete, the multimedia client of electronic equipment can be preserved the preference type of theme of at least one login user.Multimedia file can comprise: film, TV play and video clip etc.Wherein, can comprise at least one multimedia file type of theme in the preference type of theme of each login user, the multimedia file type of theme of each user preference possibility is more than one; The multimedia file type of theme can comprise: at least one item in the collection of drama types such as action play, comedy, love story, acute, the terrified play of science fiction, cartoon and animation.
Further, electronic equipment can also obtain the preference probability of current login user to each preference type of theme.Wherein, because the multimedia file type of theme of each user preference may more than one, therefore, on the basis of electronic equipment preference type of theme of current login user in obtaining the multimedia client, can also obtain the preference probability of current login user to each preference type of theme.
Wherein, the method that electronic equipment obtains the preference type of theme of current login user in described multimedia client specifically can comprise: electronic equipment obtains described multimedia client and plays in record for the multimedia file of described current login user, the broadcasting frequency of the multimedia file of each described multimedia file type of theme; Determine that described broadcasting frequency is described preference type of theme higher than the multimedia file type of theme of predeterminated frequency threshold value; Wherein, a described multimedia file belongs at least one described multimedia file type of theme.
S102, electronic equipment are determined the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme.
The multimedia file type of theme that S103, electronic equipment belong to according to multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and the preference type of theme calculates the recommendation index of multimedia file to be recommended.
Wherein, the ownership granularity is the probability that multimedia file to be recommended belongs to different multimedia file type of theme.
Optionally, in a kind of application scenarios of the embodiment of the present invention, the type of theme that electronic equipment belongs to according to described multimedia file to be recommended and the ownership granularity of described multimedia file to be recommended, and described preference type of theme calculates the recommendation index of described multimedia file to be recommended, method specifically can comprise: the multimedia file type of theme that electronic equipment adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to; In the ownership granularity of described multimedia file to be recommended, obtain coupling ownership granularity, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful; According to the recommendation index of the described multimedia file to be recommended of described coupling ownership Granular Computing, described multimedia file to be recommended has at least one described coupling ownership granularity; Wherein, at least one described coupling ownership granularity sum that the recommendation index of described multimedia file to be recommended is described multimedia file to be recommended.
Further alternative, in the another kind of application scenarios of the embodiment of the present invention, calculate the recommendation index of described multimedia file to be recommended at electronic equipment before, the method for the embodiment of the present invention can also comprise: electronic equipment obtains the preference probability of described current login user to each described preference type of theme.
In this application scenarios, electronic equipment, according to the recommendation index of the described multimedia file to be recommended of described coupling ownership Granular Computing, comprising: calculate the preference probability of at least one described preference type of theme and the product that described coupling belongs to coupling ownership granularity corresponding with described preference type of theme in granularity; Calculate the recommendation index of described multimedia file to be recommended according at least one product calculated; Wherein, the recommendation index of described multimedia file to be recommended is at least one sum of products calculated.
S104, electronic equipment generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.
Exemplary, electronic equipment specifically can comprise according to the method for the recommendation index generation multimedia file recommendation list of at least one described multimedia file to be recommended: according to the recommendation index of described multimedia file to be recommended, descending order generates described multimedia file recommendation list to electronic equipment; Wherein, the type of theme and the descriptor that at least comprise each described multimedia file title to be recommended, described multimedia file to be recommended in described multimedia file recommendation list.
The multimedia file recommend method that the embodiment of the present invention provides, electronic equipment obtains the preference type of theme of current login user in the multimedia client, comprises at least one multimedia file type of theme in the preference type of theme; Determine the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme; The multimedia file type of theme belonged to according to multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and the preference type of theme calculates the recommendation index of multimedia file to be recommended; Generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.Compared with prior art, the multimedia file type of theme that can belong in conjunction with user's preference type of theme, multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type and recommend multimedia file for the user, can recommend for different user the multimedia file of this user preference, improve the recommendation efficiency of multimedia file, strengthened user's experience.
Embodiment 2
The embodiment of the present invention provides a kind of multimedia file recommend method, is applied to electronic equipment, and described electronic equipment comprises the multimedia client, and as shown in Figure 2, this multimedia file recommend method can comprise:
S201, electronic equipment obtain the multimedia client and play in record for the multimedia file of current login user, the broadcasting frequency of the multimedia file of each multimedia file type of theme.
Exemplary, electronic equipment can obtain the multimedia client of electronic equipment and play record for the multimedia file of current login user; Electronic equipment is added up broadcasting time and each playing duration of playing this multimedia file of each multimedia file in described broadcasting record, according to broadcasting time and the playing duration of each multimedia file in described broadcasting record, calculates total duration that each multimedia file is play; Then, electronic equipment can obtain the summary info of playing each multimedia file in record, and described summary info comprises described title, the information such as protagonist name, director names and brief introduction that obtained the multimedia file of copyright; After getting the summary info of multimedia file, electronic equipment can be divided classification for each multimedia file according to the summary info got, and wherein, a multimedia file can belong at least one multimedia file type of theme; Finally, electronic equipment can be added up the total duration of broadcasting of all multimedia files in each multimedia file type of theme; Wherein, the total duration of broadcasting of all multimedia files in each multimedia file type of theme can be used as the broadcasting frequency of the multimedia file of each multimedia file type of theme.
Further alternative, electronic equipment also can only be added up the broadcasting time of each multimedia file in described broadcasting record; Obtain the summary info of playing each multimedia file in record, divide classification according to the summary info got for each multimedia file, then add up total broadcasting time of all multimedia files in each multimedia file type of theme, wherein, total broadcasting time of all multimedia files in each multimedia file type of theme can be used as the broadcasting frequency of the multimedia file of each multimedia file type of theme.
S202, electronic equipment determine that the broadcasting frequency is the preference type of theme higher than the multimedia file type of theme of predeterminated frequency threshold value.
Exemplary, if the total duration of broadcasting of all multimedia files in each multimedia file type of theme is as the broadcasting frequency of the multimedia file of each multimedia file type of theme, whether the total duration of broadcasting that electronic equipment can judge all multimedia files in each multimedia file type of theme is higher than the predeterminated frequency threshold value, as the predeterminated frequency threshold value can be 50 hours; If the total duration of broadcasting of all multimedia files in all multimedia file subject categories or multinomial multimedia file type of theme is higher than the predeterminated frequency threshold value, electronic equipment can determine that this or multinomial multimedia file type of theme are the preference type of theme.
Wherein, a multimedia file belongs at least one multimedia file type of theme.
S203, electronic equipment are determined the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme.
Wherein, multimedia file can be TV play, film or video segment etc.Electronic equipment can obtain from server side the summary info of the multimedia file that obtains copyright, and described summary info comprises described title, the information such as protagonist name, director names and brief introduction that obtained the multimedia file of copyright; After the summary info that gets the multimedia file that obtains copyright, electronic equipment can be divided classification for each multimedia file according to the summary info got, and wherein, a multimedia file can belong at least one multimedia file type of theme; Then the summary info that electronic equipment can obtain the multimedia file of copyright according to each determines that this multimedia file belongs to the ownership granularity of different multimedia file type of theme.
It should be noted that, in the first application scenarios of the embodiment of the present invention, electronic equipment is after the ownership granularity and described preference type of theme that get type of theme that multimedia file to be recommended belongs to and described multimedia file to be recommended, can calculate according to the information got the recommendation index of multimedia file to be recommended, as shown in Figure 2, can, after carrying out S201-S203, directly carry out S205.
Further alternative, as shown in Figure 3, in the second application scenarios of the embodiment of the present invention, after carrying out S201-S203, the method for the embodiment of the present invention can also comprise: S204:
S204, electronic equipment obtain the preference probability of described current login user to each described preference type of theme.
Concrete, electronic equipment can be play the broadcasting frequency in record at multimedia file according to the multimedia file of each preference type of theme, determines the preference probability of current login user to each preference type of theme.
Exemplary, described in S201, the total duration of broadcasting of all multimedia files in each multimedia file type of theme can be used as the broadcasting frequency of the multimedia file of each multimedia file type of theme, electronic equipment can be after determining the preference type of theme of current login user, the preference probability according to the current login user of the total duration calculation of broadcasting of all multimedia files in each preference type of theme to each described preference type of theme.
For example, if electronic equipment gets the multimedia client and plays in record for the multimedia file of current login user, include altogether the broadcasting record of the multimedia file of 5 multimedia file type of theme (type of theme A, type of theme B, type of theme C, type of theme D and type of theme E).Wherein, the total duration of the broadcasting of type of theme A is: 32 hours; The total duration of the broadcasting of type of theme B is: 65 hours; The total duration of the broadcasting of type of theme C is: 41.2 hours; The total duration of the broadcasting of type of theme D is: 85 hours; The total duration of the broadcasting of type of theme E is: 26 hours.
If the predeterminated frequency threshold value can be 50 hours, electronic equipment can be determined the preference type of theme that type of theme B and type of theme D are current login user; Based on this, electronic equipment can be according to the total duration calculation user of broadcasting of type of theme B and type of theme D to the preference probability of type of theme B and user the preference probability to type of theme D.For example, electronic equipment can using the total duration of broadcasting of the total duration of the broadcasting of type of theme B, type of theme D respectively divided by the resulting quotient of the total duration sum of the broadcasting of type of theme B and type of theme D respectively as the user to the preference probability of type of theme B and user the preference probability to type of theme D.The user to the preference probability X of type of theme B can be: X=65/ (65+85) * 100%=43%; The user to the preference probability Y of type of theme D can be: Y=85/ (65+85) * 100%=57%.
Wherein, in the first application scenarios of the embodiment of the present invention, electronic equipment is after the ownership granularity and described preference type of theme that get type of theme that multimedia file to be recommended belongs to and described multimedia file to be recommended, do not need to carry out S204, the type of theme that electronic equipment can directly belong to according to described multimedia file to be recommended and the ownership granularity of described multimedia file to be recommended, and described preference type of theme calculates the recommendation index of described multimedia file to be recommended, concrete, as shown in Figure 2, the method of the embodiment of the present invention can also comprise: S205, S206 and S207.
S205, electronic equipment adopt the preference type of theme to mate the multimedia file type of theme that multimedia file to be recommended belongs to.
Wherein, electronic equipment can adopt the preference type of theme to mate the multimedia file type of theme that multimedia file to be recommended belongs to, and determines in the multimedia file type of theme that multimedia file to be recommended belongs to whether comprise the preference type of theme.
S206, electronic equipment, in the ownership granularity of multimedia file to be recommended, obtain coupling ownership granularity, and coupling ownership granularity is the ownership granularity that multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful.
Exemplary, if existing 3 multimedia files to be recommended: multimedia file 1 to be recommended, multimedia file to be recommended 2, multimedia file to be recommended 3; The multimedia file type of theme that multimedia file 1 to be recommended belongs to comprises: type of theme A and type of theme B, and the ownership granularity that multimedia file 1 to be recommended belongs to type of theme A is 20%, the ownership granularity that multimedia file 1 to be recommended belongs to type of theme B is 80%; The multimedia file type of theme that multimedia file 2 to be recommended belongs to comprises: type of theme A and type of theme C, and the ownership granularity that multimedia file 2 to be recommended belongs to type of theme A is 35%, the ownership granularity that multimedia file 21 to be recommended belongs to type of theme C is 65%; The multimedia file type of theme that multimedia file 3 to be recommended belongs to comprises type of theme B and type of theme D, and the ownership granularity that multimedia file 3 to be recommended belongs to type of theme B is 45%, the ownership granularity that multimedia file 1 to be recommended belongs to type of theme D is 55%.
Due to type of theme B and the type of theme D preference type of theme that is current login user, therefore, electronic equipment can be determined the multimedia file 1 to be recommended multimedia file type of theme that the match is successful the type B that is the theme, and coupling ownership granularity is the ownership granularity that multimedia file 1 to be recommended belongs to type of theme B: 80%; Multimedia file 2 to be recommended does not have the multimedia file type of theme that the match is successful, and coupling ownership granularity is 0; The multimedia file 3 to be recommended multimedia file type of theme that the match is successful be the theme type B and type of theme D, coupling ownership granularity is that multimedia file 3 to be recommended belongs to the ownership granularity 45% of type of theme B and the ownership granularity 55% that multimedia file to be recommended 3 belongs to type of theme D.
S207, electronic equipment belong to the recommendation index of Granular Computing multimedia file to be recommended according to coupling, multimedia file to be recommended has at least one coupling ownership granularity.
Wherein, at least one described coupling ownership granularity sum that the recommendation index of multimedia file to be recommended is described multimedia file to be recommended.
Exemplary, in the first application scenarios of the embodiment of the present invention, as shown in above-mentioned example, the recommendation index of multimedia file 1 to be recommended is the ownership granularity that multimedia file 1 to be recommended belongs to type of theme B: 80%; The recommendation index of multimedia file 2 to be recommended is 0; The recommendation index of multimedia file 3 to be recommended be multimedia file 1 to be recommended belong to the ownership granularity of type of theme B and ownership granularity that multimedia file to be recommended 1 belongs to type of theme D then: 80+20%=100%.
Accordingly, as shown in Figure 3, in the second application scenarios of the embodiment of the present invention, the method for the embodiment of the present invention can not comprise S207, and in this application scenarios, the method for the embodiment of the present invention comprises S205, S206, S208 and S209:
Preference probability and coupling that S208, electronic equipment calculate at least one preference type of theme of each multimedia file to be recommended belong to the product that coupling corresponding with the preference type of theme in granularity belongs to granularity.
Exemplary, the user to the preference probability X of type of theme B can be: X=65/ (65+85) * 100%=43%; The user to the preference probability Y of type of theme D can be: Y=85/ (65+85) * 100%=57%.The multimedia file 1 to be recommended multimedia file type of theme that the match is successful the type B that is the theme, coupling ownership granularity is the ownership granularity that multimedia file 1 to be recommended belongs to type of theme B: 80%; Multimedia file 2 to be recommended does not have the multimedia file type of theme that the match is successful, and coupling ownership granularity is 0; The multimedia file 3 to be recommended multimedia file type of theme that the match is successful be the theme type B and type of theme D, coupling ownership granularity is that multimedia file 1 to be recommended belongs to the ownership granularity 45% of type of theme B and the ownership granularity 55% that multimedia file to be recommended 1 belongs to type of theme D.
Based on this, for multimedia file 1 to be recommended, in the preference probability of at least one preference type of theme and coupling ownership granularity, the product of the coupling ownership granularity corresponding with the preference type of theme is: X * 80%=43% * 80%=34.4%; For multimedia file 2 to be recommended, in the preference probability of at least one preference type of theme and coupling ownership granularity, the product of the coupling ownership granularity corresponding with the preference type of theme is: 0; For multimedia file 2 to be recommended, in the preference probability of at least one preference type of theme and coupling ownership granularity, the product of the coupling ownership granularity corresponding with the preference type of theme is: X * 45%=43% * 45%=19.35% and Y * 45%=57% * 55%=31.35%.
S209, electronic equipment calculate the recommendation index of described multimedia file to be recommended according at least one product calculated.
Wherein, the recommendation index of described multimedia file to be recommended is at least one sum of products calculated.
Exemplary, the recommendation index that electronic equipment calculates multimedia file 1 to be recommended is X * 80%=43% * 80%=34.4%; The recommendation index that electronic equipment calculates multimedia file 2 to be recommended is 0; The recommendation index that electronic equipment calculates multimedia file 3 to be recommended is X * 45%+Y * 45%=43% * 45%+57% * 55%=19.35%+31.35=50.7%.
It should be noted that, the method that electronic equipment calculates the recommendation index of multimedia file to be recommended includes but not limited to the method described in the above-mentioned example of enumerating of the embodiment of the present invention, and the additive method embodiment of the present invention that electronic equipment calculates the recommendation index of multimedia file to be recommended repeats no more here.
S210, electronic equipment generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.
Concrete, the order that electronic equipment can be descending according to the recommendation index of described multimedia file to be recommended generates described multimedia file recommendation list; Wherein, the type of theme and the descriptor that at least comprise each described multimedia file title to be recommended, described multimedia file to be recommended in described multimedia file recommendation list.
The multimedia file recommend method that the embodiment of the present invention provides, electronic equipment obtains the preference type of theme of current login user in the multimedia client, comprises at least one multimedia file type of theme in the preference type of theme; Determine the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme; The multimedia file type of theme belonged to according to multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and the preference type of theme calculates the recommendation index of multimedia file to be recommended; Generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.Compared with prior art, the multimedia file type of theme that can belong in conjunction with user's preference type of theme, multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type and recommend multimedia file for the user, can recommend for different user the multimedia file of this user preference, improve the recommendation efficiency of multimedia file, strengthen the user and experience.
Embodiment 3
The embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment comprises the multimedia client, and as shown in Figure 4, described electronic equipment comprises: acquiring unit 31, determining unit 32, computing unit 33 and generation unit 34.
Acquiring unit 31, for obtaining the preference type of theme of the current login user of described multimedia client, comprise at least one multimedia file type of theme in described preference type of theme.
Determining unit 32, the ownership granularity that the multimedia file type of theme belonged to for definite at least one multimedia file to be recommended and described multimedia file to be recommended belong to different multimedia file type of theme.
Computing unit 33, the ownership granularity that the multimedia file type of theme belonged to for the multimedia files described to be recommended of determining according to described determining unit 32 and described multimedia file to be recommended belong to different multimedia document theme type, and the described preference type of theme that obtains of described acquiring unit 31 calculates the recommendation index of described multimedia file to be recommended.
Generation unit 34, recommendation index at least one described multimedia file to be recommended of calculating according to described computing unit 33 generates the multimedia file recommendation list, and shows at least one multimedia file to be recommended in described multimedia file recommendation list.
Further, described ownership granularity is the probability that described multimedia file to be recommended belongs to different multimedia file type of theme.
As shown in Figure 5, in a kind of application scenarios of the embodiment of the present invention, described computing unit 33 comprises: matching module 331, the first acquisition module 332 and computing module 333.
Matching module 331, for the multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to.
The first acquisition module 332, for the ownership granularity at described multimedia file to be recommended, obtain described matching module 331 coupling ownership granularities, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful.
Computing module 333, for the recommendation index of the described multimedia file to be recommended of described coupling ownership Granular Computing that obtains according to described the first acquisition module 332, described multimedia file to be recommended has at least one described coupling ownership granularity.
Wherein, at least one described coupling ownership granularity sum that the recommendation index of described multimedia file to be recommended is described multimedia file to be recommended.
Further, described acquiring unit 31, also, for before calculating the recommendation index of described multimedia file to be recommended at described computing unit 33, obtain the preference probability of described current login user to each described preference type of theme.
As shown in Figure 5, in a kind of application scenarios of the embodiment of the present invention, described computing unit 33 comprises: matching module 331, the first acquisition module 332 and computing module 333.
Matching module 331, for the multimedia file type of theme that adopts the described multimedia file to be recommended of described preference type of theme coupling to belong to.
The first acquisition module 332, for the ownership granularity at described multimedia file to be recommended, obtain described matching module 331 coupling ownership granularities, described coupling ownership granularity is the ownership granularity that described multimedia file to be recommended belongs to the multimedia file type of theme that the match is successful.
Computing module 333, belong to for preference probability and the described coupling of calculating at least one described preference type of theme the product that the granularity coupling corresponding with described preference type of theme belongs to granularity; Calculate the recommendation index of described multimedia file to be recommended according at least one product calculated.
Wherein, the recommendation index of described multimedia file to be recommended is at least one sum of products calculated.
Further, as shown in Figure 6, described acquiring unit 31 comprises: the second acquisition module 311 and determination module 312.
The second acquisition module 311, play record, the broadcasting frequency of the multimedia file of each described multimedia file type of theme for obtaining described multimedia client for the multimedia file of described current login user;
Determination module 312, the described broadcasting frequency of obtaining for definite described the second acquisition module 311 is described preference type of theme higher than the multimedia file type of theme of predeterminated frequency threshold value.
Wherein, a described multimedia file belongs at least one described multimedia file type of theme.
Described acquiring unit 31, also play the broadcasting frequency of record at described multimedia file for the described multimedia file according to each described preference type of theme, determine the preference probability of described current login user to each described preference type of theme.
Further, described generation unit 34, also generate described multimedia file recommendation list for the descending order of recommendation index according to described multimedia file to be recommended.
Wherein, the type of theme and the descriptor that at least comprise each described multimedia file title to be recommended, described multimedia file to be recommended in described multimedia file recommendation list.
It should be noted that, the corresponding content of the specific descriptions of part functional module in can reference method embodiment in the electronic equipment that the embodiment of the present invention provides, the present embodiment no longer is described in detail here.
The electronic equipment that the embodiment of the present invention provides, can obtain the preference type of theme of current login user in the multimedia client, comprises at least one multimedia file type of theme in the preference type of theme; Determine the ownership granularity that multimedia file type of theme that at least one multimedia file to be recommended belongs to and multimedia file to be recommended belong to different multimedia file type of theme; The multimedia file type of theme belonged to according to multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type, and the preference type of theme calculates the recommendation index of multimedia file to be recommended; Generate the multimedia file recommendation list according to the recommendation index of at least one multimedia file to be recommended, and show at least one multimedia file to be recommended in the multimedia file recommendation list.Compared with prior art, the multimedia file type of theme that can belong in conjunction with user's preference type of theme, multimedia file to be recommended and multimedia file to be recommended belong to the ownership granularity of different multimedia document theme type and recommend multimedia file for the user, can recommend for different user the multimedia file of this user preference, improve the recommendation efficiency of multimedia file, strengthened user's experience.
Through the above description of the embodiments, the those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device be divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.