Voice play method and voice transmission method, storage medium and electronic device

By using voice playback and collection objects in virtual games, spectators can listen to the voices of the spectators in real time within the game, solving the problem of low efficiency of voice communication in virtual games and achieving efficient voice interaction.

CN114082199BActive Publication Date: 2025-10-21TENCENT TECH (CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110927050.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-12
Publication Date
2025-10-21
Estimated Expiration
2041-08-12

AI Technical Summary

Technical Problem

In virtual games, voice communication between spectators and those being observed is inefficient, requiring users to exit the current interface and switch chat channels to send messages, making real-time voice interaction impossible.

Method used

During the game viewing process, the voice playback object and voice collection object are used to allow the spectator to listen to the voice of the spectator in the game in real time and realize two-way voice interaction in the game, eliminating the steps of exiting the game and switching the chat interface.

Benefits of technology

It improves the efficiency of voice interaction, reduces the number of operation steps, reduces the impact on the viewing experience, and realizes real-time voice transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114082199B_ABST
    Figure CN114082199B_ABST
Patent Text Reader

Abstract

The application discloses a voice playing method and a voice transmission method, a storage medium and an electronic device. The method comprises the following steps: when a first account is watching a game, displaying a game picture of the game and a voice playing object, wherein the voice playing object is used for allowing playing of voice generated by a second account participating in the game when the voice playing object is in an open state; when the voice playing object is in the open state and the second account allows the first account to listen to the voice of the second account, playing the voice generated by the second account in the game. The application solves the technical problem of low voice interaction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a voice playing method and a voice transmission method, as well as a storage medium and an electronic device. Background Art

[0002] Virtual games have been developing rapidly in recent years. However, due to the limited number of players who can participate in a virtual game, it is impossible to ensure that all players who want to participate can directly participate. In response to this, related technologies use spectator technology to enable players who cannot directly participate in the virtual game to indirectly participate in the game by observing the game.

[0003] However, voice communication between the spectators (the spectator and the observer) in related technologies is relatively cumbersome. For example, if a spectator wants to have a voice conversation with the spectator, they must first exit the current viewing interface and then send a voice message to the spectator through the chat channel in the game lobby. Similarly, if the spectator wants to have a voice conversation with the spectator, they must also exit the current game and then send a voice message to the spectator through the chat channel in the game lobby. This voice interaction method not only increases the number of steps, but also only retrieves reserved voice messages, not real-time voice, making voice interaction very inefficient.

[0004] Therefore, there is a technical problem in the related art that the voice interaction efficiency is low.

[0005] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0006] The embodiments of the present invention provide a voice playback method and a voice transmission method, as well as a storage medium and an electronic device, to at least solve the technical problem of low voice interaction efficiency.

[0007] According to one aspect of an embodiment of the present invention, a voice playback method is provided, comprising: when a first account is watching a game, displaying a game screen and a voice playback object for the game, wherein the voice playback object is configured to allow playback of voice generated by a second account participating in the game when the object is enabled; and when the voice playback object is enabled and the second account allows the first account to listen to the second account's voice, playing the voice generated by the second account in the game.

[0008] According to another aspect of an embodiment of the present invention, another voice transmission method is provided, including: when a second account participates in a game, displaying the game screen and a voice collection object of the game, wherein the voice collection object is used to allow the voice generated by the second account to be transmitted to the first account watching the game for playback when the second account is in an open state and the first account watching the game allows listening to the voice of the second account; when the voice collection object is in an open state and the first account allows listening to the voice of the second account, the voice generated by the second account is transmitted to the first account for playback.

[0009] According to another aspect of an embodiment of the present invention, a voice playback device is further provided, comprising: a first display unit, configured to display a game screen and a voice playback object for a first account watching a game, wherein the voice playback object is configured to allow playback of voice generated by a second account participating in the game when the voice playback object is enabled; and a first playback unit, configured to play the voice generated by the second account in the game when the voice playback object is enabled and the second account allows the first account to listen to the voice of the second account.

[0010] As an optional solution, the above-mentioned device also includes: a first transmission unit, which is used to transmit the voice generated by the above-mentioned first account when watching the above-mentioned game to the above-mentioned second account for playback when the above-mentioned voice playback object is in the above-mentioned open state and the above-mentioned second account allows listening to the voice of the above-mentioned first account; or a third display unit, which is used to display a voice collection object when displaying the game screen of the above-mentioned game watched by the above-mentioned first account, wherein the above-mentioned voice collection object is used to allow the voice generated by the above-mentioned first account when watching the above-mentioned game to be transmitted to the above-mentioned second account for playback when it is in the open state; when the above-mentioned voice collection object is in the open state, the voice generated by the above-mentioned first account when watching the above-mentioned game is transmitted to the above-mentioned second account for playback.

[0011] As an optional solution, the above-mentioned device also includes: a first transmission unit, which is used to transmit the voice generated by the above-mentioned first account when watching the above-mentioned game to the above-mentioned second account for playback when the above-mentioned voice playback object is in the above-mentioned open state and the above-mentioned second account allows listening to the voice of the above-mentioned first account; or a third display unit, which is used to display a voice collection object when displaying the game screen of the above-mentioned game watched by the above-mentioned first account, wherein the above-mentioned voice collection object is used to allow the voice generated by the above-mentioned first account when watching the above-mentioned game to be transmitted to the above-mentioned second account for playback when it is in the open state; when the above-mentioned voice collection object is in the open state, the voice generated by the above-mentioned first account when watching the above-mentioned game is transmitted to the above-mentioned second account for playback.

[0012] As an optional solution, the above-mentioned device also includes: a fourth display unit, which is used to display the above-mentioned voice collection object which is in the above-mentioned turned-on state by default when starting to display the game screen of the above-mentioned game watched by the above-mentioned first account; or a second setting unit, which is used to set the above-mentioned voice collection object to be in the turned-on state in response to a second target operation performed on the above-mentioned voice collection object which is in the turned-off state.

[0013] As an optional solution, the above-mentioned device includes: a fifth display unit, which is used to display N viewing entrances before displaying the game screen and voice playback object of the game watched by the first account, wherein each of the above-mentioned N viewing entrances is a viewing entrance for a game currently played by a corresponding account among the N accounts, each of the above-mentioned N accounts is associated with the above-mentioned first account, the above-mentioned N accounts include the above-mentioned second account, and N is a natural number; an acquisition unit, which is used to acquire a third target operation performed on a first viewing entrance among the above-mentioned N viewing entrances before displaying the game screen and voice playback object of the game watched by the first account, wherein the above-mentioned first viewing entrance is the viewing entrance for the above-mentioned game currently played by the above-mentioned second account, and the above-mentioned third target operation is used to instruct the above-mentioned first account to watch the above-mentioned game currently played by the second account.

[0014] As an optional solution, the above-mentioned first transmission unit includes: a first playback module, which is used to transmit the voice generated by the above-mentioned first account when watching the above-mentioned game to the above-mentioned second account for playback when the above-mentioned first account is associated with the above-mentioned second account, the above-mentioned voice playback object is in the above-mentioned open state, and the above-mentioned second account allows listening to the voice of the above-mentioned first account.

[0015] As an optional solution, the third display unit includes: a first display module, configured to display the voice collection object when the first account is associated with the second account and a game screen of the game watched by the first account is displayed.

[0016] As an optional solution, the above-mentioned device also includes: a first prohibition unit, which is used to prohibit the voice generated by the above-mentioned first account when watching the above-mentioned game from being transmitted to the above-mentioned second account for playback when displaying the game screen of the above-mentioned game watched by the above-mentioned first account.

[0017] As an optional solution, the above-mentioned device includes: a sixth display unit, used to display M recommended viewing entrances before displaying the game screen and voice playback object of the game watched by the first account, wherein each of the above-mentioned M viewing entrances is a viewing entrance for a game currently being participated in by a corresponding account among the M accounts, the above-mentioned M accounts include the above-mentioned second account, and M is a natural number; an acquisition unit, used to acquire a fourth target operation performed on a second viewing entrance among the above-mentioned M viewing entrances before displaying the game screen and voice playback object of the game watched by the first account, wherein the above-mentioned second viewing entrance is the viewing entrance for the above-mentioned game currently being participated in by the above-mentioned second account, and the above-mentioned fourth target operation is used to instruct the above-mentioned first account to watch the above-mentioned game currently being participated in by the above-mentioned second account.

