A method for processing audio battle and related device

Through the audio battle processing method between the client and the server, the limitations of the existing song reading APP function are solved, and the online real-time challenges of the audio battle parties and real-time interactions are realized, enhancing the fun and smoothness of the user experience sex.

CN111813990BActive Publication Date: 2024-12-03TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202010668398.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-13
Publication Date
2024-12-03
Estimated Expiration
2040-07-13

AI Technical Summary

Technical Problem

The existing song recording app only supports users to challenge recorded audio, and has great limitations in function, and it is impossible to achieve multi-party real-time interaction and dynamic matching of audio battles.

Method used

By implementing audio battle processing between the client and the server, obtain the audio information selected by the opponent, output the battle sequence, display the battle audio data in real time, output the battle results based on the audio data, support multiple parties to online real-time challenges, expand Client functions.

Benefits of technology

It realizes the online real-time challenge of the audio rival, enhances the fun and fluency of the user experience, expands the functions of the Song Recording APP, and supports real-time interaction and dynamic matching of multiple parties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111813990B_ABST
    Figure CN111813990B_ABST
Patent Text Reader

Abstract

The present application discloses a method and related apparatus for processing audio battles. After obtaining information about a first audio selected by a first opponent and information about a second audio selected by a second opponent on a second client, a first client outputs a battle order, and when a second client obtains the second battle audio data in real time, the second battle audio data is displayed in real time, so that one opponent can obtain the other opponent's battle audio data in real time. After the first client and the second client obtain the first battle audio data and the second battle audio data respectively, the victory or defeat battle result indicating the opponent is output based on the audio battle data of the two opponents. It can be seen that online real-time challenges of the opponents are realized and the functions of the client are expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing, and in particular to a method for processing audio battles and related devices. Background Art

[0002] With the development of audio processing technology, more and more audio interactive applications, such as song recording applications (APPs), have emerged. Song recording APPs can collect audio input by users and synthesize the audio with accompaniment to provide users with the purpose of singing audio with accompaniment.

[0003] In order to make singing more interesting for users, the song recording app can also rate the audio recorded by different users to show the level of the users' singing. Therefore, different users can challenge each other.

[0004] However, existing song recording apps only support users to challenge recorded audio. Therefore, existing song recording apps have great limitations in functionality. Summary of the invention

[0005] The present application provides a method and related device for processing audio battles, aiming to solve the problem of how to expand the functions of audio interactive applications.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] A method for processing audio battle, applied to a first client, comprising:

[0008] After obtaining information of a first audio selected by a first opponent and information of a second audio selected by a second opponent on a second client, outputting a battle order, wherein the battle order indicates a sequence in which the first client obtains the first battle audio data of the first opponent and the second client obtains the second battle audio data of the second opponent;

[0009] When the second client obtains the second battle audio data in real time, displaying the second battle audio data in real time;

[0010] After the first client and the second client obtain the first battle audio data and the second battle audio data respectively, a battle result indicating the victory or defeat of the first opponent and the second opponent is output based on the first battle audio data and the second battle audio data.

[0011] Optionally, also include:

[0012] When the second client obtains the second battle audio data in real time, outputting the matching degree information between the second battle audio data and the second audio; and / or,

[0013] When the first battle audio data of the first opponent is acquired in real time, the matching degree information between the first battle audio data and the first audio is output.

[0014] Optionally, before outputting the battle order, the method further includes:

[0015] Output candidate audio and prompt information of preset duration range;

[0016] The candidate audio selected by the first opponent within the preset time range is used as the first audio.

[0017] Optionally, the output candidate audio includes:

[0018] Outputting a plurality of candidate audios in sequence;

[0019] The method further comprises:

[0020] If no instruction is received from the first opponent to select the candidate audio within the preset time period, the candidate audio currently being output is used as the first audio.

[0021] Optionally, the candidate audio includes:

[0022] Audio clips whose duration does not exceed the preset threshold.

[0023] Optionally, before outputting the candidate audio and the prompt information of the preset duration range, the method further includes:

[0024] Acquire an audio database selected by the first opponent, wherein the audio database includes the candidate audio;

[0025] The second opponent includes: a user selected from online users of the selected audio database.

[0026] Optionally, the outputting of the battle result indicating the victory or defeat of the first opponent and the second opponent includes:

[0027] Outputting the score of the first opponent and part of the score of the second opponent;

[0028] The battle result indicating the victory or defeat of the first opponent and the second opponent is output, and the battle result at least includes the score of the second opponent.

[0029] Optionally, after outputting the battle result indicating the victory or defeat of the first opponent and the second opponent, the method further includes:

[0030] After receiving the re-battle instruction triggered by the first opponent, sending a re-battle request to the second client;

[0031] After receiving the re-battle response instruction triggered by the second opponent and sent by the second client, the audio battle process between the first opponent and the second opponent is executed again.

[0032] An audio battle client, comprising:

[0033] An audio selection control, used for the first opponent to select the first audio information;

