Voice broadcasting method and device, electronic equipment and storage medium

By configuring multiple voice queues in the game to store different types of content to be reported, the delay problem caused by voice feedback queuing is solved, the timely communication of key information is achieved, and the experience of gamers is improved.

CN120478969APending Publication Date: 2025-08-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510772014.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In games with fast pace and frequent voice broadcasts, the number of voice feedback queues is as high as dozens of sentences, resulting in too long queues and the current voice feedback cannot be played in time, affecting the experience of gamers.

Method used

By configuring multiple voice queues in the game, each queue stores different types of content to be broadcast, obtains the target broadcast content based on voice events and updates the voice queue, and performs voice broadcasts based on the correspondence between the queue and the identification to ensure timely communication of key information.

Benefits of technology

Reduce the queue time for voice feedback, improve gamers' timely reception of key information, and improve game experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120478969A_ABST
    Figure CN120478969A_ABST
Patent Text Reader

Abstract

The invention discloses a voice broadcasting method and device, electronic equipment and a storage medium, which can be applied to a target game configured with a plurality of voice queues, and different voice queues are used for storing different types of to-be-broadcasted contents. Obtaining a target broadcast content and a target voice identifier corresponding to the voice event; determining a target voice queue based on the corresponding relationship between each voice queue and the voice identifier and the target voice identifier; updating the to-be-broadcasted content stored in the target voice queue according to the target broadcast content; and performing voice broadcasting based on the to-be-broadcasted content contained in each voice queue. On the basis, a plurality of voice queues are provided to store different types of to-be-broadcasted contents, so that a game player can quickly receive key game information in a game, the problem that the current voice feedback cannot be played in time due to overlong queuing time of the voice feedback is reduced, and the game experience of the game player is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a voice broadcasting method, device, electronic device and storage medium. Background Art

[0002] During the development of existing game voice chat systems, voice chat feedback is broadcast in real time based on battle progress, player behavior, and game results. However, when a player triggers multiple voice chat conditions within a short period of time, to avoid overlapping voice chats, they are usually queued and played in the order in which they were triggered.

[0003] However, in games that require an extremely fast pace and frequent voice broadcasts, there may be a situation where the number of voice queues is as high as dozens. This will lead to the problem that the current voice feedback cannot be played in time due to the long queue time of voice feedback, affecting the game player experience. Summary of the Invention

[0004] The embodiments of the present application provide a voice broadcast method, device, electronic device and storage medium, which can provide multiple voice queues to store different types of content to be broadcast, so that game players can quickly receive key game information during the game, reduce the problem of long queuing time for voice feedback and the inability to play the current voice feedback in time, and improve the gaming experience of game players.

[0005] In a first aspect, an embodiment of the present application provides a voice broadcast method, which is applied to a target game, wherein the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast, and the method includes:

[0006] In response to a voice event during a round of the target game, obtaining target broadcast content and a target voice identifier corresponding to the voice event;

[0007] Determining the target voice queue to which the target broadcast content belongs based on the correspondence between each of the voice queues and the voice identifiers, and the target voice identifier;

[0008] According to the target broadcast content, updating the content to be broadcast stored in the target voice queue;

[0009] Voice broadcast is performed based on the content to be broadcast contained in each of the voice queues.

[0010] In a second aspect, an embodiment of the present application provides a voice broadcast device, which is applied to a target game, wherein the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast, including:

[0011] A content acquisition module is used to obtain target broadcast content and target voice identifier corresponding to a voice event in response to a voice event during a round of the target game;

[0012] a queue determination module, configured to determine a target voice queue to which the target broadcast content belongs based on the correspondence between each of the voice queues and the voice identifiers, and the target voice identifier;

[0013] An updating module, configured to update the to-be-broadcasted content stored in the target voice queue according to the target broadcasted content;

[0014] The broadcast module is used to perform voice broadcast based on the content to be broadcast contained in each of the voice queues.

[0015] In a third aspect, an embodiment of the present application further provides an electronic device comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes any step of the voice broadcast method.

[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes any step of the voice broadcast method.

[0017] In a fifth aspect, an embodiment of the present application also provides a computer program product, comprising a computer program, which is stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device performs any step of the voice broadcast method provided in the embodiment of the present application.

[0018] The solution of the embodiment of the present application can be applied to a target game, which is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast. By responding to a voice event in a game of the target game, the target broadcast content and the target voice identifier corresponding to the voice event are obtained; based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, the target voice queue to which the target broadcast content belongs is determined; according to the target broadcast content, the content to be broadcast stored in the target voice queue is updated; and voice broadcast is performed based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time of voice feedback, and improve the game experience of game players. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 This is a schematic diagram of an implementation environment scenario of the voice broadcast method provided in the embodiment of the present application;

[0021] Figure 2 This is a flow chart of an embodiment of the voice broadcast method provided in the embodiments of the present application;

[0022] Figure 3 This is a schematic diagram of a setting of the voice broadcast method provided in an embodiment of the present application;

[0023] Figure 4 Schematic diagram of the structure of the voice broadcast device provided in the embodiment of the present application;

[0024] Figure 5 It is a structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0026] Game system voice is an essential component of the game, providing the necessary event feedback for the game, while enhancing the timeliness of information acquisition and immersion.