[0018] As an optional solution, it includes at least one of the following: a second playback unit, used to play the voice generated by the third account watching the above-mentioned game during the above-mentioned playback of the voice generated by the above-mentioned second account in the above-mentioned game; a third playback unit, used to play the voice generated by the fourth account participating in the above-mentioned game during the above-mentioned playback of the voice generated by the above-mentioned second account in the above-mentioned game, wherein the above-mentioned second account and the above-mentioned fourth account are in the same camp during the above-mentioned playback of the above-mentioned game; a fourth playback unit, used to play the voice generated by the fifth account participating in the above-mentioned game during the above-mentioned playback of the voice generated by the above-mentioned second account in the above-mentioned game, wherein the above-mentioned second account and the above-mentioned fifth account are in different camps during the above-mentioned playback of the above-mentioned game.

[0019] According to another aspect of an embodiment of the present invention, another voice transmission device is provided, including: a seventh display unit, configured to display a game screen and a voice collection object for a second account participating in a game, wherein the voice collection object is configured to allow the voice generated by the second account to be transmitted to the first account watching the game for playback when the voice collection object is enabled and the first account watching the game allows the voice of the second account to be listened to; and a second transmission unit, configured to transmit the voice generated by the second account to the first account for playback when the voice collection object is enabled and the first account allows the voice of the second account to be listened to.

[0020] As an optional solution, it includes: a seventh display unit, used to display the game screen of a game in which the second account participates and a voice collection object, wherein the above-mentioned voice collection object is used to allow the voice generated by the second account to be transmitted to the above-mentioned first account watching the above-mentioned game for playback when it is in an open state and the first account watching the above-mentioned game allows listening to the voice of the above-mentioned second account; a second transmission unit, used to transmit the voice generated by the above-mentioned second account to the above-mentioned first account for playback when the above-mentioned voice collection object is in an open state and the above-mentioned first account allows listening to the voice of the above-mentioned second account.

[0021] As an optional solution, the above-mentioned device also includes: an eighth display unit, which is used to display the above-mentioned voice collection object which is in the turned-on state by default when the game screen of the above-mentioned game in which the above-mentioned second account participates begins to be displayed; or a third setting unit, which is used to set the above-mentioned voice collection object to be in the collection state in response to a first target operation performed on the above-mentioned voice collection object which is in the turned-off state.

[0022] As an optional solution, the above-mentioned device also includes: a fifth playback unit, which is used to play the voice generated by the above-mentioned first account when watching the above-mentioned game when the above-mentioned voice collection object is in an open state and the above-mentioned first account allows the voice generated by the above-mentioned first account to be transmitted to the above-mentioned second account; a ninth display unit, which is used to display the voice playback object when displaying the game screen of the above-mentioned game in which the above-mentioned second account participates, wherein the above-mentioned voice playback object is used to allow the playback of the voice generated by the first account watching the above-mentioned game when it is in an open state; and when the above-mentioned voice playback object is in an open state and the above-mentioned first account allows the transmission of the voice generated by the above-mentioned first account to the above-mentioned second account, the voice generated by the above-mentioned first account when watching the above-mentioned game is played.

[0023] As an optional solution, the apparatus further includes: a tenth display unit, configured to display the voice playback object that is in the above-mentioned enabled state by default when starting to display the game screen of the above-mentioned game in which the second account participates; or a fourth setting unit, configured to set the above-mentioned voice playback object to the enabled state in response to a second target operation performed on the above-mentioned voice playback object that is in the disabled state. As an optional solution,

[0024] As an optional solution, the above-mentioned fifth playback unit includes: a second playback module, which is used to play the voice generated by the above-mentioned first account when watching the above-mentioned game when the above-mentioned first account is associated with the above-mentioned second account, the above-mentioned voice collection object is in the above-mentioned open state, and the above-mentioned first account allows the voice generated by the above-mentioned first account to be transmitted to the above-mentioned second account.

[0025] As an optional solution, the ninth display unit includes: a second display module, configured to display the voice playback object when the first account is associated with the second account and a game screen of the game in which the second account participates is displayed.

[0026] As an optional solution, the above-mentioned device includes: a second prohibition unit, which is used to prohibit the playback of the voice generated by the above-mentioned first account when watching the above-mentioned game when displaying the game screen of the above-mentioned game in which the second account participates.

[0027] As an optional solution, the present invention includes at least one of the following: a third transmission unit, configured to transmit the voice generated by the second account to a third account watching the game during the process of transmitting the voice generated by the second account to the first account for playback; a fourth transmission unit, configured to transmit the voice generated by the second account to a fourth account participating in the game during the process of transmitting the voice generated by the second account to the first account for playback, wherein the second account and the fourth account are in the same camp during the process of participating in the game; and a fifth transmission unit, configured to transmit the voice generated by the second account to a fifth account participating in the game during the process of transmitting the voice generated by the second account to the first account for playback, wherein the second account and the fifth account are in different camps during the process of participating in the game.

[0028] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned voice playback method and voice transmission method when running.

[0029] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the voice playback method and the voice transmission method through the computer program.

[0030] In this embodiment of the present invention, when a first account is watching a game currently being played by a second account, the second account's real-time voice messages during the game can be captured and played back through a voice playback object. This eliminates the need for the second account to exit the current game and then send a voice message to the first account in the game lobby chat channel, as in the related art. This solves the technical problem of low voice interaction efficiency in the related art and improves the efficiency of voice interaction.

[0031] On the other hand, in an embodiment of the present invention, when a first account is watching a game in which a second account is participating, two-way voice interaction is achieved through a voice playback object, or through a voice playback object and a voice collection object. That is, when the first account is watching a game in which the second account is participating, the first account can hear the voice generated in real time by the second account in the above game, and the second account can also hear the voice generated in real time by the first account when watching the above game, thereby further improving the efficiency of voice interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0033] Figure 1 is a schematic diagram of an application environment of an optional voice playback method according to an embodiment of the present invention;

[0034] Figure 2 is a schematic diagram of a process of an optional voice playback method according to an embodiment of the present invention;

[0035] Figure 3 is a schematic diagram of an optional voice playback method according to an embodiment of the present invention;

[0036] Figure 4 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0037] Figure 5 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0038] Figure 6is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0039] Figure 7 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0040] Figure 8 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0041] Figure 9 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0042] Figure 10 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0043] Figure 11 is a schematic diagram of another optional voice playback method according to an embodiment of the present invention;

[0044] Figure 12 is a schematic diagram of a process of another optional voice transmission method according to an embodiment of the present invention;

[0045] Figure 13 is a schematic diagram of another optional voice transmission method according to an embodiment of the present invention;

[0046] Figure 14 is a schematic diagram of another optional voice transmission method according to an embodiment of the present invention;

[0047] Figure 15 is a schematic diagram of an optional voice playback device according to an embodiment of the present invention;

[0048] Figure 16 is a schematic diagram of another optional voice transmission device according to an embodiment of the present invention;

[0049] Figure 17 FIG. 4 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0051] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0052] First, to facilitate understanding of the embodiments of the present invention, some of the terms or nouns involved in the present invention are explained below:

[0053] Multiplayer Online Battle Arena (MOBA): Equipment is generally purchased during combat, and players are usually divided into two teams that compete against each other in separate game maps.

[0054] In-game: refers to the MOBA game, in which the player controls the hero as an actual participant in the game.

[0055] Spectating: In MOBA games, watching the game as a non-player without being able to control the heroes.

[0056] According to one aspect of an embodiment of the present invention, a voice playing method is provided. Optionally, as an optional implementation, the voice playing method can be applied to, but is not limited to, Figure 1 In the environment shown, it may include, but is not limited to, a user device 102, a network 110, and a server 112. The user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104.

[0057] The specific process can be as follows:

[0058] In step S102, the user device 102 recognizes a selection operation on a game screen displayed on the display 108, and the selection operation is triggered on the voice playback object 1022, thereby obtaining a voice start instruction, wherein the voice start instruction is used to open a voice channel between a viewer watching the game and a participant (the viewed person) participating in the game;

[0059] Steps S104-S106, the user device 102 sends the voice activation instruction to the server 112 via the network 110;

[0060] Step S108: The server 112 processes the voice activation instruction through the processing engine 116 to generate an instruction response result;

[0061] In steps S110-S112, the server 112 sends the instruction response result to the user device 102 via the network 110. The processor 106 in the user device 102 determines whether to open the voice channel according to the indication of the instruction response result, and displays the instruction response result on the display 108 (for example, if it is opened, the voice playback object 1022 lights up, and if it is closed, the voice playback object 1022 is dimmed, etc.), and stores the instruction response result in the memory 104.