[0034] A battle order control, used for outputting a battle order after the first opponent selects the information of the first audio and the second opponent selects the information of the second audio on other clients, wherein the battle order indicates the order in which the client of the audio battle obtains the first battle audio data of the first opponent and the other clients obtain the second battle audio data of the second opponent;

[0035] A real-time battle control, used for displaying the second battle audio data in real time when the other client obtains the second battle audio data in real time;

[0036] A battle result control is used to output a battle result indicating the victory or defeat of the first battle party and the second battle party after the client of the audio battle and the other clients respectively obtain the first battle audio data and the second battle audio data, and the battle result is obtained based on the first battle audio data and the second battle audio data.

[0037] Optionally, the battle result control is also used to:

[0038] When the other client obtains the second battle audio data in real time, the matching degree information between the second battle audio data and the second audio is output; and / or, when the first battle audio data of the first opponent is obtained in real time, the matching degree information between the first battle audio data and the first audio is output.

[0039] Optional, audio selection controls include:

[0040] Candidate audio selection interface, candidate audio display controls and selection controls;

[0041] The audio selection interface is used to display prompt information of a preset duration range;

[0042] The candidate audio display control is used to display the candidate audio;

[0043] The selection control is used to use the candidate audio selected by the first user within the preset duration as the first audio;

[0044] The audio selection controls are also used to:

[0045] If no instruction to select the candidate audio through the selection subcontrol is received within the preset time range, the candidate audio currently being output is used as the first audio.

[0046] Optionally, also include:

[0047] An audio database selection control is used for the first opponent to select an audio database, and the audio database includes the candidate audio.

[0048] Optionally, the battle result control is specifically used for:

[0049] Outputting the score of the first opponent and part of the score of the second opponent;

[0050] The battle result indicating the victory or defeat of the first opponent and the second opponent is output, and the battle result at least includes the score of the second opponent.

[0051] Optionally, the battle result control is also used to:

[0052] A sub-control is displayed for the first opponent to trigger a re-battle instruction.

[0053] Optionally, the battle order control is specifically used for:

[0054] Displaying identification information of the first opponent and identification information of the second opponent;

[0055] A pointer that changes from rotating to being stationary is displayed, and the stationary pointer points to the identification information of the first opponent and the second opponent that first inputs the battle audio data.

[0056] A method for processing audio battle, applied to a server, comprising:

[0057] After receiving the information of the audio selected by the client bound to each opponent, sending a battle order to the client bound to each opponent, the battle order at least indicates the order in which each client obtains the battle audio data input by the bound opponent;

[0058] After receiving the battle audio data from the client currently receiving the battle audio data, sending the battle audio data to other clients for real-time display;

[0059] After the clients bound to the respective opponents complete the acquisition of their respective battle audio data, the battle results are displayed on the respective clients, and the battle results are acquired at least based on the battle audio data input by the respective clients.

[0060] Optionally, before receiving the information of the audio selected by the client bound to each opposing party, the method further includes:

[0061] Each opponent is selected from the online users according to the audio database selected by the online users bound to each of the clients.

[0062] A device for processing audio battles comprises a memory and a processor; the memory is used to store programs, and the processor is used to run the programs to implement the above-mentioned method for processing audio battles.

[0063] A computer-readable storage medium stores a computer program, which implements the above-mentioned audio battle processing method when the computer program is executed on a computing device.

[0064] The technical solution described in the present application is that after the first client obtains the information of the first audio selected by the first opponent and the information of the second audio selected by the second opponent on the second client, it outputs the battle order, and when the second client obtains the second battle audio data in real time, it displays the second battle audio data in real time, so that one party can obtain the battle audio data of the other party in real time, and after the first client and the second client obtain the first battle audio data and the second battle audio data respectively, the victory or defeat of the battle result is output to indicate the opponent based on the audio battle data of the two opponents. It can be seen that the online real-time challenge of the opponents is realized and the function of the client is expanded. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] 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 of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0066] Figure 1 A flowchart of a method for processing an audio battle disclosed in an embodiment of the present application;

[0067] Figure 2 A flowchart of another method for processing audio battles disclosed in an embodiment of the present application;

[0068] Figure 3 A flowchart of another method for processing audio battles disclosed in an embodiment of the present application;

[0069] Figure 3a This is an example diagram of the audio database selection interface disclosed in the embodiment of the present application;

[0070] Figure 3b This is an example diagram of the opponent matching interface disclosed in the embodiment of the present application;

[0071] Figure 3c This is an example diagram of the audio selection interface disclosed in the embodiment of the present application;

[0072] Figure 3d This is an example diagram of the audio display interface disclosed in the embodiment of the present application;

[0073] Figure 3e This is an example diagram of the battle sequence interface disclosed in the embodiment of the present application;

[0074] Figure 3f This is an example diagram of the real-time battle interface disclosed in the embodiment of the present application;

[0075] Figure 3g This is an example diagram of the battle result interface disclosed in the embodiment of the present application;

