Interaction method, device, electronic device and computer storage medium

By presetting interactive operation and identification switching mechanisms in multimedia interaction platforms and applications, users' high requirements for multimedia interaction methods are solved, and rich switching methods of multimedia files and improved user adhesion are achieved.

CN112417182BActive Publication Date: 2025-06-06ALIBABA GROUP HOLDING LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910785750.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-23
Publication Date
2025-06-06
Estimated Expiration
2039-08-23

AI Technical Summary

Technical Problem

When providing user interaction, existing multimedia interaction platforms and applications are difficult to meet users' high requirements for multimedia interaction methods, resulting in low user adhesion.

Method used

Through preset interaction, the identification of the multimedia file is determined, and the currently played multimedia file is switched according to the identification, thereby realizing switching and interaction between different multimedia files.

Benefits of technology

It enriches the switching methods and interaction methods of multimedia files, enhances the adhesion of multimedia interaction platforms and applications to users, and meets users' high requirements for multimedia interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112417182B_ABST
    Figure CN112417182B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an interactive method, device, electronic device and computer storage medium, wherein the interactive method includes: receiving a first preset interactive operation on a first multimedia file played in a current page; determining a first identifier of the first multimedia file corresponding to the first preset interactive operation; according to the first identifier, switching the first multimedia file to a second multimedia file and playing the second multimedia file; wherein the first multimedia file and the second multimedia file have the same first identifier. Through the embodiment of the present application, the switching mode and interactive mode of multimedia files are enriched, and the stickiness of multimedia interactive platforms and applications to users is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an interaction method, device, electronic device and computer storage medium. Background Art

[0002] Multimedia interaction is a way of interacting with users through multimedia such as audio and video. With the development of Internet technology, more and more platforms or applications realize user interaction through text and icons in addition to multimedia itself. Based on this, while playing multimedia, you can also realize interaction between multiple users through the text input box, or express your own opinions and interact with other users through icons such as the heart-shaped icon representing a like.

[0003] However, as user demands increase, the requirements for multimedia interactive platforms or applications are also getting higher and higher. Therefore, how to provide richer multimedia interactive methods to increase the stickiness of platforms and applications to users has become an urgent problem to be solved. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an interactive solution to solve some or all of the above problems.

[0005] According to a first aspect of an embodiment of the present application, an interaction method is provided, including: receiving a first preset interaction operation on a first multimedia file played in a current page; determining a first identifier of the first multimedia file corresponding to the first preset interaction operation; switching the first multimedia file to a second multimedia file and playing the second multimedia file according to the first identifier; wherein the first multimedia file and the second multimedia file have the same first identifier.

[0006] According to a second aspect of an embodiment of the present application, an interactive device is provided, including: a receiving module for receiving a first preset interactive operation on a first multimedia file played in a current page; a determining module for determining a first identifier of the first multimedia file corresponding to the first preset interactive operation; a switching module for switching the first multimedia file to a second multimedia file and playing the second multimedia file according to the first identifier; wherein the first multimedia file and the second multimedia file have the same first identifier.

[0007] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the interactive display method described in the first aspect.

[0008] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the interaction method as described in the first aspect is implemented.

[0009] According to the interactive scheme provided in the embodiment of the present application, an interactive operation that triggers interactive processing is pre-set, namely, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, the first identifier of the first multimedia file corresponding to the interactive operation is triggered, and based on the first identifier, the first multimedia file is switched to a second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier indicates that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of multimedia interactive platforms and applications to users. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0011] Figure 1 A flowchart of an interactive method according to Embodiment 1 of the present application;

[0012] Figure 2A is a flowchart of the steps of an interaction method according to Embodiment 2 of the present application;

[0013] Figure 2B for Figure 2A A schematic diagram of a first interactive interface in the illustrated embodiment;

[0014] Figure 2C for Figure 2A A schematic diagram of a second interactive interface in the illustrated embodiment;

[0015] Figure 2Dfor Figure 2A A schematic diagram of a third interactive interface in the illustrated embodiment;

[0016] Figure 3 A flowchart of an interactive method according to Embodiment 3 of the present application;

[0017] Figure 4A is a flowchart of a step interaction method according to Embodiment 4 of the present application;

[0018] Figure 4B for Figure 4A A schematic diagram of an interactive interface in the illustrated embodiment;

[0019] Figure 5 is a structural block diagram of an interactive device according to Embodiment 5 of the present application;

[0020] Figure 6 is a structural block diagram of an interactive device according to Embodiment 6 of the present application;

[0021] Figure 7 This is a schematic diagram of the structure of an electronic device according to Embodiment 7 of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0023] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.

[0024] Embodiment 1

[0025] Reference Figure 1 , shows a step flow chart of an interaction method according to embodiment 1 of the present application.

[0026] The interaction method of this embodiment includes the following steps:

[0027] Step S102: receiving a first preset interactive operation on a first multimedia file played in a current page.

[0028] The multimedia files include but are not limited to: audio files, video files, etc. That is, the file types of the multimedia files include: audio type, video type, etc. However, it is not limited thereto, in some cases, the file types of the multimedia files may also include picture types, such as dynamic multimedia pictures or static multimedia pictures, etc.

[0029] The preset interactive operation can be an operation implemented by any appropriate interactive method, for example, an interactive operation implemented by clicking an interactive button, an interactive operation implemented by touching or sliding a touch screen, an interactive operation implemented by selecting an interactive option, etc., which is not limited in the embodiments of the present application. Preferably, the first preset interactive operation can be set to a gesture sliding operation in a certain direction (such as horizontal or vertical direction), such as sliding to the left, sliding to the right, sliding up, sliding down, etc. The use of gesture sliding operation is simple for users to operate, simple to implement for platforms and applications, low in cost, and applicable to most terminal devices.

[0030] In addition, it should be noted that in the embodiments of the present application, the terms "first", "second", "third", etc. are only used to distinguish different objects, such as different multimedia files or different interactive operations, and do not indicate relationships such as time sequence, order, or quantity. Based on this, in the embodiments of the present application, the multimedia file being played in the current page is called the first multimedia file to distinguish it from other multimedia files. When the multimedia file being played is switched to other multimedia files, the other multimedia files will become the new first multimedia files.

[0031] Step S104: Determine a first identifier of a first multimedia file corresponding to a first preset interactive operation.

[0032] The first preset interactive operation corresponds to a first identifier, and the first identifier is an identifier of the first multimedia file.

[0033] For example, assuming that the first preset interactive operation is a horizontal sliding operation, in one feasible manner, the first identifier of the first multimedia file can be the name identifier of the first multimedia file, such as the name "A" of song A; in another feasible manner, the first identifier of the first multimedia file can be the performer identifier of the first multimedia file, such as the name "X" of performer X of song A.

[0034] For another example, assuming that the first preset interactive operation is a horizontal sliding operation, the first identifier of the first multimedia file can be the name identifier of the first multimedia file, such as the name "A" of song A; assuming that the first preset interactive operation is a vertical sliding operation, the first identifier of the first multimedia file can be the performer identifier of the first multimedia file, such as the name "X" of performer X of song A.

[0035] Step S106: according to the first identifier, the first multimedia file is switched to a second multimedia file and the second multimedia file is played.

[0036] The first multimedia file and the second multimedia file have the same first identifier.