[0027] Research has found that during the game's voice development process, voice feedback is broadcast in real time based on battle progress, player behavior, and game results. When a player triggers multiple voice conditions within a short period of time, to avoid overlapping voice playback, the voice feedback is typically queued up in the order in which it was triggered. However, in fast-paced games with frequent voice broadcasts, this approach can result in dozens of voice queues, resulting in lengthy queue times and an inability to play current voice feedback. This impacts the timeliness of players' access to battle information, ultimately impacting the overall gaming experience.

[0028] To solve the above problems, the present invention provides a method, device, electronic device, and computer-readable storage medium for voice broadcasting. The voice broadcasting device can be integrated into an electronic device, which can be a server, a terminal, or other device.

[0029] Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), as well as basic cloud computing services such as big data and artificial intelligence platforms. Terminals may include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. Terminals and servers can be directly or indirectly connected through wired or wireless communication, and this application does not impose any restrictions on this.

[0030] See also Figure 1 , taking the voice broadcast device integrated into electronic equipment as an example, Figure 1 A schematic diagram of an implementation scenario of the voice broadcast method provided in an embodiment of the present application, wherein the electronic device can be a terminal device, which is used to configure a target game with multiple voice queues, and different voice queues are used to store different types of content to be broadcast. By responding to a voice event in a game of the target game, the target broadcast content and the target voice identifier corresponding to the voice event are obtained; based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, the target voice queue to which the target broadcast content belongs is determined; according to the target broadcast content, the content to be broadcast stored in the target voice queue is updated; and voice broadcast is performed based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time of voice feedback, and improve the game experience of game players.

[0031] It should be noted that Figure 1 The illustrated schematic diagram of the implementation environment scenario of the voice broadcast method is merely an example. The implementation environment scenario of the voice broadcast method described in the embodiment of the present application is intended to more clearly illustrate the technical solution of the embodiment of the present application and does not constitute a limitation on the technical solution provided in the embodiment of the present application. It is understood by those skilled in the art that with the evolution of data processing and the emergence of new business scenarios, the technical solution provided in this application is equally applicable to similar technical problems.

[0032] The voice broadcast method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the voice broadcast method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0033] For example, when the voice broadcast method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through the screen, for example, by downloading and installing the game application and running it through the terminal device. The terminal device can provide the screen to the user in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal device, or the screen can be presented through holographic projection. For example, the terminal device may include a touch screen and a processor, the touch screen is used to present the screen and receive operation instructions generated by the user acting on the screen, the screen includes a game screen, and the processor is used to run the game, generate the screen, respond to the operation instructions, and control the display of the screen on the touch screen.

[0034] For example, when the voice broadcast method is run on a server, it can be cloud gaming. Cloud gaming refers to a gaming method based on cloud computing. In cloud gaming, the game application and the game screen are separate entities. The storage and execution of the voice broadcast method are performed on the cloud gaming server. The game screen is presented on the cloud gaming client. The cloud gaming client is primarily responsible for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, PDA, or personal digital assistant. However, the terminal device that processes the game data is the cloud gaming server in the cloud. When playing a game, the user operates the cloud gaming client to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud gaming client via the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0035] The solutions provided in the embodiments of the present application are specifically described by the following embodiments. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments.

[0036] This embodiment will be described from the perspective of a voice broadcast device. The voice broadcast device may be integrated into an electronic device, which may be a terminal and / or a server. This application does not impose any limitation on this.

[0037] An embodiment of the present application provides a voice broadcast method, which is applied to a target game. The target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast.

[0038] The target game is a game that has multiple voice queues, with different voice queues storing different types of content to be broadcast. The game can be any of a variety of games, including casual games, action games, role-playing games, strategy games, sports games, and puzzle games.

[0039] The voice queue refers to a data structure used to manage and play voice information. Voice information can be understood as the content to be broadcast mentioned in this application.

[0040] The content to be broadcast can be understood as the voice information that needs to be broadcast in the game.

[0041] There may be multiple types of information to which the content to be broadcast belongs, which may be specifically adjusted according to the type of voice queue, and the embodiment of the present application does not impose any limitation.