[0076] Figure 4 A schematic diagram of the structure of an audio battle client disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0077] The technical solution disclosed in the embodiment of the present application is implemented by a client, and the client can run on a terminal. Specifically, the terminal is an electronic device with at least audio acquisition and data processing functions, and the electronic device can be a smart phone, a tablet computer, a music player, a portable personal computer or a desktop computer, etc.

[0078] Optionally, the client can be connected to the backend server via a wired or wireless network. The backend server is used to provide computing power support, storage functions, etc. for the client.

[0079] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0080] Figure 1 A method for processing an audio battle disclosed in an embodiment of the present application is described by taking an online real-time singing battle as an example, and from the perspective of the interaction between each client and server. Figure 1 The method shown comprises the following steps:

[0081] S101: A first client is bound to a first user, and a second client is bound to a second user.

[0082] Specifically, the user can register with the client running on the terminal he holds to achieve binding with the client. For example, the user can register with the client on the mobile phone using the mobile phone number. The specific implementation method can be found in the prior art and will not be repeated here.

[0083] It can be understood that in this embodiment, "binding" does not only refer to the establishment of a narrow corresponding relationship such as "registration", but can also be the establishment of a broad corresponding relationship. For example, although the user has not registered on the client, the user uses the client as a visitor, which can also be regarded as the binding between the user and the client.

[0084] In summary, in this embodiment, the user using the client is referred to as the bound user of the client for convenience of the following description.

[0085] S102: The first client receives a target music library selected by a first user from the candidate music libraries, and the second client receives a target music library selected by a second user from the candidate music libraries.

[0086] Among them, the alternative music library is a preset music library. The setting method of the alternative music library can refer to the existing technology and will not be repeated here.

[0087] Optionally, the alternative music library may be stored in a server, and after receiving a request from a client, the server sends information about the alternative music library, and the client displays the information about the alternative music library.

[0088] S103: The first client and the second client send battle requests to the server respectively.

[0089] The battle request includes an identifier of the target music library. Taking the first client and the first user as an example, the battle request sent by the first client may also include strength information of the first user, which is used to indicate the strength of the first user. The strength information may be a strength score, etc. The method for obtaining the strength information may refer to the prior art, for example, it may be calculated based on the historical challenge score and online time of the first user, and will not be described in detail here.

[0090] S104: The server confirms that the target music library selected by the second user is the same as that selected by the first user, matches the first user and the second user as opponents, and sends the second user's information to the first client and sends the first user's information to the second client.

[0091] It is understandable that, in practice, it is possible that more than two bound users of the client have selected the same target music library. In this embodiment, optionally, the server randomly matches the opponent among the multiple users who have selected the same target music library. Alternatively, if the battle request includes strength information, the server can use both the strength information and the target music library as the basis for matching.

[0092] In the following steps, for the sake of ease of description, after the matching of the opponents is completed, the first user is referred to as the first opponent, and the second user is referred to as the second opponent.

[0093] S105: The first client and the second client respectively output the battle songs in the target music library, and start the timer to start timing.

[0094] Among them, the battle tracks in the target music library can be preset. Optionally, in this embodiment, the battle tracks can be intercepted segments of songs, the purpose is to reduce the singing time of the two battle parties, making the battle process short and fast.

[0095] Optionally, multiple battle tracks can be set and displayed in various existing ways, such as display list, swipeable display, etc.

[0096] S106: The first client uses the battle song selected by the first opponent within the preset timing range of the timer as the battle audio of the first opponent (referred to as the first audio). The second client uses the battle song selected by the second opponent within the preset timing range of the timer as the battle audio of the second opponent (referred to as the second audio).

[0097] Specifically, the timing range may be 20 seconds, that is, when the timer counts to 20 seconds, it is the preset timing range.

[0098] It is understandable that it is possible that the opponent has not selected the battle audio within the preset timing range. Taking the first client as an example, in this case, the first client uses the default battle track as the battle audio of the first opponent. The default battle track can be the currently displayed battle track, for example, in the case of a slidable display, the battle track currently slid to the display interface for display and playback, or the battle track with the lowest difficulty coefficient or the first battle track in the list, etc.

[0099] It is understandable that the battle songs selected by the first opponent and the second opponent may be the same or different.

[0100] S107: After the first client and the second client communicate with each other and bind the battle audio selected by the user, the battle order of the first opponent and the second opponent is outputted respectively.

[0101] Optionally, the first client and the second client may communicate with each other via the server for battle audio, or may communicate with each other directly for battle audio.

[0102] The battle order is used to indicate the order in which the first battle party and the second battle party input the battle audio data. The battle audio data refers to the data input based on the selected battle audio. In combination with the singing challenge scenario, the battle audio data is the audio data of the singing battle track input by the user.

[0103] Optionally, the battle order can be determined randomly or according to existing rules, which is not limited in this embodiment. However, no matter which method is used, the first client and the second client need to reach a consensus through negotiation.

[0104] The first opponent and the second opponent take turns inputting the battle audio data, that is, the first opponent and the second opponent take turns singing.

[0105] S108: According to the battle order, the client obtains the battle audio data of the bound opponent in real time.