[0037] For example, when the first identifier is the name identifier of the first multimedia file, such as the name "A" of song A, the second multimedia file should also be a song named "A", but the performer may be different. In one example, if the first multimedia file is the song "The Hill" and the current performer is Li Zongsheng, then through the above process, "The Hill" sung by Li Zongsheng can be switched to "The Hill" sung by Hu Yanbin. That is, the two songs have the same name, but different specific performers. In another example, if the first multimedia file is the video "Happy Chinese New Year" and the current performers are users A, B, C and D, then through the above process, the video can be switched to "Happy Chinese New Year" performed by users X and Y, and so on. That is, the two videos have the same name, but different performers.

[0038] For another example, when the first identifier is the performer identifier of the first multimedia file, such as the name "X" of performer X of song A, the second multimedia file should also be a song performed by "X", but the name may be different. In one example, if the first multimedia file is "The Hill" sung by "Li Zongsheng", then through the above process, it can be switched to "Song of Ordinary People" sung by "Li Zongsheng". That is, the performers of the two songs are the same, but the names and contents are different. In another example, if the first multimedia file is the video "Player" starring "Feng Yuanzheng", then through the above process, it can be switched to the video "Du Fu" starring "Feng Yuanzheng". That is, the performers of the two videos are the same, but the names and contents are different.

[0039] Among them, the second multimedia file can be selected from multiple candidate multimedia files according to an appropriate strategy, such as random selection, selection by number of play times, selection by whether they belong to the same album, selection by recommendation score or ranking, etc., and the embodiment of the present application does not limit this.

[0040] After the first multimedia file is switched to the second multimedia file, the second multimedia file is played. At this time, the second multimedia file becomes the currently played file. In the next interactive operation, the second multimedia file will become the first multimedia file of the next interactive operation.

[0041] In addition, it should be noted that in actual applications, other interactive operations can also be set to be used in combination with the interactive operations in the embodiments of the present application. For example, a certain multimedia interactive application provides an interactive solution of the embodiments of the present application, wherein the first preset interactive operation is a horizontal sliding operation, which triggers the switching of the first multimedia file and the second multimedia file with the same first identifier. At the same time, the multimedia interactive application also provides other appropriate interactive operations, such as a diagonal sliding operation on the touch screen, which can trigger the switching between any different multimedia files. For example, the user slides to the left, so that song A switches from performer X to performer Y; the user slides to the upper right direction, so that song A sung by performer X switches to song B sung by performer Y, and so on. However, it is not limited to this, and the interactive solution provided in the embodiments of the present application can be combined with any other interactive solution to form a new solution that includes the interactive solution of the present application.

[0042] It should also be noted that in multiple embodiments of the present application, multimedia file switching of the same file type is taken as an example, but those skilled in the art should understand that in actual applications, the file type of the first multimedia file may be the same as or different from the file type of the second multimedia file.

[0043] For example, when the first multimedia file and the second multimedia file are both audio-type multimedia files, this step may be implemented as follows: according to the first identifier, switching the audio-type first multimedia file to the audio-type second multimedia file, and playing the second multimedia file.

[0044] For another example, when the first multimedia file and the second multimedia file are both video-type multimedia files, this step can be implemented as follows: according to the first identifier, switching the first multimedia file of video type to the second multimedia file of video type, and playing the second multimedia file.

[0045] For another example, when the file type of the first multimedia file is different from the file type of the second multimedia file, this step can be implemented as: according to the first identifier, switching the first multimedia file of the first type to the second multimedia file of the second type, and playing the second multimedia file; wherein the first type and the second type are different file types of multimedia files.

[0046] Through this embodiment, an interactive operation that triggers interactive processing is pre-set, that is, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, it triggers the determination of the first identifier of the first multimedia file corresponding to the interactive operation, and based on the first identifier, the first multimedia file is switched to the second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier represents that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of multimedia interactive platforms and applications to users.

[0047] The interactive method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.

[0048] Embodiment 2

[0049] Reference Figure 2A , shows a step flow chart of an interaction method according to embodiment 2 of the present application.

[0050] The interaction method of this embodiment includes the following steps:

[0051] Step S202: receiving a first preset interactive operation on a first multimedia file played in a current page.

[0052] As mentioned above, in an interactive operation, the multimedia file being played on the current page is referred to as a first multimedia file; the first preset interactive operation may be any appropriate interactive operation.

[0053] In one feasible manner of this embodiment, a horizontal sliding operation is taken as an example. Among them, in the horizontal sliding operation, sliding to one side may trigger a switching of one mode, and sliding to the other side may trigger a switching of another mode, for example, sliding to the left may trigger a switching of different songs of the same performer, and sliding to the right may trigger a switching of different performers of the same song; sliding to both sides may also trigger a switching of the same mode, but the switching results are different, for example, sliding to the left may cause the performer of song A to switch from X to Y, and sliding to the right may cause the performer of song A to switch from X to Z; or sliding to the left may cause the song sung by performer X to switch from A to B, and sliding to the right may cause the song sung by performer X to switch from A to C, and so on.

[0054] However, it is not limited thereto, and other appropriate methods may be used in practical applications, such as:

[0055] (1) Method 1

[0056] Swipe up or down to switch performers and play automatically. Or, for example, click the [Next] or [Change] or [Change Voice] button to switch performers and play automatically; or, for example, freely slide [Stack Cards] to switch performers and play automatically.

[0057] (2) Method 2

[0058] Swipe left or right to switch performers and play automatically. Or, for example, click the [Next] or [Change] or [Change Voice] button to switch performers and play automatically. Or, for example, freely slide the [Stack Cards] to switch performers and play automatically.

[0059] Through the above (1) and (2), users can compare the performance skills, popularity, etc. of different performers and build up a selection mentality, thereby triggering the motivation of users to participate in performances such as speaking (chorus, solo) and social interaction, and further achieve the effect of establishing social relationships through participating in performances.

[0060] (3) Method 3

[0061] Swipe up or down to switch to other works of the current performer and play them automatically. Or, for example, click the [Next] or [Change Work] button to switch to other works of the current performer and play them automatically. Or, for example, free skating [Stacked Cards] to switch to other works of the current performer and play them automatically.

[0062] (4) Method 4

[0063] Swipe left or right to switch to other works of the current performer, and play them automatically. Or, for example, click the [Next] or [Change Work] button to switch to other works of the current performer, and play them automatically. Or, for example, freely slide [Stacked Cards] to switch to other works of the current performer, and play them automatically.

[0064] Through the above (3) and (4), users can focus on the works performed by performers of interest, and can also trigger users' motivation to participate in performances such as speaking (chorus, solo) and social interaction, and further achieve the effect of establishing social relationships through participating in performances.

[0065] The above four methods can be used one by one or in combination. For example, method 1 and method 4 can be used in combination, method 2 and method 3 can be used in combination, etc. Moreover, the above methods can also be used in combination with other interactive operations.

[0066] Step S204: Determine a first identifier of a first multimedia file corresponding to the first preset interactive operation.

[0067] In a feasible manner, the first identifier may be a name identifier of the first multimedia file, or a performer identifier of the first multimedia file.

[0068] However, the present invention is not limited thereto. In practical applications, the first identifier corresponding to the first preset interactive operation may be appropriately set as needed, such as an album identifier or a drama identifier.

[0069] Step S206: according to the first identifier, the first multimedia file is switched to a second multimedia file and the second multimedia file is played.

[0070] In one feasible manner, when the first identifier is a name identifier of a first multimedia file, this step can be implemented as follows: according to the name identifier, the first multimedia file is switched to a second multimedia file whose name is the same as the name indicated by the name identifier and whose performer is different from the performer of the first multimedia file; and the second multimedia file is played. For example, the user performs a horizontal sliding operation to switch the performer of song A from X to Y. In this way, the user can listen to or watch different performer versions of the same name to compare and determine their preferences, thereby improving the user experience. The platform can perform subsequent processing based on the user operation, such as recommending songs of similar type or style to the user.