[0042] For example, voice queues may include, but are not limited to, time information voice queues, kill information voice queues, summary information voice queues, process information voice queues, friendly mission objective voice queues, enemy mission objective voice queues, and game-end voice queues. The time information voice queue is used to store pending time information, such as "60 seconds left," "30 seconds left," "10 seconds left," and "overtime." Time information is used to announce the remaining game time, providing players with time-related information about the battle situation. The kill information voice queue is used to store pending kill information, such as "double kill," "triple kill," "quadruple kill," and "penta kill." Kill information is used to provide feedback on kill achievements, giving players a sense of satisfaction. The summary information voice queue is used to store pending summary information, such as "team wipe." Summary information is used to provide players with the enemy team's survival status. The process information voice queue stores pending process information announcements, such as "Game Start," "Mission Objective Unlocked," "Casting / Preparation Countdown," "(Mixed / Capture / Attack and Defense Mode) Capture Completed," "(Mixed / Push Mode) Reached Objective," and "Advantage / Disadvantage in Battle." These process information announcements communicate key gameplay steps and events to players, helping them understand the current game status and upcoming objectives or tasks. The friendly mission objective voice queue stores pending friendly mission objective announcements, such as "(Deathmatch Mode) XX Minutes Left to Victory." The enemy mission objective voice queue stores pending enemy mission objective announcements, such as "(Deathmatch Mode) XX Minutes Left to Opponent Victory." Both friendly and enemy mission objective announcements communicate the remaining conditions required for victory to players on both sides, respectively. The game end voice queue stores pending game end announcements, such as "Faction / Round Switch," "Game Win / Game Lose," and so on. The game end information type is used to inform players of the end status of a single round, the camp switch, and the final victory or defeat result.

[0043] It should be noted that the voice queues and the content to be broadcast can be adjusted according to actual circumstances, and this embodiment of the application does not impose any restrictions. For example, the voice queues include a time information voice queue, a summary information voice queue, a process information voice queue, and a game end voice queue. The content to be broadcast can be adjusted according to the target game and the specific content of the voice queue configured for the target game, and this embodiment of the application does not impose any restrictions.

[0044] See also Figure 2 , Figure 2The specific process of the voice broadcast method provided in the embodiment of the present application may be as follows: Steps 101 to 104:

[0045] Step 101: In a game of a target game, in response to a voice event, obtain target broadcast content and a target voice identifier corresponding to the voice event.

[0046] A round of the target game may refer to a single game session with a game progression within the target game. For example, if the target game is a combat strategy game, a round may refer to any one of multiple faction battles within a combat scenario. A round may also refer to any one of multiple rounds within a combat scenario. For another example, if the target game is a shooting game, a round may refer to each round in the shooting game in which a winner is determined. The specific content of a round may be adjusted based on the type of the target game and is not limited in the embodiments of the present application.

[0047] The voice event refers to an event that triggers the broadcast of a voice message, and the voice message is the content to be broadcast.

[0048] The voice event can be determined based on the specific content of the target game, and this embodiment of the present application does not impose any limitation. For example, if the target game is a shooting game, the voice event can be triggered by the user's arrow hitting the target, the event corresponding to the user's points, etc. For another example, if the target game is a combat strategy game, the voice event can be triggered by the battle progress, the event triggered by the battle time, etc.

[0049] Among them, the target broadcast content refers to the content corresponding to the voice event. For example, if the voice event is a kill event of the user, the target broadcast content can be the number of kills such as "double kill", "triple kill", "quadruple kill", etc. The target broadcast content can also be summary information such as "team wiped out". For another example, if the voice event is the remaining time of the current game, the target broadcast content can be time information such as "60 seconds left", "30 seconds left", "10 seconds left", "overtime", etc. The specific content of the target broadcast content and the voice event can be adjusted according to actual conditions, and the embodiments of this application do not impose any restrictions.

[0050] In some embodiments, in response to a voice event, the process of obtaining the target broadcast content corresponding to the voice event can be: in response to the voice event, based on the correspondence between each preset voice event and the preset broadcast content, and the voice event, determine the target broadcast content corresponding to the voice event.

[0051] The target voice identifier refers to a voice identifier used to identify the voice queue to which the target broadcast content belongs.

[0052] In some embodiments, a voice identifier can be bound to a voice event. In response to a voice event, the process of obtaining a target voice identifier corresponding to the voice event can be: in response to the voice event, based on the correspondence between each preset voice event and the preset voice identifier, and the voice event, determine the target voice identifier corresponding to the voice event.

[0053] In some embodiments, the voice identifier can also be bound to the content to be broadcast. The above process of obtaining the target broadcast content and the target voice identifier corresponding to the voice event in response to the voice event can be: in response to the voice event, obtaining the target broadcast content corresponding to the voice event, and determining the target voice identifier corresponding to the target broadcast content based on the correspondence between each preset broadcast content and the preset voice identifier, as well as the target broadcast content.

[0054] The specific process of determining the target voice identifier can be adjusted according to actual conditions and is not limited in the embodiments of the present application.

[0055] Step 102: Based on the correspondence between each voice queue and the voice identifier, and the target voice identifier, determine the target voice queue to which the target broadcast content belongs.

[0056] The target voice queue refers to a voice queue that can be used to store target broadcast content.

[0057] It is understandable that the information type to which the target broadcast content belongs is the information type of the to-be-broadcast content that the target voice queue is used to store.

[0058] Step 103: Update the to-be-broadcasted content stored in the target voice queue according to the target broadcast content.

[0059] Among them, the process of updating the content to be broadcast stored in the target voice queue can be adjusted according to actual conditions, and the embodiment of the present application does not limit it.