[0106] S109: When the first client receives the real-time battle audio data of the second opponent sent by the second client, the first client outputs the battle audio data and matching degree information of the second opponent in real time. When the second client receives the real-time battle audio data of the first opponent sent by the first client, the second client outputs the battle audio data and matching degree information of the first opponent in real time.

[0107] The purpose of outputting the battle audio data of the bound user of the other client is to enable the local bound user to hear the singing of the other challenger. It should be noted that the battle audio data of the bound user of the other client is sent directly by the other client or forwarded through the server, and the battle data of the bound user of this client is collected by the audio collection device on the terminal of this client.

[0108] The matching degree information is used to indicate the matching degree between the battle data and the battle content. Taking the first opponent as an example, the matching degree information indicates the matching degree between the battle audio data of the first opponent and the first audio of the first opponent. Specifically, the matching degree information can be an existing information type such as the real-time difference between the input audio and the standard pitch. It can be seen that the matching degree information allows the opponent to see the singing level of the other party.

[0109] S110: After completing the acquisition of the challenge audio data of the opponent, the first client and the second client respectively display the victory and defeat information of the bound user and the bound user of the opponent's client.

[0110] Optionally, in addition to displaying the victory and defeat information of each opponent, the scores of each opponent can also be displayed to make the victory and defeat information more convincing. The specific scoring method is not limited.

[0111] Optionally, in order to increase excitement and fun, taking the first client as an example, after the other party finishes singing, part of the other party's score can be displayed on the first client, and after a certain delay, the other party's score and victory or defeat information can be displayed together.

[0112] Figure 1 The process shown has the following benefits:

[0113] 1. Both parties in the battle are online users, and they take turns to sing in the battle order, thus realizing online real-time singing battles, thereby expanding the functions of the singing application.

[0114] 2. During the singing of any opponent, other opponents can listen to the singing, and further, they can see the real-time matching information between the singing and the selected song clip, which can enhance the fun. However, the winning and losing information of the challenge cannot be known during the singing of the opponent, but only after the opponent has finished singing, making the challenge process more smooth and exciting.

[0115] 3. Use song clips to make the challenge quick and short, further increasing the fluency and excitement.

[0116] 4. The challengers are of similar strength and choose the same music library, which increases the unpredictability of the challenge results and further increases the excitement and fun of the challenge.

[0117] Figure 1 The process shown can be applied not only to singing battle scenes, but also to other audio battle scenes such as recitation battles. Furthermore, it can be extended from audio battles to video battles. Moreover, the number of opponents is not limited to two, but can be greater than two. Moreover, the functions of any client bound by a user are the same. Therefore, Figure 1 The process shown can be summarized as Figure 2 The audio battle processing method shown is applied to any client (for the convenience of description, hereinafter referred to as the first client, and other clients different from the client are called second clients, and the second clients may be one or more). Figure 2 The method shown comprises the following steps:

[0118] S201: After obtaining information about a first audio selected by a first opponent and information about a second audio selected by a second opponent on a second client, output a battle order.

[0119] The first audio may include audio and video, and an example of the first audio may be the battle audio selected by the first user as described in the above embodiment.

[0120] Specifically, after the first client determines that all the opponents have selected the audio, it negotiates with the second client (which may also include the server) to output the battle order of all the opponents. It should be emphasized that as long as the online users participating in the battle are all opponents, the first client will output the battle order and proceed with the subsequent process only after all the opponents have selected the audio, so as to avoid the opponents from temporarily modifying the battle content, thereby improving the fluency, excitement and fun of the battle.

[0121] After the first client learns the battle sequence of the first opponent, it obtains the battle audio data input by the first opponent according to the battle sequence. It should be noted that in this embodiment, there is no "simultaneous" in the sequence, that is, at the same time, only one opponent can input battle audio data.

[0122] Optionally, before outputting the battle order, the first client further outputs prompt information of candidate audios and a preset time range, and uses the candidate audio selected by the first opponent within the preset time range as the first audio.

[0123] Optionally, there may be multiple candidate audios, and the first client outputs multiple candidate audios in sequence. If no instruction from the first opponent to select a candidate audio is received within a preset time range, the currently output candidate audio is used as the first audio.

[0124] Optionally, the candidate audio is an audio clip whose duration does not exceed a preset threshold. For example, in a singing battle scenario, the candidate audio is an excerpt of a song, and in a recitation battle scenario, the candidate audio can be an excerpt of a prose or a poem, etc. The purpose is to make the battle process short and fast.

[0125] Optionally, the candidate audio is included in a preset audio database, and the first client may also obtain the audio database selected by the first opponent before outputting the candidate audio and prompt information of the preset duration range.

[0126] The second opponent is a user selected from online users who have selected the same audio database. Optionally, the opponent matching method is: the first client obtains the second opponent of the first opponent from the server. The method in which the server matches the first opponent and the second opponent can refer to the above embodiment.

[0127] Specifically, the opponents are online users who meet the preset conditions, and the preset conditions at least include the same selected audio database and / or similar strength. The audio database is set according to different scenarios. For example, in the singing battle scenario, the audio database includes a library of songs of different styles, and in the recitation battle scenario, the audio database may include different types of text libraries, such as modern prose, Tang poetry, etc.