[0071] Further optionally, before switching, the playback progress of the first multimedia file can be recorded, and then the playback of the second multimedia file can be directly switched to the playback progress. In this way, the user can continue to listen or watch, further improving the user experience.

[0072] In another feasible manner, when the first identifier is the performer identifier of the first multimedia file, this step can be implemented as follows: according to the performer identifier, the first multimedia file is switched to a second multimedia file whose performer is the same as the performer indicated by the performer identifier and whose content is different from that of the first multimedia file; and the second multimedia file is played. For example, the user performs a vertical sliding operation to switch song A sung by performer X to song B. In this way, the user can listen to or watch different works performed by the same performer, which facilitates user selection and improves user experience. The platform can perform subsequent processing based on the user operation, such as recommending other works of the performer to the user.

[0073] Most audio-type multimedia files will display a background image to the user when playing, and the audio is played based on the background image to improve the user's audio-visual experience and beautify the interface. Based on this, in the scenario where the file types of the first multimedia file and the second multimedia file are both audio types, when switching between the first multimedia file and the second multimedia file, the background image can be kept unchanged so that the user can clearly perceive the relationship between the two. Of course, the background image can also be changed as needed when switching.

[0074] Step S208: displaying information corresponding to the second multimedia file.

[0075] Including: when the first identifier is the name identifier of the first multimedia file, at least the performer information of the second multimedia file is displayed; when the first identifier is the performer identifier of the first multimedia file, at least the name information of the second multimedia file is displayed. By displaying the information corresponding to the second multimedia file, the user can learn more about the information of the second multimedia file, and then make subsequent selections or processes, thereby improving the user experience.

[0076] However, the present invention is not limited thereto. Those skilled in the art may display any appropriate information according to actual needs, such as displaying both performer information and name information, etc. The embodiments of the present application are not limited thereto.

[0077] Optionally, at least one of the following contents may be displayed according to the file type of the second multimedia file: preset picture content, preset text content, preset video content, preset audio content. For example, when the file type of the second multimedia file is an audio type, at least one of the preset picture content, preset text content, and preset video content (without sound) may be displayed; when the file type of the second multimedia file is a video type, at least one of the preset picture content, preset text content, and preset video content (without sound) may be displayed; when the file type of the second multimedia file is a picture type, at least one of the preset picture content, preset text content, preset video content (without sound or with sound), and preset audio content may be displayed.

[0078] In one feasible method, the above content can be displayed in the current page in the form of a card, and the above content can be the content corresponding to the second multimedia file, such as the audio cover image or video cover image corresponding to the second multimedia file, or it can be the content customized or recorded and uploaded by the user of the multimedia interactive platform or application.

[0079] The content customized or recorded by users themselves can be customized or recorded by users through improvisation through the corresponding options provided by the platform or application, and then uploaded. For example, if the platform or application provides users with the option of "singing together", user A can sing a piece of content with user B, and after generating the corresponding audio or video, upload it to the platform or application background. If it can pass the review of the platform or application background, when user A's information is displayed, such as in a card, the audio or video that has passed the review can be displayed in the card. The same method applies to user-customized pictures and / or text.

[0080] Through the above methods, the displayed information and content are greatly enriched.

[0081] In addition, in the embodiments of the present application, the performers of the multimedia file may be professional performers such as professional actors or singers, or non-professional performers such as users of the platform or application or other people.

[0082] Based on the above process, an interactive interface in the interactive process is as follows: Figure 2B As shown, Figure 2B The left interface in the video shows the playing interface of the song "Hill" sung by Li Zongsheng. When the user slides left on the touch screen, the singer of the song "Hill" is switched to Hu Yanbin. Figure 2B In the case of non-professional performers, the original singer can be displayed in addition to the song title, and the information of the non-professional performer can be displayed in the information area for displaying the non-professional performer set in the page.

[0083] Another interactive interface in the interactive process is Figure 2C As shown, Figure 2C The left interface in the video shows the playing interface of the song "The Hill" sung by Jonathan Lee, in which, in addition to the song name and original singer, the information of non-professional performer X is also displayed in the box area below. Optionally, the information of non-professional performers can be displayed in the form of cards in this area. When the user slides left on the touch screen, the original song name and original singer are still displayed, but the performer is switched from non-professional performer X to Y, and in Figure 2C The box area below shows the information of non-professional performer Y, such as Figure 2C As shown in the right interface.

[0084] Another interactive interface in the interactive process is Figure 2D As shown, Figure 2DThe left interface in the video shows the playing interface of the song "Hill" sung by Li Zongsheng, which displays the song name and performer. When the user swipes up on the touch screen, the song is switched to the playing interface of the song "Ordinary Song" sung by Li Zongsheng, as shown in the figure below. Figure 2D As shown in the right interface.

[0085] It should be noted that the above examples are all based on songs, but those skilled in the art should understand that multimedia files in other formats, such as video files, can be processed similarly to the above-mentioned song processing examples to implement the interactive solution of the embodiments of the present application.

[0086] Through this embodiment, an interactive operation that triggers interactive processing is pre-set, that is, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, it triggers the determination of the first identifier of the first multimedia file corresponding to the interactive operation, and based on the first identifier, the first multimedia file is switched to the second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier represents that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of multimedia interactive platforms and applications to users.

[0087] The interactive method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.

[0088] Embodiment 3

[0089] Reference Figure 3 , shows a step flow chart of an interaction method according to embodiment three of the present application.

[0090] In this embodiment, it is assumed that the first and second multimedia files are both files in a multimedia file set, the set includes multiple multimedia files, and the multimedia files in the set all have the same first identifier, such as the same name or the same performer, etc. In the embodiments of the present application, unless otherwise specified, "multiple", "multiple", and other quantities related to "multiple" all mean two or more.

[0091] Based on this, the interaction method of this embodiment includes the following steps:

[0092] Step S302: Obtain a second multimedia file to be switched.

[0093] In this embodiment, this step is performed before step S304 as an example, specifically, it can be triggered to be executed when the information of the first multimedia file is displayed or when the first multimedia file starts to be played. However, it is not limited thereto, and this step can also be performed at any time between step S304 and before step S308.

[0094] In a feasible manner, the second multimedia file can be obtained in the following manner: inputting feature data of multiple candidate multimedia files with a first identifier into a logistic regression model to obtain a recommendation score corresponding to each candidate multimedia file; and determining the second multimedia file from the multiple candidate multimedia files according to the recommendation score. The multiple candidate multimedia files may include the first multimedia file or may not include the first multimedia file. If the first multimedia file is included, when determining the second multimedia file, the first multimedia file needs to be excluded and then selected from the remaining multimedia files; if the first multimedia file is not included, the second multimedia file can be selected from the multiple candidate multimedia files.

[0095] The characteristic data of the multimedia file is used to characterize the characteristics of the file, including but not limited to data such as identification, name, performer, content, etc.

[0096] The logistic regression model is a classic classification model, which is based on the principle of linear regression and maps the result of the linear function to the sigmoid function to obtain the probability that the input data belongs to a certain category. In the embodiment of the present application, the probability output by the logistic regression model is used to represent the recommendation score of a candidate multimedia file that can be recommended, and the recommendation order is determined according to the recommendation score.