[0062] remove Figure 1 In addition to the examples shown, the above steps can be independently completed by user device 102, that is, user device 102 performs steps such as processing the voice activation command, thereby reducing the processing pressure on the server. User device 102 includes but is not limited to handheld devices (such as mobile phones), laptops, desktop computers, and in-vehicle devices. The present invention does not limit the specific implementation of user device 102.

[0063] Alternatively, as an optional implementation, Figure 2 As shown, the voice playback method includes:

[0064] S202, when a first account is watching a game, displaying the game screen and a voice playback object of the game, wherein the voice playback object is used to allow the playback of voice generated by a second account participating in the game when it is in an enabled state;

[0065] S204: When the voice playback object is enabled and the second account allows the first account to listen to the voice of the second account, the voice generated by the second account in a game is played.

[0066] Optionally, in this embodiment, the above-mentioned voice playback method can be applied to, but is not limited to, MOBA game scenarios. For example, during the running of a MOBA game, the two players in the game operate heroes in the game as actual participants, while other users who are not on the two sides of the game can watch the game as non-players and cannot operate the heroes. By using the above-mentioned voice playback method, one or more channels supporting voice transmission are provided for viewers who watch the game as non-players and the watched persons who are actual participants, so that the viewers can receive the voices generated by the watched persons in the MOBA game. Similarly, the watched persons can also receive, but are not limited to, the voices generated by the viewers before / during / after the running of the MOBA game.

[0067] Optionally, in this embodiment, the first account is a spectator account for watching a round of the game, and the second account is a spectator account for participating in a round of the game. If the first account and the second account are friends, then in related technologies, the first account can conduct voice transmission with the second account currently playing the game through a friend private chat. However, this requires the first account to temporarily exit the game viewing and separately call up the friend private chat voice transmission channel or interface, which is relatively cumbersome and significantly affects the spectator's viewing experience.

[0068] In this embodiment, when the voice playback object is turned on and the second account allows the first account to listen to the second account's voice, the voice generated by the second account in a game can be played without the first account exiting the viewing screen of the game, thereby eliminating cumbersome operating steps, improving the voice transmission efficiency, and reducing the impact of voice transmission on the spectator's viewing experience.

[0069] Optionally, in this embodiment, a voice playback object may be understood as, but is not limited to, a voice playback icon displayed on the game screen, such as a virtual microphone icon, a virtual receiver icon, a virtual ear icon, a virtual lip icon, etc. Furthermore, a voice playback object may be, but is not limited to, capable of being in various states, such as an on state, an off state, a disabled state, a cooldown state, etc. Specifically, when a voice playback object is in the off state, it may be, but is not limited to, not playing voices generated by a second account during a game; when a voice playback object is in the off state and receives an on operation triggered on the voice playback object, it may be, but is not limited to, adjusting the voice playback object to an on state; when a voice playback object is in the disabled state, it may be, but is not limited to, not playing voices generated by a second account during a game; and when a on operation triggered on the voice playback object is received, it may be, but is not limited to, maintaining the voice playback object in the disabled state; when a voice playback object is in the cooldown state, it may be, but is not limited to, not playing voices generated by a second account during a game; and when a on operation triggered on the voice playback object is received and the cooldown period does not reach a preset duration, it may be, but is not limited to, maintaining the voice playback object in the cooldown state.

[0070] It should be noted that when a first account is watching a game, a voice playback object is provided for voice transmission, and by determining the state of the voice playback object, the voice generated by the second account in the game is efficiently played, thereby achieving the technical goal of efficiently realizing voice transmission during the spectating process, and further achieving the technical effect of improving voice transmission efficiency;

[0071] Furthermore, the in-game voice playback method for spectators and spectators provided in an embodiment of the present invention, compared to the method in the related art that requires exiting the current game being watched and then using other chat channels to complete voice playback, does not require the spectator to call out other voice transmissions, but is directly implemented within the game. In this way, the spectator saves the complicated channel adjustment operation, and the spectator does not need to switch the current game interface to the chat interface for voice transmission, thereby reducing the impact of voice transmission on the spectator's viewing experience and the impact of voice transmission on the spectator's gaming experience.

[0072] To illustrate further, the optional Figure 3 As shown, a game screen of a game watched by a first account (spectator) and a voice playback object 302 are displayed. The voice playback object 302 is used to allow the playback of voices produced by a second account (the spectator) participating in the game when it is enabled. When the voice playback object 1022 is enabled and the second account allows the first account to listen to the second account's voice, the voice produced by the second account in the game is played.

[0073] Furthermore, in this embodiment, a game screen in which a first account (spectator) is watching a game displays a total of 10 game accounts from both sides of the game, and the 10 game accounts are divided into two camps, with each camp allocated 5 game accounts. Based on this, the second account (the spectator) can be, but is not limited to, one of the 10 game accounts, can also be, but is not limited to, all game accounts in one of the two camps, or can also be, but is not limited to, all 10 game accounts.

[0074] Furthermore, in this embodiment, in the game screen of a game watched by the first account (spectator), the first account (spectator) can also adjust the game screen corresponding to different time points in the above-mentioned game, and during the playback process, the first account (spectator) can adjust the playback speed, but is not limited to adjusting the playback speed. Therefore, the voice generated by the second account in the game that is played can also, but is not limited to, correspond to the adjusted game screen. For example, the currently displayed game screen is the screen of the game process at the time "01:27", and the voice generated by the second account in the game that is played can also, but is not limited to, the voice of the game process at the time "01:27".

[0075] Alternatively, in this embodiment, the voice generated by the second account during a game played may also be understood as, but not limited to, real-time voice. For example, the currently displayed game screen is the screen of the game process at time "01:27", but the voice generated by the second account during a game played may be, but not limited to, the voice at time "25:12", that is, real-time voice.

[0076] Through the embodiments provided by the present application, when a first account is watching a game, the game screen and voice playback object of the game are displayed, wherein the voice playback object is used to allow the playback of the voice generated by the second account participating in the game when it is in the turned-on state; when the voice playback object is in the turned-on state and the second account allows the first account to listen to the voice of the second account, the voice generated by the second account in the game is played, thereby achieving the technical purpose of efficiently realizing voice transmission during the viewing process, and further achieving the technical effect of improving the efficiency of voice interaction.

[0077] As an optional solution, the method further includes:

[0078] S1, when starting to display the game screen of a game watched by the first account, displaying the voice playback object that is turned on by default; or

[0079] S2: In response to a first target operation performed on a voice playback object in an off state, setting the voice playback object to an on state.

[0080] Optionally, in this embodiment, when the game screen of a game watched by the first account begins to be displayed, the state of the voice playback object may be, but is not limited to, defaulted to a fixed state, such as an on state or an off state.

[0081] Optionally, in this embodiment, the state of the voice playback object can be adjusted in response to, but not limited to, the first target operation performed on the voice playback object, such as setting the voice playback object to be in the on state in response to the first target operation performed on the voice playback object in the off state.

[0082] Further examples are given, optionally based on Figure 3 The scene shown, continue as Figure 4 As shown, assuming that the current voice playback object 302 is in the closed state, then Figure 4 In the scenario shown in (a), the first target operation performed on the voice playback object 302 in the closed state is obtained; and then as shown in FIG. Figure 4 As shown in (b) in FIG. 5 , in response to a first target operation performed on the voice playback object 302 in the closed state, the voice playback object 302 is set to be in the open state.

[0083] As an optional solution, the method further includes:

[0084] S1, when the voice playback object is turned on and the second account allows the first account to listen to the voice of the first account, transmit the voice generated by the first account when watching a game to the second account for playback; or

[0085] S2. When displaying a game screen of a game watched by a first account, display a voice collection object, wherein the voice collection object is used to allow the voice generated by the first account when watching a game to be transmitted to the second account for playback when it is in an enabled state; when the voice collection object is in an enabled state, the voice generated by the first account when watching a game is transmitted to the second account for playback.

[0086] Optionally, in this embodiment, the voice playback object can be used, but is not limited to, to control voice playback (playing the voice generated by the second account during a game) and voice transmission (transmitting the voice generated by the first account while watching a game to the second account for playback). For further example, optionally, when the voice playback object is enabled, whether to play the voice generated by the second account during a game or whether to transmit the voice generated by the first account while watching a game to the second account for playback will depend on the permissions enabled on the second account side. That is, if the second account allows the first account to listen to the second account's voice, the voice generated by the second account during a game will be played; or if the second account allows the first account to receive voice generated by the first account while watching a game, the voice generated by the first account while watching a game will be transmitted to the second account for playback.

