Method, device, electronic device and storage medium for content prompt in a game
By using the speech information of the second player and historical speech information of the first player in the reasoning game, the problem of poor answering effects caused by the inability to remember the script content or unclear expression of the script is solved, and the speech effect and game experience are improved.
Patent Information
- Application Number
- CN202211139701.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-09-19
AI Technical Summary
In reasoning games, novices, players with poor memory or poor expression are unable to remember the script content or express unclearly, resulting in poor answering effects, affecting the speech effect and reducing the game experience.
By implementing content prompts in the game, the speech information of the second player is used to match the target plot information of the first player, and the speech prompt information is determined based on the historical speech information and game results, and content prompts in the graphical user interface are provided to help the first player quickly locate relevant plots and speech references.
It improves the speech effect of novice players and poor memory players, reduces the speech stuck problem caused by forgetting related content, and improves the player's gaming experience.
Smart Images

Figure CN115463421B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device, electronic device and storage medium for providing content prompts in a game. Background Art
[0002] In the reasoning game, players can ask each other questions and then make inferences based on the answers to get the game results. However, for novice players, players with poor memory, and players who are not good at expressing themselves, they may not be able to remember the script content, express themselves inappropriately, and their answers may not be effective, which will affect the effect of their speeches and may affect the player's gaming experience. Summary of the invention
[0003] The purpose of the present application is to provide a method, device, electronic device and storage medium for content prompts in a game, which can help a first player quickly locate the relevant plot of his own game character, avoid forgetting the relevant content and causing speech jams or forgetting the relevant plot; and can provide players with speech references, thereby improving the speech effect and further improving the player's gaming experience.
[0004] In a first aspect, an embodiment of the present application provides a method for content prompting in a game, which is applied to a first terminal, the first terminal displays a graphical user interface, and the first terminal is communicatively connected to multiple second terminals; the method includes: in response to a question event for a first player corresponding to the first terminal in the current game, obtaining speech information of a second player corresponding to the second terminal that initiates the question; matching target plot information of a game character corresponding to the first player based on the speech information of the second player; matching historical speech information of a third player in a historical game based on the speech information and / or target plot information of the second player, and determining speech prompt information according to the historical speech information and the game results corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; and performing content prompts in the graphical user interface based on the target plot information and the speech prompt information.
[0005] In an optional embodiment, in response to a question event of a first player corresponding to a first terminal in a current game, speech information of a second player corresponding to a second terminal that initiates the question is obtained, including: in response to a question event of a first player corresponding to a first terminal in the current game, voice information of the second player corresponding to the second terminal that initiates the question is obtained; text information is generated based on the voice information, and keyword information of the text information is extracted based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
[0006] In an alternative embodiment, the first terminal opens the permission of the role script pre-selected by the first player. The role script corresponds to a keyword library preset in advance. The keyword library is associated and bound to the plot segment information in the role script through keyword tags, and the keyword tags are set corresponding to preset dimensions.
[0007] In an alternative embodiment, matching the target plot information corresponding to the first terminal based on the speech information of the second player includes: matching the keyword tags of the role script corresponding to the first player based on the keyword information corresponding to the speech information of the second player to obtain the plot segment information bound by the keyword tags; determining the matched plot segment information as the target plot information corresponding to the first terminal.
[0008] In an alternative embodiment, the method further includes: if no keyword tags are matched, performing keyword matching in the role script based on the keyword information corresponding to the speech information of the second player to detect plot segment information; determining the plot segment information as the target plot information.
[0009] In an alternative embodiment, matching the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determining the speech prompt information according to the historical speech information and the game result corresponding to the historical game, includes: determining the target game role corresponding to the third player to be questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information; querying the historical speech information of the third player corresponding to the target game role in multiple historical games; determining the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session; determining the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
[0010] In an alternative embodiment, determining the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session includes: obtaining the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game; determining the advantageous speech information based on the first historical speech information and determining the disadvantageous speech information based on the second historical speech information.
[0011] In an alternative embodiment, determining the advantageous speech information based on the first historical speech information includes: screening the high-frequency speech information in the first historical speech information to obtain the first advantageous word information; comparing the first advantageous word information with the game script to obtain the second advantageous word information; wherein the game script includes the role scripts corresponding to all game roles in the game; obtaining the advantageous speech information according to the first advantageous word information and the second advantageous word information.
[0012] In an optional implementation, determining disadvantaged speech information based on the second historical speech information includes: screening high-frequency speech information in the second historical speech information to obtain first disadvantaged word information; determining second disadvantaged word information based on the activeness of players' questions after the speech; and obtaining disadvantaged speech information based on the first disadvantaged word information and the second disadvantaged word information.
[0013] In an optional implementation, content prompts are provided in a graphical user interface based on the target plot information and the speech prompt information, including: searching for the location of the speech prompt information in the target plot information; determining a display mode based on the information category corresponding to the speech prompt information and the player's game score, wherein advantageous speech information corresponds to a first display mode and disadvantageous speech information corresponds to a second display mode; in the graphical user interface, advantageous speech information in the target plot information is marked according to the first display mode, and disadvantageous speech information in the target plot information is marked according to the second display mode, so as to provide content prompts for the first player's speech.
[0014] In a second aspect, an embodiment of the present application provides a device for content prompting in a game, which is applied to a first terminal, the first terminal displays a graphical user interface, and the first terminal is communicatively connected to multiple second terminals; the method includes: an acquisition module, which is used to respond to a question event of a first player corresponding to the first terminal in the current game, and obtain the speech information of a second player corresponding to the second terminal that initiates the question; an information matching module, which is used to match the target plot information of the game character corresponding to the first player based on the speech information of the second player; a determination module, which is used to match the historical speech information of a third player in a historical game based on the speech information and / or the target plot information of the second player, and determine the speech prompt information according to the historical speech information and the game results corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; a content prompt module, which is used to perform content prompts in the graphical user interface based on the target plot information and the speech prompt information.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of a method for content prompts in a game as described in any one of the first aspects.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of a method for content prompting in a game as described in any one of the first aspects are executed.
[0017] The present application provides a method, device, electronic device and storage medium for content prompting in a game. The method for content prompting in the game is applied to a first terminal, the first terminal displays a graphical user interface, and the first terminal is connected to multiple second terminals in communication. When executing the method, first respond to the question event of the first player corresponding to the first terminal in the current game, obtain the speech information of the second player corresponding to the second terminal that initiates the question, then match the target plot information of the game character corresponding to the first player based on the speech information of the second player, and then match the historical speech information of the third player corresponding to the same game character as the first player in the historical game based on the speech information and / or the target plot information, and determine the speech prompt information according to the historical speech information and the game results corresponding to the historical game, and finally perform content prompts in the graphical user interface based on the target plot information and the speech prompt information. The above method matches the target plot information of the first player corresponding to the first terminal through the speech information of the second player corresponding to the second terminal, which can help the first player quickly locate the relevant plot of his own game character and avoid forgetting the relevant content, resulting in speech jams or forgetting the relevant plot; the historical speech information of historical players is determined according to the speech information and / or target plot information of the second player, and the speech reference of historical players can be obtained. It can provide speech references for players who want to hide their identities or perform special tasks, as well as novice players, thereby improving the speech effect and further improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A flowchart of a method for content prompting in a game provided by an embodiment of the present application is shown;
[0020] Figure 2 A display method of content prompts provided in an embodiment of the present application is shown;
[0021] Figure 3 Another method of displaying content prompts provided in an embodiment of the present application is shown;
[0022] Figure 4 A structural diagram of a device for providing content prompts in a game provided by an embodiment of the present application is shown;
[0023] Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application is shown. Detailed implementation mode
[0024] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part rather than all of the embodiments of the present application. The components of the embodiments of the present application usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0025] In the game in one of the embodiments of the present disclosure, the method for content prompt in the game can run on a local terminal device or a server. When the method for content prompt in the game runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and client devices.
[0026] In an optional implementation mode, various cloud applications can run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running entity of the game program and the presenting entity of the game screen are separated. The storage and running of the method for content prompt in the game are completed on the cloud game server. The role of the client device is for data reception, transmission, and the presentation of the game screen. For example, the client device can be a display device with data transmission function near the user side, such as a mobile terminal, a television, a computer, a palm computer, etc.; however, the information processing is performed by the cloud game server in the cloud. When playing a game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses data such as the game screen, returns it to the client device through the network, and finally, the client device decodes and outputs the game screen.
[0027] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0028] In a possible implementation, an embodiment of the present application provides a method for content prompting in a game, providing a graphical user interface through a terminal device, wherein the terminal device may be the local terminal device mentioned above, or may be a client device in the cloud interactive system mentioned above. For ease of description, the terminal device is referred to as a first terminal. The method for content prompting in a game of an embodiment of the present application may be applicable to reasoning games. Usually, in order to ensure the gaming experience, reasoning games include at least three players. Therefore, in the game, the first terminal and multiple second terminals are communicatively connected to realize interactive reasoning during the game.
[0029] Figure 1 A flowchart of a method for content prompting in a game provided by an embodiment of the present application is shown. Figure 1 As shown, the method for content prompt in the game mainly includes the following steps:
[0030] Step S102, in response to a question event of a first player corresponding to a first terminal in a current game, obtaining speech information of a second player corresponding to a second terminal that initiates the question.
[0031] The types of the above-mentioned current games may include reasoning games, such as Werewolf, Script Killing, etc. At the beginning of the game, each player will pre-select his own game character, so as to perform game reasoning in the identity corresponding to the game character.
[0032] The question event for the first player corresponding to the first terminal may be a question event initiated by the second player corresponding to any one or more of the second terminals. In the game, the second player corresponding to the second terminal may ask questions in turn, so that the speech information of the second player who is currently asking questions can be obtained each time.
[0033] To advance the game process, players obtain game clues by asking questions and infer the true identities of other players based on their answers. In the embodiments of this application, the speech information of the second player refers to the question information, which usually includes keyword information such as time, place, person, and event. After the second player initiates a question, the method disclosed in the embodiments of this application is used to prompt the first player on how to answer.
[0034] Step S104, match the target plot information of the game character corresponding to the first player based on the speech information of the second player.
[0035] Since the above speech information of the second player can include keyword information such as time, place, person, and event, when performing information matching, the speech information can be extracted for keyword information, and information matching can be performed according to the extracted keyword information. For example, in a script murder game, if the second player initiates a question "I would like to ask Roy, what were you doing in the kitchen at 8 o'clock last night", the keyword information that can be extracted from this speech information can include "Roy", "8 o'clock last night", and "kitchen".
[0036] The above target plot information is the plot fragment matched to the keyword information in the speech information from all the plot information corresponding to the first player. Taking the script murder game as an example, the script corresponding to each player includes script content such as character profiles and related events. For the script content of each player, there can be corresponding plot keywords. When the above keyword plot is matched with the relevant plot keywords, the plot fragment corresponding to the plot keyword can be determined as the above target plot information.
[0037] Step S106, match the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determine the speech prompt information according to the historical speech information and the game result corresponding to the historical game; where the third player is the player corresponding to the same game character as the first player in the historical game.
[0038] In one implementation, the speech information of the second player can include keyword information with complete expressions, or there have been questions in the historical game with the same or similar expressions as the speech information of the second player. Therefore, the answers of the players in the historical game to this question, that is, the historical speech information of the third player, can be matched based on the speech information of the second player.
[0039] Considering that different players have different language habits, there may be differences in the questions asked about the same fact. Therefore, even when asking questions about the same fact, the keyword information corresponding to the speech information of the second player above may not be the same. Or, because certain content has already been involved in the previous context, the second player may have fewer available keywords in the speech information when asking questions. Therefore, for such situations, the answers or statements of the historical players regarding the target plot information can be used as a reference for the historical speech information.
[0040] Optionally, to improve the matching efficiency, the historical speech information of the third player in the historical game can also be directly matched according to the target plot information. Since the target plot information in the game is also screened out when giving content hints in the historical game, and then the players speak according to the hints of the target plot, the corresponding plot segments can be directly searched in the historical game according to the target plot information of the current game, so that the speech information of the third player in the historical game regarding the target plot information can be obtained.
[0041] The game results corresponding to the above historical game can include game success and game failure, and there can also be specific game scores and other situations for each case. Considering that in reasoning games, the players' speeches may directly or indirectly affect the game results, the game results of the historical game can be used as a reference for the historical speech information of the third player to determine the speech hint information.
[0042] Furthermore, the speech hint information can be further divided into recommended hints and non-recommended hints. For some speeches of the third player in the historical game, they may arouse the suspicion or siege questions of other players. Therefore, determining the speech information according to the historical speech information and the game results of the historical game can better conform to the game process, thereby improving the players' game experience.
[0043] Step S108, perform content hinting in the graphical user interface based on the target plot information and the speech hint information.
[0044] When performing content hinting in the graphical user interface, various display forms can be used for hinting to facilitate the first player to speak according to the hint content. In one implementation manner, the target plot information and the speech hint information can be displayed separately for hinting, or the target plot information and the speech hint information can be integrated and then displayed for hinting.
[0045] In one example, the target plot information can be displayed, and the speech prompt information can be displayed separately. For example, the target plot information can be displayed in the main display position of the graphical user interface (which can be selected according to actual conditions), and the speech prompt information can be displayed in other areas outside the main display position of the graphical user interface. When the speech prompt information is displayed, the corresponding speech prompt information can be directly displayed, see Figure 2 As shown, a prompt information control can also be provided. After clicking the control, a list of prompt information will pop up. See Figure 3 shown.
[0046] In another example, the speech prompt information can be marked in the target plot information for display. For example, if the player is a murderer, a sentence or a word in the target plot information that may reveal the player's identity can be marked to prompt the player to avoid expressing related content. When marking, relevant prompts can be given in brackets after a word, or directly in the target plot information through different color marks.
[0047] The method for content prompting in a game provided by an embodiment of the present application matches the target plot information of the first player corresponding to the first terminal through the speech information of the second player corresponding to the second terminal, so that the first player can quickly locate the relevant plot of his own game character and avoid speech jams or forgetting of relevant plots due to forgetting relevant content; the historical speech information of historical players is determined according to the speech information and / or target plot information of the second player, and the speech reference of historical players can be obtained. Speech references can be provided for players who want to hide their identities or perform special tasks, as well as novice players, thereby improving the speech effect and further improving the player's gaming experience.
[0048] The following is a detailed description of the method for content prompting in a game provided in an embodiment of the present application.
[0049] In an optional implementation, in response to the question event of the first player corresponding to the first terminal in the current game, obtaining the speech information of the second player corresponding to the second terminal that initiates the question may include the following steps 1.1) and 1.2):
[0050] Step 1.1), in response to a question event of a first player corresponding to a first terminal in a current game, voice information of a second player corresponding to a second terminal that initiates the question is obtained.
[0051] Step 1.2), generating text information based on the voice information, and extracting keyword information from the text information based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
[0052] In one implementation, methods such as machine learning and artificial intelligence can be used for speech-to-text conversion. After obtaining the text information, keyword information can be extracted according to preset dimensions to obtain relevant keywords for the game. Since in reasoning games, the information that players are more concerned about can include time, location, character names, and script events, extraction can be performed through such dimensions to conform to the extraction of keywords in reasoning games.
[0053] This method converts voice information into text information in the game, facilitating the extraction of keyword information in the speech information of the second player for reasoning games.
[0054] To ensure the fairness of the game, the above-mentioned first terminal grants permission to the first player to pre-select a character script, that is, the first terminal is only used to display the character script pre-selected by the first player. The character script displayed on the first terminal corresponds to a pre-set keyword library. The keyword library associates and binds the plot segment information in the character script through keyword tags, and the keyword tags are set corresponding to the preset dimensions.
[0055] Correspondingly, the character scripts corresponding to other players in the game also match the pre-set keyword library.
[0056] In an alternative implementation, the above-mentioned matching of the target plot information corresponding to the first terminal based on the speech information of the second player can specifically include the following steps 2.1) and 2.2):
[0057] Step 2.1), match the keyword tags of the character script corresponding to the first player based on the keyword information corresponding to the speech information of the second player to obtain the plot segment information bound by the keyword tags.
[0058] Step 2.2), determine the matched plot segment information as the target plot information corresponding to the first terminal.
[0059] Regarding the above step 2.1), for the character script of the first player, the plot segment information can be matched through the keyword tags in the pre-set keyword library. It can be understood that one keyword tag can correspond to multiple plot segments, and one plot segment can also correspond to multiple keyword tags. In actual applications, corresponding settings can be made according to the script in the game.
[0060] This method can quickly locate the relevant plot of the first player by matching the keyword information in the speech information of the second player with the plot segments corresponding to the first player. For the situation where players forget the plot content, it can provide effective reminders, avoiding problems such as players having poor speeches or speaking hesitantly, which may arouse the suspicion of other players due to forgetting the plot.
[0061] Further, to improve the matching effect and avoid the problem of failing to match relevant information due to the limited number of keywords in the keyword library, the above method further includes:
[0062] If no keyword tag is matched, keyword matching is performed in the character script based on the keyword information corresponding to the speech information of the second player, and plot segment information is detected; the plot segment information is determined as the target plot information.
[0063] Considering that the keyword tags in the above keyword library may not cover all plot keywords, or there are other forms of expression for the same word, therefore, if no keyword tag is matched, keyword matching can be directly performed in the character script, so that relevant plot segments can still be obtained even when the information in the keyword library is incomplete, improving the stability of plot segment matching, and thus basically covering the questions of the second player and avoiding the problem of being unable to prompt due to failure to match relevant plots.
[0064] In an optional implementation manner, the above method matches the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determines the speech prompt information according to the historical speech information and the game result corresponding to the historical game. Specifically, it may include the following steps 3.1) to step 3.4):
[0065] Step 3.1), determine the target game character corresponding to the third player being questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information.
[0066] Step 3.2), query the historical speech information of the third player corresponding to the target game character in multiple historical games.
[0067] Step 3.3), determine the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session.
[0068] Step 3.4), determine the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
[0069] For the above step 3.1), in order to accurately obtain the speech information of the third player that we want to get in the historical game, it is necessary to first determine the target game character corresponding to the third player. This target game character is also the same game character as the first player and has the same identity. When determining the target game character corresponding to the third player, it can be determined according to the keyword information and / or the target plot information based on the situation of the speech information of the second player. The situation of the speech information of the second player can be, for example, whether the speech is complete, whether it contains complete keywords, etc. Specifically, when selecting, reference can be made to the above step S106 as a reference, which will not be elaborated here.
[0070] For the above step 3.2), it can further include the following steps 3.2.1 and 3.2.2:
[0071] Step 3.2.1, obtain the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game.
[0072] Step 3.2.2, determine the dominant speech information based on the first historical speech information and determine the inferior speech information based on the second historical speech information.
[0073] In order to improve the accuracy of the speech prompt information, for the historical game, the speech information of all players in the game can be extracted, so that it can be known which information the players are more concerned about according to the speech information of all players. Therefore, in an optional implementation manner, when determining the dominant speech information and the inferior speech information, the following methods can be used respectively:
[0074] When determining the dominant speech information based on the first historical speech information, it can further include the following steps A to C:
[0075] Step A, screen the high-frequency speech information in the first historical speech information to obtain the first dominant word information.
[0076] Step B, compare the first dominant word information with the game script to obtain the second dominant word information; where the game script includes the role scripts corresponding to all game characters in the game.
[0077] Step C, obtain the dominant speech information according to the first dominant word information and the second dominant word information.
[0078] In one implementation manner, by obtaining the speech content of all players who got the victory score (that is, the above first historical speech information) and extracting the words with a higher frequency of occurrence in the first historical speech information, it can be known which content the players in the game are more interested in, or which information the players have more questions and discussions about, and use it as the first dominant word information.
[0079] Considering that the information discussed more by players may have some related information that is also important, after obtaining the above-mentioned first advantage word information, the information can be compared with the game script to obtain the corresponding plot fragments and related plot fragments, and the corresponding keyword information can be determined as the second advantage word information.
[0080] In this way, the speech information recommended by the players who won the game in the historical game can be obtained as comprehensively as possible, so as to provide the first player in the current game with a recommendation of speech content, thereby improving the winning rate of the game.
[0081] When determining the inferior speech information based on the second historical speech information, the method may further include steps a to c:
[0082] Step a, screening high-frequency speech information in the second historical speech information to obtain first inferior word information;
[0083] Step b, determining the second disadvantage word information based on the player's question activity after speaking;
[0084] Step c: obtaining disadvantaged speech information according to the first disadvantaged word information and the second disadvantaged word information.
[0085] In one embodiment, by obtaining the speech content of all players who fail in the game (such as negative game scores), high-frequency words are extracted, so that the expressions that players say more frequently in historical games and may lead to game failure can be determined and used as the first disadvantage word information.
[0086] In addition, considering that the player may not directly say certain words to affect the game results, the first disadvantage word information can be further supplemented. In an optional implementation, usually after a player speaks, it will cause many other players to ask questions or doubts, so the player's speech can be used as a candidate for inappropriate disadvantage words, so the scene where the player accepts more questions can be obtained, the player's speech before the question and the question speech can be extracted, and the high-frequency words can be extracted as the second disadvantage word information.
[0087] Optionally, a threshold value may be set for the question activity according to actual conditions. When the threshold value is exceeded, the question activity is determined to be high, and high-frequency words in the player's speech before the question activity is high are extracted to obtain the second disadvantage word information.
[0088] For example, when the first player says: I went to the kitchen at 7 o'clock, after the first player's speech, a large number of other second players ask questions, and the words in the questions that frequently overlap with the speech are 7 o'clock and kitchen; then 7 o'clock + kitchen is used as the second disadvantage word information.
[0089] After determining the advantageous speech information and the disadvantageous speech information, the advantageous speech information and the disadvantageous speech information can be determined as speech prompt information. In order to clearly and intuitively provide prompts for players, in the case where some keywords in the speech prompt information are the same as those in the target plot information, when performing content prompts in the graphical user interface based on the target plot information and the speech prompt information, the following steps 4.1) to 4.3) can be included:
[0090] Step 4.1), find the location of the speech prompt information in the target plot information.
[0091] Step 4.2), determine the display mode based on the information category corresponding to the speech prompt information and the player's game score, where the advantageous speech information corresponds to the first display mode and the disadvantageous speech information corresponds to the second display mode;
[0092] Step 4.3), in the graphical user interface, mark the advantageous speech information in the target plot information according to the first display mode, and mark the disadvantageous speech information in the target plot information according to the second display mode, so as to provide content prompts for the speech of the first player.
[0093] Whether in a game session of game victory or game defeat, the player score can intuitively display the speech performance of the player in the reasoning game. Therefore, the reference degree of the speech prompt information can be clearly characterized by the player's game score.
[0094] In an optional implementation manner, the depth of the first display mode can be determined based on the scores of players in historical games for the advantageous speech information, and the depth of the second display mode can be determined based on the occurrence frequency of the disadvantageous speech information in historical games. For example, the advantageous speech information can be represented by a green mark, and the disadvantageous speech information can be represented by a red mark. For the advantageous speech information, the higher the player score, the deeper the color depth; for the disadvantageous speech information, the lower the player score, the deeper the color depth.
[0095] In this way, the recommended and non-recommended speech information in the game can be clearly and intuitively displayed, providing speech references for players, being more friendly to novice players, and improving the playability and experience of the game.
[0096] In summary, the method for content prompting in the game provided by the embodiments of the present application can facilitate the first player to quickly locate the relevant plot of their game character, avoid speech stuttering or forgetting relevant plots due to forgetting relevant content; it can provide speech references for players who want to hide their identities or perform special tasks, as well as novice players, thereby improving the speech effect and further enhancing the game experience of players.
[0097] Figure 4The schematic diagram of the structure of a device for providing content prompts in a game provided by an embodiment of the present application is shown. The device for providing content prompts in a game mainly includes the following parts:
[0098] An acquisition module 42, configured to acquire speech information of a second player corresponding to a second terminal that initiates a question in response to a question event of a first player corresponding to the first terminal in the current game;
[0099] An information matching module 44, configured to match target plot information of the game character corresponding to the first player based on the speech information of the second player;
[0100] A determination module 46 is used to match historical speech information of a third player in the historical game based on the speech information of the second player and / or the target plot information, and determine speech prompt information according to the historical speech information and the game result corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player;
[0101] The content prompt module 48 is used to provide content prompts in the graphical user interface based on the target plot information and the speech prompt information.
[0102] The device for content prompting in the game provided by the embodiment of the present application can match the target plot information of the first player corresponding to the first terminal through the speech information of the second player corresponding to the second terminal, so as to facilitate the first player to quickly locate the relevant plot of his own game character, and avoid speech jams or forgetting of relevant plots caused by forgetting relevant content; the historical speech information of historical players can be determined according to the speech information and / or target plot information of the second player, and the speech reference of historical players can be obtained. It can provide speech references for players who want to hide their identities or perform special tasks, as well as novice players, thereby improving the speech effect and further improving the player's gaming experience.
[0103] In a feasible implementation manner, the acquisition module 42 is further used to:
[0104] In response to a question event of a first player corresponding to the first terminal in a current game, voice information of a second player corresponding to a second terminal that initiates the question is obtained; text information is generated based on the voice information, and keyword information of the text information is extracted based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
[0105] In a feasible implementation, the first terminal opens the permission of the role script pre-selected by the first player. The role script corresponds to a keyword library pre-set in advance. The keyword library associates and binds the plot segment information in the role script through keyword tags, and the keyword tags are set corresponding to the preset dimension.
[0106] In a feasible implementation, the above information matching module 44 is further configured to:
[0107] Match the keyword tags of the role script corresponding to the first player based on the keyword information corresponding to the speech information of the second player, and obtain the plot segment information bound by the keyword tags; determine the matched plot segment information as the target plot information corresponding to the first terminal.
[0108] In a feasible implementation, the above device further includes a keyword matching module, which is configured to:
[0109] If no keyword tag is matched, perform keyword matching in the role script based on the keyword information corresponding to the speech information of the second player, and detect the plot segment information; determine the plot segment information as the target plot information.
[0110] In a feasible implementation, the above determination module 46 is further configured to:
[0111] Determine the target game role of the third player being questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information; query the historical speech information of the third player corresponding to the target game role in multiple historical games; determine the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game results of the corresponding historical games; determine the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
[0112] In a feasible implementation, the above determination module 46 is further configured to:
[0113] Obtain the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game; determine the advantageous speech information based on the first historical speech information, and determine the disadvantageous speech information based on the second historical speech information.
[0114] In a feasible implementation, the above determination module 46 is further configured to:
[0115] Screen the high-frequency speech information in the first historical speech information to obtain the first dominant word information; compare the first dominant word information with the game script to obtain the second dominant word information; wherein, the game script includes the character scripts corresponding to all game characters in the game; obtain the dominant speech information according to the first dominant word information and the second dominant word information.
[0116] In a feasible implementation, the above-mentioned determination module 46 is further configured to:
[0117] Screen the high-frequency speech information in the second historical speech information to obtain the first disadvantageous word information; determine the second disadvantageous word information based on the player's question activity after the speech; obtain the disadvantageous speech information according to the first disadvantageous word information and the second disadvantageous word information.
[0118] In a feasible implementation, the above-mentioned content prompt module 48 is further configured to:
[0119] Locate the position of the speech prompt information in the target plot information; determine the display method based on the information category corresponding to the speech prompt information and the player's game score, wherein the dominant speech information corresponds to the first display method, and the disadvantageous speech information corresponds to the second display method; in the graphical user interface, mark the dominant speech information in the target plot information according to the first display method, and mark the disadvantageous speech information in the target plot information according to the second display method to provide content prompts for the speech of the first player.
[0120] Figure 5 The structure diagram of an electronic device provided by an embodiment of the present application is shown, including: a processor 501, a storage medium 502, and a bus 503. The storage medium 502 stores machine-readable instructions executable by the processor 501. When the electronic device runs a method for content prompting in a game as in the embodiment, the processor 501 communicates with the storage medium 502 through the bus 503, and the processor 501 executes the machine-readable instructions, the preamble part of the method item of the processor 501, to perform the following steps:
[0121] In response to a question event of a first player corresponding to a first terminal in a current game, speech information of a second player corresponding to a second terminal that initiates the question is obtained; target plot information of a game character corresponding to the first player is matched based on the speech information of the second player; historical speech information of a third player in a historical game is matched based on the speech information and / or the target plot information of the second player, and speech prompt information is determined according to the historical speech information and the game results corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; and content prompts are performed in a graphical user interface based on the target plot information and the speech prompt information.
[0122] In a feasible implementation manner, when the processor 501 executes the response to the question event of the first player corresponding to the first terminal in the current game and obtains the speech information of the second player corresponding to the second terminal who initiates the question, it is specifically used to:
[0123] In response to a question event of a first player corresponding to a first terminal in a current game, voice information of a second player corresponding to a second terminal that initiates the question is obtained; text information is generated based on the voice information, and keyword information of the text information is extracted based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
[0124] In a feasible implementation scheme, the first terminal opens the permission of the role script pre-selected by the first player. The role script corresponds to a pre-set keyword vocabulary. The keyword vocabulary is associated and bound to the plot segment information in the role script through keyword tags. The keyword tags are set corresponding to preset dimensions.
[0125] In a feasible implementation manner, when the processor 501 matches the target plot information corresponding to the first terminal based on the speech information of the second player, it is specifically used to:
[0126] The keyword tag of the role script corresponding to the first player is matched based on the keyword information corresponding to the speech information of the second player to obtain the plot segment information bound to the keyword tag; and the matched plot segment information is determined as the target plot information corresponding to the first terminal.
[0127] In a feasible implementation manner, the processor 501 is further configured to:
[0128] If the keyword tag is not matched, keyword matching is performed in the role script based on the keyword information corresponding to the speech information of the second player, and plot segment information is detected; the plot segment information is determined as the target plot information.
[0129] In a feasible implementation, when the processor 501 executes matching the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determining the speech prompt information according to the historical speech information and the game result corresponding to the historical game, it is specifically used for:
[0130] Determine the target game character corresponding to the third player being questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information; query the historical speech information of the third player corresponding to the target game character in multiple historical games; determine the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game; determine the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
[0131] In a feasible implementation, when the processor 501 executes determining the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game, it is specifically used for:
[0132] Obtain the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game; determine the advantageous speech information based on the first historical speech information, and determine the disadvantageous speech information based on the second historical speech information.
[0133] In a feasible implementation, when the processor 501 executes determining the advantageous speech information based on the first historical speech information, it is specifically used for:
[0134] Screen the high-frequency speech information in the first historical speech information to obtain the first advantageous word information; compare the first advantageous word information with the game script to obtain the second advantageous word information; wherein, the game script includes the role scripts corresponding to all game characters in the game; obtain the advantageous speech information according to the first advantageous word information and the second advantageous word information.
[0135] In a feasible implementation, when the processor 501 executes determining the disadvantageous speech information based on the second historical speech information, it is specifically used for:
[0136] Screen the high-frequency speech information in the second historical speech information to obtain the first disadvantageous word information; determine the second disadvantageous word information based on the player question activity after the speech; obtain the disadvantageous speech information according to the first disadvantageous word information and the second disadvantageous word information.
[0137] In a feasible implementation, when the processor 501 executes content prompting in the graphical user interface based on the target plot information and the speech prompt information, it is specifically used for:
[0138] Find the location of the speech prompt information in the target plot information; determine the display mode based on the information category corresponding to the speech prompt information and the player's game score, wherein the advantageous speech information corresponds to the first display mode and the disadvantageous speech information corresponds to the second display mode; in the graphical user interface, mark the advantageous speech information in the target plot information according to the first display mode, and mark the disadvantageous speech information in the target plot information according to the second display mode, so as to provide content prompts for the first player's speech.
[0139] The above method matches the target plot information of the first player corresponding to the first terminal through the speech information of the second player corresponding to the second terminal, which can help the first player quickly locate the relevant plot of his own game character and avoid forgetting the relevant content that leads to speech jam or forgetting the relevant plot; the historical speech information of historical players is determined according to the speech information and / or target plot information of the second player, and the speech reference of historical players can be obtained. It can provide speech reference for players who want to hide their identities or perform special tasks, as well as novice players, thereby improving the speech effect and further improving the player's gaming experience.
[0140] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is running, and the processor performs the following steps:
[0141] In response to a question event of a first player corresponding to a first terminal in a current game, speech information of a second player corresponding to a second terminal that initiates the question is obtained; target plot information of a game character corresponding to the first player is matched based on the speech information of the second player; historical speech information of a third player in a historical game is matched based on the speech information and / or the target plot information of the second player, and speech prompt information is determined according to the historical speech information and the game results corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; and content prompts are performed in a graphical user interface based on the target plot information and the speech prompt information.
[0142] In a feasible implementation manner, when the processor 501 executes the response to the question event of the first player corresponding to the first terminal in the current game and obtains the speech information of the second player corresponding to the second terminal who initiates the question, it is specifically used to:
[0143] In response to a question event of a first player corresponding to a first terminal in a current game, voice information of a second player corresponding to a second terminal that initiates the question is obtained; text information is generated based on the voice information, and keyword information of the text information is extracted based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
[0144] In a feasible implementation, the first terminal opens the permission of the role script pre-selected by the first player. The role script corresponds to a keyword library pre-set according to pre-set keywords. The keyword library is associated and bound with the plot segment information in the role script through keyword tags, and the keyword tags are set corresponding to preset dimensions.
[0145] In a feasible implementation, when the processor 501 executes matching the target plot information corresponding to the first terminal based on the speech information of the second player, it is specifically used for:
[0146] Matching the keyword tags of the role script corresponding to the first player based on the keyword information corresponding to the speech information of the second player to obtain the plot segment information bound by the keyword tags; determining the matched plot segment information as the target plot information corresponding to the first terminal.
[0147] In a feasible implementation, the processor 501 is further used for:
[0148] If no keyword tags are matched, perform keyword matching in the role script based on the keyword information corresponding to the speech information of the second player to detect plot segment information; determine the plot segment information as the target plot information.
[0149] In a feasible implementation, when the processor 501 executes matching the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determining the speech prompt information according to the historical speech information and the game result corresponding to the historical game, it is specifically used for:
[0150] Determine the target game role corresponding to the third player being questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information; query the historical speech information of the third player corresponding to the target game role in multiple historical games; determine the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session; determine the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
[0151] In a feasible implementation, when the processor 501 executes determining the advantageous speech information and the disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session, it is specifically used for:
[0152] Obtain the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game; determine the advantageous speech information based on the first historical speech information, and determine the disadvantageous speech information based on the second historical speech information.
[0153] In a feasible implementation, when the processor 501 determines the dominant speech information based on the first historical speech information, it is specifically configured to:
[0154] Screen the high-frequency speech information in the first historical speech information to obtain the first dominant word information; compare the first dominant word information with the game script to obtain the second dominant word information; wherein the game script includes the character scripts corresponding to all game characters in the game; obtain the dominant speech information according to the first dominant word information and the second dominant word information.
[0155] In a feasible implementation, when the processor 501 determines the inferior speech information based on the second historical speech information, it is specifically configured to:
[0156] Screen the high-frequency speech information in the second historical speech information to obtain the first inferior word information; determine the second inferior word information based on the player question activity after the speech; obtain the inferior speech information according to the first inferior word information and the second inferior word information.
[0157] In a feasible implementation, when the processor 501 performs content prompting in the graphical user interface based on the target plot information and the speech prompt information, it is specifically configured to:
[0158] Locate the position of the speech prompt information in the target plot information; determine the display mode based on the information category corresponding to the speech prompt information and the player game score, wherein the dominant speech information corresponds to the first display mode, and the inferior speech information corresponds to the second display mode; in the graphical user interface, mark the dominant speech information in the target plot information according to the first display mode, and mark the inferior speech information in the target plot information according to the second display mode to perform content prompting for the speech of the first player.
[0159] The above method matches the target plot information of the first player corresponding to the first terminal through the speech information of the second player corresponding to the second terminal, which can facilitate the first player to quickly locate the relevant plot of their own game character and avoid speech stuttering or forgetting relevant plots due to forgetting relevant content; determining the historical speech information of the historical player according to the speech information of the second player and / or the target plot information can obtain the speech reference of the historical player, and can provide speech reference for players who want to hide their identities or perform special tasks, as well as novice players, so as to improve the speech effect and further improve the player's game experience.
[0160] In the embodiments of the present application, when the computer program is run by the processor, it can also execute other machine-readable instructions to execute the other methods described in the embodiments. For the specific method steps and principles of execution, refer to the description of the embodiments, and details are not described herein again.
[0161] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0162] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional unit in the embodiments provided in the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0164] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0165] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0166] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for content prompting in a game, It is characterized in that Applied to a first terminal, the first terminal displays a graphical user interface, and the first terminal is communicatively connected with a plurality of second terminals; the method comprises: In response to a question event of a first player corresponding to the first terminal in the current game, obtaining speech information of a second player corresponding to a second terminal that initiates the question; Extracting keyword information from the speech information of the second player, and determining, based on the extracted keyword information, from the plot information corresponding to the first player, plot segment information matching the keyword information as target plot information of the game character corresponding to the first player; wherein the keyword information includes one or more of the following information: time, place, character name, and scenario event; Matching historical speech information of a third player in the historical game based on the speech information of the second player and / or the target plot information, and determining speech prompt information according to the historical speech information and the game result corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; Content prompts are performed in the graphical user interface based on the target plot information and the speech prompt information.
2. The method for content prompting in a game according to claim 1, It is characterized in that The step of obtaining, in response to a question event of a first player corresponding to the first terminal in the current game, speech information of a second player corresponding to a second terminal who initiates the question, includes: In response to a question event of a first player corresponding to the first terminal in the current game, obtaining voice information of a second player corresponding to a second terminal who initiates the question; Generate text information based on the voice information, and extract keyword information of the text information based on preset dimensions; the preset dimensions include at least one or more of the following dimensions: time, place, character name, and script event.
3. The method for content prompting in a game according to claim 2, It is characterized in that The first terminal opens the permission of the role script pre-selected by the first player, and the role script corresponds to a pre-set keyword vocabulary, and the keyword vocabulary is associated and bound with the plot fragment information in the role script through keyword tags, and the keyword tags are set corresponding to the preset dimensions.
4. The method for content prompting in a game according to claim 3, It is characterized in that The step of determining the plot segment information matching the keyword information as target plot information of the game character corresponding to the first player includes: Matching the keyword tag of the role script corresponding to the first player based on the keyword information corresponding to the speech information of the second player, and obtaining the plot segment information bound to the keyword tag; The matched plot segment information is determined as the target plot information corresponding to the first terminal.
5. The method for content prompting in a game according to claim 4, It is characterized in that The method further comprises: If no keyword tag is matched, keyword matching is performed in the character script based on the keyword information corresponding to the speech information of the second player, and plot segment information is detected; Determine the plot segment information as the target plot information.
6. The method for content prompting in a game according to claim 1, wherein, matching the historical speech information of the third player in the historical game based on the speech information of the second player and / or the target plot information, and determining speech prompt information according to the historical speech information and the game result corresponding to the historical game, including: Determine the target game character corresponding to the third player being questioned according to the keyword information corresponding to the speech information of the second player and / or the target plot information; Query the historical speech information of the third player corresponding to the target game character in multiple historical games; Determine advantageous speech information and disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session; Determine the speech prompt information based on the advantageous speech information and the disadvantageous speech information.
7. The method for content prompting in a game according to claim 6, wherein, determining advantageous speech information and disadvantageous speech information based on the historical speech information and the game result of the corresponding historical game session, including: Obtain the first historical speech information of all game players who won the game and the second historical speech information of all corresponding game players who lost the game; Determine advantageous speech information based on the first historical speech information, and determine disadvantageous speech information based on the second historical speech information.
8. The method for content prompting in a game according to claim 7, wherein, determining advantageous speech information based on the first historical speech information, including: Screen the high-frequency speech information in the first historical speech information to obtain first advantageous word information; Compare the first advantageous word information with the game script to obtain second advantageous word information; wherein, the game script includes the character scripts corresponding to all game characters in the game; Obtain advantageous speech information according to the first advantageous word information and the second advantageous word information.
9. The method for content prompting in a game according to claim 7, wherein, determining disadvantageous speech information based on the second historical speech information, including: Screen the high-frequency speech information in the second historical speech information to obtain first disadvantageous word information; Determine second disadvantageous word information based on the player question activity after the speech; Obtain disadvantageous speech information according to the first disadvantageous word information and the second disadvantageous word information.
10. The method for content prompting in a game according to any one of claims 6-8, wherein, performing content prompting in the graphical user interface based on the target plot information and the speech prompt information, including: Locate the position of the speech prompt information in the target plot information; Determine the display method based on the information category corresponding to the speech prompt information and the player game score, wherein the advantageous speech information corresponds to the first display method, and the disadvantageous speech information corresponds to the second display method; In the graphical user interface, the advantageous speech information in the target plot information is marked according to a first display mode, and the disadvantageous speech information in the target plot information is marked according to a second display mode, so as to provide content prompts for the speech of the first player.
11. A device for providing content prompts in a game, It is characterized in that Applied to a first terminal, the first terminal displays a graphical user interface, and the first terminal is communicatively connected with a plurality of second terminals; the device comprises: an acquisition module, configured to, in response to a question event of a first player corresponding to the first terminal in a current game, acquire speech information of a second player corresponding to a second terminal that initiates the question; an information matching module, configured to extract keyword information from the speech information of the second player, and determine, based on the extracted keyword information, from the plot information corresponding to the first player, plot segment information matching the keyword information as target plot information of the game character corresponding to the first player; wherein the keyword information includes one or more of the following information: time, place, character name, and scenario event; a determination module, configured to match historical speech information of a third player in the historical game based on the speech information of the second player and / or the target plot information, and determine speech prompt information according to the historical speech information and a game result corresponding to the historical game; wherein the third player is a player in the historical game who corresponds to the same game character as the first player; A content prompt module is used to provide content prompts in the graphical user interface based on the target plot information and the speech prompt information.
12. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of a method for content prompting in a game as described in any one of claims 1 to 10.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for content prompting in a game as claimed in any one of claims 1 to 10 are executed.
Citation Information
Patent Citations
Method for prompting battle in game and device thereof, electronic equipment and storage medium
CN113769400A
In-game live broadcast interaction method and device, computer equipment and storage medium
CN114125536A