[0097] For example, if the recommendation scores of songs B, C, and D are 0.5, 0.8, and 0.6 respectively, and song A is currently being played, if the user swipes to the left, the song will switch to song C; if the user swipes to the left again on the basis of playing song C, the song will switch to song D; and so on, if the user swipes to the left again on the basis of song D, the song will switch to song B. If the user performs a return operation, such as swiping in the opposite direction, such as swiping to the right on the basis of song B, the song will return to song D, and so on.

[0098] The logistic regression model has the characteristics of high controllability and good interpretability. Applying it to the interactive solution of the embodiment of the present application can effectively improve the processing efficiency of the second multimedia file and reduce the implementation cost.

[0099] Optionally, the feature data of the candidate multimedia files input into the logistic regression model may include identification feature data corresponding to each candidate multimedia file, wherein the identification feature data at least includes the file identification and performer identification corresponding to each candidate multimedia file. Identification feature data is a unique feature of an object, such as the ID of the multimedia file, the ID of the performer, and may also include the ID of the current user. Identification feature data is unique, and using it as feature data input into the model will result in a more accurate result.

[0100] However, the feature data of the candidate multimedia files input into the logistic regression model may also include non-identification feature data corresponding to each candidate multimedia file, wherein the non-identification feature data at least includes file attribute features corresponding to each candidate multimedia file and character attribute features of the performer. The non-identification feature data may include feature data other than the identification feature data, including at least file attribute features corresponding to each candidate multimedia file (such as timbre features and content features of audio, content features and description features of video, etc.) and character attribute features of the performer (such as gender features, performance features, etc.). The non-identification feature data represents richer information, and when used in combination with the identification feature data, it can effectively expand the data range and data expression.

[0101] In another feasible manner, when the feature data of multiple candidate multimedia files with a first identification are input into a logistic regression model, the identification feature data of the multiple candidate multimedia files with the first identification can be subjected to feature crossover; and the feature data after feature crossover can be input into the logistic regression model; or, the identification feature data and non-identification feature data of the multiple candidate multimedia files with the first identification can be subjected to feature crossover; and the feature data after feature crossover can be input into the logistic regression model.

[0102] Feature crossover is a method of synthesizing features, which is applied to multidimensional feature data sets to perform good nonlinear feature fitting, thereby facilitating the subsequent model's processing of feature data, reducing the model's data processing burden, and improving the model's data processing efficiency.

[0103] Optionally, the first multimedia file corresponds to at least two performers; and / or the second multimedia file corresponds to at least two performers. In addition to being applicable to works performed by multiple professional performers, this scenario can also be effectively applied to works recorded by users of multimedia interactive platforms or applications, such as choral works, short video works performed together, etc.

[0104] In the following, the above process described in this embodiment is described in the form of a specific example, taking the first multimedia file and the second multimedia file both corresponding to at least two performers as an example. The process includes:

[0105] (I) Training the Logistic Regression Model

[0106] Specifically include:

[0107] (1) Construct training samples.

[0108] For example, the works recorded by the user by clicking "Chorus" are positive samples, and the works without clicking "Chorus" are negative samples.

[0109] (2) Construct feature data for training samples.

[0110] As mentioned above, two categories of features can be used: identification features such as ID features and non-identification features.

[0111] Identification features may include the ID of the chorus singer and the ID of the work, and non-identification features may include the gender of the chorus singer and the timbre of the work, etc. However, it is not limited thereto, and may also include other non-identification features, such as the composition feature (also called statistical feature) of how many men among all the men have recorded the work by clicking “Chorus”.

[0112] (3) Perform feature crossover on feature data to enhance nonlinear capabilities.

[0113] (4) Use the feature data after feature crossing to train the logistic regression model.

[0114] The logistic regression model has high controllability and good interpretability, and can also make more effective use of identification features.

[0115] Because the feature data includes identification feature data, as the user base continues to expand, there is a certain volatility in the statistical characteristics of user behavior. Therefore, the statistical characteristics have low confidence, and the identification features are the most confident features. The logistic regression model itself makes better use of identification features and has better training effects.

[0116] The training of the logistic regression model can be performed iteratively until the training termination condition is met, such as the number of training times reaches a certain number, or the output result meets the set result standard.

[0117] Through the above process, the training of the logistic regression model is realized. Based on the trained logistic regression model, the subsequent application in (5) can be carried out.

[0118] (5) Obtain feature data of multiple candidate works and input them into a logistic regression model respectively to obtain recommendation scores, and make recommendations based on the recommendation scores.

[0119] Based on the above process, subsequent interactive operations can be performed.

[0120] Step S304: receiving a first preset interactive operation on a first multimedia file played in the current page.

[0121] The implementation of this step can refer to the description of the relevant steps in Example 1 or Example 2, and will not be repeated here.

[0122] Step S306: Determine a first identifier of a first multimedia file corresponding to the first preset interactive operation.

[0123] The implementation of this step can refer to the description of the relevant steps in Example 1 or Example 2, and will not be repeated here.

[0124] Step S308: according to the first identifier, the first multimedia file is switched to a second multimedia file and the second multimedia file is played.

[0125] The first multimedia file and the second multimedia file have the same first identifier.

[0126] A plurality of candidate multimedia files with the first identifier may be input into a logistic regression model to obtain a recommendation score for each candidate multimedia file. In one multimedia file switching, the multimedia file with the highest recommendation score may be determined as the second multimedia file; in multiple subsequent multimedia file switchings, the multimedia files that have not been switched may be switched in order according to the recommendation scores.

[0127] Through this embodiment, an interactive operation that triggers interactive processing is pre-set, that is, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, it triggers the determination of the first identifier of the first multimedia file corresponding to the interactive operation, and based on the first identifier, the first multimedia file is switched to the second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier represents that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of multimedia interactive platforms and applications to users.

[0128] The interactive method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.

[0129] Embodiment 4

[0130] Reference Figure 4A , showing a step flow chart of an interaction method according to embodiment 4 of the present application.

[0131] This embodiment is based on the solutions of the above-mentioned embodiments 1 to 3, and further performs interactive operations. The interactive operations are implemented on the current page, which can be a page that is playing the first multimedia file or a page that is playing the second multimedia file.

[0132] The interaction method of this embodiment includes the following steps:

[0133] Step S402: receiving a first preset interactive operation on a first multimedia file played in the current page.

[0134] The implementation of this step may refer to the description of the relevant steps in Embodiment 1, Embodiment 2 or Embodiment 3, and will not be repeated here.

[0135] Step S404: Determine a first identifier of a first multimedia file corresponding to a first preset interactive operation.

[0136] The implementation of this step may refer to the description of the relevant steps in Embodiment 1, Embodiment 2 or Embodiment 3, and will not be repeated here.

[0137] Step S406: according to the first identifier, the first multimedia file is switched to a second multimedia file and the second multimedia file is played.

[0138] The first multimedia file and the second multimedia file have the same first identifier.

[0139] The implementation of this step may refer to the description of the relevant steps in Embodiment 1, Embodiment 2 or Embodiment 3, and will not be repeated here.

[0140] It should be noted that, in a feasible manner, the interactive method of this embodiment may not execute the above steps S402-S406, but directly execute the following steps S408-S410 or S408-S412.

[0141] Step S408: receiving a second preset interaction operation for the interaction set identifier displayed in the current page.

[0142] Among them, the interaction set identifier is used to mark the interaction information set to which the currently played multimedia file belongs, and the interaction information set includes multiple interaction information. For example, depending on the multimedia file, the interaction information set corresponds to a set of videos or small videos, or an audio set, or a mixed set, etc. That is, the multiple interaction information in the interaction information set may include at least one of the following: audio type interaction information, video type interaction information, and picture type interaction information. The interaction set identifier may also be in any appropriate form, such as icon form, text form, icon plus text form, etc.