[0087] In addition, the optional transmission of the voice generated by the first account while watching a game to the second account is determined by whether the voice playback object is in the enabled state, and whether the second account can play the voice is determined by the playback permission on the second account side. For example, if the voice playback object is in the enabled state and the second account has disabled the playback permission for the voice, the voice generated by the first account while watching a game will be transmitted to the second account, but will not be played.

[0088] Alternatively, in this embodiment, whether the voice generated by the first account while watching a game is transmitted to the second account for playback may be determined by, but not limited to, whether the voice playback object is in an enabled state and whether the second account plays the voice based on the playback permission of the second account. For example, if the voice playback object is enabled and the second account has disabled the playback permission for the voice, the voice generated by the first account while watching a game is prohibited from being transmitted to the second account for playback.

[0089] Optionally, in this embodiment, the voice playback object can be used, but is not limited to, to independently determine whether to play the voice generated by the second account in a game, and the voice collection object can be used, but is not limited to, to independently determine whether to transmit the voice generated by the first account when watching a game to the second account for playback.

[0090] To further illustrate, the optional Figure 3 The scenario shown, continuing with e.g. Figure 5As shown, when the game screen of a game watched by a first account is displayed, a voice playback object 302 and a voice collection object 502 are displayed, wherein the voice collection object 502 is used to allow the voice generated by the first account when watching a game to be transmitted to the second account for playback when it is in the turned-on state; when the voice playback object 302 is in the turned-on state and the second account allows the first account to listen to the voice of the second account, the voice generated by the second account in a game is played; when the voice collection object 502 is in the turned-on state, the voice generated by the first account when watching a game is transmitted to the second account for playback.

[0091] Optionally, in this embodiment, the voice generated by the first account when watching a game is transmitted to the second account for playback may be related to, but not limited to, whether the voice collection object is in an open state, and has nothing to do with whether the second account is allowed to listen to the voice of the first account; or optionally, in this embodiment, the voice generated by the first account when watching a game is transmitted to the second account for playback may be related to, but not limited to, whether the voice collection object is in an open state and whether the second account is allowed to listen to the voice of the first account. For example, when the voice collection object is in an open state and the second account is allowed to listen to the voice of the first account, the voice generated by the first account when watching a game is transmitted to the second account for playback.

[0092] As an optional solution, the method further includes:

[0093] S1, when starting to display the game screen of a game watched by the first account, display the voice collection object that is in the default open state; or

[0094] S2: In response to a second target operation performed on the voice collection object in the closed state, setting the voice collection object to be in the open state.

[0095] Optionally, in this embodiment, when the game screen of a game watched by the first account begins to be displayed, the state of the voice collection object may be, but is not limited to, defaulted to a fixed state, such as an on state or an off state.

[0096] Optionally, in this embodiment, the state of the voice collection object can be adjusted in response to, but not limited to, a second target operation performed on the voice collection object, such as setting the voice collection object to an open state in response to a second target operation performed on a voice playback object that is in an closed state.

[0097] As an optional solution, before displaying the game screen and voice playback object of a game, the method includes:

[0098] S1, displaying N viewing portals, where each of the N viewing portals is a viewing portal for a game currently being played by a corresponding account among N accounts, each of the N accounts is associated with a first account, the N accounts include a second account, and N is a natural number;

[0099] S2. Obtain a third target operation for a first viewing entry among N viewing entries, where the first viewing entry is a viewing entry for a game currently being participated in by the second account, and the third target operation is used to instruct the first account to watch the game currently being participated in by the second account.

[0100] Optionally, in this embodiment, the association relationship can be used, but is not limited to, to represent the relationship between pre-established accounts, such as friend relationships, teammate relationships, intimacy relationships (such as relatives, lovers, brothers, etc.), regional relationships (such as close geographical locations), operation object relationships (such as the same or similar heroes that are good at / favorite), etc.

[0101] It should be noted that N viewing entrances are displayed, and in response to a third target operation performed on a first viewing entrance among the N viewing entrances, the first account is instructed to view a game in which the second account is currently participating.

[0102] Taking friendship as an example, the optional Figure 6 As shown, first Figure 6 As shown in (a) of FIG, a virtual game main interface of account A is displayed, and multiple virtual icons are also displayed on the main interface, such as the three virtual icons displayed in the upper right corner, which are, from left to right, a friend icon, a spectator icon, and a mailbox icon. Assume that a first selection operation is performed on the spectator icon;

[0103] Further responding to the first selected operation, such as Figure 6 As shown in (b), a viewing interface is displayed, and a viewing list is also displayed on the viewing interface, such as expert viewing, friend viewing, team viewing, and local playback. Assume that the second selection operation for friend viewing is obtained;

[0104] Then, in response to the second selection operation, Figure 6 As shown in (c), a viewing sub-interface under the friend viewing list is displayed, and multiple (2) viewing entrances are displayed in the viewing sub-interface, and each viewing entrance corresponds to account B and account C respectively, and account B and account C are both friend accounts of account A; assuming that the third target operation is performed on the viewing entrance corresponding to account B, account A is instructed to watch a game in which account B is participating.

[0105] Through the embodiment provided by the present application, N viewing entrances are displayed, wherein each of the N viewing entrances is a viewing entrance for a game currently being participated in by a corresponding account among N accounts, each of the N accounts is associated with a first account, the N accounts include a second account, and N is a natural number; a third target operation is obtained for a first viewing entrance among the N viewing entrances, wherein the first viewing entrance is a viewing entrance for a game currently being participated in by a second account, and the third target operation is used to instruct the first account to watch the game currently being participated in by the second account, thereby achieving the purpose of quickly viewing a game being participated in by accounts with associated relationships, and realizing the effect of improving viewing efficiency.

[0106] As an optional solution, when the voice playback object is enabled and the second account allows the first account to listen to the voice of the first account, the voice generated by the first account while watching a game is transmitted to the second account for playback, including:

[0107] When the first account and the second account are associated, the voice playback object is turned on, and the second account allows listening to the voice of the first account, the voice generated by the first account when watching a game is transmitted to the second account for playback.

[0108] Optionally, in this embodiment, in a scenario where a first account and a second account are associated, whether the voice generated by the first account when watching a game is transmitted to the second account for playback may be determined by, but not limited to, whether the voice playback object is in an open state and whether the second account allows the first account to listen to the voice.

[0109] Optionally, in this embodiment, when the first account and the second account are associated, if the voice playback object is in the turned-on state and the second account is not currently allowed to listen to the voice of the first account, a prompt message can be sent to the second account, but is not limited to, to prompt the first account with the associated relationship that it is currently watching the game and its voice playback object is in the turned-on state.

[0110] As an optional solution, when displaying the game screen of a game watched by the first account, the voice collection object is displayed, including:

[0111] When the first account and the second account are associated and a game screen of a game watched by the first account is displayed, the voice collection object is displayed.

[0112] Optionally, in this embodiment, considering that the first account and the second account have an association relationship in addition to the spectator-watched relationship, the two may have a greater demand for voice transmission, so in addition to displaying the voice playback object, the voice collection object will also be displayed.

[0113] As an optional solution, the method further includes:

[0114] When displaying the game screen of a game watched by a first account, it is prohibited to transmit the voice generated by the first account while watching the game to the second account for playback.

[0115] It should be noted that since there may be multiple first accounts, directly allowing the voice data generated by the first account while watching a game to be transmitted to the second account for playback may result in excessive voice data, thereby affecting the second account's gaming progress. Therefore, when displaying the game screen of a game watched by the first account, prohibiting the transmission of the voice data generated by the first account while watching a game to the second account for playback can reduce the impact of the voice transmission on the second account's gaming progress.

[0116] As an optional solution, before displaying the game screen and voice playback object of a game, the method includes:

[0117] S1, displaying M recommended viewing entrances, wherein each of the M viewing entrances is a viewing entrance for a game currently being participated in by a corresponding account among the M accounts, the M accounts including the second account, and M being a natural number;

[0118] S2. Obtain a fourth target operation for a second viewing entry among the M viewing entries, where the second viewing entry is a viewing entry for a game currently being participated in by the second account, and the fourth target operation is used to instruct the first account to watch the game currently being participated in by the second account.

