Audio data processing method and device for game interaction, equipment and medium
Patent Information
- Application Number
- CN202310450389.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2043-04-20
AI Technical Summary
[0062]本公开通过显示游戏界面,并在游戏界面中显示当前登录的第一用户所对应的第一虚拟形象,在游戏界面中还包括第二用户所对应的第二虚拟形象的情况下,可以响应于第一用户和/或第二用户通过第一虚拟形象与第二虚拟形象所执行的指定交互动作,获取目标音频数据的音频播放信息,以基于音频播放信息向第二用户对应的第二终端发送同步播放指令,以使第一用户和第二用户可以分别通过第一终端和第二终端同步收听目标音频数据,使得不同用户可以在游戏应用中共同收听音频数据,增加游戏过程中的互动方式,提高游戏应用中互动方式的多样性。
Smart Images

Figure CN116510299B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this disclosure relate to the field of computer technology, and more specifically, the embodiments of this disclosure relate to an audio data processing method, apparatus, device, and medium for game interaction. Background Technology
[0002] This section is intended to provide background or context for embodiments of this disclosure. The description herein is not intended to imply that it is prior art simply because it is included in this section.
[0003] With the rapid development of the gaming industry, various types of game software have emerged, and game content has become increasingly rich, providing gamers with an increasingly diverse virtual world. Game interaction, as a crucial element of games, allows players to interact with the in-game environment, characters, and items. Furthermore, players can interact with other users within the game, allowing for greater immersion and enhancing the game's fun and replayability.
[0004] Currently, players can only interact with other users in the game through chat, making the interaction methods relatively limited. Summary of the Invention
[0005] In this context, embodiments of the present disclosure aim to provide an audio data processing method, apparatus, device, and medium for game interaction, thereby increasing the interactive aspects of the game process.
[0006] In a first aspect of this disclosure, an audio data processing method for game interaction is provided, applied to a first terminal, the method comprising:
[0007] The game interface is displayed, which includes the first virtual avatar of the first user who is currently logged in.
[0008] In the case where the game interface also includes a second virtual avatar corresponding to the second user, in response to the specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, the audio playback information of the target audio data is obtained;
[0009] Based on the audio playback information, a synchronous playback instruction is sent to the second terminal corresponding to the second user. The synchronous playback instruction is used to instruct the second terminal to synchronously play the target audio data with the first terminal.
[0010] In one embodiment of this disclosure, in response to a specified interactive action performed by a first user and / or a second user through a first virtual avatar and a second virtual avatar, audio playback information of the target audio data is obtained, including:
[0011] In response to the first user's interactive actions in the game interface, an invitation interface is displayed. The invitation interface is used to provide the function of inviting other users to listen to the audio data together with the first user.
[0012] In response to the first user's interactive operation on the invitation interface, obtain the audio playback information of the target audio data.
[0013] In one embodiment of this disclosure, in response to an interactive operation by a first user in the game interface, an invitation interface is displayed, including:
[0014] In response to the first user's triggering action on the second virtual avatar in the game interface, the invitation control corresponding to the second virtual avatar is displayed;
[0015] In response to the first user's trigger action on the invitation control, the invitation interface is displayed.
[0016] In one embodiment of this disclosure, in the game interface, a marker is displayed on a second virtual image whose distance from the first virtual image meets a preset distance condition;
[0017] In response to the first user's triggering action on the second virtual avatar in the game interface, an invitation control corresponding to the second virtual avatar is displayed, including:
[0018] In response to the first user's triggering action on the second virtual avatar with tagged information, the invitation control corresponding to the second virtual avatar is displayed.
[0019] In one embodiment of this disclosure, an invitation control is provided in the game interface;
[0020] In response to the first user's interaction with the game interface, an invitation screen is displayed, including:
[0021] In response to the first user's triggering action on the invitation control, display at least one second user;
[0022] In response to a first user's selection of at least one second user, an invitation interface is displayed based on the selected second user.
[0023] In one embodiment of this disclosure, the invitation interface is used to display at least one alternative audio data;
[0024] In response to the first user's interactive actions on the invitation interface, obtain the audio playback information of the target audio data, including:
[0025] In response to a first user's selection operation in at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
[0026] In one embodiment of this disclosure, sending a synchronized playback instruction to a second terminal corresponding to a second user based on audio playback information includes:
[0027] Based on the audio playback information, an invitation message is sent to the second terminal. The invitation message is used to invite the second user to listen to the target audio data together with the first user.
[0028] Upon receiving the consent invitation from the second user, a synchronous playback instruction is sent to the second terminal.
[0029] In one embodiment of this disclosure, a target scene area is provided in the game interface;
[0030] In response to a specified interactive action performed by a first user and / or a second user through a first virtual avatar and a second virtual avatar, audio playback information of the target audio data is obtained, including:
[0031] In response to the first user controlling the first virtual avatar to arrive at the target scene area, audio playback information of the target audio data is obtained.
[0032] In one embodiment of this disclosure, in response to a first user controlling a first virtual avatar to reach a target scene area, acquiring audio playback information of the target audio data includes:
[0033] In response to the first user controlling the first virtual avatar to enter the target scene area, an audio selection interface is displayed, which is used to display at least one alternative audio data.
[0034] In response to a first user's selection operation in at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
[0035] In one embodiment of this disclosure, sending a synchronized playback instruction to a second terminal corresponding to a second user based on audio playback information includes:
[0036] In response to the second user controlling the second virtual avatar to enter the target scene area, a synchronous playback command is sent to the second terminal corresponding to the second user based on the audio playback information.
[0037] In one embodiment of this disclosure, after sending a synchronized playback command to the second terminal corresponding to the second user based on audio playback information, the method further includes:
[0038] Based on the distance between the first and second virtual avatars, display the "Listen Together" icon;
[0039] Specifically, when the distance between the first virtual avatar and the second virtual avatar is less than a set distance threshold, the "Listen Together" icon will be displayed in the first set form; when the distance between the first virtual avatar and the second virtual avatar is greater than or equal to the set distance threshold, the "Listen Together" icon will be displayed in the second set form.
[0040] In one embodiment of this disclosure, after obtaining audio playback information of the target audio data in response to a specified interactive action performed by a first user and / or a second user through a first virtual avatar and a second virtual avatar, the method further includes:
[0041] Obtain the target audio data through a preset interface;
[0042] Play the acquired target audio data in the game application corresponding to the game interface.
[0043] In one embodiment of this disclosure, after sending a synchronized playback command to the second terminal corresponding to the second user based on audio playback information, the method further includes:
[0044] Based on the target audio data, an audio playlist is displayed in the game interface, and playback progress adjustment controls are displayed in the audio playlist;
[0045] In response to a trigger action on the playback progress adjustment control, the playback progress of the target audio data is adjusted.
[0046] In one embodiment of this disclosure, the method further includes:
[0047] In response to receiving an update instruction for an audio playlist, the target audio data in the audio playlist is updated, wherein the update instruction is generated based on an audio editing operation performed by a first user on a first terminal, and / or, the update instruction is generated based on an audio editing operation performed by a second user on a second terminal.
[0048] In one embodiment of this disclosure, after sending a synchronized playback instruction to the second terminal corresponding to the second user based on audio playback information, the method further includes at least one of the following:
[0049] Display information display controls in the game interface. The information display controls are used to display at least one of the following: the distance between the first user and the second user, the amount of audio data listened to together, and the duration of the audio data listened to together.
[0050] Display a feedback control in the game interface. The feedback control is used to display the target effect in the game interface when it is triggered.
[0051] A chat control is displayed in the game interface. The chat control is used to display the chat interface when it is triggered. The chat interface is used to provide chat functionality for the first user and the second user.
[0052] An exit control is displayed in the game interface. The exit control is used to provide the first user with the function of ending the process of listening to audio data together with the second user.
[0053] In one embodiment of this disclosure, the method further includes:
[0054] In response to the exit control being triggered, an information viewing control is displayed. The information viewing control is used to provide the first user with the ability to view statistical information during the shared listening process of this audio data.
[0055] In a second aspect of this disclosure, an audio data processing apparatus for game interaction is provided, applied to a first terminal, the apparatus comprising:
[0056] The display module is used to display the game interface, which includes the first virtual avatar corresponding to the first user who is currently logged in.
[0057] The acquisition module is used to acquire audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual image and the second virtual image, when the game interface also includes a second virtual image corresponding to the second user;
[0058] The sending module is used to send a synchronous playback instruction to the second terminal corresponding to the second user based on the audio playback information. The synchronous playback instruction is used to instruct the second terminal to synchronously play the target audio data with the first terminal.
[0059] In a third aspect of the present disclosure, a terminal is provided, the terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to perform the operations performed by the audio data processing method for game interaction provided in the first aspect and any embodiment of the first aspect.
[0060] In a fourth aspect of this disclosure, a computer-readable storage medium is provided, on which a program is stored, the program being executed by a processor as performed by the audio data processing method for game interaction provided in the first aspect and any embodiment of the first aspect.
[0061] In a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, performs the operations performed by the audio data processing method for game interaction provided in the first aspect and any embodiment thereof.
[0062] This disclosure, by displaying a game interface and showing a first virtual avatar corresponding to the currently logged-in first user, and in cases where the game interface also includes a second virtual avatar corresponding to a second user, can respond to specified interactive actions performed by the first user and / or the second user through the first and second virtual avatars to obtain audio playback information of the target audio data. Based on the audio playback information, a synchronous playback command is sent to the second terminal corresponding to the second user, so that the first user and the second user can listen to the target audio data synchronously through the first terminal and the second terminal respectively. This allows different users to listen to audio data together in the game application, increasing the interactive methods during the game process and improving the diversity of interactive methods in the game application. Attached Figure Description
[0063] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which:
[0064] Figure 1 This disclosure is a flowchart illustrating an audio data processing method for game interaction according to an exemplary embodiment;
[0065] Figure 2 This is a schematic diagram of a game interface according to an exemplary embodiment of the present disclosure;
[0066] Figure 3 This is a schematic diagram of an invitation interface according to an exemplary embodiment of the present disclosure;
[0067] Figure 4 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure;
[0068] Figure 5 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure;
[0069] Figure 6 This is a schematic diagram of another game interface shown in this disclosure according to an exemplary embodiment;
[0070] Figure 7 This is a schematic diagram of another game interface shown in this disclosure according to an exemplary embodiment;
[0071] Figure 8 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure;
[0072] Figure 9 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure;
[0073] Figure 10 This is a schematic diagram illustrating a target effect according to an exemplary embodiment of the present disclosure;
[0074] Figure 11 This is a schematic diagram of a chat interface according to an exemplary embodiment of the present disclosure;
[0075] Figure 12 This is a schematic diagram of a prompt interface according to an exemplary embodiment of the present disclosure;
[0076] Figure 13 This is a schematic diagram of an information display interface according to an exemplary embodiment of the present disclosure;
[0077] Figure 14 This is a block diagram illustrating an audio data processing apparatus for game interaction according to an exemplary embodiment of the present disclosure;
[0078] Figure 15 This is a schematic diagram illustrating a computer-readable storage medium according to an exemplary embodiment of the present disclosure;
[0079] Figure 16 This is a schematic diagram of the structure of a terminal according to an exemplary embodiment of the present disclosure.
[0080] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0081] The principles and spirit of this disclosure will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are given merely to enable those skilled in the art to better understand and implement this disclosure, and are not intended to limit the scope of this disclosure in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0082] Those skilled in the art will recognize that embodiments of this disclosure can be implemented as a system, apparatus, device, method, or computer program product. Therefore, this disclosure can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software. Invention Overview
[0084] The inventors have discovered that currently, user interaction in game applications is limited to basic interactions such as completing system-required game tasks and chatting. The interaction methods are monotonous and lack music-related interactive gameplay.
[0085] To address the aforementioned needs, this disclosure provides an audio data processing method for game interaction, offering users a new way to interact in game applications and increasing the diversity of interaction methods during gameplay.
[0086] Application Scenarios Overview
[0087] The audio data processing method for game interaction provided in this disclosure can be used to realize user interaction in various types of game applications. For example, the audio data processing method for game interaction provided in this disclosure can be provided as a functional component of an audio playback application, which can be embedded into any type of game application.
[0088] When embedding the functional components corresponding to the audio data processing method for game interaction provided in this disclosure into a game application, an interface (or service interface) can be opened on the audio playback application so that the game application can interact with the audio playback application through the interface to obtain audio data from the audio playback application.
[0089] Optionally, the game application can be an action game, adventure game, shooting game, fighting game, puzzle game, racing game, sports game, strategy game, role-playing game, card game, simulation management game, etc. This disclosure does not limit the specific type of game application.
[0090] The above-mentioned audio data processing method for game interaction can be executed by a terminal, which can be a desktop computer, portable computer, laptop computer, tablet computer, smartphone, smartwatch, etc. This disclosure does not limit the specific type of terminal.
[0091] It should be noted that the above application scenarios are shown only to facilitate understanding of the spirit and principles of this disclosure, and the implementation of this disclosure is not limited in any way. On the contrary, the implementation of this disclosure can be applied to any applicable scenario.
[0092] Exemplary methods
[0093] The following section, in conjunction with the above description of relevant application scenarios, will provide a detailed introduction to the audio data processing method for game interaction provided in this disclosure.
[0094] See Figure 1 , Figure 1 This disclosure is a flowchart illustrating an audio data processing method for game interaction according to an exemplary embodiment. The method can be applied to a first terminal, such as... Figure 1 As shown, the method may include:
[0095] S101. Display the game interface, which includes the first virtual avatar corresponding to the first user currently logged in.
[0096] It should be noted that the first user can register in advance in the game application corresponding to the game interface to obtain the first user account in the game application. The first user can then log in to the game application through this first user account.
[0097] Optionally, the first user can create their own virtual avatar in the game application according to their own preferences, so that after the first user logs into the game application, the first terminal can display the first virtual avatar corresponding to the first user through the game interface.
[0098] S102. If the game interface also includes a second virtual avatar corresponding to the second user, in response to the specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, the audio playback information of the target audio data is obtained.
[0099] It should be noted that the second user can also have their own corresponding account, allowing them to launch the game application from the second device and log in to the game application using their second user account. Additionally, the second user can create their own virtual avatar and display it in the game interface.
[0100] If the first user has already logged into the game application, the second user can also log into the game application. If the second user also logs into the game application, the game interface (such as the game lobby, game room, etc.) can simultaneously display the first virtual avatar corresponding to the first user and the second virtual avatar corresponding to the second user. The first user can then control the first virtual avatar to interact with the second virtual avatar in the game interface. In addition, the second user can also control the second virtual avatar to interact with the first virtual avatar in the game interface.
[0101] If the first and second virtual avatars perform the specified interactive actions, the process of obtaining audio playback information of the target audio data will be triggered.
[0102] The audio playback information may include audio information and playback progress information. The audio information may include at least one of the following: audio identifier and audio name. It may also include audio duration, lyrics text corresponding to the audio data, audio creator, and other information. This disclosure does not limit the specific information types included in the audio playback information.
[0103] S103. Based on the audio playback information, a synchronous playback instruction is sent to the second terminal corresponding to the second user. The synchronous playback instruction is used to instruct the second terminal to synchronously play the target audio data with the first terminal.
[0104] This disclosure, by displaying a game interface and showing a first virtual avatar corresponding to the currently logged-in first user, and in cases where the game interface also includes a second virtual avatar corresponding to a second user, can respond to specified interactive actions performed by the first user and / or the second user through the first and second virtual avatars to obtain audio playback information of the target audio data. Based on the audio playback information, a synchronous playback command is sent to the second terminal corresponding to the second user, so that the first user and the second user can listen to the target audio data synchronously through the first terminal and the second terminal respectively. This allows different users to listen to music and other audio data together in the game application, increasing the interactive methods during the game process and improving the diversity, convenience, and fun of the interactive methods in the game application.
[0105] After introducing the basic implementation process of this disclosure, various non-limiting embodiments of this disclosure will be described below.
[0106] In some embodiments, when the game interface includes a first virtual avatar and a second virtual avatar, step S102, when obtaining audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, may include the following steps:
[0107] S1021. In response to the first user's interactive operation in the game interface, display the invitation interface, which is used to provide the function of inviting other users to listen to audio data together with the first user.
[0108] In one possible implementation, the first user can trigger the process of inviting the second user to listen to audio data by directly clicking on the second virtual avatar corresponding to the second user. That is, step 1021 above can be achieved through the following steps:
[0109] S1021-1. In response to the first user's trigger operation on the second virtual avatar in the game interface, display the invitation control corresponding to the second virtual avatar.
[0110] It should be noted that the first user can choose from the second virtual avatars currently displayed in the game interface according to their own needs, and then invite the second user corresponding to the second virtual avatar by triggering the second virtual avatar they selected.
[0111] Optionally, to enhance the flexibility and fun of the interaction, a gameplay mode can be set up where only a second user whose distance from the first virtual avatar meets a preset distance condition can be invited. The first user can control the first virtual avatar to move around in the game interface. The second user that can be invited varies depending on the location the first virtual avatar moves to, allowing the first user to control the movement of the first virtual avatar according to their own needs, so as to achieve the goal of listening to music with a certain second user.
[0112] In addition, to ensure that the first user and the second user can listen to the audio data together smoothly, it is also possible to set up a feature where only the second user who is not currently listening with other users can be invited. This will prevent the first user's invitation from affecting the user who is currently listening together and improve the user experience.
[0113] The preset distance condition can be that the distance between the virtual image and the target image is less than the target distance. Optionally, the distance can be a pixel distance, and the target distance can be any value.
[0114] Optionally, when displaying the second virtual avatar through the game interface, marking information can be displayed on the second virtual avatar that is at a distance from the first virtual avatar that meets a preset distance condition, so that the first user can distinguish which second users corresponding to which second virtual avatars can be invited based on the marking information. Optionally, the marking information can be any type of marking, such as graphic markings, text markings, etc., and this disclosure does not limit the specific type of marking information.
[0115] See Figure 2 , Figure 2 This is a schematic diagram of a game interface according to an exemplary embodiment of the present disclosure, such as... Figure 2 As shown, virtual avatar 201 is the first virtual avatar, virtual avatar 202 is the second virtual avatar, and the graphic mark 203 above virtual avatar 202 is the marking information. Through the graphic mark 203, the first user can determine that the second user corresponding to virtual avatar 202 is allowed to be invited.
[0116] By triggering the second virtual avatar with the marked information, the first terminal can respond to the first user's triggering operation on the second virtual avatar with the marked information and display the invitation control corresponding to the second virtual avatar.
[0117] Still as Figure 2 Taking the game interface shown as an example, if the first user is in such a game interface... Figure 2 The game interface shown triggers the virtual avatar 202 with graphic marker 203, and the first terminal can then display the invitation control corresponding to the virtual avatar 202, that is... Figure 2 Control 204 in the middle.
[0118] The above embodiment is illustrated by the example of a first user directly selecting a second virtual avatar in the game interface to invite a second user corresponding to a second virtual avatar to listen together. Optionally, to improve the gameplay diversity of the listening together creation process, the first user can be required to use specific props (such as listening together props) to obtain the qualification to invite other users to listen together.
[0119] In one possible implementation, a first user can trigger a first virtual avatar in the game interface. The first terminal can then respond to the first user's triggering operation on the first virtual avatar in the game interface by displaying an item display control and showing the items currently owned by the first user. If the displayed items include a "Listen Together" item, the first user can trigger the "Listen Together" item to use it. Only after the first user has used the "Listen Together" item is the first user allowed to trigger a second virtual avatar in the game interface to establish a "Listen Together" relationship with the second user corresponding to the triggered second virtual avatar.
[0120] Among them, the "Listen Together" props can be obtained by completing game tasks set by the system, in order to encourage users to participate in the game.
[0121] Optionally, if the first user uses the "Listen Together" prop, the first terminal can display a ready icon on the first virtual avatar displayed in the game interface. For example, the first virtual avatar can be equipped with headphones to indicate that the first user is now ready to invite other users, thereby increasing the diversity and fun of the interaction methods during the interaction process.
[0122] S1021-2. In response to the first user's trigger operation on the invitation control, display the invitation interface.
[0123] The invitation interface can be used to display at least one alternative audio data, so that the first user can select from the displayed alternative audio data.
[0124] See Figure 3 , Figure 3 This is a schematic diagram of an invitation interface according to an exemplary embodiment of the present disclosure, in which... Figure 3 The invitation interface shown displays at least one alternative audio data, namely the audio data corresponding to song name 1, song name 2, song name 3, song name 4, song name 5, song name 6, and song name 7, for the user to choose from.
[0125] In addition, in such Figure 3 The invitation interface also displays audio information for each candidate audio file, including the artist's name and song duration. Furthermore, in... Figure 3 The invitation interface shown also includes a slider control 301, allowing the first user to view more available audio data by moving the slider control 301. Additionally, in... Figure 3 The invitation interface shown also includes a search control 302, allowing the first user to quickly find the song they want to listen to.
[0126] Using the above method, you can select a second virtual avatar from the multiple second virtual avatars displayed in the game interface, and request to establish a listening relationship with the second user corresponding to the selected second virtual avatar (users who establish a listening relationship can listen to audio data together).
[0127] The above is merely one exemplary method for triggering the display of the invitation interface. In many other possible implementations, other methods can also be used to trigger the display of the invitation interface. For example, a visual invitation control can be directly set in the game interface, so that the first user can directly trigger the display of the invitation interface by triggering the invitation control displayed in the game interface.
[0128] See Figure 4 , Figure 4 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, such as... Figure 4 The game interface shown has a visual invitation control, namely control 401 with the text "Invite users to listen to music together", so that users can directly trigger the display of the invitation interface through control 401 displayed in the game interface.
[0129] In one possible implementation, if a user triggers the invitation control displayed in the game interface, the first terminal can respond to the first user's triggering operation of the invitation control by displaying at least one second user so that the user can select from these at least one second user; in response to the first user's selection operation among the at least one second user, the invitation interface is displayed based on the selected second user.
[0130] Optionally, when displaying at least one second user in response to a first user's triggering action on the invitation control, this can be achieved in the following way:
[0131] In response to the first user's triggering operation on the invitation control, the distance between the first virtual object and each of the second virtual objects displayed in the current game interface is obtained. The second user corresponding to the second virtual image whose distance from the first virtual image meets the set distance condition is selected as at least one second user to be displayed, so that at least one second user can be displayed.
[0132] After the user selects a second user to listen to the audio data together, the first terminal can display an invitation interface based on the selected second user. An example of the invitation interface can be found in [reference needed]. Figure 3 .
[0133] S1022, In response to the first user's interactive operation on the invitation interface, obtain the audio playback information of the target audio data.
[0134] In one possible implementation, the first user can select from at least one alternative audio data displayed on the invitation interface. The first terminal can then respond to the first user's selection operation in at least one alternative audio data, use the selected alternative audio data as the target audio data, and obtain the audio playback information of the target audio data.
[0135] Optionally, a selection control can be set for each candidate audio data in the invitation interface, so that users can select the target audio data from at least one candidate audio data by triggering the selection control corresponding to each candidate audio data. The selection control can support multi-selection or single-selection functionality.
[0136] Still as Figure 4 Taking the invitation interface shown as an example, each candidate audio data is preceded by a checkbox shaped like a square. These checkboxes are the selection controls, and the first user can select the target audio data by checking these checkboxes.
[0137] The above method allows for the simultaneous selection of at least one second user to establish a listening relationship with that user.
[0138] After the first user selects the target audio data to be listened to together with the second user through the invitation interface, the first terminal can send a synchronous playback command to the second terminal corresponding to the second user through step S103 based on the audio playback information.
[0139] In some embodiments, step S103 above can be implemented by the following steps:
[0140] S1031. Send an invitation message to the second terminal based on the audio playback information. The invitation message is used to invite the second user to listen to the target audio data together with the first user.
[0141] It should be noted that after receiving the invitation information, the second terminal can visualize the received invitation information through the game interface, so that the second user can respond to the invitation information.
[0142] In one possible implementation, in response to receiving the invitation information, the second terminal can display a prompt control in the game interface to display the text prompt corresponding to the invitation information. In addition, the prompt control can also provide an accept option and a reject option so that the second user can respond to the received invitation information by triggering the accept option or reject option.
[0143] See Figure 5 , Figure 5 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, in which... Figure 5 In the game interface shown, the prompt box 501 is a prompt control used to display the invitation information. The text displayed in the prompt box 501, "User ××× has initiated a request for you to listen to music together. Do you accept?" is the text prompt corresponding to the invitation information. The accept button 502 is the accept option, and the reject button 503 is the reject option. The second user can respond to the received invitation information by triggering the accept button 502 or the reject button 503.
[0144] Optionally, a countdown timer can also be displayed in the prompt control to prompt the second user to provide timely feedback. (The following is an example:) Figure 5 Taking the prompt control shown in the game interface as an example, the "12 seconds" displayed is the countdown.
[0145] In addition, the display duration of the invitation information can be set. If the second user does not respond within the set display duration, the second user will be deemed to have declined the invitation, thereby improving the efficiency of the interaction process.
[0146] S1032. In response to receiving the consent invitation information from the second user, send a synchronous playback instruction to the second terminal.
[0147] If the second user responds positively to the invitation, that is, if the second user agrees to the first user's invitation, the second terminal can send an acceptance message to the first terminal. In response to the acceptance message, the first terminal can send a synchronized playback command to the second terminal, so that the first user and the second user can listen to the target audio data synchronously through the first terminal and the second terminal. The target audio data being played and the playback progress of the target audio data are synchronized.
[0148] The above is just one example of how to enable multiple users to listen to audio data together in a game application. In many other possible implementations, other methods can also be used to achieve the process of multiple users listening to audio data together.
[0149] In other embodiments, specific scene areas (denoted as target scene areas) can be set in the game interface. Users can control their virtual avatars to enter the target scene areas to establish a listening relationship.
[0150] For step S102, in response to the specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, the audio playback information of the target audio data can also be obtained in the following way:
[0151] In response to the first user controlling the first virtual avatar to arrive at the target scene area, audio playback information of the target audio data is obtained.
[0152] In other words, the first user can control the movement of the first virtual character in the game interface. If the first virtual character moves to the target scene area, the first terminal can automatically trigger the process of obtaining the audio playback information of the target audio data.
[0153] See Figure 6 , Figure 6 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, such as... Figure 6 As shown, virtual avatar 601 is the first virtual avatar, and scene element 602 (i.e., the bench) and scene element 603 (i.e., the cave) are both target scene areas. When the first user controls the virtual avatar 601 to sit on the bench or enter the cave, the process of obtaining audio playback information of the target audio data can be triggered.
[0154] It should be noted that although scene element 602 and scene element 603 can both be used as target scene elements, the number of virtual avatars they can accommodate is different. For example, scene element 602 can generally accommodate two virtual avatars, which are used to establish a listening relationship between the two virtual avatars sitting in the scene. If more than two users want to establish a listening relationship, they need to go to a target scene area with a larger capacity, such as scene element 603.
[0155] In one possible implementation, when responding to a first user controlling the first virtual avatar to reach the target scene area and acquiring audio playback information of the target audio data, the following steps can be taken:
[0156] Step 1: In response to the first user controlling the first virtual avatar to enter the target scene area, display the audio selection interface, which is used to display at least one alternative audio data.
[0157] Optionally, to enhance the variety of gameplay in the "Listen Together" setup process, it can be set that the first user needs to use specific props (such as "Listen Together" props) to qualify for on-demand audio data.
[0158] In one possible implementation, in response to the first user controlling the first virtual avatar to enter the target scene area, a prop display control can be displayed, and the props currently owned by the first user can be displayed in the prop display control. If the displayed props include the "Listen Together" prop, the first user can use it by triggering the "Listen Together" prop. Only when the first user uses the "Listen Together" prop will the first terminal display an audio selection interface for it, so that the first user can select from the alternative audio data displayed in the audio selection interface.
[0159] Step 2: In response to the first user's selection operation in at least one candidate audio data, the selected candidate audio data is taken as the target audio data, and the audio playback information of the target audio data is obtained.
[0160] It should be noted that the display format of the audio selection interface described above is similar to that of the invitation interface. The process of obtaining the audio playback information of the target audio data through the audio selection interface can be referred to the process of obtaining the audio playback information of the target audio data through the invitation interface, which will not be repeated here.
[0161] In this way, the first user can listen to the target audio data in the game application and wait for other users to join in listening to the target audio data together.
[0162] In some embodiments, when sending a synchronized playback instruction to the second terminal corresponding to the second user based on the audio playback information in step 103, it can be implemented in the following way:
[0163] In response to the second user controlling the second virtual avatar to enter the target scene area, a synchronous playback command is sent to the second terminal corresponding to the second user based on the audio playback information.
[0164] Optionally, the second user can control the movement of the second virtual object in the game interface displayed on the second terminal. For any second virtual object, if the second virtual object moves to the target scene area and there is currently a user listening to audio data in the target scene area, the second terminal can display the first prompt information based on the audio data being listened to by the user in the target scene area. The first prompt information is used to indicate the audio data being listened to by the user in the target scene area. In addition, the second user can be provided with a join option, and the second user can actively establish a listening relationship with the first user by triggering the join option.
[0165] In other possible implementations, a gameplay mechanic could be set up where the second user needs to use a specific item (such as a "listen together" item) to establish a "listen together" relationship with the first user.
[0166] For example, after a second user triggers the join option, a prompt can be provided indicating the cost of items. This prompt tells the second user that they need to consume "listen together" items to establish a "listen together" relationship with the first user. The second user can also be provided with confirm and cancel options. If the second user confirms, the corresponding items will be deducted from their account, allowing them to establish a "listen together" relationship with the first user. If the second user cancels, they will return to the game interface, where they can continue controlling their virtual avatar to experience other gameplay features.
[0167] If the second user chooses to establish a listening relationship with the first user, the second terminal can send a request message to the first terminal. Upon receiving the request message, the first terminal displays a second prompt message asking the first user whether they agree to the second user listening to the target audio data together. The second prompt message can provide corresponding agree and disagree options. If the first user agrees, the first terminal sends a synchronized playback command to the second terminal; if the first user disagrees, the first terminal sends a disagreement message to the second terminal, allowing the second user to know that the first user has refused their participation.
[0168] By sending a synchronized playback command to the second terminal, the first user and the second user can listen to the target audio data synchronously through the first terminal and the second terminal, and the playback progress of the target audio data is synchronized.
[0169] The above embodiments provide two exemplary ways to establish a listening relationship, but do not constitute a limitation on the implementation of establishing a listening relationship. This disclosure does not limit the specific way of establishing a listening relationship.
[0170] After establishing a listening relationship through the above embodiments, the first user and the second user can listen to the target audio data together. It should be noted that both the target audio data listened to by the first user through the first terminal and the target audio data listened to by the second user through the second terminal are obtained from the music playback application through a preset interface (i.e., an interface pre-established for the data interaction process between the music playback application and the game application). Furthermore, the obtained target audio data is played directly within the game application, thus achieving the effect of allowing the first and second users to listen to music together within the game application regardless of their distance.
[0171] In addition, during the process of the first user and the second user listening to the target audio data together, a "listen together" indicator can be displayed based on the distance between the first virtual avatar and the second virtual avatar.
[0172] Specifically, when the distance between the first virtual avatar and the second virtual avatar is less than a set distance threshold, the "Listen Together" icon will be displayed in the first set form; when the distance between the first virtual avatar and the second virtual avatar is greater than or equal to the set distance threshold, the "Listen Together" icon will be displayed in the second set form. Optionally, the set distance threshold can be any value, and this disclosure does not limit it.
[0173] See Figure 7 , Figure 7 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, such as... Figure 7 As shown, if the distance between the first virtual avatar 701 and the second virtual avatar 702 is less than a set distance threshold, then the "Listen Together" indicator will be displayed as shown. Figure 7 The wired headphones shown are in this form.
[0174] In such Figure 7 In the game interface shown, both the first and second users can control their virtual objects to move. If the distance between the first and second virtual objects after movement is greater than or equal to a set distance threshold, then... Figure 7 The "Listen Together" icon for wired headphones will then disappear and be replaced by another icon. See also... Figure 8 , Figure 8 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, such as... Figure 8 As shown, if the distance between the first virtual avatar 801 and the second virtual avatar 802 is greater than or equal to a set distance threshold, then the "Listen Together" indicator will be displayed as shown. Figure 8The wireless signal is displayed in the form shown, with a wireless signal shown above both the first virtual avatar 801 and the second virtual avatar 802. Optionally, the number of signal bars displayed on the wireless signal can switch according to the distance level corresponding to the distance between the first virtual avatar 801 and the second virtual avatar 802. The number of signal bars corresponding to different distance levels can be preset.
[0175] In some embodiments, a playback progress adjustment function may also be provided during the process of the first user and the second user listening to the target audio data together.
[0176] In one possible implementation, an audio playlist can be displayed in the game interface based on the target audio data, and a playback progress adjustment control can be displayed in the audio playlist so that the first user and / or the second user can adjust the playback progress of the target audio data through the playback progress adjustment control; in response to the triggering operation of the playback progress adjustment control, the playback progress of the target audio data is adjusted.
[0177] Optionally, a playlist launcher control can be set in the game interface so that the first user and / or the second user can trigger the display of the audio playlist by triggering the playlist launcher control, and display the playback progress adjustment control in the audio playlist.
[0178] See Figure 9 , Figure 9 This is a schematic diagram of another game interface according to an exemplary embodiment of the present disclosure, in which... Figure 9 The game interface shown displays an audio playlist, in which... Figure 9 The audio playlist shown includes a progress bar, which users can drag to adjust the audio playback progress.
[0179] In addition, the audio playlist can also include audio switching controls, pause controls, favorite controls, and playback order adjustment controls, so that users can switch the currently playing audio data using the audio switching controls, pause audio data playback using the pause controls, favorite audio data to save using the favorite controls, or adjust the playback order of various target audio data in the audio playback interface using the playback order adjustment controls.
[0180] Still as Figure 9 Taking the audio playlist shown in the game interface as an example, in Figure 9In the audio playlist shown, the previous track button 901 and the next track button 902 are audio switching controls, the pause button 903 is a pause control, the order adjustment button 904 is an order adjustment control, and the favorite button 905 is a favorite control (buttons with the same style as the button labeled 905 are also favorite controls).
[0181] Optionally, users can also add or delete target audio data included in the audio playlist to update the audio playlist.
[0182] For example, you can set a delete control for each target audio data in the audio playlist, so that the corresponding target audio data can be deleted from the audio playlist by deleting the delete control.
[0183] Alternatively, an add control can be set in the audio playlist to add new target audio data. Optionally, in response to a triggering action of the add control in the audio playlist, an audio selection interface is displayed so that the user can select the target audio data to be added to the audio playlist.
[0184] Still as Figure 9 Taking the audio playlist shown in the game interface as an example, in Figure 9 In the audio playlist shown, the delete button 906 is the delete control (buttons with the same style as the button labeled 906 are also delete controls), and the add button 907 is the add control.
[0185] If the first user and / or the second user triggers the addition or deletion of controls in the audio playlist, an update command for the audio playlist will be triggered. In this way, the terminal can respond to the received update command by updating the target audio data in the audio playlist, such as adding new target audio data to the audio playlist or deleting existing target audio data from the audio playlist.
[0186] Alternatively, the added controls can also be provided in other forms, still such as Figure 9 Taking the game interface shown as an example, the button 908 labeled "Select Song" is the addition control. Users can trigger the "Select Song" button 908 to bring up the audio selection interface, so that users can select the target audio data to be added to the audio playlist through the audio selection interface.
[0187] In addition, to enrich the gameplay during the listening process, a feature can be set up where the second user needs to use specific props (such as listening props) to play audio data. These listening props can be obtained by completing game tasks set by the system, which encourages the second user to actively participate in the game tasks and increases the diversity of gameplay during the listening process.
[0188] It should be noted that both the first and second users can perform the aforementioned operations such as selecting, adding, listening, viewing, favorited, deleting, pausing, and switching audio data, provided they have the corresponding permissions. Optionally, the permissions for the first and second users can be set according to the needs of the game application. For example, the first and second users can be set to have equal control permissions, that is, both users can select, add, listen, view, and favorite audio data, but to ensure that the needs of individual users are met as much as possible, each user is only allowed to delete, pause, and switch the audio data they have requested; or, the first and second users can be set to have different control permissions, such as the first user having the permission to select, add, switch, pause, listen, view, and favorite audio data, while the second user does not have the permission to select, add, pause, and switch, but can be granted the permission to listen, view, and favorite audio data.
[0189] Additionally, it should be noted that if a user logs into their user account in the audio playback application, their playback history and song collection history in the game application can be synchronized to their account in the audio playback application.
[0190] Optionally, in addition to enabling user interaction through multiple users listening to music together, this disclosure may also provide users with a series of additional interactive methods.
[0191] In one possible implementation, an information display control can be displayed in the game interface. The information display control is used to display at least one of the following: the distance between the first user and the second user, the amount of audio data listened to together, and the duration of the audio data listened to together.
[0192] Figures 7 to 9 The game interface shown in the images all displays this information control, as follows: Figure 7 Taking the game interface shown as an example, control 703 is the information display control. Figure 7 The information display control shows the distance between the first user and the second user (i.e., they are 108,708 km apart) and the duration for which the first user and the second user listened to the audio data together (i.e., they listened together for 3 minutes).
[0193] In another possible implementation, a feedback control can be displayed in the game interface, which is used to display the target effect in the game interface when triggered.
[0194] Still as Figure 7 Taking the game interface shown as an example, control 704 is a feedback control, which users can trigger to provide feedback. Figure 7 The feedback control shown triggers the display of a target effect, which can be heart-shaped bubbles appearing on the corresponding virtual character. See also... Figure 10 , Figure 10 This is a schematic diagram illustrating a target effect according to an exemplary embodiment of the present disclosure, such as... Figure 10 As shown, the virtual avatar of the user who triggered the feedback action will display a heart-shaped bubble effect.
[0195] In another possible implementation, a chat control can be displayed in the game interface. The chat control is used to display the chat interface when triggered, and the chat interface is used to provide chat functionality for the first user and the second user.
[0196] Still as Figure 7 Taking the game interface shown as an example, button 705, labeled "Chat," is the chat control. Users can trigger it to... Figure 7 The chat control shown triggers the display of the chat interface, allowing users to chat in real time with other music listeners. For example, users can chat with each other using text, emoticons, etc.
[0197] See Figure 11 , Figure 11 This disclosure is a schematic diagram of a chat interface according to an exemplary embodiment, whereby users participating in listening to music together can use, as shown in the diagram... Figure 11 Use the chat interface shown to chat in real time.
[0198] Optionally, an exit control can be set in the game interface so that users can actively choose when to end the relationship according to their own needs and arrangements.
[0199] In other words, an exit control can be displayed in the game interface. The exit control is used to provide the first user with the function of ending the process of listening to audio data together with the second user.
[0200] Still as Figure 7 Taking the game interface shown as an example, button 706 is the exit control, which users can trigger by... Figure 7 The exit control shown allows you to actively exit the process of listening to music together.
[0201] Optionally, when the user triggers the exit control, the terminal can respond to the triggering operation of the exit control by displaying a prompt interface, which asks the user whether they are sure they want to exit the process of listening to audio data together.
[0202] See Figure 12 , Figure 12 This is a schematic diagram of a prompt interface according to an exemplary embodiment of the present disclosure, in which... Figure 12 The displayed interface shows a message asking "Are you sure you want to exit 'Listen Together'?", and, as shown in the image... Figure 12 The prompt interface also provides users with a confirmation option and a return option. Users can select the confirmation option to exit the process of listening to the audio data together, and select the return option to return to the game interface to continue listening to the target audio data.
[0203] Optionally, after the process of jointly listening to the target audio data ends, users can also be provided with the function of viewing statistical information during the joint listening process.
[0204] In one possible implementation, in response to a triggering operation of the exit control, an information viewing control can be displayed. This information viewing control provides the first user with the ability to view statistical information during the shared listening process of the audio data.
[0205] If a user triggers the information viewing control, the terminal can display an information display interface, showing statistical information from the shared audio data listening process. Optionally, the statistical information may include at least one of the following: the distance between the first and second users, the number of shared audio data, the duration of shared audio data listening, similarity in taste, the number of messages exchanged, and the number of shared audio data collections.
[0206] See Figure 13 , Figure 13 This is a schematic diagram of an information display interface according to an exemplary embodiment of the present disclosure, in which... Figure 13 The information display interface shows the following statistics: the distance between the first and second users (344 kilometers apart), the number of audio data listened to together (14 songs listened together), the duration of listening to audio data together (1 hour and 25 minutes spent together), the similarity of tastes (90%), the number of messages exchanged (12 messages exchanged), and the number of audio data shared together (4 songs liked together).
[0207] The solution provided in this disclosure can offer a new music listening experience within the game, allowing users to listen to music together with their gaming friends during gameplay. Furthermore, it can provide new interactive gameplay based on songs to encourage users to share music, express their preferences for songs, and incentivize song recommenders, thus creating a brand-new atmosphere for music exchange.
[0208] Exemplary device
[0209] In addition, this disclosure also provides an audio data processing device for game interaction, see [link to relevant documentation]. Figure 14 , Figure 14 This disclosure is a block diagram illustrating an audio data processing apparatus for game interaction according to an exemplary embodiment. This apparatus can be applied to a first terminal, such as... Figure 14 As shown, the device may include:
[0210] Display module 1401 is used to display the game interface, which includes the first virtual image corresponding to the first user who is currently logged in;
[0211] The acquisition module 1402 is used to acquire audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual image and the second virtual image, when the game interface also includes a second virtual image corresponding to the second user.
[0212] The sending module 1403 is used to send a synchronous playback instruction to the second terminal corresponding to the second user based on the audio playback information. The synchronous playback instruction is used to instruct the second terminal to synchronously play the target audio data with the first terminal.
[0213] In some embodiments, the acquisition module 1402, when acquiring audio playback information of target audio data in response to a specified interactive action performed by a first user and / or a second user through a first virtual avatar and a second virtual avatar, includes:
[0214] The display unit is used to respond to the first user's interactive operation in the game interface and display the invitation interface. The invitation interface is used to provide the function of inviting other users to listen to audio data together with the first user.
[0215] The acquisition unit is used to respond to the first user's interactive operation on the invitation interface and acquire the audio playback information of the target audio data.
[0216] In some embodiments, the display unit, when displaying an invitation interface in response to an interaction with a first user on the game interface, is configured to:
[0217] In response to the first user's triggering action on the second virtual avatar in the game interface, the invitation control corresponding to the second virtual avatar is displayed;
[0218] In response to the first user's trigger action on the invitation control, the invitation interface is displayed.
[0219] In some embodiments, in the game interface, a marker is displayed on the second virtual image whose distance from the first virtual image meets a preset distance condition;
[0220] The display unit, when responding to a first user's trigger operation on the second virtual avatar in the game interface and displaying the invitation control corresponding to the second virtual avatar, is used for:
[0221] In response to the first user's triggering action on the second virtual avatar with tagged information, the invitation control corresponding to the second virtual avatar is displayed.
[0222] In some embodiments, an invitation control is provided in the game interface;
[0223] The display unit, when displaying the invitation interface in response to an interaction with the first user on the game interface, is used for:
[0224] In response to the first user's triggering action on the invitation control, display at least one second user;
[0225] In response to a first user's selection of at least one second user, an invitation interface is displayed based on the selected second user.
[0226] In some embodiments, the invitation interface is used to display at least one alternative audio data;
[0227] The acquisition unit, when used to acquire audio playback information of the target audio data in response to the first user's interactive operation on the invitation interface, is used for:
[0228] In response to a first user's selection operation in at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
[0229] In some embodiments, when the sending module 1403 is used to send a synchronized playback instruction to the second terminal corresponding to the second user based on audio playback information, it is used to:
[0230] Based on the audio playback information, an invitation message is sent to the second terminal. The invitation message is used to invite the second user to listen to the target audio data together with the first user.
[0231] Upon receiving the consent invitation from the second user, a synchronous playback instruction is sent to the second terminal.
[0232] In some embodiments, a target scene area is set in the game interface;
[0233] The acquisition module 1402, when acquiring audio playback information of target audio data in response to a specified interactive action performed by a first user and / or a second user through a first virtual avatar and a second virtual avatar, is used for:
[0234] In response to the first user controlling the first virtual avatar to arrive at the target scene area, audio playback information of the target audio data is obtained.
[0235] In some embodiments, the acquisition module 1402, when acquiring audio playback information of target audio data in response to a first user controlling the first virtual avatar to reach a target scene area, is used to:
[0236] In response to the first user controlling the first virtual avatar to enter the target scene area, an audio selection interface is displayed, which is used to display at least one alternative audio data.
[0237] In response to a first user's selection operation in at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
[0238] In some embodiments, when the sending module 1403 is used to send a synchronized playback instruction to the second terminal corresponding to the second user based on audio playback information, it is used to:
[0239] In response to the second user controlling the second virtual avatar to enter the target scene area, a synchronous playback command is sent to the second terminal corresponding to the second user based on the audio playback information.
[0240] In some embodiments, the display module 1401 is further configured to display a "Listen Together" icon based on the distance between the first virtual avatar and the second virtual avatar;
[0241] Specifically, when the distance between the first virtual avatar and the second virtual avatar is less than a set distance threshold, the "Listen Together" icon will be displayed in the first set form; when the distance between the first virtual avatar and the second virtual avatar is greater than or equal to the set distance threshold, the "Listen Together" icon will be displayed in the second set form.
[0242] In some embodiments, the acquisition module 1402 is further configured to acquire target audio data through a preset interface;
[0243] The device also includes:
[0244] The playback module is used to play the acquired target audio data in the game application corresponding to the game interface.
[0245] In some embodiments, the display module 1401 is further configured to display an audio playlist in the game interface based on the target audio data, and to display playback progress adjustment controls in the audio playlist;
[0246] The device also includes:
[0247] The adjustment module is used to adjust the playback progress of the target audio data in response to the trigger operation of the playback progress adjustment control.
[0248] In some embodiments, the device further includes:
[0249] An update module is used to update the target audio data in the audio playlist in response to receiving an update instruction for the audio playlist. The update instruction is generated based on the audio editing operation of a first user on a first terminal, and / or the update instruction is generated based on the audio editing operation of a second user on a second terminal.
[0250] In some embodiments, the display module 1401 is further configured to include at least one of the following:
[0251] Display information display controls in the game interface. The information display controls are used to display at least one of the following: the distance between the first user and the second user, the amount of audio data listened to together, and the duration of the audio data listened to together.
[0252] Display a feedback control in the game interface. The feedback control is used to display the target effect in the game interface when it is triggered.
[0253] A chat control is displayed in the game interface. The chat control is used to display the chat interface when it is triggered. The chat interface is used to provide chat functionality for the first user and the second user.
[0254] An exit control is displayed in the game interface. The exit control is used to provide the first user with the function of ending the process of listening to audio data together with the second user.
[0255] In some embodiments, the display module 1401 is further configured to display an information viewing control in response to a triggering operation of the exit control. The information viewing control is configured to provide the first user with the function of viewing statistical information during the joint listening process of the audio data.
[0256] Exemplary media
[0257] This disclosure also provides a computer-readable storage medium. Figure 15 This is a schematic diagram illustrating a computer-readable storage medium according to an exemplary embodiment of the present disclosure, such as... Figure 15As shown, the storage medium stores a computer program 1501, which, when executed by a processor, can perform the audio data processing method for game interaction provided in any embodiment of this disclosure.
[0258] Exemplary device
[0259] This disclosure also provides a terminal, which may include a memory and a processor. The memory stores computer instructions that can run on the processor, and the processor, when executing the computer instructions, implements the audio data processing method for game interaction provided in any embodiment of this disclosure. See also Figure 16 , Figure 16 This disclosure is a schematic diagram of the structure of a terminal according to an exemplary embodiment. The terminal 1600 may include, but is not limited to, a processor 1610, a memory 1620, and a bus 1630 connecting different system components (including the memory 1620 and the processor 1610).
[0260] The memory 1620 stores computer instructions that can be executed by the processor 1610, enabling the processor 1610 to perform the audio data processing method for game interaction provided in any embodiment of this disclosure. The memory 1620 may include a random access memory unit (RAM) 1621, a cache memory unit 1622, and / or a read-only memory unit (ROM) 1623. The memory 1620 may also include a program tool 1625 having a set of program modules 1624, including but not limited to: an operating system, one or more application programs, other program modules, and program data. One or more combinations of these program modules may include an implementation of a network environment.
[0261] Bus 1630 may include, for example, a data bus, an address bus, and a control bus. The terminal 1600 can also communicate with external devices 1650 via I / O interface 1640, such as a keyboard or a Bluetooth device. The terminal 1600 can also communicate with one or more networks via network adapter 1660, such as a local area network (LAN), a wide area network (WAN), or a public network. Figure 16 As shown, the network adapter 1660 can also communicate with other modules of the terminal 1600 via the bus 1630.
[0262] Exemplary Products
[0263] This disclosure also provides a computer program product, which includes a computer program. When the program is executed by the processor 1610 of the terminal 1600, it can implement the audio data processing method for game interaction provided in any embodiment of this disclosure.
[0264] Furthermore, although the operations of the methods disclosed herein are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0265] While the spirit and principles of this disclosure have been described with reference to several specific embodiments, it should be understood that this disclosure is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. An audio data processing method for game interaction, applied to a first terminal, characterized in that, The method includes: The game interface is displayed, which includes the first virtual avatar corresponding to the first user who is currently logged in; If the game interface also includes a second virtual avatar corresponding to the second user, in response to the specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, the audio playback information of the target audio data is obtained; Based on the audio playback information, a synchronous playback instruction is sent to the second terminal corresponding to the second user. The synchronous playback instruction is used to instruct the second terminal to play the target audio data synchronously with the first terminal. After sending a synchronized playback command to the second terminal corresponding to the second user based on the audio playback information, the method further includes: Based on the distance between the first virtual avatar and the second virtual avatar, a "Listen Together" icon is displayed; Specifically, when the distance between the first virtual avatar and the second virtual avatar is less than a set distance threshold, the "Listen Together" indicator is displayed in a first set form; when the distance between the first virtual avatar and the second virtual avatar is greater than or equal to the set distance threshold, the "Listen Together" indicator is displayed in a second set form. The game interface includes an invitation control, and the audio playback information for obtaining the target audio data includes: In response to the first user's triggering operation on the invitation control, at least one second user is displayed; in response to the first user's selection operation among the at least one second user, an invitation interface is displayed based on the selected second user, the invitation interface being used to display at least one alternative audio data; In response to the first user's selection operation among the at least one alternative audio data, the selected alternative audio data is taken as the target audio data, and the audio playback information of the target audio data is obtained; Sending a synchronized playback instruction to the second terminal corresponding to the second user based on the audio playback information includes: Based on the audio playback information, an invitation message is sent to the second terminal, which is used to invite the second user to listen to the target audio data together with the first user; in response to receiving the second user's consent invitation message, the synchronous playback instruction is sent to the second terminal.
2. The method according to claim 1, characterized in that, The step of obtaining audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar includes: In response to the first user's interactive operation in the game interface, an invitation interface is displayed, which is used to provide the function of inviting other users to listen to audio data together with the first user. In response to the first user's interactive operation on the invitation interface, the audio playback information of the target audio data is obtained.
3. The method according to claim 2, characterized in that, The step of displaying an invitation interface in response to the first user's interactive operation on the game interface includes: In response to the first user's triggering operation on the second virtual avatar in the game interface, an invitation control corresponding to the second virtual avatar is displayed; In response to the first user's triggering operation on the invitation control, the invitation interface is displayed.
4. The method according to claim 3, characterized in that, In the game interface, a marker is displayed on the second virtual image whose distance from the first virtual image meets a preset distance condition; The step of displaying an invitation control corresponding to the second virtual avatar in response to a trigger operation by the first user on the game interface includes: In response to the first user's triggering operation on the second virtual avatar with the marked information, an invitation control corresponding to the second virtual avatar is displayed.
5. The method according to claim 1, characterized in that, The game interface includes a target scene area; The step of obtaining audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar includes: In response to the first user controlling the first virtual avatar to reach the target scene area, audio playback information of the target audio data is obtained.
6. The method according to claim 5, characterized in that, The step of responding to the first user controlling the first virtual avatar to reach the target scene area and obtaining audio playback information of the target audio data includes: In response to the first user controlling the first virtual avatar to enter the target scene area, an audio selection interface is displayed, which is used to display at least one alternative audio data; In response to the first user's selection operation among the at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
7. The method according to claim 5, characterized in that, Sending a synchronized playback instruction to the second terminal corresponding to the second user based on the audio playback information includes: In response to the second user controlling the second virtual avatar to enter the target scene area, a synchronous playback command is sent to the second terminal corresponding to the second user based on the audio playback information.
8. The method according to claim 1, characterized in that, After obtaining audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, the method further includes: The target audio data is obtained through a preset interface; The acquired target audio data is played in the game application corresponding to the game interface.
9. The method according to claim 8, characterized in that, After sending a synchronized playback command to the second terminal corresponding to the second user based on the audio playback information, the method further includes: Based on the target audio data, an audio playlist is displayed in the game interface, and a playback progress adjustment control is displayed in the audio playlist; In response to a trigger operation on the playback progress adjustment control, the playback progress of the target audio data is adjusted.
10. The method according to claim 9, characterized in that, The method further includes: In response to receiving an update instruction for the audio playlist, the target audio data in the audio playlist is updated, wherein the update instruction is generated based on the audio editing operation of the first user on the first terminal, and / or, the update instruction is generated based on the audio editing operation of the second user on the second terminal.
11. The method according to claim 1, characterized in that, After sending a synchronized playback command to the second terminal corresponding to the second user based on the audio playback information, the method further includes at least one of the following: An information display control is displayed in the game interface. The information display control is used to display at least one of the following: the distance between the first user and the second user, the amount of audio data listened to together, and the duration of listening to audio data together. A feedback control is displayed in the game interface, which is used to display a target effect in the game interface when it is triggered; A chat control is displayed in the game interface. The chat control is used to display a chat interface when triggered. The chat interface is used to provide chat functionality for the first user and the second user. An exit control is displayed in the game interface. The exit control is used to provide the first user with the function of ending the process of listening to audio data together with the second user.
12. The method according to claim 11, characterized in that, The method further includes: In response to the triggering operation of the exit control, an information viewing control is displayed, which is used to provide the first user with the function of viewing statistical information during the joint listening process of this audio data.
13. An audio data processing device for game interaction, applied to a first terminal, characterized in that, The device includes: The display module is used to display the game interface, which includes the first virtual avatar corresponding to the first user who is currently logged in. The acquisition module is used to acquire audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual image and the second virtual image when the game interface also includes a second virtual image corresponding to the second user; The sending module is used to send a synchronous playback instruction to the second terminal corresponding to the second user based on the audio playback information. The synchronous playback instruction is used to instruct the second terminal to synchronously play the target audio data with the first terminal. The display module is also used to display a "Listen Together" icon based on the distance between the first virtual image and the second virtual image; Specifically, when the distance between the first virtual avatar and the second virtual avatar is less than a set distance threshold, the "Listen Together" indicator is displayed in a first set form; when the distance between the first virtual avatar and the second virtual avatar is greater than or equal to the set distance threshold, the "Listen Together" indicator is displayed in a second set form. The game interface includes an invitation control. The acquisition module, when acquiring the audio playback information of the target audio data, includes: The display unit is configured to display at least one second user in response to the first user's triggering operation on the invitation control; and to display an invitation interface based on the selected second user in response to the first user's selection operation on the at least one second user, wherein the invitation interface is used to display at least one alternative audio data. The acquisition unit is configured to, in response to the first user's selection operation in the at least one alternative audio data, take the selected alternative audio data as the target audio data and acquire the audio playback information of the target audio data; When the sending module sends a synchronized playback instruction to the second terminal corresponding to the second user based on the audio playback information, it is used to: Based on the audio playback information, an invitation message is sent to the second terminal, which is used to invite the second user to listen to the target audio data together with the first user; in response to receiving the second user's consent invitation message, the synchronous playback instruction is sent to the second terminal.
14. The apparatus according to claim 13, characterized in that, The acquisition module, when used to acquire audio playback information of target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, includes: The display unit is used to display an invitation interface in response to the interaction operation of the first user in the game interface. The invitation interface is used to provide the function of inviting other users to listen to audio data together with the first user. The acquisition unit is used to acquire audio playback information of the target audio data in response to the interactive operation of the first user on the invitation interface.
15. The apparatus according to claim 14, characterized in that, The display unit, when used to display an invitation interface in response to an interactive operation by the first user on the game interface, is configured to: In response to the first user's triggering operation on the second virtual avatar in the game interface, an invitation control corresponding to the second virtual avatar is displayed; In response to the first user's triggering operation on the invitation control, the invitation interface is displayed.
16. The apparatus according to claim 15, characterized in that, In the game interface, a marker is displayed on the second virtual image whose distance from the first virtual image meets a preset distance condition; The display unit, when displaying the invitation control corresponding to the second virtual avatar in response to the first user's trigger operation on the game interface, is configured to: In response to the first user's triggering operation on the second virtual avatar with the marked information, an invitation control corresponding to the second virtual avatar is displayed.
17. The apparatus according to claim 13, characterized in that, The game interface includes a target scene area; The acquisition module, when acquiring audio playback information of the target audio data in response to a specified interactive action performed by the first user and / or the second user through the first virtual avatar and the second virtual avatar, is configured to: In response to the first user controlling the first virtual avatar to reach the target scene area, audio playback information of the target audio data is obtained.
18. The apparatus according to claim 17, characterized in that, The acquisition module, when responding to the first user controlling the first virtual avatar to reach the target scene area and acquiring the audio playback information of the target audio data, is used for: In response to the first user controlling the first virtual avatar to enter the target scene area, an audio selection interface is displayed, which is used to display at least one alternative audio data; In response to the first user's selection operation among the at least one alternative audio data, the selected alternative audio data is used as the target audio data, and the audio playback information of the target audio data is obtained.
19. The apparatus according to claim 17, characterized in that, When the sending module is used to send a synchronized playback instruction to the second terminal corresponding to the second user based on the audio playback information, it is used for: In response to the second user controlling the second virtual avatar to enter the target scene area, a synchronous playback command is sent to the second terminal corresponding to the second user based on the audio playback information.
20. The apparatus according to claim 13, characterized in that, The acquisition module is also used to acquire the target audio data through a preset interface; The device further includes: The playback module is used to play the acquired target audio data in the game application corresponding to the game interface.
21. The apparatus according to claim 20, characterized in that, The display module is also used to display an audio playlist in the game interface based on the target audio data, and to display playback progress adjustment controls in the audio playlist; The device further includes: The adjustment module is used to adjust the playback progress of the target audio data in response to the trigger operation of the playback progress adjustment control.
22. The apparatus according to claim 21, characterized in that, The device further includes: An update module is configured to update target audio data in the audio playlist in response to receiving an update instruction for the audio playlist, wherein the update instruction is generated based on an audio editing operation performed by the first user on the first terminal, and / or, the update instruction is generated based on an audio editing operation performed by the second user on the second terminal.
23. The apparatus according to claim 13, characterized in that, The display module is also used for at least one of the following: An information display control is displayed in the game interface. The information display control is used to display at least one of the following: the distance between the first user and the second user, the amount of audio data listened to together, and the duration of listening to audio data together. A feedback control is displayed in the game interface, which is used to display a target effect in the game interface when it is triggered; A chat control is displayed in the game interface. The chat control is used to display a chat interface when triggered. The chat interface is used to provide chat functionality for the first user and the second user. An exit control is displayed in the game interface. The exit control is used to provide the first user with the function of ending the process of listening to audio data together with the second user.
24. The apparatus according to claim 23, characterized in that, The display module is also configured to display an information viewing control in response to the triggering operation of the exit control. The information viewing control is used to provide the first user with the function of viewing statistical information during the joint listening process of this audio data.
25. A terminal, characterized in that, The terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it performs the operations performed by the audio data processing method for game interaction as described in any one of claims 1 to 12.
26. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that is executed by a processor as described in any one of claims 1 to 12, using the audio data processing method for game interaction.
Citation Information
Patent Citations
Media resource playing method and device, storage medium and electronic equipment
CN113411652A