[0143] The second preset interaction operation may be any appropriate interaction operation, such as a click operation or a touch operation on the interaction set identifier.

[0144] Taking the short video collection of the topic to which the currently played multimedia file belongs as an example, the icon of the short video collection, or the title of the topic corresponding to the short video collection, or a combination of the two, etc. can be displayed on the current page as its identification. Then, the second preset interactive operation can be a click operation on the above icon or title, etc.

[0145] Step S410: According to a second preset interactive operation, while playing the multimedia file, at least one interactive information among the multiple interactive information is displayed based on the current page.

[0146] In this embodiment, when the interactive information is displayed, the playing of the multimedia file will not be interrupted, and the interference to the user is relatively small.

[0147] When at least one of the plurality of interaction information is displayed based on the current page:

[0148] In one feasible manner, at least one of the plurality of interactive information may be displayed at a preset side of the current page in accordance with preset specifications. The preset side and preset specifications may be appropriately set by those skilled in the art according to actual needs. For example, a video thumbnail or an audio thumbnail may be displayed at a size of 15 mm*20 mm on the right side of the current page. This display method is simple to implement and has low implementation cost.

[0149] In another feasible manner, the larger of the width and height of the current page can be determined, and at least one of the multiple interactive information can be displayed on the side of the larger one according to preset specifications. Among them, the preset specifications can be appropriately set by technical personnel in this field according to actual needs. By determining the larger of the width and height of the current page, the current screen state of the terminal device can be determined, such as whether it is a horizontal screen, and then the interactive information is displayed based on this. In this way, the display of interactive information can be adjusted more flexibly and adapted to the current state of the terminal device, further improving the display effect and user experience.

[0150] In another feasible way, the main content of the multimedia file played in the current page can be detected, and the side for displaying the interactive information can be determined according to the detection result, and at least one of the multiple interactive information can be displayed on the determined side according to the preset specifications. Among them, the preset specifications can be appropriately set by those skilled in the art according to actual needs, and the specific implementation method of the main content detection can also be implemented by those skilled in the art according to actual needs using any appropriate algorithm or model. In this way, the display of the interactive information has little impact on the display of the current multimedia file, which can further improve the display effect and user experience.

[0151] Optionally, in the above multiple feasible methods, a rectangular display area can be used to display the interactive information, based on which the short side length of the interactive information display area is determined according to a preset ratio of the page border length where the short side is located. In a preferred solution, the preset ratio is less than or equal to 30%. In this way, the display quantity and display effect of the interactive information can be effectively improved.

[0152] For example, assuming that the terminal device is currently in portrait mode and the current page is presented as a 10cm*15cm rectangle, the display area of ​​the interactive information can be presented with the right border overlapping with the right border of the page, the left border of the display area is set at 10*30%=3cm away from the right border of the display area, the upper border between the left and right borders overlaps with the corresponding upper border part of the page, and the lower border between the left and right borders overlaps with the corresponding lower border part of the page.

[0153] For another example, assuming that the terminal device is currently in landscape mode and the current page is presented as a rectangle of 15cm*10cm, the display area of ​​the interactive information can be presented with the right border overlapping with the right border of the page, the left border of the display area is set at 15*30%=4.5cm from the right border of the display area, the upper border between the left and right borders overlaps with the corresponding upper border part of the page, and the lower border between the left and right borders overlaps with the corresponding lower border part of the page.

[0154] In addition, in practical applications, the interactive information can be displayed in the form of a mask. Specifically, the display area of ​​the interactive information can be determined, a mask can be drawn in the display area, and the interactive information can be displayed through the mask; wherein the position and size of the mask are the same as the position and size of the display area. Through the mask, the interactive information can be displayed simply and quickly. Moreover, the mask has little effect on the playback of the current page and multimedia files, and the interactive information display can be realized efficiently and at low cost without interrupting the playback of multimedia files. In addition, in the present embodiment, the position and size of the mask are the same as the position and size of the display area, which is more in line with the display area of ​​the interactive information, and further reduces the impact on the current page and the elements in the current page.

[0155] Further optionally, at least one of the following information can be displayed at the corresponding position of the interaction set identifier, or at the corresponding position of the display area of ​​the interaction information: the number of interaction information included in the interaction information set, the position order of the currently played multimedia files in the interaction information set, the introduction information of the interaction information set, and the creator information of the interaction information set, so as to make the user's understanding of the relevant information more obvious.

[0156] Step S412: receiving a third preset interaction operation of the user in the display area of ​​the interaction information, and switching the displayed interaction information according to the third preset interaction operation.

[0157] The third preset interactive operation may be any appropriate operation, such as a click operation or a touch operation on the displayed interactive information.

[0158] For example, five small video thumbnails are displayed in the display area. When the user clicks one of the thumbnails, the currently playing small video is switched to the small video clicked by the user. This method is easy to operate and has high switching efficiency.

[0159] It should be noted that this step is optional.

[0160] In addition, further optionally, for the interactive information displayed in the display area, a fourth preset interactive operation on the displayed interactive information can be received, and link information of the interactive information operated by the fourth preset interactive operation can be obtained; and jump to the link page indicated by the link information to display or play the interactive information operated by the fourth preset interactive operation.

[0161] The fourth preset interactive operation is any appropriate interactive operation, which is not limited in the present embodiment. The link information can be linked to a page in the multimedia interactive platform or application itself, or can be linked to a legal or authorized third-party platform or application outside the multimedia interactive platform or application, thereby effectively expanding the available resources of the multimedia interactive platform or application.

[0162] The following is an example of an interactive information set that is a set of short videos corresponding to a certain topic to illustrate the above process. Figure 4B shown.

[0163] In this example, the short video is played in full screen mode to make the experience more immersive. Figure 4B As shown in the left interface, the title of the topic is displayed at the bottom of the current playback page of short video A (the part between the "#" signs in the figure). When the title is clicked, part of the interactive information in the topic is displayed, which is the thumbnail of the short video in this example, such as Figure 4B As shown in the middle interface, the short video thumbnails under the topic are called up on the right side of the current page. In this interface, because it adopts a vertical layout, more thumbnails are displayed than when it is displayed in a horizontal layout. Scrolling the thumbnails up and down can switch to select short videos, and users can browse the short videos of interest more quickly. When the user selects a short video thumbnail, the short video corresponding to the thumbnail will be switched to play. For example, if the user selects short video thumbnail D, the short video currently playing will switch from A to D. Figure 4B As shown in the right interface.

[0164] In addition, in this example, the total number of short videos included in the current topic and the sequential position of the current short video in the topic are also displayed on the full-screen page to improve user consumption conversion. Figure 4B The dotted box on the left side of the interface displays "1 / 20", indicating that the position of short video A in the short video set corresponding to the topic is 1; Figure 4B "4 / 20" is displayed in the dotted box on the right side of the interface, indicating that the position of short video D in the short video set corresponding to the topic is 4.

[0165] Depend on Figure 4B It can be seen that in this example, when the short video thumbnail is called up, the full-screen short video currently being played is less blocked, and the video will not be paused. 4 to 5 thumbnails can be displayed at a time, which is a large number of thumbnails. There is a clear display of the total number of short videos and the location of the short videos, which makes the user's perception of the topic more obvious.

[0166] The above example can be quickly implemented under the existing framework, with little change to the original layout of the page, and the operation is simple and clear; the thumbnail is invoked by non-blocking operation, making the invocation easy; and the small video of interest can be quickly selected by scrolling up and down.