[0128] S202: When the second client obtains the second battle audio data in real time, the first client displays the second battle audio data in real time.

[0129] Because the battle sequence allows only one opponent to input battle data at the same time, any client can only receive battle audio data sent by one other client at the same time.

[0130] The purpose of outputting the battle audio data is to enable any opponent to obtain, see and hear the battle audio data of other opponents.

[0131] Optionally, in addition to outputting the battle audio data, the first client may also output matching degree information of the battle audio data. Taking the second battle audio data as an example, the matching degree information is used to indicate the matching degree between the second battle audio data and the second audio. Examples of matching degree information can be found in the above embodiments, which will not be repeated here.

[0132] S203: After the first client and the second client obtain the first battle audio data and the second battle audio data respectively, output a battle result indicating the victory or defeat of the first opponent and the second opponent according to the first battle audio data and the second battle audio data.

[0133] The battle result is used to indicate the victory or defeat of all the opponents. For example, the battle result may include the ranking of all the opponents, or the information of a winning opponent.

[0134] Specifically, the battle result may also include the scores of all the opponents. The scoring method can refer to the prior art and will not be described in detail here.

[0135] Optionally, the way to display the scores may be: outputting partial digits of the scores of the first opponent and the second opponent, and outputting the battle result indicating the victory or defeat of the first opponent and the second opponent, the battle result at least including the score of the second opponent. That is, first outputting the score of the local opponent and the incomplete score of the opponent, and then outputting the complete scores of all opponents, so as to increase the excitement of the battle.

[0136] Optionally, after receiving a re-battle instruction triggered by the first opponent, a re-battle request is sent to the second client, and after receiving a re-battle response instruction triggered by the second opponent sent by the second client, the audio battle process between the first opponent and the second opponent is executed again, that is, Figure 1 or Figure 2 The process described in the embodiment.

[0137] Figure 2 In the process shown, any client responds to the battle content selected by the online opponent, outputs the battle order, responds to the battle data of other clients, outputs the battle data input in real time by other opponents, and finally outputs the battle result determined based on the battle data of the opponent, thereby realizing online real-time challenge of the opponent, expanding the function of the client, and making the challenge process interesting.

[0138] For the server, the process corresponding to the above-mentioned client is: after receiving the information of the audio selected by the client bound to each opponent, send the battle order to the client bound to each opponent, and the battle order at least indicates the order in which each client obtains the battle audio data input by the bound opponent. After receiving the battle audio data of the client currently receiving the battle audio data, send the battle audio data to other clients for real-time display. After the clients bound to each opponent complete the acquisition of their respective battle audio data, display the battle results on each client, and the battle results are obtained at least based on the battle audio data input by each client.

[0139] Optionally, before receiving the information of the audio selected by the client bound to each opponent, each opponent may be selected from the online users according to the audio database selected by the online users bound to each client.

[0140] The technical solution described in the above embodiment will be explained from the perspective of the user interaction interface of the client.

[0141] Figure 3 A method for processing an audio challenge disclosed in an embodiment of the present application, with any client, namely, the first client, as the execution subject, includes the following steps:

[0142] S301: After starting and entering the online battle mode, the audio database selection interface is displayed.

[0143] The first client starts and enters the online battle mode, which may be triggered by an interactive operation between the first user and the first client, and will not be described in detail here.

[0144] The audio database selection interface displays the preset audio database. Figure 3aAs shown, the preset audio databases included in the audio database selection interface are: annual hot songs, memories of the post-90s generation, etc. Figure 3a In the example, each audio database is displayed in the form of a pressable control. After the first user presses the pressable control of a certain audio database, the first client considers that the first user has selected the audio database corresponding to the control. Figure 3a The audio database is presented in the form of an example only. In practice, the audio database may also be presented in the form of other controls such as a drop-down menu.

[0145] Optional, Figure 3a In the audio database selection interface, the information of the bound user of the first client (ie, the first user) is also included. Figure 3 The username and winning rate of the first user are taken as an example.

[0146] S302: In response to the first user selecting an audio database on the audio database selection interface, jump to the opponent matching interface.

[0147] Figure 3a In the example, assuming that the first user clicks on the "Hot Song of the Year" control, the first client jumps to the opponent matching interface.

[0148] Specifically, the method for determining the displayed content in the opponent matching interface is as follows:

[0149] The first client receives the identifier of the opponent sent by the server, and displays the information of all the opponents on the opponent matching interface.

[0150] Figure 3b In the opponent matching interface, the avatars of all opponents (taking the first opponent and the second opponent as an example) are displayed. Optionally, a prompt "Matching successful! Prepare to compete!" is also displayed.

[0151] Optionally, if no information is received from the opponent, a prompt indicating that the opponent is being matched is displayed. An example of the prompt is as follows: Figure 3b As shown in the figure “We are matching you with an evenly matched opponent…” Optionally, a “Cancel Matching” control may also be displayed, and after the first opponent clicks this control, the matching process is exited.