[0119] Optionally, in this embodiment, each account will generate one or more game attributes in the current game in which it participates, such as K (Kill), D (Death), A (Assassination) values, etc. If the game data meets the preset threshold, it will be recommended to watch the game with a certain profile.

[0120] Taking the example of a master watching a game, the options are as follows: Figure 7 As shown, first Figure 7 As shown in (a) of FIG, a virtual game main interface of account A is displayed, and multiple virtual icons are also displayed on the main interface, such as the three virtual icons displayed in the upper right corner, which are, from left to right, a friend icon, a spectator icon, and a mailbox icon. Assume that a first selection operation is performed on the spectator icon;

[0121] Further responding to the first selected operation, such as Figure 7As shown in (b) in the figure, a viewing interface is displayed, and a viewing list is also displayed on the viewing interface, such as Master Viewing, Friend Viewing, Team Viewing, and Local Replay. Assume that a second selection operation for Master Viewing is obtained;

[0122] Then, in response to the second selection operation, Figure 7 As shown in (c), the viewing sub-interface under the master viewing list is displayed, and multiple (2) viewing entrances are displayed in the viewing sub-interface, and each viewing entrance corresponds to account D and account E respectively, and account D and account E are both "master accounts"; assuming that the fourth target operation is performed on the viewing entrance corresponding to account D, account A is instructed to watch a game in which account D is participating.

[0123] Through the embodiment provided by the present application, M recommended viewing entrances are displayed, wherein each of the M viewing entrances is a viewing entrance for a game currently being participated in by a corresponding account among M accounts, the M accounts include a second account, and M is a natural number; a fourth target operation is obtained for a second viewing entrance among the M viewing entrances, wherein the second viewing entrance is a viewing entrance for a game currently being participated in by the second account, and the fourth target operation is used to instruct the first account to watch the game currently being participated in by the second account, thereby achieving the purpose of quickly watching a game participated in by the recommended account and realizing the effect of improving viewing efficiency.

[0124] As an optional solution, when displaying a game screen of a game, the method further includes at least one of the following:

[0125] S1, plays the voice produced by a third account watching a game;

[0126] S2, playing the voice generated by the fourth account participating in the game, wherein the second account and the fourth account are in the same team during the game;

[0127] S3: Play the voice generated by the fifth account participating in the game, wherein the second account and the fifth account are in different camps during the game.

[0128] Optionally, in this embodiment, the first account as a spectator can not only play the voice generated by the second account in a game, but also play the voices of other spectators, such as the voice generated by the third account watching a game.

[0129] Optionally, in this embodiment, the first account acting as a spectator can not only play the voice generated by the second account in a game, but also play the voice of accounts participating in the same game and in the same camp as the second account, such as playing the voice generated by the fourth account participating in the game.

[0130] Optionally, in this embodiment, the first account acting as a spectator can not only play the voice generated by the second account in a game, but also play the voice of accounts participating in the same game but in different camps as the second account, such as playing the voice generated by the fifth account participating in the game.

[0131] It should be noted that the voice produced by the third account watching a game is played; the voice produced by the fourth account participating in a game is played, wherein the second account and the fourth account are in the same camp during the game; the voice produced by the fifth account participating in a game is played, wherein the second account and the fifth account are in different camps during the game.

[0132] For further explanation, we can take the voice room as an example. Voice transmission is allowed between accounts in each voice room, and each voice room is independent and not related. That is, accounts in different voice rooms cannot transmit voice. Figure 8 As shown, voice transmission can be performed between the spectator (first account) and the spectator (third account) in the same voice room. Voice transmission can also be performed between the spectator (first account) and the spectator (second account) in the same voice room. However, voice transmission cannot be performed between the third account and the second account in different voice rooms.

[0133] To illustrate further, the optional Figure 9 As shown, voice transmission can be performed between the spectator (first account) and the spectators (second account and third account) in the same voice room.

[0134] To illustrate further, the optional Figure 10 As shown, voice transmission can be performed between the spectators (the first account and the fourth account) in the same voice room (such as team voice), and voice transmission can also be performed between the spectator (the first account) and the spectator (the second account) in the same voice room, but voice transmission cannot be performed between the fourth account and the second account in different voice rooms.

[0135] Through the embodiments provided in the present application, the voice generated by the third account watching a game is played; the voice generated by the fourth account participating in the game is played, wherein the second account and the fourth account are in the same camp during the game; and the voice generated by the fifth account participating in the game is played, wherein the second account and the fifth account are in different camps during the game. This achieves the purpose of improving the comprehensiveness of game viewing and realizes the comprehensive effect of voice transmission.

[0136] As an optional solution, for the convenience of explanation, the above voice playback method is applied to a specific MOBA game scenario as an example:

[0137] First, for a scenario where multiple spectators are watching the host, the master spectator's game is a single-channel voice chat, meaning the spectator speaks and the spectators listen. Specifically, for the spectator's game page, a new speaker feature has been added, which is enabled by default, allowing the spectator to hear what the spectator says after turning on the microphone. For the spectator's in-game battle page, a microphone feature has been added (no longer disappearing during the game) when the game is recommended to a master spectator. The microphone is disabled by default, but when enabled, the sound is transmitted back to the spectator.

[0138] As friends watching the game is a social scene, both the spectator and the observed can communicate, that is, the observed can speak and listen, and the spectator can also speak and listen. Specifically, for the spectator's viewing page: new viewing speaker and viewing microphone functions are added, the speaker is turned on by default, and the microphone is turned off by default. The viewing speaker can listen to the person being observed, and the viewing microphone transmits the sound to the person being observed. For the in-game battle page of the observed person: when there are friends watching the game, new viewing speaker and viewing microphone functions are added (they will no longer disappear in the current game), the speaker is turned on by default, and the microphone is turned off by default. The viewing speaker can listen to the person being observed, and the viewing microphone transmits the sound to the spectator.

[0139] To further illustrate, alternatively, for example Figure 11 As shown, the method of voice communication between spectators and players in the game will be transferred in five environments: the spectator, the spectator, the lobby server, the battle server, and the voice server; as in step S1-2, the spectator selects a player to be spectated from the spectator list of the two entrances and applies for spectating; the battle server verifies whether the current number of spectators can be supported, and if it does not meet the requirements, it will be directly rejected (the master spectator is open to players from all servers, and there may be an overflow of battle servers. If it is judged that it cannot be supported, the spectator will be rejected). As in step S3-4, if the request is legitimate, the voice room key is sent to the spectator and the spectator (the same player will be in multiple voice rooms, and different voice rooms do not interfere with each other). Finally, as in steps S5-1 and S5-2, the key is used to enter the voice room.

[0140] Previously, spectating MOBA games placed spectators in an isolated, fragmented environment, preventing effective interaction and creating a tedious, psychologically challenging experience. This new implementation facilitates communication between spectators and those being spectated, as well as between spectators themselves, increasing interaction frequency and boosting spectator usage.

[0141] Alternatively, as another optional implementation, as Figure 12 As shown, the voice transmission method includes:

[0142] S1202, when the second account participates in a game, displaying the game screen and a voice collection object of the game, wherein the voice collection object is used to allow the voice generated by the second account participating in the game to be transmitted to the first account watching the game when it is in an enabled state;

[0143] S1204: When the voice collection object is in an open state, the voice generated by the second account is transmitted to the first account for playback.

[0144] Optionally, in this embodiment, the above-mentioned voice transmission method can be applied in, but is not limited to, MOBA game scenarios. For example, during the running of a MOBA game, the two players in the game operate heroes in the game as actual participants, while other users who are not on the two sides of the game can watch the game as non-players and cannot operate the heroes. By using the above-mentioned voice transmission method, one or more channels supporting voice transmission are provided for viewers who watch the game as non-players and the watched persons who are actual participants, so that the viewers can receive the voices generated by the watched persons in the MOBA game. Similarly, the watched persons can also receive, but are not limited to, the voices generated by the viewers before / during / after the running of the MOBA game.

[0145] Optionally, in this embodiment, the first account is a spectator account for watching a round of the game, and the second account is a spectator account for participating in a round of the game. If the first account and the second account are friends, then in related technologies, the first account can conduct voice transmission with the second account currently playing the game through a friend private chat. However, this requires the first account to temporarily exit the game viewing and separately call up the friend private chat voice transmission channel or interface, which is relatively cumbersome and significantly affects the spectator's viewing experience.

[0146] In this embodiment, when the voice playback object is turned on and the second account allows the first account to listen to the second account's voice, the voice generated by the second account in a game can be played without the first account exiting the viewing screen of the game, thereby eliminating cumbersome operating steps, improving the voice transmission efficiency, and reducing the impact of voice transmission on the spectator's viewing experience.

