Detailed Description
The cover refers to an image that can represent the entire content of the multimedia; the cover of the multimedia can be used for showing the whole content of the multimedia when the multimedia is not played so as to attract a user to click to play the multimedia. Therefore, when the multimedia edit is recommended to the user, the cover page of the multimedia edit can be obtained and displayed to the user on the user interface, so that the user is attracted to click and play the multimedia edit. Based on the above, the embodiment of the invention provides a multimedia recommendation scheme for the multimedia compilation, and the multimedia recommendation scheme can be used for determining the target cover meeting the user preference, so that the click rate and the play amount of the multimedia compilation are improved. The multimedia recommendation scheme can be executed by a server or a terminal, wherein the server can be a service device for multimedia data processing, and can be a data processing server, a web server and the like; the server can be an independent service device or a cluster device formed by a plurality of service devices; the terminal here may be a portable device such as a smart phone, a laptop computer, a tablet computer, and the like, a desktop computer, and the like.
Taking the server executing the multimedia recommendation scheme as an example: during the process of playing multimedia by the user using the terminal, the terminal may send a multimedia request to the server, as shown in fig. 1 a. The server may obtain the multimedia compilation and a set of candidate cover art for the multimedia compilation after receiving a multimedia request from the terminal. The multimedia compilation comprises at least two multimedia fragments of different multimedia, and each multimedia fragment is sequentially arranged in the multimedia compilation so as to form the multimedia compilation; the candidate cover page set comprises cover pages corresponding to all multimedia fragments in the multimedia compilation, and the cover pages of the multimedia fragments are used for representing the whole content of the multimedia fragments. As shown in fig. 1b, the multimedia compilation includes three multimedia fragments, which are: multimedia segment a, multimedia segment b, and multimedia segment c; correspondingly, the candidate cover set includes covers of the three multimedia pieces, which are: cover 1, cover 2, and cover 3.
The server can also obtain a user portrait of the terminal, wherein the user portrait refers to a portrait of a user using the terminal, and the user portrait is used for reflecting multimedia preferences of the user indicated by the user portrait; for example: the user portrait may include historical multimedia playing information, and analyzing the historical multimedia playing information may predict that the user likes multimedia a if the user has played too many media a and the playing frequency of multimedia a is relatively high, i.e. the multimedia preference reflected by the user portrait in this case is "multimedia a". After the user representation is obtained, an object cover meeting the user's preference can be determined from the candidate cover collection according to the user representation, and the object cover and the multimedia compilation are sent to the terminal. The terminal, upon receiving the multimedia compilation and the object cover, may store the multimedia compilation in memory and display the object cover on a user interface to recommend the multimedia compilation. As shown in fig. 1c, if the cover 2 is determined to be the target cover that meets the user's preference from the candidate cover collection based on the user image, the cover 2 may be displayed on the user interface to attract the user to click on playing the multimedia compilation.
It should be noted that, in other embodiments, the terminal may also execute the multimedia recommendation scheme. Specifically, the terminal may send a multimedia request to the server to request the server to issue the multimedia compilation. After the multimedia compilation sent by the server is obtained, a set of candidate cover cases for the multimedia compilation can be determined. The terminal can also acquire a user portrait and determine a target front cover of the multimedia compilation from the candidate front cover set according to the user portrait; the multimedia compilation and the object cover are then output at the user interface.
Therefore, when the multimedia compilation is recommended, the user portrait can be obtained firstly, and then the target cover page of the multimedia compilation to be recommended is determined from the candidate cover page set according to the user portrait; because the user portrait can be used for reflecting the multimedia preference of the user, the target cover determined according to the user portrait can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target cover is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the above description, the embodiment of the present invention provides a schematic flowchart of a multimedia recommendation method in fig. 2, where the multimedia recommendation method can be implemented by the above-mentioned server or terminal. For convenience of description, the embodiment of the present invention takes the server as an example to execute the multimedia recommendation method. The multimedia recommendation method may include the following steps S201 to S203:
s201, acquiring the multimedia edit and a candidate cover page set of the multimedia edit.
The multimedia compilation may include at least two multimedia segments of different multimedia, and the set of candidate covers includes covers corresponding to each of the multimedia segments in the multimedia compilation. Wherein, the multimedia segment in the multimedia compilation is: the segments obtained by intercepting the multimedia meeting the preset conditions may include, but are not limited to: music, video, audio-video, and text, among others; the audio and video can comprise: MV (Music Video); for convenience of description, the following multimedia in the embodiments of the present invention is referred to as MV.
The preset condition may include any one of: the playing amount is larger than a preset playing amount threshold value, the effective playing times are larger than a preset times threshold value, and the click rate is larger than a preset click rate threshold value. The preset playing amount threshold, the preset times threshold and the preset click rate threshold can be set according to experience values; the effective playing times are as follows: and the number of times of completely playing the multimedia, wherein the complete playing refers to that the playing time length is equal to the total multimedia time length. For example, the total multimedia time of the multimedia a is 300 seconds, if the playing time of the multimedia a is 200 seconds, it is determined that the multimedia a is not completely played this time, and the playing of this time cannot be recorded as effective playing; if the playing time of the multimedia A is 300 seconds, the multimedia A is considered to be completely played at this time, and then the playing can be recorded as one effective playing. In other embodiments, the full play may also refer to: the difference between the playing time length and the total multimedia time length is smaller than a preset difference, and the preset difference can be set according to an empirical value or an actual requirement, for example, the preset difference is set to 10 seconds. In one embodiment, the multimedia clip may include: segments which can be used for representing the theme ideas of the multimedia meeting the preset conditions, such as climax segments and wonderful segments, are intercepted from the multimedia meeting the preset conditions; or any segment in the multimedia meeting the preset condition.
The cover of the multimedia clip may include: a static cover or a dynamic cover. The static cover refers to a cover in a static image format and can be formed by a frame of image; the dynamic cover refers to a cover in a dynamic image format, and may be composed of a plurality of frames of images. In one embodiment, the static cover is a cover formed from a frame of image captured from the multimedia clip, and the dynamic cover is a cover formed from a frame of image captured from the multimedia clip. It should be noted that in other embodiments, the static cover may be a cover formed by one frame of image associated with the multimedia clip: for example, the static cover may be a cover formed by a frame of image captured from the multimedia corresponding to the multimedia clip; alternatively, the static cover may be a cover composed of one frame of image produced according to the theme of the multimedia clip. Similarly, in other embodiments, the dynamic cover may be a cover comprised of a plurality of frames of images associated with the multimedia clip.
The server may obtain the multimedia compilation and a set of candidate cover papers for the multimedia compilation upon detecting a triggering event for a recommendation of the multimedia compilation. Wherein the triggering event may include, but is not limited to: receiving an event of a multimedia request of a terminal, detecting an event of updating a multimedia database in a server, and detecting an event of arrival of a recommendation cycle of multimedia compilation; wherein, the multimedia recommendation cycle arrival means: an event in which the time interval between the current time and the time of the last recommended multimedia compilation is equal to a preset time interval set according to the recommendation period, for example, the recommendation period may be set to 7 days, and then the preset time interval is 7 days.
S202, acquiring a user portrait, and determining a target front cover of the multimedia compilation from the candidate front cover set according to the user portrait, wherein the user portrait is used for reflecting the multimedia preference of a user indicated by the user portrait.
The server can obtain the user identification of the target terminal and obtain the associated user portrait according to the user identification; the target terminal herein may include: any terminal in the terminal set connected with the server or a terminal sending a multimedia request to the server; the user representation may include at least one of the following information: historical multimedia play information, historical multimedia search information, and historical multimedia collection information.
Since the user representation may reflect the user's multimedia preferences, a target cover that meets the user's preferences may be determined from the set of candidate covers based on the user representation. Specifically, the server may determine a target multimedia clip according with the user portrait and then determine a target cover according with the user favorite from the candidate cover set according to the target multimedia clip.
S203, outputting the multimedia compilation and the object cover so that the object cover is displayed on the user interface when the multimedia compilation is recommended.
The server, after determining the object cover of the multimedia compilation, may output the multimedia compilation and the object cover to the object terminal. The target terminal, after receiving the multimedia compilation and the target cover page, may display the target cover page on a user interface to attract the user to click to play the multimedia compilation. And if the terminal detects the click operation on the target cover page of the multimedia edit, playing the multimedia edit. As can be seen from the foregoing, the target terminal may be any terminal in the terminal set connected to the server, or may be a terminal that sends a multimedia request to the server. Therefore, the server can actively send the multimedia compilation and the object cover to any terminal, so that any terminal can display the object cover to recommend the multimedia compilation; it is also possible that after receiving the multimedia request, the multimedia compilation and the object cover are transmitted to the terminal that transmits the multimedia request to the server, so that the terminal can display the object cover to recommend the multimedia compilation.
In one embodiment, the server can create a edit identifier for the multimedia edit when outputting the multimedia edit and the object cover to the object terminal, and store the multimedia edit and the edit identifier in a multimedia database in an associated manner; and then outputting the edit identification and the object cover of the multimedia edit to the object terminal. Accordingly, the target terminal may display the object cover on the user interface after receiving the edit identification and the object cover. And if the clicking operation on the target cover is detected, acquiring the multimedia edit from the server according to the edit identifier, and playing the multimedia edit. Because the memory occupation amount of the co-edit identifier is less, when the multimedia co-edit is recommended, the multimedia co-edit is stored in the multimedia database of the server, and only the co-edit identifier is sent to the target terminal, so that the memory of the target terminal can be saved, the running speed of the target terminal can be increased, the playing efficiency of the target terminal for playing the multimedia co-edit can be improved, and the user experience can be improved.
When the multimedia compilation is recommended, the user portrait can be obtained, and then the target cover page of the multimedia compilation to be recommended is determined from the candidate cover page set according to the user portrait; because the user portrait is used for reflecting the multimedia preference of the user, the target cover determined according to the user portrait can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target cover is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the above description, an exemplary flowchart of another multimedia recommendation method, which may be implemented by the above-mentioned server or terminal, is presented in fig. 3 according to an embodiment of the present invention. For convenience of description, the embodiment of the present invention takes the server as an example to execute the multimedia recommendation method. The multimedia recommendation method may include the following steps S301 to S306:
s301, acquiring the multimedia edit and a candidate cover page set of the multimedia edit.
In a specific implementation process, first, a multimedia set including a plurality of multimedia to be recommended may be obtained. The server may count the playing amount of each multimedia in a preset time period, where the preset time period may be set according to a service requirement, for example, the preset time period is set as: calculating a time period formed by one week forwards by taking the current time as a reference, wherein if the current time is 12 months and 10 days, the preset time period is from 12 months and 3 days to 12 months and 9 days; determining candidate multimedia according to the playing amount of each multimedia, wherein the playing amount of the candidate multimedia is greater than a preset playing amount threshold value; taking the candidate multimedia as the multimedia to be recommended; and constructing a multimedia set by adopting the multimedia to be recommended. In an embodiment, if the number of the candidate multimedia is larger, a preset number of candidate multimedia can be selected from the candidate multimedia as the multimedia to be recommended according to the order of the playing amount from high to low. It should be understood that the candidate multimedia can also be determined according to the effective playing times or click rate of the multimedia to be recommended, and the principle is similar to the principle of determining the candidate multimedia according to the playing amount, and is not described herein again. It should be noted that in other embodiments, the multimedia to be recommended may also be determined according to a preset multimedia style, for example, if the preset multimedia style is "rock" then the multimedia with the multimedia style of "rock" may be acquired as the multimedia to be recommended; in other embodiments, multimedia belonging to the same author (or singer) can also be obtained as the multimedia to be recommended; in other embodiments, the multimedia about holiday events can be used as the multimedia to be recommended according to actual requirements; for example, during mid-autumn, multimedia regarding themes such as "mid-autumn", "moon", "reunion", etc. may be acquired as the multimedia to be recommended.
Secondly, corresponding multimedia clips can be cut out from each multimedia to be recommended, and at least one frame of image is cut out from each multimedia clip to form a cover page of each multimedia clip. Specifically, the server may first mark time information of a multimedia clip in each to-be-recommended multimedia by using a preset marking method, where the time information may include: a start time and an end time of the multimedia segment; the preset marking method may include: artificial labeling methods and/or deep neural network based labeling methods. And then intercepting the multimedia clip from each multimedia to be recommended based on the time information of the multimedia clip. As can be seen from the foregoing, the cover of the multimedia clip may include: a static cover or a dynamic cover; when at least one frame of image is cut from each multimedia clip to form the cover of each multimedia clip, one frame of image can be cut from any multimedia clip, and the cut frame of image is used as the static cover of any multimedia clip; or, cutting a plurality of frames of images from any multimedia fragment, and adopting the cut plurality of frames of images to form a dynamic cover of the multimedia fragment.
A multimedia compilation may then be constructed using the respective multimedia segments and a set of candidate cover art may be constructed using the cover art of the respective multimedia segments. When a multimedia compilation is constructed by using each multimedia segment, the server may use a multimedia splicing tool to splice each multimedia segment to obtain a spliced multimedia, where the multimedia splicing tool may include: FFmpeg library (Fast Forward Mpeg, a set of open source computer programs that record, convert digital audio, video, and convert them into streams); and the spliced multimedia is used as a multimedia compilation. In an embodiment, a universal beginning multimedia and an end multimedia may also be obtained, and a multimedia compilation is obtained after the end multimedia is added to the spliced multimedia before the beginning multimedia is added to the spliced multimedia, that is, the multimedia compilation obtained by this embodiment includes: head multimedia, spliced multimedia, and tail multimedia.
In one embodiment, the multimedia segments in the multimedia compilation are arranged in sequence; after the multimedia edit is obtained, a multimedia segment pair in the multimedia edit can be obtained, wherein the multimedia segment pair comprises a first multimedia segment and a second multimedia segment, and the first multimedia segment and the second multimedia segment are adjacent; and acquiring the transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment. The transition animation can be any animation in a preset animation library, and can also be animation related to the first multimedia segment and the second multimedia segment. As shown in fig. 4: the multimedia segment pair comprises a multimedia segment b (a first multimedia segment) and a multimedia segment c (a second multimedia segment); and acquiring the transition animation, and then inserting the transition animation between the multimedia segment b and the multimedia segment c. According to the embodiment of the invention, the transition animation is inserted into the two adjacent multimedia fragments (the first multimedia fragment and the second multimedia fragment), so that the transition from the first multimedia fragment to the second multimedia fragment is more natural and smooth.
S302, a user portrait is obtained.
S303, determining a target multimedia clip according to the user portrait, wherein the first playing probability of the target multimedia clip is larger than the probability threshold.
Specifically, multimedia playing prediction may be performed according to historical multimedia information of a user portrait to determine a target multimedia segment, where the historical multimedia information may include any one of: historical multimedia play information, historical multimedia search information, and historical multimedia collection information. Then, a target multimedia segment is obtained by intercepting from the target multimedia, wherein the target multimedia segment comprises: segments in the target multimedia that represent the subject matter of the target multimedia, such as climax segments, highlights segments, or logo segments in the target multimedia; or any segment in the target multimedia. It should be noted that, since the target multimedia clip is obtained by intercepting the target multimedia, the first playing probability of the target multimedia clip is the same as the first playing probability of the target multimedia mentioned later.
In one embodiment, the historical multimedia information includes historical multimedia playing information, and accordingly, the specific implementation of determining the target multimedia by performing multimedia playing prediction according to the historical multimedia information of the user representation may be: firstly, historical multimedia of historical playing, single historical playing time length and historical playing times of each historical multimedia are determined according to historical multimedia playing information. Then, calculating the favorite value of each historical multimedia according to the single historical playing time length and the historical playing times of each historical multimedia; in one embodiment, the total historical playing time of each historical multimedia can be respectively calculated according to the single historical playing time and the historical playing times of each historical multimedia, and the total historical playing time of each historical multimedia is used as the favorite value of each historical multimedia. And finally, determining a first playing probability of each historical multimedia according to the favorite value of each historical multimedia, and taking the historical multimedia with the first playing probability larger than a preset threshold value as the target multimedia. Specifically, a first correspondence table of the favorite value and the playing probability may be obtained, the playing probability corresponding to the favorite value of each historical multimedia is respectively searched from the first correspondence table, and the searched playing probability is respectively used as the first playing probability of each historical multimedia. The first correspondence table of the favorite value and the playing probability may be as shown in table 1, where the favorite value and the playing probability are in direct proportion.
TABLE 1
| Preference value | Probability of playing |
| Greater than or equal to 2000 | 90% |
| [1500,2000) | 80% |
| [1000,1500) | 70% |
| …… | …… |
In another embodiment, the historical multimedia information includes historical multimedia search information, and accordingly, the specific implementation of determining the target multimedia by performing multimedia playing prediction according to the historical multimedia information of the user representation may be: and determining the search multimedia of the historical search according to the historical multimedia search information and the historical search information of each search multimedia, wherein the historical search information comprises the historical search times and/or the historical search time. Then, the favorite value of each search multimedia is determined according to the historical search information of each search multimedia. In one embodiment, the historical search times of each search multimedia can be respectively used as the favorite value of each search multimedia; in still another embodiment, the search time difference between the historical search time and the current time of each search multimedia can be calculated respectively; and acquiring a second corresponding relation table of the search time difference value and the favorite value, respectively searching the favorite value corresponding to the search time difference value of each search multimedia from the second corresponding relation table, and respectively taking the searched favorite value as the favorite value of each search multimedia. And finally, determining the first playing probability of each searched multimedia according to the favorite value of each searched multimedia, and taking the searched multimedia with the first playing probability larger than a preset threshold value as the target multimedia. The second correspondence table of the search time difference value and the favorite value may be as shown in table 2, where the search time difference value and the favorite value are inversely proportional.
TABLE 2
| Search time difference | Preference value |
| Less than 24 hours | 100 |
| [24 hours, 48 hours) | 90 |
| [48 hours, 72 hours) | 80 |
| …… | …… |
In another embodiment, the historical multimedia information includes historical multimedia collection information, and accordingly, the specific implementation of determining the target multimedia by performing multimedia playing prediction according to the historical multimedia information of the user portrait may be: and determining the collected multimedia of the historical collection and the historical collection time of each collected multimedia according to the historical multimedia collection information. Then, the favorite value of each collected multimedia is determined according to the historical collection time of each collected multimedia. Specifically, the collection time difference between the historical collection time and the current time of each collected multimedia can be calculated respectively; and acquiring a third corresponding relation table of the collection time difference values and the favorite values, respectively searching the favorite values corresponding to the collection time difference values of the collected multimedia from the third corresponding relation table, and respectively taking the searched favorite values as the favorite values of the collected multimedia. And finally, determining a first playing probability of each collected multimedia according to the favorite value of each collected multimedia, and taking the collected multimedia with the first playing probability larger than a preset threshold value as the target multimedia.
S304, detecting whether the target multimedia fragment exists in the multimedia compilation.
S305, if the target multimedia clip exists in the multimedia compilation, selecting a cover corresponding to the target multimedia clip from the candidate cover set as a target cover of the multimedia compilation.
In steps S304-S304, since the first playing probability of the target multimedia clip is greater than the preset threshold, which indicates that the user is interested in the target multimedia clip, after the target multimedia clip is determined, it can be detected whether the target multimedia clip exists in the multimedia compilation. If the cover pages exist, cover pages of the target multimedia clip are searched from the candidate cover page set, and the searched cover pages of the target multimedia clip are used as target cover pages of the multimedia compilation to attract the user to click the multimedia compilation. As shown in fig. 5a, the multimedia compilation includes 3 multimedia fragments, which are: multimedia segment a, multimedia segment b, and multimedia segment c; correspondingly, the cover of the multimedia clip a is cover 1, the cover of the multimedia clip b is cover 2, and the cover of the multimedia clip c is cover 3. The target multimedia clip is multimedia clip b, and if the multimedia clip exists in the multimedia compilation, the cover 2 is taken as the target cover.
It should be noted that, if a plurality of target multimedia fragments exist in the multimedia compilation, one target multimedia fragment can be arbitrarily selected from the plurality of target multimedia fragments, and a cover corresponding to the selected target multimedia fragment is used as a target cover of the multimedia compilation; or selecting a target multimedia clip with the maximum first playing probability from the plurality of target multimedia clips, and taking a cover corresponding to the selected target multimedia clip with the maximum first playing probability as a target cover of the multimedia compilation; or combining and splicing the covers of the plurality of target multimedia fragments to obtain a target cover.
In one embodiment, if the target multimedia segment does not exist in the multimedia compilation, combining and splicing the covers in the candidate cover set, and taking the combined and spliced cover as the target cover of the multimedia compilation. Specifically, the specific implementation of combining and splicing each cover in the candidate cover set may be: splicing the covers in the candidate cover set to obtain a spliced base map; acquiring a background color shade and description information of multimedia editing, wherein the transparency of the background color shade is greater than a preset transparency threshold; and covering the background color shade and the description information on the spliced background image to obtain a combined and spliced cover. As shown in fig. 5b, the candidate cover set includes 5 covers, which are: cover 1, cover 2, cover 3, cover 4 and cover 5 adopt these 5 covers to splice, can obtain concatenation base map p. And acquiring the background color mask m and the description information of the multimedia compilation, and covering the background color mask m and the description information on the spliced base map p to obtain a combined and spliced cover s, wherein the cover s is the target cover.
In another embodiment, if the target multimedia clip does not exist in the multimedia compilation, the similarity between the target multimedia clip and each multimedia clip in the multimedia compilation can be calculated first. Specifically, firstly, a feature matrix algorithm (for example, a fourier transform algorithm, a mel-frequency cepstrum coefficient algorithm, etc.) can be adopted to calculate a feature vector matrix of a target multimedia segment and a feature vector matrix of each multimedia segment in the multimedia compilation; and then, respectively calculating the similarity between the feature vector matrix of the target multimedia segment and each multimedia segment in the multimedia compilation by adopting a similarity algorithm (such as a cosine similarity algorithm, an Euclidean distance algorithm and the like) to obtain the similarity between the target multimedia segment and each multimedia segment in the multimedia compilation. After the similarity between the target multimedia clip and each multimedia clip in the multimedia compilation is obtained, a target cover of the multimedia compilation may be determined from the set of candidate covers based on the similarity. The specific implementation of determining the target cover of the multimedia compilation from the candidate cover set according to the similarity may be as follows: determining similar multimedia fragments from the multimedia compilation according to the similarity, wherein the similar multimedia fragments are the multimedia fragments with the maximum similarity in the multimedia compilation; and searching covers of similar multimedia fragments from the candidate cover set, and using the searched covers of the similar multimedia fragments as target covers of the multimedia compilation.
In another embodiment, if the target multimedia clip is not present in the multimedia compilation, a second playback probability of each multimedia clip in the multimedia compilation may be predicted based on the user representation, and a target cover page of the multimedia compilation may be determined from the set of candidate cover pages based on the second playback probability of each multimedia clip. The specific implementation manner of determining the target cover page of the multimedia compilation from the candidate cover page set according to the second playing probability of each multimedia clip may be: determining the multimedia clip with the maximum second playing probability according to the second playing probability of each multimedia clip; and searching the cover of the multimedia clip with the maximum second playing probability from the candidate cover set, and taking the searched cover of the multimedia clip with the maximum second playing probability as a target cover of the multimedia compilation.
S306, outputting the multimedia edit and the object cover so that the object cover is displayed on the user interface when the multimedia edit is recommended.
The server, after determining the object cover of the multimedia compilation, may output the multimedia compilation and the object cover to the terminal. The terminal, after receiving the multimedia compilation and the object cover, may display the object cover in a user interface to attract the user to click to play the multimedia compilation. And if the terminal detects the click operation on the target cover page of the multimedia edit, playing the multimedia edit. In an embodiment, the server may further issue presentation information of each multimedia clip, so that when the terminal plays each multimedia clip in the multimedia compilation, the information presentation board displaying the multimedia clip displays corresponding presentation information, where the presentation information may include but is not limited to: the name of the multimedia to which the multimedia segment belongs, the corresponding author (e.g., singer), the region information where the author is located, and the ranking of the multimedia to which the multimedia segment belongs, etc.
When the multimedia compilation is recommended, the user portrait can be obtained, and then the target cover page of the multimedia compilation to be recommended is determined from the candidate cover page set according to the user portrait; because the user portrait is used for reflecting the multimedia preference of the user, the target cover determined according to the user portrait can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target cover is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the above description, the embodiment of the present invention provides a schematic flowchart of another multimedia recommendation method in fig. 6, where the multimedia recommendation method can be implemented by the above-mentioned server or terminal. For convenience of description, the embodiment of the present invention takes the server as an example to execute the multimedia recommendation method. The multimedia recommendation method may include the following steps S601 to S604:
s601, acquiring the multimedia edit and a candidate cover page set of the multimedia edit.
The multimedia compilation may include multimedia segments of at least two different multimedia, and the set of candidate covers may include covers corresponding to each multimedia segment in the multimedia compilation. Wherein, the multimedia segment in the multimedia compilation is: the method comprises the following steps of intercepting a segment from multimedia meeting preset conditions, wherein the preset conditions comprise any one of the following items: the playing amount is larger than a preset playing amount threshold value, the effective playing times are larger than a preset times threshold value, and the click rate is larger than a preset click rate threshold value. The cover corresponding to the multimedia fragment comprises: a static cover or a dynamic cover; the static cover is a cover formed by one frame of image intercepted from a multimedia clip, and the dynamic cover is a cover formed by a plurality of frames of image intercepted from the multimedia clip.
Optionally, the multimedia segments in the multimedia compilation are arranged in sequence; after the multimedia edit is obtained, a multimedia segment pair in the multimedia edit can be obtained, wherein the multimedia segment pair comprises a first multimedia segment and a second multimedia segment, and the first multimedia segment and the second multimedia segment are adjacent; and acquiring the transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment.
It should be noted that, for a specific implementation of step S601, reference may be made to step S201 or step S301 in the foregoing embodiment of the present invention, and details are not described herein again.
S602, obtaining a user portrait and determining a target element according to the user portrait, wherein the target element is used for reflecting multimedia preference of a user indicated by the user portrait.
The user representation may include historical multimedia operation records, which may include, but are not limited to: historical multimedia play records, historical multimedia search records, historical multimedia collections records, and the like. After the user portrait is obtained, abstracting a target element according to historical multimedia operation records in the user portrait; target elements herein may include, but are not limited to: a target multimedia genre, a target multimedia author (e.g., a target video author, a target song artist, etc.).
In one embodiment, the historical multimedia operation record comprises a historical multimedia play record; accordingly, the specific implementation of abstracting the target element according to the historical multimedia operation record in the user portrait may be: determining historical multimedia played in history, total historical playing time of each historical multimedia and elements of each historical multimedia according to historical multimedia playing records; and taking the element of the history multimedia with the maximum total history playing time as a target element.
In yet another embodiment, the historical multimedia operation record comprises a historical multimedia search record; accordingly, the specific implementation of abstracting the target element according to the historical multimedia operation record in the user portrait may be: determining search multimedia of historical search, historical search times of each search multimedia and elements of each search multimedia according to historical multimedia search records; and taking the element of the searched multimedia with the largest historical searching times as a target element.
In yet another embodiment, the historical multimedia operation record comprises a historical multimedia collection record; accordingly, the specific implementation of abstracting the target element according to the historical multimedia operation record in the user portrait may be: determining collected multimedia of the historical collection, historical collection time of each collected multimedia and elements of each collected multimedia according to the historical multimedia collection records; and calculating the collection time difference between the historical collection time and the current time of each collected multimedia, and taking the element of the collected multimedia with the minimum collection time difference as a target element.
S603, selecting a target multimedia segment matched with the target element from the multimedia compilation, and selecting a cover corresponding to the target multimedia segment from the candidate cover set as a target cover of the multimedia compilation.
When a target multimedia fragment matched with a target element is selected from the multimedia compilation, elements corresponding to all multimedia fragments in the multimedia compilation can be obtained; and if the element corresponding to each multimedia fragment comprises the target element, taking the multimedia fragment corresponding to the target element as the target multimedia fragment. If the elements corresponding to the multimedia fragments do not comprise the target elements, the similarity between the elements corresponding to the multimedia fragments and the target elements can be calculated firstly; specifically, the similarity between the element corresponding to each multimedia segment and the target element may be calculated by using a cosine similarity algorithm, an euclidean distance algorithm, a hamming distance algorithm, or other similarity algorithms. Then, a target multimedia segment can be determined according to the similarity, wherein the target multimedia segment is a multimedia segment corresponding to an element with the similarity larger than a similarity threshold value; the similarity threshold here can be set according to actual traffic demands or empirical values. If the similarity of the plurality of multimedia fragments is larger than the similarity threshold value, selecting the multimedia fragment with the maximum similarity from the plurality of multimedia fragments larger than the similarity threshold value as the target multimedia fragment; or selecting any multimedia segment from the plurality of multimedia segments with the similarity threshold value larger than the similarity threshold value as a target multimedia segment
Optionally, if the selection of the target multimedia clip fails, combining and splicing the covers in the candidate cover set, and using the combined and spliced cover as a target cover of the multimedia compilation; the detailed description can be seen in fig. 5b, and is not repeated here.
And S604, outputting the multimedia edit and the object cover so that the object cover is displayed on a user interface when the multimedia edit is recommended.
When the embodiment of the invention recommends multimedia editing, a user portrait can be obtained and a target element is determined according to the user portrait; then, a target multimedia fragment can be determined according to the target element, and a cover corresponding to the target multimedia fragment is selected from the candidate cover set to serve as a target cover of the multimedia compilation; because the target element is used for reflecting the multimedia preference of the user indicated by the user portrait, the target multimedia segment determined according to the target element can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target interface corresponding to the target multimedia segment is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the description of the above method embodiment, in an embodiment, an embodiment of the present invention further provides a schematic structural diagram of a multimedia recommendation apparatus as shown in fig. 7. As shown in fig. 7, the multimedia recommendation apparatus in the embodiment of the present invention may include:
an obtaining unit 101, configured to obtain a multimedia edit and a candidate cover set of the multimedia edit, where the multimedia edit includes at least two multimedia fragments, and the candidate cover set includes covers corresponding to the multimedia fragments in the multimedia edit;
the acquiring unit 101 is configured to acquire a user portrait and determine a target cover of the multimedia compilation from the candidate cover set according to the user portrait;
an output unit 102, configured to output the multimedia compilation and the object cover so that the object cover is displayed on a user interface when the multimedia compilation is recommended.
In an embodiment, the obtaining unit 101, when configured to determine the target cover page of the multimedia compilation from the candidate cover page set according to the user portrait, may be specifically configured to:
determining a target multimedia clip according to the user portrait, wherein the first playing probability of the target multimedia clip is greater than a probability threshold;
and if the target multimedia clip exists in the multimedia compilation, selecting a cover corresponding to the target multimedia clip from the candidate cover set as a target cover of the multimedia compilation.
In another embodiment, the obtaining unit 101, when configured to determine the target multimedia segment according to the user representation, may be specifically configured to:
performing multimedia playing prediction according to historical multimedia information of the user portrait, and determining target multimedia, wherein the historical multimedia information comprises any one of the following: historical multimedia playing information, historical multimedia searching information and historical multimedia collecting information;
and intercepting the target multimedia fragment from the target multimedia.
In still another embodiment, the obtaining unit 101 may further be configured to:
if the target multimedia segment does not exist in the multimedia compilation, combining and splicing all covers in the candidate cover set, and taking the combined and spliced cover as a target cover of the multimedia compilation; or,
if the target multimedia fragment does not exist in the multimedia compilation, calculating the similarity of the target multimedia fragment and each multimedia fragment in the multimedia compilation, and determining a target cover of the multimedia compilation from the candidate cover set according to the similarity; or,
and if the target multimedia clip does not exist in the multimedia compilation, predicting a second playing probability of each multimedia clip in the multimedia compilation according to the user portrait, and determining a target cover of the multimedia compilation from the candidate cover set according to the second playing probability of each multimedia clip.
In another embodiment, the obtaining unit 101, when configured to determine the target cover page of the multimedia compilation from the candidate cover page set according to the similarity, may specifically be configured to:
determining the similar multimedia fragments from the multimedia compilation according to the similarity, wherein the similar multimedia fragments are the multimedia fragments with the maximum similarity in the multimedia compilation;
and searching the cover of the similar multimedia segment from the candidate cover set, and taking the searched cover of the similar multimedia segment as a target cover of the multimedia compilation.
In yet another embodiment, the multimedia segments in the multimedia compilation are: the method comprises the following steps of intercepting a segment from multimedia meeting preset conditions, wherein the preset conditions comprise any one of the following items: the playing amount is greater than a preset playing amount threshold value, the effective playing times are greater than a preset times threshold value, and the click rate is greater than a preset click rate threshold value;
the cover of the multimedia clip comprises: a static cover or a dynamic cover; the static cover is a cover formed by one frame of image intercepted from the multimedia clip, and the dynamic cover is a cover formed by a plurality of frames of image intercepted from the multimedia clip.
In yet another embodiment, each multimedia clip in the multimedia compilation is arranged in sequence; accordingly, the obtaining unit 101 is further configured to:
acquiring a multimedia fragment pair in the multimedia compilation, wherein the multimedia fragment pair comprises a first multimedia fragment and a second multimedia fragment, and the first multimedia fragment and the second multimedia fragment are adjacent;
and acquiring a transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment.
According to an embodiment of the present invention, the steps involved in the methods shown in fig. 2 and fig. 3 may be performed by the units in the multimedia recommendation apparatus shown in fig. 7. For example, steps S201 and S202 shown in fig. 2 may be performed by the acquisition unit 101 shown in fig. 7, and step S203 may be performed by the output unit 102 shown in fig. 7; as another example, steps S301 to S305 shown in fig. 3 may be performed by the acquisition unit 101 shown in fig. 7, and step S306 may be performed by the output unit 102 shown in fig. 7.
According to another embodiment of the present invention, the units in the multimedia recommendation apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) thereof may be further split into multiple units with smaller functions to form the same operation, without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the multimedia recommendation apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present invention, the multimedia recommendation apparatus as shown in fig. 7 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2 and 3 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like as well as a storage element, and a multimedia recommendation method according to an embodiment of the present invention may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
When the multimedia compilation is recommended, the user portrait can be obtained, and then the target cover page of the multimedia compilation to be recommended is determined from the candidate cover page set according to the user portrait; because the user portrait is used for reflecting the multimedia preference of the user, the target cover determined according to the user portrait can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target cover is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the description of the above method embodiment, in an embodiment, an embodiment of the present invention further provides a schematic structural diagram of a multimedia recommendation apparatus as shown in fig. 8. As shown in fig. 8, the multimedia recommendation apparatus in the embodiment of the present invention may include:
an obtaining unit 201, configured to obtain a multimedia edit and a candidate cover set of the multimedia edit, where the multimedia edit includes multimedia fragments of at least two different multimedia, and the candidate cover set includes covers corresponding to the multimedia fragments in the multimedia edit;
an acquisition unit 201 configured to acquire a user representation and determine a target element from the user representation, the target element reflecting a multimedia preference of a user indicated by the user representation;
an selecting unit 202, configured to select a target multimedia clip matched with the target element from the multimedia compilation, and select a cover corresponding to the target multimedia clip from the candidate cover set as a target cover of the multimedia compilation;
an output unit 203 for outputting the multimedia compilation and the object cover so that the object cover is displayed on a user interface when the multimedia compilation is recommended.
In an embodiment, the selecting unit 202, when configured to select the target multimedia segment matching the target element from the multimedia compilation, is specifically configured to:
acquiring elements corresponding to all multimedia fragments in the multimedia compilation;
if the elements corresponding to the multimedia fragments comprise the target elements, taking the multimedia fragments corresponding to the target elements as target multimedia fragments;
if the elements corresponding to the multimedia fragments do not comprise the target element, calculating the similarity between the elements corresponding to the multimedia fragments and the target element, and determining the target multimedia fragments according to the similarity, wherein the target multimedia fragments are the multimedia fragments corresponding to the elements with the similarity larger than a similarity threshold value.
In yet another embodiment, the selecting unit 202 is further configured to:
and if the target multimedia clip is selected unsuccessfully, combining and splicing all covers in the candidate cover set, and taking the combined and spliced cover as a target cover of the multimedia compilation.
In another embodiment, the multimedia segment in the multimedia compilation is: the method comprises the following steps of intercepting a segment from multimedia meeting preset conditions, wherein the preset conditions comprise any one of the following items: the playing amount is greater than a preset playing amount threshold value, the effective playing times are greater than a preset times threshold value, and the click rate is greater than a preset click rate threshold value;
the cover of the multimedia clip comprises: a static cover or a dynamic cover; the static cover is a cover formed by one frame of image intercepted from the multimedia clip, and the dynamic cover is a cover formed by a plurality of frames of image intercepted from the multimedia clip.
In yet another embodiment, each multimedia clip in the multimedia compilation is arranged in sequence; accordingly, the obtaining unit 201 is further configured to:
acquiring a multimedia fragment pair in the multimedia compilation, wherein the multimedia fragment pair comprises a first multimedia fragment and a second multimedia fragment, and the first multimedia fragment and the second multimedia fragment are adjacent;
and acquiring a transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment.
According to an embodiment of the present invention, the steps involved in the method shown in fig. 6 may be performed by the units in the multimedia recommendation apparatus shown in fig. 8. For example, steps S601 and S602 shown in fig. 6 may be performed by the acquisition unit 201 shown in fig. 8, step S603 may be performed by the selection unit 202 shown in fig. 8, and step S604 may be performed by the output unit 203 shown in fig. 8.
According to another embodiment of the present invention, the units in the multimedia recommendation apparatus shown in fig. 8 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple units with smaller functions to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the multimedia recommendation apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present invention, the multimedia recommendation apparatus as shown in fig. 8 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 6 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like as well as a storage element, and a multimedia recommendation method according to an embodiment of the present invention may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
When the embodiment of the invention recommends multimedia editing, a user portrait can be obtained and a target element is determined according to the user portrait; then, a target multimedia fragment can be determined according to the target element, and a cover corresponding to the target multimedia fragment is selected from the candidate cover set to serve as a target cover of the multimedia compilation; because the target element is used for reflecting the multimedia preference of the user indicated by the user portrait, the target multimedia segment determined according to the target element can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target interface corresponding to the target multimedia segment is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a server. Referring to fig. 9, the server at least includes a processor 301, a transceiver 302 and a memory 303. The processor 301, the transceiver 302 and the memory 303 in the server may be connected by a bus or other means. The memory 303 is used for storing a computer program comprising program instructions, and the processor 301 is configured to call the program instructions to execute the above mentioned multimedia recommendation method. The processor 301 (or CPU) is a computing core and a control core of the server, and is adapted to implement one or more instructions, and specifically, adapted to load and execute one or more instructions so as to implement a corresponding method flow or a corresponding function.
In one embodiment, the processor 301 according to the embodiment of the present invention may be configured to perform a series of multimedia recommendation processes, including: acquiring a multimedia edit and a candidate cover set of the multimedia edit, wherein the multimedia edit comprises at least two multimedia fragments of different multimedia, and the candidate cover set comprises covers corresponding to the multimedia fragments in the multimedia edit; acquiring a user portrait used for reflecting the multimedia preference of a user indicated by the user portrait, and determining a target cover of the multimedia compilation from the candidate cover set according to the user portrait; outputting the multimedia compilation and the object cover such that the object cover is displayed on a user interface when the multimedia compilation is recommended, and so on. Alternatively, the processor 301 according to the embodiment of the present invention may be configured to perform a series of multimedia recommendation processing, including: acquiring a multimedia edit and a candidate cover set of the multimedia edit, wherein the multimedia edit comprises at least two multimedia fragments of different multimedia, and the candidate cover set comprises covers corresponding to the multimedia fragments in the multimedia edit; acquiring a user portrait, and determining a target element according to the user portrait, wherein the target element is used for reflecting multimedia preference of a user indicated by the user portrait; selecting a target multimedia fragment matched with the target element from the multimedia compilation, and selecting a cover corresponding to the target multimedia fragment from the candidate cover set as a target cover of the multimedia compilation; outputting the multimedia compilation and the object cover such that the object cover is displayed on a user interface when the multimedia compilation is recommended, and so on.
The embodiment of the invention also provides a computer storage medium (Memory), which is a Memory device in the server and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the server, and may also include an extended storage medium supported by the server. The computer storage media provides storage space that stores the operating system of the server. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor 301. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, the first computer program instructions stored in the computer storage medium may be loaded and executed by the processor 301 to implement the corresponding steps of the method described above with respect to the multimedia recommendation embodiment in FIG. 2 or FIG. 3; in a specific implementation, the first computer program instructions in the computer storage medium are loaded by the processor 301 and perform the following steps:
acquiring a multimedia edit and a candidate cover set of the multimedia edit, wherein the multimedia edit comprises at least two multimedia fragments of different multimedia, and the candidate cover set comprises covers corresponding to the multimedia fragments in the multimedia edit;
acquiring a user portrait used for reflecting the multimedia preference of a user indicated by the user portrait, and determining a target cover of the multimedia compilation from the candidate cover set according to the user portrait;
outputting the multimedia compilation and the object cover so that the object cover is displayed on a user interface when the multimedia compilation is recommended.
In one embodiment, upon determining a target cover page for the multimedia compilation from the set of candidate cover pages based on the user representation, the first computer program instructions are loaded by processor 301 and specifically perform:
determining a target multimedia clip according to the user portrait, wherein the first playing probability of the target multimedia clip is greater than a probability threshold;
and if the target multimedia clip exists in the multimedia compilation, selecting a cover corresponding to the target multimedia clip from the candidate cover set as a target cover of the multimedia compilation.
In yet another embodiment, the first computer program instructions, when determining a target multimedia segment from the user representation, are loaded by processor 301 and specifically perform:
performing multimedia playing prediction according to historical multimedia information of the user portrait, and determining target multimedia, wherein the historical multimedia information comprises any one of the following: historical multimedia playing information, historical multimedia searching information and historical multimedia collecting information;
and intercepting the target multimedia fragment from the target multimedia.
In yet another embodiment, the first computer program instructions may also be loaded and executed by processor 301 to:
if the target multimedia segment does not exist in the multimedia compilation, combining and splicing all covers in the candidate cover set, and taking the combined and spliced cover as a target cover of the multimedia compilation; or,
if the target multimedia fragment does not exist in the multimedia compilation, calculating the similarity of the target multimedia fragment and each multimedia fragment in the multimedia compilation, and determining a target cover of the multimedia compilation from the candidate cover set according to the similarity; or,
and if the target multimedia clip does not exist in the multimedia compilation, predicting a second playing probability of each multimedia clip in the multimedia compilation according to the user portrait, and determining a target cover of the multimedia compilation from the candidate cover set according to the second playing probability of each multimedia clip.
In yet another embodiment, when determining the recommended cover page for the multimedia compilation from the set of candidate cover pages based on the similarity, the first computer program instructions are loaded and executed by processor 301 to perform:
determining the similar multimedia fragments from the multimedia compilation according to the similarity, wherein the similar multimedia fragments are the multimedia fragments with the maximum similarity in the multimedia compilation;
searching the cover of the similar multimedia clip from the candidate cover set, and taking the searched cover of the similar multimedia clip as a recommended cover of the multimedia compilation.
In another embodiment, the multimedia segment in the multimedia compilation is: the method comprises the following steps of intercepting a segment from multimedia meeting preset conditions, wherein the preset conditions comprise any one of the following items: the playing amount is greater than a preset playing amount threshold value, the effective playing times are greater than a preset times threshold value, and the click rate is greater than a preset click rate threshold value;
the cover of the multimedia clip comprises: a static cover or a dynamic cover; the static cover is a cover formed by one frame of image intercepted from the multimedia clip, and the dynamic cover is a cover formed by a plurality of frames of image intercepted from the multimedia clip.
In yet another embodiment, each multimedia clip in the multimedia compilation is arranged in sequence; accordingly, the first computer program instructions may also be loaded and executed by the processor 301 to:
acquiring a multimedia fragment pair in the multimedia compilation, wherein the multimedia fragment pair comprises a first multimedia fragment and a second multimedia fragment, and the first multimedia fragment and the second multimedia fragment are adjacent;
and acquiring a transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment.
In yet another embodiment, the second computer program instructions stored in the computer storage medium may be further loaded and executed by the processor 301 to implement the corresponding steps of the method in FIG. 6 described above with respect to the multimedia recommendation embodiment; in a specific implementation, the second computer program instructions in the computer storage medium are loaded by the processor 301 and perform the following steps:
acquiring a multimedia edit and a candidate cover set of the multimedia edit, wherein the multimedia edit comprises at least two multimedia fragments of different multimedia, and the candidate cover set comprises covers corresponding to the multimedia fragments in the multimedia edit;
acquiring a user portrait, and determining a target element according to the user portrait, wherein the target element is used for reflecting multimedia preference of a user indicated by the user portrait;
selecting a target multimedia fragment matched with the target element from the multimedia compilation, and selecting a cover corresponding to the target multimedia fragment from the candidate cover set as a target cover of the multimedia compilation;
outputting the multimedia compilation and the object cover so that the object cover is displayed on a user interface when the multimedia compilation is recommended.
In one embodiment, the second computer program instructions may also be loaded and executed by processor 301 in selecting a target multimedia clip from the multimedia compilation that matches the target element:
acquiring elements corresponding to all multimedia fragments in the multimedia compilation;
if the elements corresponding to the multimedia fragments comprise the target elements, taking the multimedia fragments corresponding to the target elements as target multimedia fragments;
if the elements corresponding to the multimedia fragments do not comprise the target element, calculating the similarity between the elements corresponding to the multimedia fragments and the target element, and determining the target multimedia fragments according to the similarity, wherein the target multimedia fragments are the multimedia fragments corresponding to the elements with the similarity larger than a similarity threshold value.
In yet another embodiment, the second computer program instructions may be further loaded and executed by the processor 301 to:
and if the target multimedia clip is selected unsuccessfully, combining and splicing all covers in the candidate cover set, and taking the combined and spliced cover as a target cover of the multimedia compilation.
In another embodiment, the multimedia segment in the multimedia compilation is: the method comprises the following steps of intercepting a segment from multimedia meeting preset conditions, wherein the preset conditions comprise any one of the following items: the playing amount is greater than a preset playing amount threshold value, the effective playing times are greater than a preset times threshold value, and the click rate is greater than a preset click rate threshold value;
the cover of the multimedia clip comprises: a static cover or a dynamic cover; the static cover is a cover formed by one frame of image intercepted from the multimedia clip, and the dynamic cover is a cover formed by a plurality of frames of image intercepted from the multimedia clip.
In yet another embodiment, each multimedia clip in the multimedia compilation is arranged in sequence; accordingly, the second computer program instructions may also be loaded and executed by the processor 301 to:
acquiring a multimedia fragment pair in the multimedia compilation, wherein the multimedia fragment pair comprises a first multimedia fragment and a second multimedia fragment, and the first multimedia fragment and the second multimedia fragment are adjacent;
and acquiring a transition animation, and inserting the transition animation between the first multimedia fragment and the second multimedia fragment.
When the multimedia compilation is recommended, the user portrait can be obtained, and then the target cover page of the multimedia compilation to be recommended is determined from the candidate cover page set according to the user portrait; because the user portrait is used for reflecting the multimedia preference of the user, the target cover determined according to the user portrait can meet the preference of the user to a certain extent, so that the user can be attracted to click and play the multimedia compilation when the target cover is displayed on the user interface, and the click rate and the play amount of the multimedia compilation can be further improved.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.