[0060] In some embodiments, the above-mentioned process of updating the to-be-broadcast content stored in the target voice queue according to the target broadcast content may include: determining whether there is to-be-broadcast content different from the target broadcast content in the target voice queue; if there is no to-be-broadcast content in the target voice queue, adding the target broadcast content to the target voice queue; if there is to-be-broadcast content in the target voice queue, adding the target broadcast content to the target voice queue according to the broadcast status of the to-be-broadcast content in the target voice queue.

[0061] Specifically, if the target voice queue does not contain any content to be broadcasted, the target content available for voice broadcast is directly added to the target voice queue. The target content available for voice broadcast is the content to be broadcasted after a series of processing. This series of processing can be adjusted according to actual conditions, such as adjusting the character's timbre and pitch required by the game.

[0062] Specifically, when there is content to be broadcast in the target voice queue, the method of adding the target broadcast content to the target voice queue can be determined according to the broadcast status of the content to be broadcast in the target voice queue, and the target broadcast content can be added to the target voice queue according to the adding method.

[0063] The adding method can be a replacement method or an additional method of the content to be broadcast, etc., which can be adjusted according to actual conditions and is not limited in the embodiments of the present application.

[0064] For example, the above process of adding the target broadcast content to the target voice queue according to the broadcast status of the content to be broadcast in the target voice queue may include: when the content to be broadcast in the target voice queue is in an unbroadcast state, the target broadcast content is used to replace the content to be broadcast in the target voice queue; when the content to be broadcast in the target voice queue is in a broadcasting state, the target broadcast content is added after the content to be broadcast in the target voice queue.

[0065] It is understandable that the same voice queue follows the rule that new triggers interrupt old triggers to fold the same type of content to be broadcast, thereby avoiding the delay of information broadcast due to queuing. For example, in the process information voice queue, if the content to be broadcast of "Game Start" is queued for playback, but it has been "occupied" at this time, the trigger to obtain the content to be broadcast of "Occupation Completed", then the voice of "Game Start" will appear abrupt, and the broadcast information will not match the current state. Therefore, at this time, it is necessary to interrupt the queuing process of the content to be broadcast of "Game Start" and directly replace it with the broadcast of the content to be broadcast of "Occupation Completed" in the process information voice queue, and ensure that each voice queue can only have one voice in queue at the same time. In addition, it is also necessary to ensure that the voice being played will not be interrupted to avoid sudden stops of the voice, which will affect the continuity.

[0066] It should be noted that the number of contents to be broadcast in the target voice queue can be one, or multiple. Among them, the situation where the number of contents to be broadcast in the target voice queue can be one can include the situation where the content to be broadcast in the target voice queue is in an unbroadcast state, or the situation where the content to be broadcast in the target voice queue is in a broadcasting state, then the update operation of the content to be broadcast in the target voice queue can be performed according to the above process. The situation where there are multiple contents to be broadcast in the target voice queue includes the situation where the first content to be broadcast in the target voice queue is in a broadcasting state, and the second content to be broadcast in the target voice queue is in an unbroadcast state, then the second content to be broadcast in the target voice queue is replaced with the target broadcast content, and the target broadcast content is added after the first content to be broadcast in the target voice queue.

[0067] In some embodiments, the above process of updating the to-be-broadcast content stored in the target voice queue according to the target broadcast content may also include: directly adding the above target broadcast content to the target voice queue to update the to-be-broadcast content stored in the target voice queue.

[0068] Step 104: Perform voice broadcast based on the content to be broadcast contained in each voice queue.

[0069] Among them, when there is content to be broadcast in any voice queue among the voice queues, voice broadcast is performed based on the voice queue with the content to be broadcast, and the voice broadcast is performed based on the content to be broadcast in the voice queue.

[0070] The above-mentioned process of voice broadcasting based on the content to be broadcast contained in each voice queue may include: determining the broadcasting order of the content to be broadcast according to the priority of each voice queue and the triggering order of the voice events corresponding to the content to be broadcast in each voice queue; and selecting content from the content to be broadcast for voice broadcast according to the broadcasting order.

[0071] The priorities of the voice queues may be the same or different.

[0072] If the priorities of the voice queues are the same, the order in which the content to be broadcast is determined based on the triggering order of the voice events corresponding to the content to be broadcast in each voice queue. If the priorities of the voice queues are different, the order in which the content to be broadcast is determined can be based on various situations.

[0073] For example, when the priorities of the voice queues with content to be broadcast are the same, the broadcasting order of the content to be broadcast is determined according to the triggering order of the voice events corresponding to the content to be broadcast in each voice queue; when the priorities of the voice queues with content to be broadcast are different, the broadcasting order of the content to be broadcast is determined according to the priority of each voice queue.