[0147] Optionally, in this embodiment, the voice collection object may be understood as, but is not limited to, a voice collection identifier displayed on the game screen, such as a virtual microphone identifier, a virtual receiver identifier, a virtual ear identifier, a virtual lip identifier, etc. Furthermore, the voice collection object may be, but is not limited to, capable of being in various states, such as an on state, an off state, a disabled state, a cooldown state, etc. Specifically, when the voice collection object is in the off state, it may be, but is not limited to, not collecting the voice generated by the second account during a game; when the voice collection object is in the off state and receives an on operation triggered on the voice collection object, it may be, but is not limited to, adjusting the voice collection object to an on state; when the voice collection object is in the disabled state, it may be, but is not limited to, not collecting the voice generated by the second account during a game, and when the on operation triggered on the voice collection object is received, it may be, but is not limited to, maintaining the voice collection object in the disabled state; when the voice collection object is in the cooldown state, it may be, but is not limited to, not collecting the voice generated by the second account during a game, and when the on operation triggered on the voice collection object is received and the cooldown period has not reached a preset time, it may be, but is not limited to, maintaining the voice collection object in the cooldown state, etc.

[0148] It should be noted that when a first account is watching a game, a voice playback object is provided for voice transmission, and by determining the state of the voice collection object, the voice generated by the second account is efficiently transmitted to the first account for playback, thereby achieving the technical purpose of efficiently realizing voice transmission during the game viewing process, and further achieving the technical effect of improving voice transmission efficiency;

[0149] Furthermore, the in-game voice transmission method for spectators and spectators provided in an embodiment of the present invention, compared to the method in the related art that requires exiting the currently watched game and then using other chat channels to complete voice transmission, does not require the spectator to call out other voice transmissions. Instead, the voice transmission of the present invention is implemented directly within the game. In this way, the spectator saves the complicated channel adjustment operation, and the spectator does not need to switch the current game interface to the chat interface for voice transmission, thereby reducing the impact of voice transmission on the spectator's viewing experience and the impact of voice transmission on the spectator's gaming experience.

[0150] To illustrate further, the optional Figure 13As shown, a game screen of a game in which a second account participates and a voice collection object 1302 are displayed. The voice collection object 1302 is used to allow the voice generated by the second account to be transmitted to the first account for playback when the object is enabled and the first account watching the game allows the second account to listen to the voice. When the voice collection object 1302 is enabled and the first account allows the second account to listen to the voice, the voice generated by the second account is transmitted to the first account for playback.

[0151] In addition, in the game screen of a game in which the second account (spectator) participates in this embodiment, a total of 10 game accounts from both sides of the game are displayed, and the above 10 game accounts are divided into two camps, with 5 game accounts allocated to each camp; based on this, the second account (the spectator) can be, but is not limited to, one of the 10 game accounts, can also be, but is not limited to, all game accounts in one of the two camps, and can also be, but is not limited to, all 10 game accounts.

[0152] Through the embodiments provided by the present application, when a second account participates in a game, the game screen and voice collection object of the game are displayed, wherein the voice collection object is used to allow the voice generated by the second account to be transmitted to the first account watching the game for playback when the second account is in the turned-on state and the first account watching the game allows listening to the voice of the second account; when the voice collection object is in the turned-on state and the first account allows listening to the voice of the second account, the voice generated by the second account is transmitted to the first account for playback, thereby achieving the technical purpose of efficiently realizing voice transmission during the game watching process, and further achieving the technical effect of improving the efficiency of voice transmission.

[0153] As an optional solution, the method further includes:

[0154] S1, when starting to display a game screen of a game in which the second account participates, displaying a voice collection object that is enabled by default; or

[0155] S2: In response to a first target operation performed on a voice collection object in a closed state, setting the voice collection object to be in a collection state.

[0156] Optionally, in this embodiment, when the game screen of a game in which the second account participates begins to be displayed, the state of the voice collection object may be, but is not limited to, defaulted to a fixed state, such as an on state or an off state.

[0157] Optionally, in this embodiment, the state of the voice collection object can be adjusted in response to, but not limited to, the first target operation performed on the voice collection object. For example, in response to the first target operation performed on the voice collection object in the closed state, the voice playback object is set to be in the open state.

[0158] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0159] As an optional solution, the method further includes:

[0160] S1, when the voice collection object is turned on and the first account allows the transmission of the voice generated by the first account to the second account, playing the voice generated by the first account when watching a game;

[0161] S2. When displaying a game screen of a game in which a second account participates, displaying a voice playback object, wherein the voice playback object is configured to allow playback of voice generated by the first account while watching a game when the voice playback object is enabled; when the voice playback object is enabled and the first account allows transmission of voice generated by the first account to the second account, playback of the voice generated by the first account while watching the game.

[0162] Optionally, in this embodiment, the voice collection object can be used, but is not limited to, to control voice collection (collecting the voice generated by the second account in a game) and voice transmission (transmitting the voice generated by the second account when participating in a game to the first account for playback).

[0163] To further illustrate, the optional Figure 13 The scenario shown, continuing with e.g. Figure 14 As shown, when the game screen of a game in which the second account participates is displayed, the voice playback object 1402 and the voice collection object 1302 are displayed, wherein the voice playback object 1402 is used to allow the playback of the voice generated by the first account watching a game when it is in the turned-on state; when the voice playback object 1402 is in the turned-on state and the first account allows the transmission of the voice generated by the first account to the second account, the voice generated by the first account when watching a game is played.

[0164] As an optional solution, the method further includes:

[0165] S1, when starting to display a game screen of a game in which the second account participates, displaying a voice playback object that is turned on by default; or

[0166] S2: In response to a second target operation performed on the voice playback object in the closed state, setting the voice playback object to the open state.

[0167] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0168] As an optional solution, when the voice collection object is enabled and the first account allows the voice generated by the first account to be transmitted to the second account, playing the voice generated by the first account when watching a game includes:

[0169] When the first account and the second account are associated, the voice collection object is in an open state, and the first account allows the voice generated by the first account to be transmitted to the second account, the voice generated by the first account when watching a game is played.

[0170] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0171] As an optional solution, the game screen and voice collection objects for displaying a game include:

[0172] When the first account and the second account are associated and a game screen of a game in which the second account participates is displayed, a voice playback object is displayed.

[0173] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0174] As an optional solution, the method includes:

[0175] When displaying the game screen of a game in which a second account participates, it is prohibited to play the voice produced by the first account while watching a game.

[0176] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0177] As an optional solution, when displaying a game screen of a game, the method further includes at least one of the following:

[0178] S1, transmitting the voice generated by the second account to the third account watching a game;

[0179] S2, transmitting the voice generated by the second account to a fourth account participating in a game, wherein the second account and the fourth account are in the same team during the game;

[0180] S3: Transmitting the voice generated by the second account to a fifth account participating in a game, wherein the second account and the fifth account are in different camps during the game.

[0181] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0182] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0183] According to another aspect of the embodiment of the present invention, a voice transmission device for implementing the above-mentioned voice transmission method is also provided. Figure 15 Shown, including:

[0184] The first display unit 1502 is used to display the game screen and the voice collection object of the game when the second account participates in the game. The voice playback object is used to allow the playback of the voice generated by the second account participating in the game when it is in the enabled state;

[0185] The first playback unit 1504 is configured to play the voice generated by the second account in a game when the voice playback object is enabled and the second account allows the first account to listen to the voice of the second account.

[0186] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice transmission method, which will not be described in detail in this example.

[0187] As an optional solution, the device further includes:

[0188] The second display unit is configured to display a voice playback object that is enabled by default when starting to display a game screen of a game watched by the first account; or

[0189] The first setting unit is configured to set the voice playback object to be in an on state in response to a first target operation performed on the voice playback object in an off state.

[0190] As an optional solution, the device further includes:

[0191] The first transmission unit is configured to transmit the voice generated by the first account when watching a game to the second account for playback when the voice playback object is turned on and the second account allows the first account to listen to the voice; or

[0192] The third display unit is configured to display a voice collection object when displaying a game screen of a game being watched by a first account, wherein the voice collection object is configured to allow the voice generated by the first account while watching a game to be transmitted to the second account for playback when the voice collection object is enabled; and when the voice collection object is enabled, the voice generated by the first account while watching a game is transmitted to the second account for playback.