[0167] It should be noted that the above examples take a small video set as an example, but those skilled in the art should understand that the interaction solution provided in the embodiment of the present application can be executed in the same manner for an audio set or a mixed set by referring to the above examples.

[0168] Through this embodiment, an interactive operation that triggers interactive processing is pre-set, that is, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, it triggers the determination of the first identifier of the first multimedia file corresponding to the interactive operation, and based on the first identifier, the first multimedia file is switched to the second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier represents that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of multimedia interactive platforms and applications to users.

[0169] The interactive method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: mobile terminals (such as tablet computers, mobile phones, etc.) and PCs, etc.

[0170] Embodiment 5

[0171] Reference Figure 5 , shows a structural block diagram of an interaction device according to Embodiment 5 of the present application.

[0172] The interactive device of this embodiment includes: a receiving module 502, used to receive a first preset interactive operation on a first multimedia file played in a current page; a determining module 504, used to determine a first identifier of the first multimedia file corresponding to the first preset interactive operation; a switching module 506, used to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier; wherein the first multimedia file and the second multimedia file have the same first identifier.

[0173] The interactive device of this embodiment is used to implement the corresponding interactive methods in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the interactive device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be repeated here.

[0174] Embodiment 6

[0175] Reference Figure 6 , shows a structural block diagram of an interaction device according to embodiment 6 of the present application.

[0176] The interactive device of this embodiment includes: a receiving module 602, used to receive a first preset interactive operation on a first multimedia file played in a current page; a determining module 604, used to determine a first identifier of the first multimedia file corresponding to the first preset interactive operation; a switching module 606, used to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier; wherein the first multimedia file and the second multimedia file have the same first identifier.

[0177] Optionally, the first identifier is a name identifier or a performer identifier of the first multimedia file.

[0178] Optionally, when the first identifier is a name identifier of the first multimedia file, the switching module 606 includes: a performer switching module 6062, used to switch the first multimedia file to a second multimedia file whose name is the same as the name indicated by the name identifier and whose performer is different from the performer of the first multimedia file according to the name identifier; and play the second multimedia file.

[0179] Optionally, the performer switching module 6062 is further used to at least display information of the performer of the second multimedia file.

[0180] Optionally, when the first identifier is the performer identifier of the first multimedia file, the switching module 606 includes: a file switching module 6064, used to switch the first multimedia file to a second multimedia file whose performer is the same as the performer indicated by the performer identifier and whose content is different from that of the first multimedia file according to the performer identifier; and play the second multimedia file.

[0181] Optionally, the file switching module 6064 is further configured to display at least the name information of the second multimedia file.

[0182] Optionally, the interactive device of this embodiment also includes: an information interaction module 608, used to receive a second preset interactive operation on the interaction set identifier displayed in the current page, wherein the interaction set identifier is used to indicate the interactive information set to which the currently played multimedia file belongs, and the interactive information set includes multiple interactive information; an information display module 610, used to display at least one interactive information among the multiple interactive information based on the current page while playing the multimedia file according to the second preset interactive operation.

[0183] Optionally, the multiple pieces of interaction information include at least one of the following: audio type interaction information, video type interaction information, and picture type interaction information.

[0184] Optionally, when the information display module 610 displays at least one of the multiple interactive information based on the current page: display at least one of the multiple interactive information on a preset side of the current page according to preset specifications; or, determine the larger of the width and height of the current page, and display at least one of the multiple interactive information on the larger side according to preset specifications; or, perform main content detection on the multimedia file played in the current page, determine the side on which to display the interactive information based on the detection result, and display at least one of the multiple interactive information on the determined side according to the preset specifications.

[0185] Optionally, the length of the short side of the interactive information display area is determined according to a preset ratio of the length of the page border where the short side is located, and the preset ratio is less than or equal to 30%.

[0186] Optionally, when the information display module 610 displays at least one of the multiple interactive information based on the current page: determines a display area for the interactive information, draws a mask in the display area, and displays the interactive information through the mask; wherein the position and size of the mask are the same as the position and size of the display area.

[0187] Optionally, the interactive device of this embodiment further includes: an information switching module 612, which is used to receive a third preset interactive operation of the user in the display area of ​​the interactive information, and switch the displayed interactive information according to the third preset interactive operation.

[0188] Optionally, the information switching module 612 is further used to receive a fourth preset interactive operation on the displayed interactive information, obtain link information of the interactive information operated by the fourth preset interactive operation; and jump to the link page indicated by the link information to display or play the interactive information.

[0189] Optionally, the information display module 610 is also used to display at least one of the following information at a corresponding position of the interaction set identifier, or at a corresponding position of the interaction information display area: the number of interaction information included in the interaction information set, the position order of the currently played multimedia files in the interaction information set, the introduction information of the interaction information set, and the creator information of the interaction information set.

[0190] Optionally, the interactive device of this embodiment also includes: a file determination module 614, used to obtain the second multimedia file in the following manner: inputting feature data of multiple candidate multimedia files with the first identifier into a logistic regression model to obtain a recommendation score corresponding to each candidate multimedia file, wherein the multiple candidate multimedia files do not include the first multimedia file; and determining the second multimedia file from the multiple candidate multimedia files according to the recommendation score.

[0191] Optionally, the feature data includes identification feature data corresponding to each candidate multimedia file; the identification feature data includes at least a file identification and a performer identification corresponding to each candidate multimedia file.

[0192] Optionally, the feature data further includes non-identification feature data corresponding to each candidate multimedia file; the non-identification feature data at least includes file attribute features corresponding to each candidate multimedia file and character attribute features of the performer.

[0193] Optionally, when inputting the feature data of multiple candidate multimedia files with the first identification into the logistic regression model, the file determination module 614: performs feature crossover on the identification feature data of the multiple candidate multimedia files with the first identification; inputs the feature data after feature crossover into the logistic regression model; or performs feature crossover on the identification feature data and non-identification feature data of the multiple candidate multimedia files with the first identification; inputs the feature data after feature crossover into the logistic regression model.

[0194] Optionally, the first multimedia file corresponds to at least two performers; and / or the second multimedia file corresponds to at least two performers.

[0195] Optionally, the file type of the multimedia file includes: audio type, video type, and picture type; the file type of the first multimedia file is the same as or different from the file type of the second multimedia file.

[0196] Optionally, when both the first multimedia file and the second multimedia file are audio type multimedia files, the switching module 606 is used to switch the first multimedia file of audio type to the second multimedia file of audio type according to the first identifier, and play the second multimedia file.

[0197] Optionally, when both the first multimedia file and the second multimedia file are multimedia files of video type, the switching module 606 is used to switch the first multimedia file of video type to the second multimedia file of video type according to the first identifier, and play the second multimedia file.

[0198] Optionally, the switching module 606 is used to switch the first multimedia file of the first type to the second multimedia file of the second type according to the first identifier, and play the second multimedia file; wherein the first type and the second type are different file types of multimedia files.

[0199] Optionally, the switching module 606 is further configured to display at least one of the following contents according to the file type of the second multimedia file: preset picture content, preset text content, preset video content, and preset audio content.

[0200] The interactive device of this embodiment is used to implement the corresponding interactive methods in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the interactive device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be repeated here.

[0201] Embodiment 7

[0202] Reference Figure 7 , shows a schematic diagram of the structure of an electronic device according to Embodiment 7 of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device.

[0203] like Figure 7 As shown, the electronic device may include: a processor (processor) 702 , a communication interface (Communications Interface) 704 , a memory (memory) 706 , and a communication bus 708 .