[0074] For example, assume there are voice queues such as the time information voice queue, the kill information voice queue, the summary information voice queue, the process information voice queue, the own mission target voice queue, the enemy mission target voice queue, and the game end voice queue. The priority of the voice queues is as follows: the game end voice queue is higher than the kill information voice queue, higher than the summary information voice queue, higher than the process information voice queue, the own mission target voice queue, the enemy mission target voice queue, and the time information voice queue. If only the process information voice queue, the own mission target voice queue, the enemy mission target voice queue, and the time information voice queue have content to be announced, the order in which the content to be announced is determined by the triggering order of the voice events corresponding to the content to be announced in the process information voice queue, the own mission target voice queue, the enemy mission target voice queue, and the time information voice queue. When there is content to be broadcast in the two voice queues, the process information voice queue and the one's own task target voice queue, and there is content to be broadcast in the summary information voice queue, the content to be broadcast in the summary information voice queue will be broadcast first, and then the broadcast order of the content to be broadcast in the process information voice queue and the content to be broadcast in the one's own task target voice queue will be determined according to the triggering order of the voice events corresponding to the content to be broadcast in the two voice queues, the process information voice queue and the one's own task target voice queue.

[0075] This allows different voice queues to be queued and played according to the order in which they are triggered, effectively limiting the number of voice queues. Furthermore, by configuring priorities for different voice queues, you can ensure that the content that players are most interested in is prioritized, improving the player's gaming experience.

[0076] In some embodiments, the above-mentioned voice queue includes a first voice queue and a second voice queue, and the content to be broadcast in the second voice queue is configured to be broadcast after the content to be broadcast in the first voice queue is broadcast.

[0077] Based on this, the above-mentioned voice broadcast method also includes: when there is content to be played in the first voice queue, and when there is content to be broadcast in the second voice queue, the broadcast order of the content to be broadcast in the second voice queue is placed after the broadcast order of the content to be broadcast in the first voice queue.

[0078] For example, assume that there are voice queues such as a time information voice queue, a kill information voice queue, a summary information voice queue, and a game end voice queue. Among them, the kill information voice queue is the first voice queue, and the summary information voice queue is the second voice queue. Then, when the kill information voice queue, the time information voice queue, and the summary information voice queue all have content to be broadcast, and the triggering order of the voice events corresponding to the content to be broadcast in the time information voice queue is earlier than the triggering order of the voice events corresponding to the content to be broadcast in the summary information voice queue, and the triggering order of the voice events corresponding to the content to be broadcast in the kill information voice queue is earlier than the triggering order of the voice events corresponding to the content to be broadcast in the time information voice queue, then the broadcast order is determined to be: the content to be broadcast in the kill information voice queue, the content to be broadcast in the summary information voice queue, and the content to be broadcast in the time information voice queue. It should be noted that although the triggering order of the voice events corresponding to the content to be broadcast in the time information voice queue is earlier than the triggering order of the voice events corresponding to the content to be broadcast in the summary information voice queue, since the kill information voice queue is the first voice queue and the summary information voice queue is the second voice queue, the content to be broadcast in the second voice queue is configured to be broadcast after the content to be broadcast in the first voice queue. Therefore, the broadcasting order of the content to be broadcast in the summary information voice queue needs to be placed after the broadcasting order of the content to be broadcast in the kill information voice queue.

[0079] In some embodiments, the voice queue includes a third voice queue, which is used to store content to be broadcast indicating the end of a game.

[0080] Based on this, the above-mentioned voice broadcast method also includes: when there is content to be broadcast in the third voice queue, clearing the content to be broadcast contained in other voice queues outside the third voice queue; and performing voice broadcast based on the content to be broadcast in the third voice queue.

[0081] For example, assume there are voice queues such as a time information voice queue, a kill information voice queue, a summary information voice queue, and a game end voice queue. The game end voice queue is the third voice queue. If there is content to be broadcast in each of the time information voice queue, the kill information voice queue, the summary information voice queue, and the game end voice queue, since the game end voice queue is the third voice queue, the corresponding content to be broadcast in the time information voice queue, the kill information voice queue, and the summary information voice queue must be cleared, and the voice broadcast can be performed based on the content to be broadcast in the game end voice queue.

[0082] The following is an explanation of the embodiment of the present application using a specific embodiment. Before the start of a game round in the target game, the recorded voice resources can be encapsulated using the "Sound Voice" component in the Wwise audio engine, where the Wwise audio engine technology is used to implement the final playback logic in the game. Create an "Actor Mixer" component and put all the system voice sound effect files into the "Actor Mixer" component. Figure 3 As shown, in the Advanced Settings of the Actor Mixer component, enable the "Limit sound instances to" feature, set the maximum number of simultaneous playbacks to 1, and select the "Globally" mode. Ensure the "Killvoice" mode is selected for the "When limit is reached" setting, and also select the "Discard oldest instance" mode for the "When priority is equal" setting. This feature ensures that only one system voice is played simultaneously, preventing voice overlap and unclear intelligibility. Generate "Sound Voice" events for the system voices and import them into the newly created Soundbank. Configure the prepared voice events to the corresponding trigger conditions, develop labels for the corresponding sorting rules, and assign these labels to the voices for the corresponding conditions. After configuring the labels, ensure that each voice event is correctly recognized and played according to the trigger conditions. Next, conduct system testing to verify the effectiveness and responsiveness of the labels in different scenarios to ensure accurate and timely voice feedback.