[0152] S303: Displaying an audio selection interface.

[0153] The audio selection interface includes preset candidate audio display controls and selection controls. Figure 3c For example, a slidable song clip (i.e., a candidate audio display control) is displayed in the audio selection interface, and the user can slide left and right to display each song clip. Optionally, the candidate audio that is slid to the audio selection interface is used as the first audio selected by the first user, and the selected first audio can be played in the audio selection interface.

[0154] The first client determines the first audio selected by the first user from the candidate audios in response to the interaction operation between the first user and the selection control. Figure 3c For example, a selection control is displayed below a slidable song clip. After the user presses the selection control, the first client determines that the first user has selected the candidate audio displayed on the audio selection interface: "Country Road" as the first audio.

[0155] Optionally, the audio selection interface may also display the first user's information ( Figure 3 , taking avatar as an example), and the preset time range ( Figure 3c Countdown information (taking 20s as an example).

[0156] Of course, there is no limitation on the display method of the preset candidate audio and the specific form of the selection control.

[0157] S304: In response to obtaining the first audio selected by the first user and the second audio selected by the second user on the second client, jump from the audio selection interface to the audio display interface.

[0158] The audio display interface displays the audio selected by the first user. Figure 3d As shown, the audio display interface displays a song clip of "Country Road" selected by the first user.

[0159] Optionally, in response to obtaining the audio of the second user sent by the second client, the first client further displays the second audio of the second user on the audio display interface. The second audio of the second user is, for example, Figure 3d "Blue and White Porcelain" in.

[0160] Alternatively, optionally, when the second client does not send the second audio, a prompt is displayed indicating that the second opponent is selecting the audio. Figure 3d The second opponent's avatar and the prompt text "Selecting song..." are shown in the figure.

[0161] S305: In response to the audios selected by the first opponent and the second opponent respectively, displaying a battle order interface.

[0162] Specifically, the first client may jump to the battle order interface after displaying the preset audio durations selected by all opponents.

[0163] Figure 3e It is a specific form of battle order interface, including a rotatable pointer. By showing the rapid rotation of the pointer, it is reflected that the battle order is being determined, and by showing the direction of the pointer from rotation to stillness, it is reflected that the opponent who sings first.

[0164] S306: In response to the first client acquiring the second battle audio data, the first client displays a real-time battle interface and outputs the second battle audio data on the real-time battle interface.

[0165] by Figure 3f For example, outputting the second battle audio data includes: playing the audio data in the second battle audio data, and displaying the text data in the second battle audio data, that is, lyrics.

[0166] Optionally, the real-time battle interface may also output: matching information of the second battle audio data; the matching degree information of the second battle audio data is used to indicate the matching degree between the second battle audio data and the second audio. Figure 3f In the process, the high-low lines, the position of the points on the high-low lines, and the instantaneous score are used as the matching degree information.

[0167] Optionally, in response to obtaining the first battle audio data, the first client further displays matching degree information of the first battle audio data in the real-time battle interface.

[0168] Optionally, after the first client completes the acquisition of the first battle audio data, that is, after the first user finishes singing, the score of the first user is also displayed in the real-time battle interface. Figure 3f The score of the other opponents is not shown.

[0169] S307: After the acquisition of the battle audio data is completed, a battle result interface is displayed, in which the battle result output based on the battle data is displayed, and the battle result is used to indicate the victory or defeat of the opponent.

[0170] Optionally, the score of the first opponent and part of the score of the second opponent can be displayed in the battle result interface first, and then the score of the first opponent and the score of the second opponent can be displayed together to increase the excitement and fun of the battle. Optionally, while displaying the score of the first opponent and the score of the second opponent, positive and negative prompt information can also be displayed.

[0171] Optionally, the battle result interface may also display a trigger control for continuing the battle, such as Figure 3g The "One More!" controls shown in .

[0172] Figure 3 In the process shown, the client displays different interfaces to the user, guides the user to realize online real-time battle, expands the specific implementation method of the battle, and makes the battle process smoother through the jump and connection between each interface, and makes the battle process more exciting and interesting through the content display of each interface.

[0173] It should be noted that Figure 3In the process, S301-S304 are optional steps, that is, the present application does not limit the method of triggering the battle order interface. In addition to S301-S304, other methods can also be used to select opponents, such as initiating a battle between friends, and other methods can also be used to obtain battle content, such as voice input of song names, etc.

[0174] It should be noted that Figure 3a-3g All of them take one-on-one battles as an example, but Figure 3 The process shown is not limited to one-on-one battles. When the number of opponents is greater than two, the display method of the information of the multiple opponents in each interface can refer to the display method of one-on-one battles.

[0175] The present application also discloses an audio battle client. Figure 3 The interface shown is summarized as controls.

[0176] Figure 4 The client of an audio battle disclosed in the embodiment of the present application includes: an audio selection control 41, a battle order control 42, a real-time battle control 43 and a battle result control 44. Optionally, it may also include: an audio database selection control 40.

[0177] The audio database selection control 40 is used for the first opponent to select an audio database, and the audio data includes candidate audios in the database.