[0204] in:

[0205] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .

[0206] The communication interface 704 is used to communicate with other electronic devices such as terminal devices or servers.

[0207] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the above-mentioned interaction method embodiment.

[0208] Specifically, the program 710 may include program codes, which include computer operation instructions.

[0209] The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0210] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0211] Program 710 can be specifically used to enable processor 702 to perform the following operations: receive a first preset interactive operation on a first multimedia file played in a current page; determine a first identifier of the first multimedia file corresponding to the first preset interactive operation; and switch the first multimedia file to a second multimedia file and play the second multimedia file based on the first identifier; wherein the first multimedia file and the second multimedia file have the same first identifier.

[0212] In an optional implementation, the first identifier is a name identifier or a performer identifier of the first multimedia file.

[0213] In an optional embodiment, when the first identifier is a name identifier of the first multimedia file, the program 710 is also used to enable the processor 702 to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier: according to the name identifier, switch the first multimedia file to a second multimedia file whose name is the same as the name indicated by the name identifier and whose performer is different from the performer of the first multimedia file; and play the second multimedia file.

[0214] In an optional implementation, the program 710 is further configured to cause the processor 702 to at least display information of a performer of the second multimedia file.

[0215] In an optional embodiment, when the first identifier is the performer identifier of the first multimedia file, the program 710 is also used to enable the processor 702 to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier: according to the performer identifier, switch the first multimedia file to a second multimedia file whose performer is the same as the performer indicated by the performer identifier and whose content is different from that of the first multimedia file; and play the second multimedia file.

[0216] In an optional implementation, the program 710 is further configured to enable the processor 702 to at least display the name information of the second multimedia file.

[0217] In an optional embodiment, program 710 is also used to enable processor 702 to receive a second preset interaction operation on an interaction set identifier displayed in a current page, wherein the interaction set identifier is used to indicate an interaction information set to which a multimedia file currently being played belongs, and the interaction information set includes multiple interaction information; according to the second preset interaction operation, while playing the multimedia file, at least one interaction information among the multiple interaction information is displayed based on the current page.

[0218] In an optional implementation, the multiple pieces of interaction information include at least one of the following: audio type interaction information, video type interaction information, and picture type interaction information.

[0219] In an optional embodiment, the program 710 is also used to enable the processor 702 to: display at least one of the multiple interactive information based on the current page: on a preset side of the current page, display at least one of the multiple interactive information according to preset specifications; or, determine the larger of the width and height of the current page, and display at least one of the multiple interactive information on the larger side according to preset specifications; or, perform main content detection on the multimedia file played in the current page, determine the side to display the interactive information based on the detection result, and display at least one of the multiple interactive information on the determined side according to preset specifications.

[0220] In an optional implementation, the length of the short side of the interactive information display area is determined according to a preset ratio of the length of the page border where the short side is located, and the preset ratio is less than or equal to 30%.

[0221] In an optional embodiment, program 710 is also used to enable the processor 702 to: determine a display area for the interaction information, draw a mask in the display area, and display the interaction information through the mask when displaying at least one of the multiple interaction information based on the current page; wherein the position and size of the mask are the same as the position and size of the display area.

[0222] In an optional implementation, the program 710 is further configured to enable the processor 702 to receive a third preset interaction operation of the user in the display area of ​​the interaction information, and to switch the displayed interaction information according to the third preset interaction operation.

[0223] In an optional embodiment, program 710 is also used to enable processor 702 to receive a fourth preset interactive operation on the displayed interactive information, obtain link information of the interactive information operated by the fourth preset interactive operation; and jump to the link page indicated by the link information to display or play the interactive information.

[0224] In an optional embodiment, program 710 is also used to enable processor 702 to display at least one of the following information at a corresponding position of the interaction set identifier, or at a corresponding position of the interaction information display area: the number of interaction information included in the interaction information set, the position order of the currently played multimedia files in the interaction information set, the introduction information of the interaction information set, and the creator information of the interaction information set.

[0225] In an optional embodiment, the second multimedia file is obtained in the following manner: inputting feature data of multiple candidate multimedia files having the first identifier into a logistic regression model to obtain a recommendation score corresponding to each candidate multimedia file, wherein the multiple candidate multimedia files do not include the first multimedia file; and determining the second multimedia file from the multiple candidate multimedia files according to the recommendation score.

[0226] In an optional implementation, the feature data includes identification feature data corresponding to each candidate multimedia file; the identification feature data includes at least a file identification and a performer identification corresponding to each candidate multimedia file.

[0227] In an optional implementation, the feature data further includes non-identification feature data corresponding to each candidate multimedia file; the non-identification feature data at least includes file attribute features corresponding to each candidate multimedia file and character attribute features of the performer.

[0228] In an optional embodiment, the program 710 is also used to enable the processor 702 to: perform feature crossover on the identification feature data of the multiple candidate multimedia files with the first identification; input the feature data after feature crossover into the logistic regression model when the feature data of the multiple candidate multimedia files with the first identification is input into the logistic regression model; or, perform feature crossover on the identification feature data and non-identification feature data of the multiple candidate multimedia files with the first identification; and input the feature data after feature crossover into the logistic regression model.

[0229] In an optional implementation, the first multimedia file corresponds to at least two performers; and / or the second multimedia file corresponds to at least two performers.

[0230] In an optional implementation manner, the file type of the multimedia file includes: an audio type, a video type, and a picture type; the file type of the first multimedia file is the same as or different from the file type of the second multimedia file.

[0231] In an optional embodiment, when the first multimedia file and the second multimedia file are both audio type multimedia files, the program 710 is also used to enable the processor 702 to switch the first multimedia file to the second multimedia file and play the second multimedia file according to the first identifier: according to the first identifier, switch the first multimedia file of audio type to the second multimedia file of audio type, and play the second multimedia file.

[0232] In an optional embodiment, when the first multimedia file and the second multimedia file are both multimedia files of video type, the program 710 is also used to enable the processor 702 to switch the first multimedia file to the second multimedia file and play the second multimedia file according to the first identifier: according to the first identifier, switch the first multimedia file of video type to the second multimedia file of video type, and play the second multimedia file.

[0233] In an optional embodiment, the program 710 is also used to enable the processor 702 to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier: according to the first identifier, switch the first multimedia file of the first type to a second multimedia file of the second type, and play the second multimedia file; wherein the first type and the second type are different file types of multimedia files.

[0234] In an optional implementation, the program 710 is further configured to enable the processor 702 to display at least one of the following contents according to the file type of the second multimedia file: preset picture content, preset text content, preset video content, and preset audio content.

[0235] The specific implementation of each step in program 710 can refer to the corresponding description of the corresponding steps and units in the above-mentioned interactive method embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.

[0236] Through the electronic device of this embodiment, an interactive operation that triggers interactive processing is pre-set, that is, a first preset interactive operation. When the first preset interactive operation is performed on the first multimedia file played in the current page, it triggers the determination of the first identifier of the first multimedia file corresponding to the interactive operation, and based on the first identifier, the first multimedia file is switched to the second multimedia file that also has the first identifier. On the one hand, through the first preset interactive operation, users can switch and interact between different multimedia files, enriching the switching and interaction methods of multimedia files; on the other hand, the same first identifier represents that there is a strong correlation between the first multimedia file and the second multimedia file, and the multimedia file switching based on this is more in line with user preferences and habits, thereby increasing the stickiness of the multimedia interactive platform and application to users.

[0237] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.

[0238] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the interactive method described herein is implemented. In addition, when a general-purpose computer accesses a code for implementing the interactive method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the interactive method shown here.