[0083] For example, the above scheme sets up voice queues for time information, kill information, summary information, process information, friendly mission target, enemy mission target, and game end voice. The priority of the pending announcement in the summary information queue follows the priority of the kill information queue. That is, the pending announcement in the summary information queue is broadcast after the pending announcement in the kill information queue. This ensures that the enemy team's annihilation is promptly communicated after the kill is completed, helping players make appropriate decisions quickly. Secondly, since the pending announcement representing the game end marks the complete end of the round or round, any remaining unannounced or currently broadcasting announcements in other voice queues, except for the game end announcement queue, become invalid. Therefore, when the pending announcement representing the game end appears, it interrupts all other announcements in the other voice queues except the game end announcement queue, and the pending announcement representing the game end in the game end announcement queue is broadcast directly. This means that the game end announcement queue has the highest priority among all voice queues. By implementing parallel queuing, collapsing the same queue, and prioritizing queue jumping, players can quickly receive critical battle information, reducing delays and information omissions. Furthermore, optimized playback logic reduces voice overlap and confusion, making voice feedback clearer and more coherent, enhancing player immersion. Furthermore, reducing unnecessary interruptions and redundant voice announcements allows players to focus more on game strategy and decision-making, further enhancing the player experience.

[0084] The solution of the embodiment of the present application can be applied to a target game configured with multiple voice queues, where different voice queues are used to store different types of content to be broadcast. By responding to a voice event in a game of the target game, the target broadcast content and the target voice identifier corresponding to the voice event are obtained; based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, the target voice queue to which the target broadcast content belongs is determined; based on the target broadcast content, the content to be broadcast stored in the target voice queue is updated; and voice broadcast is performed based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time for voice feedback, and improve the game experience of game players.

[0085] This embodiment also provides a voice broadcast device, which is applied to a target game, wherein the target game is configured with multiple voice queues, each of which is used to store different types of content to be broadcast. The voice broadcast device can be specifically integrated into a terminal device, and a graphical user interface corresponding to the game task is provided through the terminal device.

[0086] For example, Figure 4 As shown, the voice broadcasting device may include:

[0087] The content acquisition module 201 is used to obtain target broadcast content and target voice identifier corresponding to a voice event in response to a voice event during a round of the target game;

[0088] The queue determination module 202 is used to determine the target voice queue to which the target broadcast content belongs based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier;

[0089] An updating module 203 is configured to update the to-be-broadcasted content stored in the target voice queue according to the target broadcasted content;

[0090] The broadcast module 204 is used to perform voice broadcast based on the content to be broadcast contained in each voice queue.

[0091] In some embodiments, the updating module 203 updates the to-be-broadcasted content stored in the target voice queue according to the target broadcast content, including:

[0092] A content determination unit, configured to determine whether there is content to be broadcast that is different from the target broadcast content in the target voice queue;

[0093] The first updating unit is configured to add the target broadcast content to the target voice queue if there is no content to be broadcast in the target voice queue;

[0094] The second updating unit is configured to add the target broadcast content to the target voice queue according to the broadcast status of the content to be broadcast in the target voice queue when there is content to be broadcast in the target voice queue.

[0095] In some embodiments, the second updating unit adds the target broadcast content to the target voice queue according to the broadcast status of the content to be broadcast in the target voice queue, including:

[0096] The first updating subunit is configured to replace the content to be broadcasted in the target voice queue with the target broadcast content when the content to be broadcasted in the target voice queue is in an unbroadcast state;

[0097] The second updating subunit is configured to add the target broadcast content after the to-be-broadcast content in the target voice queue when the to-be-broadcast content in the target voice queue is in the broadcasting state.

[0098] In some embodiments, the broadcast module 204 performs voice broadcast based on the content to be broadcast contained in each voice queue, including:

[0099] The first order determining unit is used to determine the broadcasting order of the content to be broadcasted according to the priority of each voice queue and the triggering order of the voice events corresponding to the content to be broadcasted in each voice queue;

[0100] The first broadcasting unit is used to select content from the content to be broadcast and broadcast it by voice according to the broadcasting order.

[0101] In some embodiments, the order determination unit determines the order of broadcasting the content to be broadcasted according to the priority of each voice queue and the triggering order of the voice events corresponding to the content to be broadcasted in each voice queue, including:

[0102] The first determining subunit is configured to determine the order of broadcasting the contents to be broadcasted according to the triggering order of the voice events corresponding to the contents to be broadcasted in the respective voice queues when the priorities of the respective voice queues containing the contents to be broadcasted are the same;

[0103] The second determining subunit is configured to determine the order of broadcasting the content to be broadcasted according to the priority of each voice queue when the priorities of each voice queue are different.

[0104] In some embodiments, the above-mentioned voice queue includes a first voice queue and a second voice queue, and the content to be broadcast in the second voice queue is configured to be broadcast after the content to be broadcast in the first voice queue is broadcast.

[0105] Based on this, the above-mentioned voice broadcasting device also includes:

[0106] The second sequence determination unit is used to place the broadcast order of the content to be broadcast in the second voice queue after the broadcast order of the content to be broadcast in the first voice queue when there is content to be played in the first voice queue and there is content to be broadcast in the second voice queue.