[0178] Optionally, the audio database selection control 40 includes: an audio database selection interface, the display content and display method in the interface can be referred to Figure 3a shown.

[0179] The audio selection control 41 is used for the first opponent to select the first audio information.

[0180] Optionally, audio selection controls 41 (eg Figure 3c ) includes: an audio selection interface, a candidate audio display control, and a selection control.

[0181] The audio selection interface is used to display prompt information of a preset duration range.

[0182] The candidate audio display control is used to display candidate audio by means of sliding display or the like.

[0183] The selection control is used to select the candidate audio selected by the first user within a preset time range as the first audio.

[0184] The audio selection control is also used to: if no instruction to select the candidate audio through the selection sub-control is received within a preset time range, use the currently output candidate audio as the first audio.

[0185] The battle order control 42 is used to output the battle order after the first opponent selects the information of the first audio and the second opponent selects the information of the second audio on other clients.

[0186] The battle order control 42 is specifically used to: display the identification information of the first opponent and the identification information of the second opponent, display the pointer from rotating to static, the static pointer points to the identification information of the first opponent and the second opponent, which inputs the battle audio data first. For example, the battle order control 42 includes Figure 3e The battle order interface and pointer controls are shown.

[0187] The real-time battle control 43 is used to display the second battle audio data in real time when other clients obtain the second battle audio data in real time.

[0188] Optionally, the real-time battle control 43 is also used to: when other clients obtain the second battle audio data in real time, output the matching degree information between the second battle audio data and the second audio; and / or, when obtaining the first battle audio data of the first opponent in real time, output the matching degree information between the first battle audio data and the first audio. Specifically, the real-time battle control may include the following: Figure 3f The real-time battle interface shown.

[0189] The battle result control 44 is used to output the battle result indicating the victory or defeat of the first battle party and the second battle party after the audio battle client and other clients respectively obtain the first battle audio data and the second battle audio data, and the battle result is obtained based on the first battle audio data and the second battle audio data. Specifically, the battle result control may include Figure 3g The battle result interface shown.

[0190] Optionally, the battle result control 44 is specifically used to: output the score of the first opponent and partial digits of the score of the second opponent; output the battle result indicating the victory or defeat of the first opponent and the second opponent, and the battle result at least includes the score of the second opponent.

[0191] Optionally, the battle result control 44 is also used to: when the other client obtains the second battle audio data in real time, output the matching degree information between the second battle audio data and the second audio; and / or, when the first battle audio data of the first opponent is obtained in real time, output the matching degree information between the first battle audio data and the first audio.

[0192] Optionally, the battle result control 44 is further used to: display a sub-control for the first opponent to trigger a re-battle instruction.

[0193] Figure 4 The client shown can guide users to conduct online real-time audio battles based on controls, which is richer than existing clients.

[0194] The embodiment of the present application also discloses an audio battle processing device, including a memory and a processor. The memory is used to store a program, and the processor is used to run the program to implement the audio battle device method described in the above embodiment.

[0195] The embodiment of the present application also discloses a computer-readable storage medium, and when the computer program is executed on a computing device, the device method for audio battle described in the above embodiment is implemented.

[0196] If the functions described in the method of the embodiment of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0197] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0198] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing audio battles, It is characterized in that include: After obtaining information of a first audio selected by a first opponent on a first client and information of a second audio selected by a second opponent on a second client, outputting a battle order in the first client and the second client, the battle order indicating a sequence in which the first client obtains the first battle audio data of the first opponent and the second client obtains the second battle audio data of the second opponent; The first client and the second client successively obtain the battle audio data of the respective bound opponents according to the acquisition order indicated in the battle order; When the second client obtains the second battle audio data in real time, the second battle audio data is displayed in real time in the first client; When the first client obtains the first battle audio data in real time, the second client displays the first battle audio data in real time; After the first client and the second client obtain the first battle audio data and the second battle audio data respectively, a battle result indicating the victory or defeat of the first opponent and the second opponent is output based on the first battle audio data and the second battle audio data.

2. The method according to claim 1, It is characterized in that Also includes: When the second client obtains the second battle audio data in real time, outputting the matching degree information between the second battle audio data and the second audio; and / or, When the first battle audio data of the first opponent is acquired in real time, the matching degree information between the first battle audio data and the first audio is output.

3. The method according to claim 1, It is characterized in that Before outputting the battle order in the first client and the second client, the method further includes: Outputting prompt information of candidate audio and preset duration range in the first client and the second client; The candidate audio selected by the first opponent within the preset time range is used as the first audio.

4. The method according to claim 3, It is characterized in that The output candidate audio includes: Outputting a plurality of candidate audios in sequence; The method further comprises: If no instruction is received from the first opponent to select the candidate audio within the preset time period, the candidate audio currently being output is used as the first audio.

5. The method according to claim 3, It is characterized in that The candidate audios include: Audio clips whose duration does not exceed the preset threshold.