[0193] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0194] As an optional solution, the device further includes:

[0195] A fourth display unit is configured to display a voice collection object that is enabled by default when the game screen of a game watched by the first account begins to be displayed; or

[0196] The second setting unit is configured to set the voice collection object to be in an open state in response to a second target operation performed on the voice collection object in the closed state.

[0197] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0198] As an optional solution, the device includes:

[0199] a fifth display unit, configured to display N viewing entrances before displaying the game screen and the voice playback object for the game being watched by the first account, wherein each of the N viewing entrances is a viewing entrance for a game currently being played by a corresponding account in the N accounts, each of the N accounts being associated with the first account, the N accounts including the second account, and N being a natural number;

[0200] An acquisition unit is configured to acquire, before displaying a game screen and a voice playback object for a game being watched by a first account, a third target operation performed on a first viewing entry among N viewing entries, wherein the first viewing entry is a viewing entry for a game being played by a second account, and the third target operation is configured to instruct the first account to watch the game being played by the second account.

[0201] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0202] As an optional solution, the first transmission unit includes:

[0203] The first playback module is configured to transmit the voice generated by the first account when watching a game to the second account for playback when the first account and the second account are associated, the voice playback object is enabled, and the second account allows the first account to listen to the voice.

[0204] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0205] As an optional solution, the third display unit includes:

[0206] The first display module is configured to display a voice collection object when the first account and the second account are associated and a game screen of a game watched by the first account is displayed.

[0207] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0208] As an optional solution, the device further includes:

[0209] The first prohibition unit is configured to prohibit, when displaying a game screen of a game watched by a first account, the transmission of the voice generated by the first account when watching the game to the second account for playback.

[0210] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0211] As an optional solution, the device includes:

[0212] a sixth display unit, configured to display, before displaying the game screen and the voice playback object for the game being watched by the first account, M recommended viewing entrances, wherein each of the M viewing entrances is a viewing entrance for a game currently being played by a corresponding account among the M accounts, the M accounts including the second account, and M being a natural number;

[0213] An acquisition unit is configured to acquire, before displaying a game screen and a voice playback object for a game being watched by a first account, a fourth target operation performed on a second viewing entry among the M viewing entries, where the second viewing entry is a viewing entry for a game being played by a second account, and the fourth target operation is configured to instruct the first account to watch the game being played by the second account.

[0214] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0215] As an optional solution, include at least one of the following:

[0216] The second playback unit is configured to play the voice generated by the third account watching the game during the playback of the voice generated by the second account in the game;

[0217] a third playback unit, configured to play the voice generated by the fourth account participating in the game while playing the voice generated by the second account in the game, wherein the second account and the fourth account are in the same team during the game;

[0218] The fourth playback unit is configured to play the voice generated by the fifth account participating in the game while playing the voice generated by the second account in the game, wherein the second account and the fifth account are in different camps during the game.

[0219] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0220] According to another aspect of the embodiment of the present invention, a voice transmission device for implementing the above-mentioned voice transmission method is also provided. Figure 16 Shown, including:

[0221] The seventh display unit 1602 is configured to display the game screen and a voice collection object when the second account participates in a game. The voice collection object is configured to allow the voice generated by the second account to be transmitted to the first account for playback when the voice collection object is enabled and the first account watching the game allows the second account to listen to the voice.

[0222] The second transmission unit 1604 is configured to transmit the voice generated by the second account to the first account for playback when the voice collection object is in an open state and the first account allows the first account to listen to the voice of the second account.

[0223] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice transmission method, which will not be described in detail in this example.

[0224] As an optional solution, the device further includes:

[0225] an eighth display unit, configured to display the voice collection object that is enabled by default when starting to display a game screen of a game in which the second account participates; or

[0226] The third setting unit is configured to set the voice collection object to be in a collection state in response to a first target operation performed on the voice collection object in a closed state.

[0227] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0228] As an optional solution, the device further includes:

[0229] A fifth playback unit, configured to play the voice generated by the first account when watching a game, when the voice collection object is in an enabled state and the first account allows the voice generated by the first account to be transmitted to the second account;

[0230] The ninth display unit is configured to display a voice playback object when displaying a game screen of a game in which a second account participates, wherein the voice playback object is configured to allow playback of voice generated by the first account while watching a game when the object is enabled; and when the voice playback object is enabled and the first account allows transmission of voice generated by the first account to the second account, playback of the voice generated by the first account while watching a game.

[0231] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0232] As an optional solution, the device further includes:

[0233] a tenth display unit, configured to display a voice playback object that is enabled by default when starting to display a game screen of a game in which the second account participates; or

[0234] The fourth setting unit is configured to set the voice playback object to be in an on state in response to a second target operation performed on the voice playback object in an off state.

[0235] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0236] As an optional solution, the fifth playback unit includes:

[0237] The second playback module is configured to play the voice generated by the first account when watching a game when the first account and the second account are associated, the voice collection object is in an open state, and the first account allows the voice generated by the first account to be transmitted to the second account.

[0238] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0239] As an optional solution, the ninth display unit includes:

[0240] The second display module is configured to display a voice playback object when the first account and the second account are associated and a game screen of a game in which the second account participates is displayed.

[0241] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0242] As an optional solution, the device includes:

[0243] The second prohibition unit is configured to prohibit playing the voice generated by the first account when watching a game when the second account participates in the game screen.

[0244] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0245] As an optional solution, include at least one of the following:

[0246] a third transmission unit, configured to transmit the voice generated by the second account to a third account that is watching a game, while transmitting the voice generated by the second account to the first account for playback;

[0247] a fourth transmission unit, configured to transmit the voice generated by the second account to a fourth account participating in a game during the process of transmitting the voice generated by the second account to the first account for playback, wherein the second account and the fourth account are in the same team during the process of participating in the game;

[0248] The fifth transmission unit is configured to transmit the voice generated by the second account to a fifth account participating in a game during the process of transmitting the voice generated by the second account to the first account for playback, wherein the second account and the fifth account are in different camps during the process of participating in the game.

[0249] For specific embodiments, reference may be made to the examples shown in the above-mentioned voice playback method, which will not be described in detail in this example.

[0250] According to another aspect of the embodiment of the present invention, an electronic device for implementing the above-mentioned voice playing method (and voice transmission method) is also provided. Figure 17 As shown, the electronic device includes a memory 1702 and a processor 1704. The memory 1702 stores a computer program, and the processor 1704 is configured to execute the steps in any of the above method embodiments through the computer program.

[0251] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0252] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0253] S1, when a first account is watching a game, the game screen and a voice playback object of the game are displayed, wherein the voice playback object is used to allow the playback of voice generated by a second account participating in the game when it is in the enabled state;

[0254] S2, when the voice playback object is turned on and the second account allows the first account to listen to the second account's voice, play the voice generated by the second account in a game. Or,

[0255] S1, when a second account participates in a game, displays the game screen and a voice collection object for the game, wherein the voice collection object is used to allow the voice generated by the second account to be transmitted to the first account for playback when the first account, which is watching the game, is enabled and allows the first account watching the game to listen to the voice of the second account;

[0256] S2: When the voice collection object is in an open state and the first account allows the second account to listen to the voice, the voice generated by the second account is transmitted to the first account for playback.

[0257] Alternatively, those skilled in the art will appreciate that Figure 17 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 17 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 17 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 17 Different configurations shown.

[0258] Among them, the memory 1702 can be used to store software programs and modules, such as the voice playback method (and voice transmission method) in the embodiment of the present invention and the program instructions / modules corresponding to the device. The processor 1704 executes various functional applications and data processing by running the software programs and modules stored in the memory 1702, that is, realizing the above-mentioned voice playback method and voice transmission method. The memory 1702 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1702 may further include a memory remotely located relative to the processor 1704, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1702 can be used to store information such as the first account and the second account, but is not limited to it. As an example, if Figure 17 As shown, the memory 1702 may include, but is not limited to, the first display unit 1502 and the first playback unit 1504 in the voice playback device, or the first display unit 1502 and the first playback unit 1504 not shown in the first display unit 1502. Figure 17 The seventh display unit 1602 and the second transmission unit 1604 in the above-mentioned voice transmission device. In addition, it may also include but is not limited to other module units in the above-mentioned voice playback device, which will not be repeated in this example.

[0259] Optionally, the transmission device 1706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1706 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0260] In addition, the electronic device further includes: a display 1708 for displaying information such as the first account and the second account; and a connection bus 1710 for connecting various module components in the electronic device.