[0107] In some embodiments, the voice queue includes a third voice queue, which is used to store content to be broadcast indicating the end of a game.

[0108] Based on this, the above-mentioned voice broadcasting device also includes:

[0109] The clearing unit is configured to clear the content to be broadcast contained in other voice queues other than the third voice queue when the third voice queue has content to be broadcast;

[0110] The second broadcasting unit is used to perform voice broadcasting based on the content to be broadcasted in the third voice queue.

[0111] The solution of the embodiment of the present application can be applied to a target game configured with multiple voice queues, where different voice queues are used to store different types of content to be broadcast. The content acquisition module 201 obtains the target broadcast content and the target voice identifier corresponding to the voice event in response to a voice event during a game of the target game; the queue determination module 202 determines the target voice queue to which the target broadcast content belongs based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier; the update module 203 updates the content to be broadcast stored in the target voice queue according to the target broadcast content; and the broadcast module 204 performs voice broadcast based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time for voice feedback, and improve the game experience of game players.

[0112] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, such as a smartphone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), or the like. Alternatively, the electronic device may be a server.

[0113] like Figure 5 As shown, Figure 5 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. It will be understood by those skilled in the art that the electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0114] The processor 301 is the control center of the electronic device 300. It connects the various parts of the entire electronic device 300 using various interfaces and lines. By running or loading software programs and / or units stored in the memory 302 and calling data stored in the memory 302, it executes various functions of the electronic device 300 and processes data, thereby monitoring the entire electronic device 300. The processor 301 can be a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc., and can implement or execute the various methods, steps, and logic blocks disclosed in the embodiments of this application.

[0115] In the embodiment of the present application, the processor 301 in the electronic device 300 loads instructions corresponding to one or more application processes into the memory 302 according to the following steps, and the processor 301 runs the application stored in the memory 302 to implement various functions, such as:

[0116] Applied to the target game, the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast;

[0117] In response to a voice event during a round of the target game, obtaining target broadcast content and a target voice identifier corresponding to the voice event;

[0118] Based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, determine the target voice queue to which the target broadcast content belongs;

[0119] According to the target broadcast content, update the content to be broadcast stored in the target voice queue;

[0120] Voice broadcast is performed based on the content to be broadcast contained in each voice queue.

[0121] The electronic device provided by the embodiment of the present application can be applied to a target game configured with multiple voice queues, where different voice queues are used to store different types of content to be broadcast. In a game of the target game, in response to a voice event, the target broadcast content and the target voice identifier corresponding to the voice event are obtained; based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, the target voice queue to which the target broadcast content belongs is determined; based on the target broadcast content, the content to be broadcast stored in the target voice queue is updated; and voice broadcast is performed based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time for voice feedback, and improve the game experience of game players.

[0122] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0123] Optional, such as Figure 5 As shown, the electronic device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. Among them, the processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307 respectively. Those skilled in the art will understand that Figure 5 The electronic device structure shown in the figure does not constitute a limitation to the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0124] The touch display screen 303 can be used to display a graphical user interface and receive user operations generated by the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, a liquid crystal display (LCD), an organic light emitting diode (OLED) or the like can be used to configure the display panel. The touch panel can be used to collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus or the like on or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 301, and can receive the command sent by the processor 301 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 303 can also be used as part of the input unit 306 to realize the input function.

[0125] The RF circuit 304 may be used to transmit and receive RF signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to transmit and receive signals with the network device or other electronic devices.

[0126] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through a speaker and microphone. The audio circuit 305 can convert the received audio data into an electrical signal and transmit it to the speaker, which then converts it into a sound signal for output. On the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data. The audio data is then output to the processor 301 for processing, and then sent to another electronic device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earphone jack to provide communication between external headphones and the electronic device.

[0127] The input unit 306 may be configured to receive user touch operations, user behaviors, and the like.

[0128] Power supply 307 is used to supply power to various components of electronic device 300. Optionally, power supply 307 can be logically connected to processor 301 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. Power supply 307 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0129] although Figure 5 Not shown in the figure, the electronic device 300 may further include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0130] In the above embodiments, 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.

[0131] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0132] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of computer programs, which can be loaded by a processor to execute any of the voice broadcast methods provided in the embodiments of the present application. The computer program can execute the following steps of the voice broadcast method:

[0133] Applied to the target game, the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast;

[0134] In response to a voice event during a round of the target game, obtaining target broadcast content and a target voice identifier corresponding to the voice event;

[0135] Based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, determine the target voice queue to which the target broadcast content belongs;

[0136] According to the target broadcast content, update the content to be broadcast stored in the target voice queue;

[0137] Voice broadcast is performed based on the content to be broadcast contained in each voice queue.

[0138] The computer-readable storage medium provided by the embodiment of the present application can be applied to a target game configured with multiple voice queues, where different voice queues are used to store different types of content to be broadcast. In a game of the target game, in response to a voice event, the target broadcast content and the target voice identifier corresponding to the voice event are obtained; based on the correspondence between each voice queue and the voice identifier, as well as the target voice identifier, the target voice queue to which the target broadcast content belongs is determined; based on the target broadcast content, the content to be broadcast stored in the target voice queue is updated; and voice broadcast is performed based on the content to be broadcast contained in each voice queue. Based on this, by providing multiple voice queues to store different types of content to be broadcast, game players can quickly receive key game information in the game, reduce the problem of being unable to play the current voice feedback in time due to the long queuing time for voice feedback, and improve the game experience of game players.