6. The method according to claim 3, It is characterized in that Before outputting the candidate audio and the prompt information of the preset duration range, the method further includes: Acquire an audio database selected by the first opponent, wherein the audio database includes the candidate audio; At least one user selected from online users in the audio database is selected as the second opponent.

7. The method according to claim 1, It is characterized in that The output indicates a battle result of the first opponent and the second opponent, including: Outputting the score of the first opponent and part of the score of the second opponent; After a preset delay, the battle result indicating the victory or defeat of the first opponent and the second opponent is output, and the battle result at least includes all the digits of the score of the second opponent.

8. The method according to claim 1, It is characterized in that After outputting the battle result indicating the victory or defeat of the first opponent and the second opponent, the method further includes: After receiving the re-battle instruction triggered by the first opponent, sending a re-battle request to the server with the second client; After receiving the re-battle response instruction sent by the server and triggered by the second opponent, the audio battle process between the first opponent and the second opponent is executed again.

9. An audio battle client, It is characterized in that include: An audio selection control, used for the first opponent to select information of the first audio on the first client; A battle order control, used for outputting a battle order after the first opponent selects the information of the first audio on the first client and the second opponent selects the information of the second audio on other clients, wherein the battle order indicates the order in which the client of the audio battle obtains the first battle audio data of the first opponent and the other clients obtain the second battle audio data of the second opponent; A real-time battle control, used to enable different clients to successively obtain the battle audio data of their respective bound opponents in accordance with the acquisition sequence indicated in the battle sequence; when the other clients obtain the second battle audio data in real time, the second battle audio data is displayed in real time in the first client; when the first client obtains the first battle audio data in real time, the first battle audio data is displayed in real time in the other clients; A battle result control is used to output a battle result indicating the victory or defeat of the first battle party and the second battle party after the client of the audio battle and the other clients respectively obtain the first battle audio data and the second battle audio data, and the battle result is obtained based on the first battle audio data and the second battle audio data.

10. The audio battle client according to claim 9, It is characterized in that The battle result widget is also used for: When the other client obtains the second battle audio data in real time, the matching degree information between the second battle audio data and the second audio is output; and / or, when the first battle audio data of the first opponent is obtained in real time, the matching degree information between the first battle audio data and the first audio is output.

11. The audio battle client according to claim 9, It is characterized in that Audio selection controls include: Candidate audio selection interface, candidate audio display controls and selection controls; The audio selection interface is used to display prompt information of a preset duration range; The candidate audio display control is used to display the candidate audio; The selection control is used to use the candidate audio selected by the first opponent within the preset duration as the first audio; The audio selection controls are also used to: If no instruction to select the candidate audio through the selection control is received within the preset time range, the candidate audio currently being output is used as the first audio.

12. The audio battle client according to claim 11, It is characterized in that Also includes: An audio database selection control is used for the first opponent to select an audio database, and the audio database includes the candidate audio.

13. The audio battle client according to claim 9, It is characterized in that The battle result control is specifically used for: Outputting the score of the first opponent and part of the score of the second opponent; The battle result indicating the victory or defeat of the first opponent and the second opponent is output, and the battle result at least includes all digits of the score of the second opponent.

14. The audio battle client according to claim 13, It is characterized in that The battle result control is also used for: A sub-control is displayed for the first opponent to trigger a re-battle instruction.

15. The audio battle client according to claim 9, It is characterized in that The battle order control is specifically used for: Displaying identification information of the first opponent and identification information of the second opponent; A pointer that changes from rotating to being stationary is displayed, and the stationary pointer points to the identification information of the first opponent and the second opponent that first inputs the battle audio data.

16. A method for processing audio battle, applied to a server, It is characterized in that include: After receiving the information of the audio selected by the client bound to each opponent, sending a battle order to the client bound to each opponent, the battle order at least indicates the order in which each client obtains the battle audio data input by the bound opponent; According to the acquisition order indicated in the battle order, the battle audio data of the respective bound opponents are successively acquired from each client; After receiving the battle audio data from the client currently receiving the battle audio data, sending the battle audio data to other clients for real-time display; After the clients bound to the respective opponents complete the acquisition of their respective battle audio data, the battle results are displayed on the respective clients, and the battle results are acquired at least based on the battle audio data input by the respective clients.

17. The method according to claim 16, It is characterized in that Before receiving the information of the audio selected by the client bound to each opposing party, the method further includes: Each opponent is selected from the online users according to the audio database selected by the online users bound to each of the clients.

18. An audio battle processing device, It is characterized in that It includes a memory and a processor; the memory is used to store programs, and the processor is used to run the programs to implement the audio battle processing method described in any one of claims 1-8 or 16-17.

19. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed on a computing device, the method for processing the audio battle described in any one of claims 1-8 or 16-17 is implemented.

Citation Information

Patent Citations

  • Construction method of network karaoke system

    CN103050114A

  • Singing ranking method and device

    CN104537011A

  • Challenge song recording method and device

    CN106571151A

  • Battle method, device and equipment in live broadcast system and storage medium

    CN110300311A

  • Anchor fighting system and method, and audio and video processing method and device, and equipment

    CN110602520A