[0261] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes via network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0262] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned voice playback method and voice transmission method, wherein the computer program is configured to perform the steps of any of the aforementioned method embodiments when executed.

[0263] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0264] S1, when a first account is watching a game, the game screen and a voice playback object of the game are displayed, wherein the voice playback object is used to allow the playback of voice generated by a second account participating in the game when it is in the enabled state;

[0265] S2, when the voice playback object is turned on and the second account allows the first account to listen to the second account's voice, play the voice generated by the second account in a game. Or,

[0266] S1, when a second account participates in a game, displays the game screen and a voice collection object for the game, wherein the voice collection object is used to allow the voice generated by the second account to be transmitted to the first account for playback when the first account, which is watching the game, is enabled and allows the first account watching the game to listen to the voice of the second account;

[0267] S2: When the voice collection object is in an open state and the first account allows the second account to listen to the voice, the voice generated by the second account is transmitted to the first account for playback.

[0268] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0269] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0270] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for causing one or more computer devices (such as personal computers, servers, or network devices) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0271] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0272] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

[0273] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0274] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0275] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A voice playback method, applied to a target game application, characterized in that: include: Obtain a spectator request from a first account for a game in which a second account participates; If the spectator request meets a preset condition, sending an encrypted identifier to the first account and the second account, wherein the encrypted identifier is used to enter the voice room; When the first account is watching the game, the game screen and a voice playback object of the game are displayed, wherein the voice playback object is used to allow the playback of voices generated by the second account participating in the game when it is turned on; If the first account and the second account are in the same voice room, when the voice playback object is turned on and the second account allows the first account to listen to the second account's voice, the voice generated by the second account in the game will be played; In the case where the second account is in multiple voice rooms, and the first account and the second account are in the same voice room, the second account and the third account are in the same voice room, and the first account and the third account are in different voice rooms, when the voice playback object is turned on and the second account allows the first account and the third account to listen to the voice of the second account, the voice generated by the second account in a game is played, wherein the third account is a spectator account, and voice transmission is not allowed between the first account and the third account.

2. The method according to claim 1, wherein The method further comprises: When the game screen of the game watched by the first account begins to be displayed, the voice playback object that is turned on by default is displayed; or In response to a first target operation performed on the voice playback object in the closed state, the voice playback object is set to be in the open state.

3. The method according to claim 1, wherein The method further comprises: When the voice playback object is in the enabled state and the second account allows the first account to listen to the voice of the first account, the voice generated by the first account when watching the game is transmitted to the second account for playback; or When displaying the game screen of the game watched by the first account, a voice collection object is displayed, wherein the voice collection object is used to allow the voice generated by the first account when watching the game to be transmitted to the second account for playback when it is in the turned-on state; when the voice collection object is in the turned-on state, the voice generated by the first account when watching the game is transmitted to the second account for playback.

4. The method according to claim 3, wherein The method further comprises: When the game screen of the game watched by the first account begins to be displayed, the voice collection object that is in the enabled state by default is displayed; or In response to a second target operation performed on the voice collection object in the closed state, the voice collection object is set to be in the open state.

5. The method according to claim 3, characterized in that Before displaying the game screen and the voice playback object of the game, the method includes: Displaying N spectator portals, wherein each of the N spectator portals is a spectator portal for a game currently being played by a corresponding account among N accounts, each of the N accounts is associated with the first account, and the N accounts include the second account, where N is a natural number; Obtain a third target operation performed on a first viewing entry among the N viewing entries, wherein the first viewing entry is the viewing entry for the game in which the second account is currently participating, and the third target operation is used to instruct the first account to watch the game in which the second account is currently participating.

6. The method according to claim 3, characterized in that When the voice playback object is in the enabled state and the second account allows the first account to listen to the voice of the first account, transmitting the voice generated by the first account when watching the game to the second account for playback, includes: When the first account and the second account are associated, the voice playback object is in the enabled state, and the second account allows listening to the voice of the first account, the voice generated by the first account when watching the game is transmitted to the second account for playback.

7. The method according to claim 3, characterized in that The step of displaying the voice collection object when displaying the game screen of the game watched by the first account includes: When the first account and the second account are associated with each other and a game screen of the game watched by the first account is displayed, the voice collection object is displayed.

8. The method according to claim 1, characterized in that The method further comprises: When displaying the game screen of the game watched by the first account, it is prohibited to transmit the voice generated by the first account while watching the game to the second account for playback.

9. The method according to claim 8, characterized in that Before displaying the game screen and the voice playback object of the game, the method includes: Displaying M recommended viewing portals, wherein each of the M viewing portals is a viewing portal for a game currently being played by a corresponding account among the M accounts, the M accounts including the second account, and M being a natural number; Obtain a fourth target operation performed on a second viewing entry among the M viewing entries, wherein the second viewing entry is a viewing entry for the game in which the second account is currently participating, and the fourth target operation is used to instruct the first account to watch the game in which the second account is currently participating.

10. The method according to any one of claims 1 to 9, characterized in that When displaying the game screen of the game, the method further includes at least one of the following: Play the voice generated by the third account; Playing a voice message generated by a fourth account participating in the game, wherein the second account and the fourth account are in the same faction during the game; Play a voice message generated by a fifth account participating in the game, wherein the second account and the fifth account are in different camps during the game.

11. A voice transmission method, applied to a target game application, characterized in that: include: Obtain a spectator request from a first account for a game in which a second account participates; If the spectator request meets a preset condition, sending an encrypted identifier to the first account and the second account, wherein the encrypted identifier is used to enter the voice room; When the second account participates in the game, the game screen and a voice collection object of the game are displayed. When the voice collection object is enabled and the first account watching the game allows the second account to listen to the voice, the voice collection object allows the second account to be transmitted to the first account watching the game for playback. When the first account and the second account are in the same voice room, when the voice collection object is turned on and the first account allows listening to the voice of the second account, the voice generated by the second account is transmitted to the first account for playback; In the case where the second account is in multiple voice rooms, and the first account and the second account are in the same voice room, the second account and the third account are in the same voice room, and the first account and the third account are in different voice rooms, when the voice playback object is turned on and the second account allows the first account and the third account to listen to the voice of the second account, the voice generated by the second account in a game is transmitted, wherein the third account is a spectator account, and voice transmission is not allowed between the first account and the third account.

12. The method according to claim 11, wherein The method further comprises: When the game screen of the game in which the second account participates begins to be displayed, the voice collection object that is turned on by default is displayed; or In response to a first target operation performed on the voice collection object in the closed state, the voice collection object is set to be in a collection state.

13. The method according to claim 11, characterized in that The method further comprises: When the voice collection object is enabled and the first account allows the voice generated by the first account to be transmitted to the second account, playing the voice generated by the first account when watching the game; When displaying the game screen of the game in which the second account participates, a voice playback object is displayed, wherein the voice playback object is used to allow the playback of voice generated by the first account watching the game when it is in the turned-on state; when the voice playback object is in the turned-on state and the first account allows the transmission of voice generated by the first account to the second account, the voice generated by the first account when watching the game is played.

14. The method according to claim 13, wherein The method further comprises: When the game screen of the game in which the second account participates begins to be displayed, the voice playback object that is in the enabled state by default is displayed; or In response to a second target operation performed on the voice playback object in the closed state, the voice playback object is set to be in the open state.

15. The method according to claim 13, characterized in that When the voice collection object is enabled and the first account allows the voice generated by the first account to be transmitted to the second account, playing the voice generated by the first account when watching the game includes: When the first account and the second account are associated, the voice collection object is in the enabled state, and the first account allows the voice generated by the first account to be transmitted to the second account, the voice generated by the first account when watching the game is played.

16. The method according to claim 13, characterized in that The display of the game screen and voice collection object of the game includes: When the first account and the second account are associated with each other and a game screen of the game in which the second account participates is displayed, the voice playback object is displayed.

17. The method according to claim 11, characterized in that The method comprises: When displaying the game screen of the game in which the second account participates, it is prohibited to play the voice generated by the first account when watching the game.

18. The method according to any one of claims 11 to 17, characterized in that When displaying the game screen of the game, the method further includes at least one of the following: Transmitting the voice generated by the second account to the third account; transmitting the voice message generated by the second account to a fourth account participating in the game, wherein the second account and the fourth account are in the same team during the game; The voice generated by the second account is transmitted to a fifth account participating in the game, wherein the second account and the fifth account are in different camps during the process of participating in the game.

19. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 18 when executed.

20. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 18 through the computer program.