[0239] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0240] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.

Claims

1. An interactive method, include: Receiving a first preset interactive operation on a first multimedia file played in a current page; Determining a first identifier corresponding to the first preset interactive operation, wherein the first identifier corresponds to a first multimedia file, and the first identifier exists in identifier-type feature data of the first multimedia file; According to the first identifier, switching the first multimedia file to a second multimedia file and playing the second multimedia file; The first multimedia file and the second multimedia file have the same first identifier; The method further includes: before switching, recording the playback progress of the first multimedia file; and switching the first multimedia file to the second multimedia file and playing the second multimedia file includes: switching the first multimedia file to the playback progress of the second multimedia file for playback.

2. The method according to claim 1, in, The first identifier is a name identifier or a performer identifier of the first multimedia file.

3. The method according to claim 2, in, When the first identifier is a name identifier of the first multimedia file, switching the first multimedia file to a second multimedia file and playing the second multimedia file according to the first identifier includes: According to the name identifier, the first multimedia file is switched to a second multimedia file whose name is the same as the name indicated by the name identifier and whose performer is different from that of the first multimedia file; and the second multimedia file is played.

4. The method according to claim 3, in, The method further comprises: At least information of the performer of the second multimedia file is displayed.

5. The method according to claim 2, in, When the first identifier is a performer identifier of the first multimedia file, switching the first multimedia file to a second multimedia file and playing the second multimedia file according to the first identifier includes: According to the performer identifier, the first multimedia file is switched to a second multimedia file whose performer is the same as the performer indicated by the performer identifier and whose content is different from that of the first multimedia file; and the second multimedia file is played.

6. The method according to claim 5, in, The method further comprises: At least the name information of the second multimedia file is displayed.

7. The method according to claim 1, in, The method further comprises: Receiving a second preset interaction operation on an interaction set identifier displayed in a current page, wherein the interaction set identifier is used to indicate an interaction information set to which a currently played multimedia file belongs, and the interaction information set includes a plurality of interaction information; According to the second preset interaction operation, while playing the multimedia file, at least one interaction information among the plurality of interaction information is displayed based on the current page.

8. The method according to claim 7, in, The multiple pieces of interaction information include at least one of the following: audio type interaction information, video type interaction information, and picture type interaction information.

9. The method according to claim 7, in, The displaying at least one of the plurality of interactive information based on the current page includes: Displaying at least one interactive information among the plurality of interactive information according to preset specifications on a preset side of the current page; or, Determine the larger of the width and height of the current page, and display at least one of the plurality of interaction information on the side of the larger one according to a preset specification; or, A main content detection is performed on the multimedia file played in the current page, a side for displaying the interactive information is determined according to the detection result, and at least one interactive information among the multiple interactive information is displayed on the determined side according to a preset specification.

10. The method according to claim 9, in, The length of the short side of the interactive information display area is determined according to a preset ratio of the length of the page border where the short side is located, and the preset ratio is less than or equal to 30%.

11. The method according to claim 9, in, The displaying at least one of the plurality of interactive information based on the current page includes: Determining a display area of ​​the interactive information, drawing a mask in the display area, and displaying the interactive information through the mask; The position and size of the mask are the same as the position and size of the display area.

12. The method according to claim 7, in, The method further comprises: A third preset interaction operation of the user in the display area of ​​the interaction information is received, and the displayed interaction information is switched according to the third preset interaction operation.

13. The method according to claim 12, in, The method further comprises: receiving a fourth preset interactive operation on the displayed interactive information, and acquiring link information of the interactive information operated by the fourth preset interactive operation; Jump to the link page indicated by the link information to display or play the interactive information.

14. The method according to claim 7, in, The method further comprises: At the corresponding position of the interaction set identifier, or at the corresponding position of the interaction information display area, at least one of the following information is displayed: the number of interaction information included in the interaction information set, the position order of the currently played multimedia files in the interaction information set, the introduction information of the interaction information set, and the creator information of the interaction information set.

15. The method according to claim 1, in, The second multimedia file is obtained by: Inputting feature data of a plurality of candidate multimedia files having the first identifier into a logistic regression model to obtain a recommendation score corresponding to each candidate multimedia file; The second multimedia file is determined from the plurality of candidate multimedia files according to the recommendation score.

16. The method according to claim 15, in, The feature data includes identification feature data corresponding to each candidate multimedia file; the identification feature data includes at least a file identification and a performer identification corresponding to each candidate multimedia file.

17. The method according to claim 16, in, The feature data also includes non-identification feature data corresponding to each candidate multimedia file; the non-identification feature data at least includes file attribute features corresponding to each candidate multimedia file and character attribute features of the performer.

18. The method according to claim 17, in, The step of inputting the feature data of the plurality of candidate multimedia files having the first identifier into a logistic regression model comprises: Performing feature crossover on the identification feature data of the plurality of candidate multimedia files having the first identification; inputting the feature data after feature crossover into a logistic regression model; or, Perform feature crossover on the identification feature data and non-identification feature data of the plurality of candidate multimedia files having the first identification; and input the feature data after feature crossover into a logistic regression model.

19. The method according to any one of claims 15 to 18, in, The first multimedia file corresponds to at least two performers; and / or the second multimedia file corresponds to at least two performers.

20. The method according to any one of claims 1 to 18, in, The file types of multimedia files include: audio type, video type, and picture type; the file type of the first multimedia file is the same as or different from the file type of the second multimedia file.

21. The method according to claim 20, in, When both the first multimedia file and the second multimedia file are multimedia files of audio type, switching the first multimedia file to the second multimedia file and playing the second multimedia file according to the first identifier includes: According to the first identifier, the first multimedia file of the audio type is switched to the second multimedia file of the audio type, and the second multimedia file is played.

22. The method according to claim 20, in, When both the first multimedia file and the second multimedia file are multimedia files of video type, switching the first multimedia file to the second multimedia file and playing the second multimedia file according to the first identifier includes: According to the first identifier, the first multimedia file of the video type is switched to the second multimedia file of the video type, and the second multimedia file is played.

23. The method according to claim 20, in, The step of switching the first multimedia file to a second multimedia file and playing the second multimedia file according to the first identifier includes: According to the first identifier, a first multimedia file of a first type is switched to a second multimedia file of a second type, and the second multimedia file is played; wherein the first type and the second type are different file types of multimedia files.

24. The method according to claim 20, in, The method further comprises: According to the file type of the second multimedia file, at least one of the following contents is displayed: preset picture content, preset text content, preset video content, and preset audio content.

25. An interactive device, include: A receiving module, configured to receive a first preset interactive operation on a first multimedia file played on a current page; a determination module, configured to determine a first identifier corresponding to the first preset interactive operation, wherein the first identifier corresponds to a first multimedia file, and the first identifier exists in identifier-type feature data possessed by the first multimedia file; a switching module, configured to switch the first multimedia file to a second multimedia file and play the second multimedia file according to the first identifier; The first multimedia file and the second multimedia file have the same first identifier; The switching module is also used to record the playback progress of the first multimedia file before switching; the switching module switches the first multimedia file to the second multimedia file and plays the second multimedia file, including: switching the first multimedia file to the playback progress of the second multimedia file for playback.

26. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the interaction method as described in any one of claims 1-24.

27. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the interactive method according to any one of claims 1 to 24.

Citation Information

Patent Citations

  • Multimedia recommendation method and device

    CN105843953A

  • Information list display method and device and storage medium

    CN109120981A

  • Video playing real-time recommendation method and system based on content recognition

    CN110149558A