[0139] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0140] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0141] Since the computer program stored in the computer-readable storage medium can execute any of the voice broadcast methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the voice broadcast methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0142] According to one aspect of the present application, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in various optional implementations of the above embodiments.

[0143] In the above-mentioned embodiments of the voice broadcast device, computer-readable storage medium, electronic device, and computer program product, the description of each embodiment has its own emphasis. For parts not described in detail in a particular embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes and beneficial effects of the above-mentioned voice broadcast device, computer-readable storage medium, computer program product, electronic device, and their corresponding units can be referred to the description of the voice broadcast method in the above embodiment, and the details will not be repeated here.

[0144] The above is a detailed introduction to a voice broadcast method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A voice broadcasting method, characterized in that: Applied to a target game, the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast. The method includes: In response to a voice event during a round of the target game, obtaining target broadcast content and a target voice identifier corresponding to the voice event; Determining the target voice queue to which the target broadcast content belongs based on the correspondence between each of the voice queues and the voice identifiers, and the target voice identifier; According to the target broadcast content, updating the content to be broadcast stored in the target voice queue; Voice broadcast is performed based on the content to be broadcast contained in each of the voice queues.

2. The voice broadcast method according to claim 1, characterized in that: The updating of the to-be-broadcast content stored in the target voice queue according to the target broadcast content includes: Determining whether there is content to be broadcast that is different from the target broadcast content in the target voice queue; If the to-be-broadcasted content does not exist in the target voice queue, adding the target broadcast content to the target voice queue; In the case that the to-be-broadcasted content exists in the target voice queue, the target broadcast content is added to the target voice queue according to the broadcasting status of the to-be-broadcasted content in the target voice queue.

3. The voice broadcast method according to claim 2, characterized in that: The step of adding the target broadcast content to the target voice queue according to the broadcast status of the content to be broadcast in the target voice queue comprises: When the content to be broadcasted in the target voice queue is in an unbroadcast state, the target broadcast content is used to replace the content to be broadcasted in the target voice queue; When the content to be broadcasted in the target voice queue is in a broadcasting state, the target broadcast content is added after the content to be broadcasted in the target voice queue.

4. The voice broadcast method according to any one of claims 1 to 3, characterized in that: The voice broadcasting based on the content to be broadcast contained in each of the voice queues includes: Determining the order in which the contents to be broadcast are to be broadcast according to the priorities of the voice queues and the triggering order of the voice events corresponding to the contents to be broadcast in the voice queues; According to the broadcasting order, content is selected from the content to be broadcasted and voice broadcast is performed.

5. The voice broadcast method according to claim 4, characterized in that: Determining the order of broadcasting the contents to be broadcasted according to the priorities of the voice queues and the triggering order of the voice events corresponding to the contents to be broadcasted in the voice queues includes: In the case where the priorities of the voice queues containing the content to be broadcast are the same, determining the broadcasting order of the content to be broadcast according to the triggering order of the voice events corresponding to the content to be broadcast in the voice queues; When the priorities of the voice queues of the contents to be broadcast are different, the broadcasting order of the contents to be broadcast is determined according to the priorities of the voice queues.

6. The voice broadcasting method according to claim 4, characterized in that: The voice queue includes a first voice queue and a second voice queue, and the content to be broadcasted in the second voice queue is configured to be broadcasted after the content to be broadcasted in the first voice queue is broadcasted; the method further includes: When there is content to be played in the first voice queue and there is content to be broadcast in the second voice queue, the broadcast order of the content to be broadcast in the second voice queue is placed after the broadcast order of the content to be broadcast in the first voice queue.

7. The voice broadcast method according to claim 4, characterized in that: The voice queue includes a third voice queue, and the third voice queue is used to store content to be broadcasted indicating the end of the game. The method further includes: When the third voice queue contains content to be broadcast, clearing the content to be broadcast contained in other voice queues other than the third voice queue; Perform voice broadcast based on the content to be broadcast in the third voice queue.

8. A voice broadcasting device, characterized in that: Applied to a target game, the target game is configured with multiple voice queues, and different voice queues are used to store different types of content to be broadcast. The device includes: A content acquisition module is used to obtain target broadcast content and target voice identifier corresponding to a voice event in response to a voice event during a round of the target game; a queue determination module, configured to determine a target voice queue to which the target broadcast content belongs based on the correspondence between each of the voice queues and the voice identifiers, and the target voice identifier; An updating module, configured to update the to-be-broadcasted content stored in the target voice queue according to the target broadcasted content; The broadcast module is used to perform voice broadcast based on the content to be broadcast contained in each of the voice queues.

9. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the voice broadcast method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The invention comprises a computer program. When the computer program is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of the voice broadcast method according to any one of claims 1 to 7.