Message processing method and device, terminal and storage medium
By using artificial intelligence objects in MMORPG games to generate broadcast messages consistent with the player's input text, the problem of insufficient fun editing of the content of text manually is solved, and the user experience and human-computer interaction are improved.
Patent Information
- Application Number
- CN202310505664.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-06
- Publication Date
- 2024-11-08
AI Technical Summary
In MMORPG electronic games, players need to manually edit the text content when sending broadcast messages, resulting in insufficient fun and poor user experience.
Provide a message processing method and device, by displaying the message setting interface of the artificial intelligence object in the game application, obtaining the text input by the player, and generating consistent broadcast messages based on the language style of the artificial intelligence object, thereby enhancing the fun of the broadcast messages and Interactive.
It improves the interactivity between players and artificial intelligence objects, enhances the user experience, and sends broadcast messages instead of players through artificial intelligence objects, increasing the fun and game experience.
Smart Images

Figure CN118903837A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to a message processing method, device, terminal and storage medium. Background Art
[0002] In MMORPG (Multiplayer Online Role-Playing Game) video games, players control virtual objects to participate in various activities. In addition, in order to improve the social nature of video games, players can not only send messages to each other to chat, but also send broadcast messages in the whole server channel to notify every player of the broadcast message.
[0003] In the related art, players are usually required to edit the text content of the broadcast message themselves, but this method is relatively rigid and lacks fun, resulting in a poor user experience. Summary of the invention
[0004] The embodiments of the present application provide a message processing method, device, terminal and storage medium, which can improve the fun of sending broadcast messages, enhance the interactivity between players and artificial intelligence objects, promote human-computer interaction, and enhance user experience. The technical solution is as follows:
[0005] In one aspect, a message processing method is provided, the method comprising:
[0006] Displaying a message setting interface of a first artificial intelligence object in a game application, wherein the first artificial intelligence object is bound to a first account, and the first account is an account logged in by the local terminal;
[0007] Based on the text input operation in the message setting interface, obtaining the input text;
[0008] In response to a message sending operation in the message setting interface, a first broadcast message is generated based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object;
[0009] The first broadcast message is sent through the first artificial intelligence object, and the first broadcast message is displayed.
[0010] In another aspect, a message processing device is provided, the device comprising:
[0011] An interface display module, used to display a message setting interface of a first artificial intelligence object in a game application, wherein the first artificial intelligence object is bound to a first account, and the first account is an account logged in by the local end;
[0012] A text acquisition module, used to acquire input text based on the text input operation in the message setting interface;
[0013] a message generation module, configured to generate, in response to a message sending operation in the message setting interface, a first broadcast message based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object;
[0014] A message display module is used to send the first broadcast message through the first artificial intelligence object and display the first broadcast message.
[0015] Optionally, the device further includes an object binding module, configured to:
[0016] Displaying an object creation interface in the game application;
[0017] In response to a creation operation in the object creation interface, a plurality of candidate artificial intelligence objects are randomly generated, wherein the candidate artificial intelligence objects are virtual objects not controlled by user operations, and the plurality of candidate artificial intelligence objects include the first artificial intelligence object;
[0018] In response to a binding operation on the first artificial intelligence object, the first artificial intelligence object is bound to the first account.
[0019] Optionally, the object binding module is used to:
[0020] Based on the text input operation in the description input box, obtaining the input object description text;
[0021] In response to a triggering operation on the object creation option, a plurality of candidate artificial intelligence objects consistent with the description of the object description text are randomly generated.
[0022] Optionally, the message generating module is used to:
[0023] In response to the message sending operation, determining a target text conversion model consistent with the language style of the first artificial intelligence object among a plurality of text conversion models;
[0024] The target text conversion model is called to perform style conversion on the text to obtain the first broadcast message having the language style of the first artificial intelligence object.
[0025] Optionally, the device further comprises:
[0026] An account acquisition module, used to acquire an input second account based on an account input operation in the message setting interface, where the second account is an account in the game application;
[0027] The message display module is used to:
[0028] The first broadcast message is sent to the second account through the first artificial intelligence object, and the first broadcast message is displayed.
[0029] Optionally, the message generating module is used to:
[0030] In response to the message sending operation, obtaining a first intimacy, where the first intimacy is the intimacy between the first account and the second account;
[0031] The first broadcast message is generated based on the text, the language style of the first artificial intelligence object and the first intimacy, and the positivity of the emotion of the first broadcast message is positively correlated with the first intimacy.
[0032] Optionally, the message generating module is used to:
[0033] In response to the message sending operation, if the text includes a blocked word, deleting the blocked word in the text;
[0034] The first broadcast message is generated based on the processed text and the language style of the first artificial intelligence object, and the semantics of the first broadcast message is consistent with the semantics of the processed text.
[0035] Optionally, the device further comprises a chat module, which is used to:
[0036] In response to a chat initiation operation on the first artificial intelligence object, displaying a chat interface between the first artificial intelligence object and the first account;
[0037] Based on the message input operation in the chat interface, obtaining the input interactive message;
[0038] In response to a message sending operation in the chat interface, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message in the chat interface;
[0039] In response to the interactive message, a reply message is sent to the first account through the first artificial intelligence object, and the reply message is displayed on the chat interface, and the reply message is used to reply to the interactive message.
[0040] Optionally, the reply message is a text reply message; and the chat module is used to:
[0041] In response to the interactive message, obtaining a target message reply model consistent with the language style of the first artificial intelligence object from a plurality of message reply models, calling the target message reply model, processing the interactive message, and obtaining the text reply message having the language style of the first artificial intelligence object;
[0042] From a plurality of speech generation models, a target speech generation model that is consistent with the timbre of the first artificial intelligence object is obtained, the target speech generation model is called, and the text reply message is converted into a voice reply message having the timbre of the first artificial intelligence object;
[0043] The text reply message and the voice play option are displayed on the chat interface, and the voice play option is used to trigger the playing of the voice reply message.
[0044] Optionally, the chat module is used to:
[0045] In response to a message sending operation in the chat interface, if the number of the interactive messages sent within a preset time period before the current time point does not reach a preset number, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message on the chat interface;
[0046] The device also includes a first prompting module, which is used to:
[0047] In response to a message sending operation in the chat interface, when the number of interactive messages sent within the preset time period reaches the preset number, a first prompt message is displayed in the chat interface, and the first prompt message is used to prompt to reduce the frequency of sending interactive messages.
[0048] Optionally, the device further comprises:
[0049] The message display module is further used to display a second broadcast message, where the second broadcast message is sent by a second artificial intelligence object, the second artificial intelligence object is not bound to the first account, and the second broadcast message includes an object identifier of the second artificial intelligence object;
[0050] a function display module, configured to display function options associated with the second artificial intelligence object in response to a triggering operation on the object identifier, wherein the function options include at least one of a detail viewing option, a broadcast reply option, or a blocking option;
[0051] Among them, the detail viewing option is used to trigger the display of the detail interface of the second artificial intelligence object, the broadcast reply option is used to trigger the display of the broadcast reply interface, the broadcast reply interface is used to edit the broadcast message replied to the second artificial intelligence object, and the blocking option is used to trigger the blocking of messages sent by the second artificial intelligence object.
[0052] Optionally, the device further comprises:
[0053] A second prompt module, configured to display second prompt information when the second broadcast message is a broadcast message sent by the second artificial intelligence object to the first artificial intelligence object, wherein the second prompt information is used to prompt the first artificial intelligence object to receive the broadcast message;
[0054] The interface display module is also used to display a broadcast reply interface in response to a triggering operation on the second prompt information, and the broadcast reply interface is used to edit a broadcast message to reply to the second artificial intelligence object.
[0055] Optionally, the device further comprises a name modification module, configured to:
[0056] In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is less than the third intimacy, the name of the first artificial intelligence object is modified to an automatically generated name, the first intimacy is the intimacy between the first artificial intelligence object and the first account, and the third intimacy is the intimacy between the second artificial intelligence object and the bound second account; or,
[0057] In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is equal to the third intimacy, but the first game parameter is less than the second game parameter, then the name of the first artificial intelligence object is modified to an automatically generated name, the first game parameter represents the game capability of the first account, and the second game parameter represents the game capability of the second account; or,
[0058] In the case where the name of the first artificial intelligence object is the same as the name of any account in the game application, the name of the first artificial intelligence object is modified to an automatically generated name.
[0059] On the other hand, a terminal is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the message processing method described in the above aspects.
[0060] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the message processing method described in the above aspects.
[0061] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the message processing method as described in the above aspects.
[0062] In the solution provided by the embodiment of the present application, the player's account has a bound artificial intelligence object. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message is consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent by the artificial intelligence object, which is equivalent to the player providing the content he wants to send, and the artificial intelligence object reorganizes the language and sends the broadcast message on behalf of the player in the style of the artificial intelligence object. Therefore, the way of sending broadcast messages is more interesting, which improves the interactivity between the player and the artificial intelligence object, is conducive to promoting human-computer interaction, and also improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0064] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0065] Figure 2 It is a flowchart of a message processing method provided by an embodiment of the present application;
[0066] Figure 3 It is a flowchart of a message processing method provided by an embodiment of the present application;
[0067] Figure 4 is a schematic diagram of a message box provided in an embodiment of the present application;
[0068] Figure 5 is a schematic diagram of a broadcast message provided in an embodiment of the present application;
[0069] Figure 6 is a schematic diagram of a message setting interface provided in an embodiment of the present application;
[0070] Figure 7is a schematic diagram of a lobby interface provided in an embodiment of the present application;
[0071] Figure 8 is a flow chart of a binding method provided in an embodiment of the present application;
[0072] Fig. 9 is a schematic diagram of an artificial intelligence object interface provided by an embodiment of the present application;
[0073] Fig.10 is a schematic diagram of a name modification interface provided in an embodiment of the present application;
[0074] Fig.11 It is a flowchart of a message processing method provided by an embodiment of the present application;
[0075] Fig.12 is a schematic diagram of a sound effect setting interface provided in an embodiment of the present application;
[0076] Fig.13 is a schematic diagram of a chat interface provided in an embodiment of the present application;
[0077] Fig.14 is a schematic diagram of a lobby interface provided in an embodiment of the present application;
[0078] Fig.15 It is a flowchart of a message processing method provided by an embodiment of the present application;
[0079] Fig.16 is a schematic diagram of a function bar provided in an embodiment of the present application;
[0080] Fig.17 is a schematic diagram of a details interface provided in an embodiment of the present application;
[0081] Fig.18 is a schematic diagram of a chat interface provided in an embodiment of the present application;
[0082] Fig.19 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application;
[0083] Fig. 20 is a schematic diagram of a broadcast message provided in an embodiment of the present application;
[0084] Fig.21 is a schematic diagram of a shielding interface provided in an embodiment of the present application;
[0085] Fig. 22 is a schematic diagram of a lobby interface provided in an embodiment of the present application;
[0086] Fig.23 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application;
[0087] Fig.24 It is a structural diagram of a message processing device provided in an embodiment of the present application;
[0088] Fig.25 It is a structural diagram of another message processing device provided in an embodiment of the present application;
[0089] Fig.26 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0090] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0091] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of this application, a first artificial intelligence object can be referred to as a second artificial intelligence object, and similarly, a second artificial intelligence object can be referred to as a first artificial intelligence object.
[0092] Among them, at least one refers to one or more than one, for example, at least one artificial intelligence object can be one artificial intelligence object, two artificial intelligence objects, three artificial intelligence objects, or any other artificial intelligence objects that are an integer greater than or equal to one. Multiple refers to two or more than two, for example, multiple artificial intelligence objects can be two artificial intelligence objects, three artificial intelligence objects, or any other artificial intelligence objects that are an integer greater than or equal to two. Each refers to each of at least one, for example, each artificial intelligence object refers to each artificial intelligence object in the multiple artificial intelligence objects. If the multiple artificial intelligence objects are 3 artificial intelligence objects, then each artificial intelligence object refers to each artificial intelligence object in the 3 artificial intelligence objects.
[0093] It is understandable that in the implementation methods of this application, data related to accounts and artificial intelligence objects are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0094] Artificial Intelligence (AI) involved in this application is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0095] The virtual scene involved in the present application can be used to simulate a three-dimensional virtual space, and the three-dimensional virtual space can be an open space. For example, the virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities. Of course, the virtual scene can also include virtual items, such as throwing objects, buildings, mounts, and virtual weapons and other props required for virtual objects in the virtual scene to equip themselves or to play against other virtual objects. The virtual scene can also be used to simulate environments under different weather conditions, such as sunny days, rainy days, foggy days, or nights. Various scene elements enhance the diversity and authenticity of the virtual scene.
[0096] The user controls the virtual object to move in the virtual scene. The virtual object is a virtual image in the virtual scene that represents the user. The virtual image is in any form, such as a person or an animal, etc., and the present application does not limit this. Taking an electronic game as an example, the electronic game is an MMORPG type electronic game, and the player can control the virtual object to participate in various activities in the virtual scene and participate in various game games.
[0097] In the embodiment of the present application, an electronic game scene is taken as an example. The user performs an operation on the terminal in advance. After the terminal detects the user's operation, it downloads the game configuration file of the electronic game. The game configuration file includes the application program, interface display data or virtual scene data of the electronic game, so that when the user logs in to the electronic game on the terminal, the game configuration file is called to render and display the electronic game interface. The user performs a touch operation on the terminal. After the terminal detects the touch operation, it determines the game data corresponding to the touch operation and renders and displays the game data. The game data includes virtual scene data and behavior data of virtual objects in the virtual scene, etc.
[0098] Figure 1 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, the implementation environment includes a server 101 and multiple terminals, and the multiple terminals run game applications provided by the server 101. Figure 1Take three terminals as an example. Each terminal is directly or indirectly connected to the server 101 via wired or wireless communication.
[0099] In the embodiment of the present application, the server 101 provides background support for the game application in multiple terminals. Taking the terminal 102 among the multiple terminals as an example, the game application in the terminal 102 is logged in with a first account, and the first account is bound to the first artificial intelligence object. The terminal 102 can generate a broadcast message that is consistent with the semantics of the text and the language style of the first artificial intelligence object based on the text input by the user, and then display the first artificial intelligence object to send the broadcast message. At the same time, the terminal 102 also sends the broadcast message to the server 101, and the server 101 sends the broadcast message to other terminals among the multiple terminals except the terminal 102, so that other terminals also display the first artificial intelligence object to send the broadcast message.
[0100] In one possible implementation, the server 101 is an independent physical server, or the server 101 is a server cluster or distributed system composed of multiple physical servers, or the server 101 is a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In one possible implementation, the multiple terminals are smart phones, tablet computers, laptops, desktop computers, smart speakers, smart TVs, smart watches, or car terminals, but are not limited thereto.
[0101] The message processing method provided in the embodiment of the present application can be applied to the scenario of sending broadcast messages in a game application.
[0102] For example, in an electronic game, a terminal logs in a first account in a game application, and the first account is bound to an artificial intelligence object, which is not controlled by user operations. Among them, in the lobby interface of the game application, messages sent by various players in the world channel are displayed. Among them, players can send broadcast messages in the world channel, and the broadcast messages will be notified to all players in the server. In an embodiment of the present application, players can let the artificial intelligence object send broadcast messages. Players only need to provide text, and then reorganize the language based on the text to obtain a broadcast message with the same semantics as the text and consistent with the language style of the artificial intelligence object. The broadcast message is sent by the artificial intelligence object, and all players in the server can browse the broadcast message in the world channel, achieving the effect of the artificial intelligence object as the player's spokesperson, sending broadcast messages on behalf of the player, and improving the fun of sending broadcast messages.
[0103] Figure 2 is a flowchart of a message processing method provided in an embodiment of the present application, and the embodiment of the present application is executed by a terminal, see Figure 2 , the method comprising:
[0104] 201. The terminal displays a message setting interface of a first artificial intelligence object in a game application. The first artificial intelligence object is bound to a first account, and the first account is an account logged in by the terminal.
[0105] In an embodiment of the present application, an artificial intelligence object is provided in the game application, and an account in the game application can establish a binding relationship with the artificial intelligence object. Taking the first account logged in on the local end as an example, the first account is bound to the first artificial intelligence object.
[0106] Among them, the artificial intelligence object is also called AI (Artificial Intelligence) love, which is an AI intelligent entity with independent personality and characteristics in the world view background of the game application, and can establish a binding relationship with the player's account. The artificial intelligence object can be in any form, such as a person, an animal, a cartoon character or a robot, etc., and the embodiments of the present application are not limited to this. Among them, the artificial intelligence object refers to an object based on artificial intelligence control. The artificial intelligence object is different from the controlled virtual object controlled by the user operation. It belongs to one of the NPCs (Non-Player Characters) in the electronic game. The artificial intelligence object is supported by artificial intelligence technology and can autonomously communicate with players, thereby increasing the fun in the game application.
[0107] The terminal displays a message setting interface of the first artificial intelligence object in the game application, where the message setting interface is used to set the broadcast message sent by the first artificial intelligence object.
[0108] 202. The terminal obtains input text based on the text input operation in the message setting interface.
[0109] The player performs a text input operation in the message setting interface and enters text. The terminal obtains the text entered by the player, which is the content that the player expects to send.
[0110] 203. The terminal generates a first broadcast message in response to a message sending operation in the message setting interface based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message are consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object.
[0111] After inputting text, the player executes a message sending operation. In response to the message sending operation, the terminal converts the text input by the player into a first broadcast message, so that the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object. This is equivalent to reorganizing the language based on the text input by the player without changing the semantics, thereby obtaining a first broadcast message that conforms to the language style of the first artificial intelligence object.
[0112] 204. The terminal sends a first broadcast message through the first artificial intelligence object and displays the first broadcast message.
[0113] After the terminal generates the first broadcast message, it displays that the first artificial intelligence object sends the first broadcast message. Optionally, in the game application, the first broadcast message is also called a horn message, which is a message published in the world channel. Each account in the game application can receive the horn message published in the world channel, so each account in the game application can see the first broadcast message sent by the first artificial intelligence object.
[0114] According to the method provided in the embodiment of the present application, the player's account has a bound artificial intelligence object. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message is consistent with the semantics of the text and the language style of the artificial intelligence object. The artificial intelligence object then sends the broadcast message, which is equivalent to the player providing the content he wants to send, and the artificial intelligence object reorganizes the language and sends the broadcast message on behalf of the player in the style of the artificial intelligence object. Therefore, the way of sending broadcast messages is more interesting, which improves the interactivity between the player and the artificial intelligence object, is conducive to promoting human-computer interaction, and also improves the user experience.
[0115] Above Figure 2 The embodiment briefly describes the process of an artificial intelligence object sending a broadcast message. The detailed process of an artificial intelligence object sending a broadcast message is shown below. Figure 3 The embodiment shown.
[0116] Figure 3 is a flowchart of a message processing method provided in an embodiment of the present application, and the embodiment of the present application is executed by a terminal, see Figure 3 , the method comprising:
[0117] 301. The terminal displays a message setting interface of a first artificial intelligence object in a game application. The first artificial intelligence object is bound to a first account. The first account is an account logged in by the terminal. There are multiple first artificial intelligence objects.
[0118] The first artificial intelligence object refers to an artificial intelligence object bound to the first account. The first account can be bound to multiple first artificial intelligence objects, and each first artificial intelligence object has its own language style, appearance, age, gender, name, etc.
[0119] 302. The terminal determines a selected target artificial intelligence object from among multiple first artificial intelligence objects based on the object selection operation in the message setting interface.
[0120] The message setting interface provides multiple first artificial intelligence objects. The embodiment of the present application takes the target artificial intelligence object as an example. The target artificial intelligence object can be any one of the multiple first artificial intelligence objects. If the player wants the target artificial intelligence object to send a broadcast message, the object selection operation of the first artificial intelligence object is performed in the message setting interface. The terminal determines the selected target artificial intelligence object based on the object selection operation.
[0121] In one possible implementation, the message setting interface displays multiple avatars of the first artificial intelligence object, and the object selection operation on the target artificial intelligence object refers to the operation of selecting the avatar of the target artificial intelligence object. In another possible implementation, the message setting interface displays multiple object identifiers of the first artificial intelligence object, and the object selection operation on the target artificial intelligence object refers to the operation of selecting the object identifier of the target artificial intelligence object.
[0122] In an embodiment of the present application, when multiple artificial intelligence objects are bound to an account, the player can independently choose which artificial intelligence object to use to send a broadcast message, thereby improving the flexibility of sending broadcast messages.
[0123] 303. The terminal obtains an input second account based on the account input operation in the message setting interface, where the second account is an account in the game application.
[0124] If the player wants the artificial intelligence object to send a broadcast message to a second account, the player can perform an account input operation in the message interface to input the second account, which is an account in the game application that is different from the first account. If the player does not input the second account, the artificial intelligence object does not specify a recipient when sending a broadcast message, or it can be considered that the broadcast message is sent to all players in the game application, rather than to a specific player.
[0125] In one possible implementation, the message setting interface includes an account input box, which includes accounts that have interacted with the target artificial intelligence object. If these accounts include a second account, the player can directly select the second account from these accounts. If these accounts do not include the second account, the player can manually enter the second account in the account input box.
[0126] In an embodiment of the present application, when setting a broadcast message, it is possible to specify to which account the broadcast message is sent, thereby improving the pertinence of the broadcast messages sent by the artificial intelligence object.
[0127] 304. The terminal determines a selected target message box from among multiple message boxes based on the message box selection operation in the message setting interface, and the multiple message boxes have different styles.
[0128] The player can also set the style of the message box used to display the broadcast message. The message setting interface includes multiple message boxes, and the styles of the multiple message boxes are different. The embodiment of the present application takes the target message box as an example, and the target message box can be any message box among the multiple message boxes. If the player wants to display the broadcast message in the target message box, the message box selection operation for the message box is performed in the message setting interface, and the terminal determines the selected target message box based on the message box selection operation.
[0129] Figure 4 is a schematic diagram of a message box provided in an embodiment of the present application, such as Figure 4 As shown, message box 401, message box 402, message box 403 and message box 404 have different styles. Message box 401 is a common message box, message box 402 is a celebration message box, message box 403 is a rose message box, and message box 404 is a starlight message box.
[0130] 305. The terminal obtains input text based on the text input operation in the message setting interface.
[0131] The player performs a text input operation in the message setting interface and enters text. The terminal obtains the text entered by the player, which is the content that the player expects to send.
[0132] 306. The terminal generates a first broadcast message in response to a message sending operation in the message setting interface, based on the text and the language style of the target artificial intelligence object, wherein the semantics of the first broadcast message are consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the target artificial intelligence object.
[0133] When the player completes the setting operation in the message setting interface, the message sending operation is executed. In response to the message sending operation, the terminal generates a first broadcast message that is consistent with the semantics of the text and the language style of the target artificial intelligence object.
[0134] In one possible implementation, the terminal responds to a message sending operation, determines a target text conversion model that is consistent with the language style of the target artificial intelligence object from multiple text conversion models, calls the target text conversion model, performs style conversion on the text, and obtains a first broadcast message with the language style of the target artificial intelligence object.
[0135] Among them, the database stores a plurality of pre-trained text conversion models, which are used to convert text into a specific language style, and each text conversion model has a different language style, for example, the language style is plain and simple, implicit and euphemistic, humorous and interesting, childlike or bold, etc. The terminal first determines the language style of the selected target artificial intelligence object, and then determines a target text conversion model consistent with the language style of the target artificial intelligence object from among the plurality of text conversion models, inputs the text into the target text conversion model, and the target text conversion model performs style conversion on the text to obtain a text with the language style of the target artificial intelligence object, and the output text is the first broadcast message.
[0136] In an embodiment of the present application, by calling a text conversion model, the style of the text can be converted to obtain a broadcast message that is consistent with the language style of the first artificial intelligence object, thereby realizing automatic generation of broadcast messages. There is no need for players to imitate the language style of the first artificial intelligence object to personally edit the broadcast messages, thereby improving the efficiency of generating broadcast messages.
[0137] In one possible implementation, the terminal obtains a first intimacy in response to a message sending operation, where the first intimacy is the intimacy between the first account and the second account. The terminal generates a first broadcast message based on the text, the language style of the first artificial intelligence object, and the first intimacy, and the emotional positivity of the first broadcast message is positively correlated with the first intimacy.
[0138] The terminal maintains the intimacy between the first account and the other accounts, and the intimacy can be comprehensively determined based on information of multiple dimensions, such as whether the first account and the second account belong to the same group, the number of times the first account and the second account participate in the game as enemies, the number of times the first account and the second account participate in the game as teammates, the number of times the first account and the second account send interactive messages, the number of times the first account and the second account give gifts to each other, etc.
[0139] Since the broadcast message is sent to the second account, and the target artificial intelligence object is an artificial intelligence object bound to the first account, the attitude of the target artificial intelligence object represents the attitude of the first account. Therefore, when generating the broadcast message, the intimacy between the first account and the second account is also considered. If the intimacy between the first account and the second account is high, the generated broadcast message has a higher degree of emotional positivity. If the intimacy between the first account and the second account is low, the generated broadcast message has a lower degree of emotional positivity.
[0140] In an embodiment of the present application, if it is specified that a broadcast message is to be sent to a second account, then when generating the broadcast message, the intimacy between the second account and the first account is also considered, so that the generated broadcast message has different situation changes for different accounts. Therefore, the process of generating broadcast messages is more intelligent, and the vividness of the generated broadcast messages is improved, avoiding the generated broadcast messages being too rigid.
[0141] In one possible implementation, the terminal responds to a message sending operation, deletes the blocked words in the text when the text includes blocked words, generates a first broadcast message based on the processed text and the language style of the first artificial intelligence object, and the semantics of the first broadcast message are consistent with the semantics of the processed text.
[0142] The terminal maintains a blocked word library, which includes multiple blocked words. Blocked words are words that are not allowed to be sent in the game application. If the text entered by the player includes blocked words, it is necessary to delete the blocked words in the text first, and then generate a broadcast message based on the text after deleting the blocked words, so as to avoid carrying blocked words in the generated broadcast message.
[0143] 307. The terminal sends a first broadcast message to the second account through the target artificial intelligence object, and displays the first broadcast message sent by the target artificial intelligence object to the second account in the target message box.
[0144] After the terminal generates the first broadcast message, it sends the first broadcast message to the second account through the target artificial intelligence object, and displays the first broadcast message sent by the target artificial intelligence object to the second account in the target message box.
[0145] Figure 5 is a schematic diagram of a broadcast message provided in an embodiment of the present application, such as Figure 5 As shown, the name of the target artificial intelligence object is "Ali", the name of the second account is "Dajudali", and the first broadcast message is "I'm too lazy to pay attention to you!", then the terminal displays "[Ali] said to [Dajudali]: I'm too lazy to pay attention to you!" in the target message box.
[0146] In one possible implementation, the terminal sends the object identifier of the target artificial intelligence object, the second account, the message box identifier of the target message box, and the first broadcast message to the game server. The game server sends the object identifier of the target artificial intelligence object, the second account, the message box identifier of the target message box, and the first broadcast message to other terminals that have logged in to the account in the game application. The other terminals determine the target artificial intelligence object based on the object identifier and the target message box based on the message box identifier, and then also display the target artificial intelligence object sending the first broadcast message to the second account in the target message box. Therefore, all players in the game application can see that the target artificial intelligence object has sent the first broadcast message to the second account.
[0147] Figure 6 is a schematic diagram of a message setting interface provided in an embodiment of the present application, such as Figure 6 As shown, the message setting interface displays the avatars and names of multiple first artificial intelligence objects bound to the first account. The player can select the first artificial intelligence object to send the broadcast message in the "Select Spokesperson" column, and the player can set the account to which the broadcast message is to be sent in the "You want to address TA" column. Figure 6 Take the example of sending to the account "Daju Dali". If the player does not want to specify which account to send to, select the "Everyone" option. The player can enter the text they want to send in the "Say" column, for example, the text is "Be more polite to our boss". The player can select the message box they want to use in the "Message Box Type" column.
[0148] In a possible implementation, the terminal displays the first broadcast message in a target area, wherein the target area is located above the chat area, the target area is used to display any broadcast message, and the chat area is used to display chat messages between accounts, for example, the chat message may be a chat message between the first account and other accounts, or a chat message between any accounts in the team where the first account is located, or a chat message between any accounts in the server where the first account is located, etc. In addition, the chat area is also used to display system messages, such as system messages such as official notifications in a game application or online messages, offline messages, and kill messages of accounts in the game application, etc.
[0149] In an embodiment of the present application, the broadcast message is displayed above the chat message for separate display, and the display priority of the broadcast message is higher than the display priority of the chat message, so that the player can notice the broadcast message at the first time, thereby improving the display effect of the broadcast message.
[0150] Figure 7 is a schematic diagram of a lobby interface provided by an embodiment of the present application, such as Figure 7As shown, the lobby interface displays a message interface of the world channel. The world channel is a way for various accounts on the same server to communicate with each other. Chat messages sent by any account in the world channel can be received by any other account on the same server. The message interface of the world channel can display chat messages between various accounts on the same server, system messages and blood alliance messages on the same server, and any broadcast messages. Blood alliance refers to a group formed by organizations between players, and blood alliance messages refer to notification messages within the same blood alliance. Among them, the message interface includes a chat area 701 and a target area 702, and the target area 702 is located above the chat area 701. The chat area 701 is used to display chat messages, system messages, blood alliance messages, etc., and the target area 702 is used to display broadcast messages. As shown Figure 7 As shown, a broadcast message 703 is displayed in the target area 702, and the broadcast message 703 is "[Ali] said to [Daju Dali]: You are not allowed to bully the leader of our blood alliance, unless you want to be beaten!". The broadcast message 703 is different from other chat messages, system messages, and blood alliance messages, and is displayed separately in the target area 702, so that players can notice the broadcast message 703 in time.
[0151] It should be noted that the embodiment of the present application only takes the execution of the above steps 301 to 307 as an example for explanation. In another embodiment, at least one of the above steps 302, 303 or 304 may not be executed.
[0152] The solution provided by the embodiment of the present application can be applied to the highly social game ecology of MMORPG, and provides a function in which an artificial intelligence object speaks for the player in the world channel. In addition, any player can talk to any artificial intelligence object in the world channel. Artificial intelligence objects have their own language styles. Players only need to provide the artificial intelligence object with the content they want to send, and the artificial intelligence object can reorganize the language through AI and send loudspeaker messages to the player in the world channel, which improves the interactive fun.
[0153] According to the method provided in the embodiment of the present application, the player's account has a bound artificial intelligence object. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message is consistent with the semantics of the text and the language style of the artificial intelligence object. The artificial intelligence object then sends the broadcast message, which is equivalent to the player providing the content he wants to send, and the artificial intelligence object reorganizes the language and sends the broadcast message on behalf of the player in the style of the artificial intelligence object. Therefore, the way of sending broadcast messages is more interesting, which improves the interactivity between the player and the artificial intelligence object, is conducive to promoting human-computer interaction, and also improves the user experience.
[0154] The following Figure 8 The illustrated embodiment introduces the process of establishing a binding relationship between an account and an artificial intelligence object. Figure 8 is a flowchart of a binding method provided in an embodiment of the present application, which is executed by a terminal, see Figure 8 , the method comprising:
[0155] 801. The terminal displays an object creation interface in the game application.
[0156] The object creation interface is used to create artificial intelligence objects. All accounts in the game application can create their own artificial intelligence objects in the object creation interface.
[0157] 802. The terminal randomly generates a plurality of candidate artificial intelligence objects in response to a creation operation in the object creation interface. The candidate artificial intelligence objects are virtual objects that are not controlled by user operations. The plurality of candidate artificial intelligence objects include a first artificial intelligence object.
[0158] The artificial intelligence object in the embodiment of the present application is a virtual object that is not controlled by user operation, so it can also be called AI-NPC (Artificial Intelligence-Non-Player Character). After the player performs the creation operation in the object creation interface, the terminal randomly generates multiple candidate artificial intelligence objects for the player.
[0159] Among them, the multiple candidate artificial intelligence objects have their own appearance, language style, gender, age, etc. Players can select the artificial intelligence object bound to their own account from the multiple randomly generated candidate artificial intelligence objects according to their preferences.
[0160] In one possible implementation, the object creation interface includes a description input box and an object creation option. The terminal obtains the input object description text based on the editing operation in the description input box, and randomly generates multiple candidate artificial intelligence objects consistent with the description of the object description text in response to a triggering operation on the object creation option.
[0161] The player enters the object description text in the object creation interface. The object description text is used to describe the artificial intelligence object that the player wants to generate, for example, the appearance and language style of the artificial intelligence object can be described. Then, the terminal automatically generates an artificial intelligence object consistent with the description of the object description text based on the object description text entered by the player, thereby realizing the one-click generation of artificial intelligence objects with what characteristics the player specifies, and improving the convenience and flexibility of generating artificial intelligence objects.
[0162] 803. In response to the binding operation on the first artificial intelligence object, the terminal binds the first artificial intelligence object to the first account.
[0163] In the embodiment of the present application, the artificial intelligence object that the player wishes to bind is a first artificial intelligence object as an example, and the first artificial intelligence object is any artificial intelligence object among multiple candidate artificial intelligence objects. If the player wants to keep the first artificial intelligence object, a binding operation is performed on the first artificial intelligence object, and the terminal responds to the binding operation and binds the first artificial intelligence object to the first account.
[0164] In a possible implementation, the terminal establishes a binding relationship between the first artificial intelligence object and the first account, and subsequently queries the artificial intelligence object bound to the first account according to the binding relationship.
[0165] According to the method provided in the embodiment of the present application, the terminal automatically generates an artificial intelligence object consistent with the description of the object description text based on the object description text input by the player, thereby realizing that the player specifies what kind of artificial intelligence object has what characteristics to generate with one click, and then the player selects the artificial intelligence object bound to his own account from multiple randomly generated candidate artificial intelligence objects, thereby improving the convenience and flexibility of generating artificial intelligence objects, ensuring the personalization of the artificial intelligence object bound to the player's account, and improving the fun of human-computer interaction.
[0166] In another embodiment, the accounts and AI objects in the game application have their own names. In order to avoid duplicate names between AI objects and between AI objects and players, when players create accounts, create AI objects, and merge servers, it is necessary to check whether there are duplicate names. If the AI objects have duplicate names, the names need to be modified. Among them, the scenarios where the AI objects need to modify their names include the following three situations.
[0167] The first case: when the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is less than the third intimacy, the name of the first artificial intelligence object is modified to an automatically generated name, the first intimacy is the intimacy between the first artificial intelligence object and the first account, and the third intimacy is the intimacy between the second artificial intelligence object and the bound second account.
[0168] Among them, the first artificial intelligence object is bound to the first account, and the second artificial intelligence object is bound to the second account. There is intimacy between each artificial intelligence object and the account to which it is bound. The intimacy can be comprehensively determined based on information in multiple dimensions, such as the number of interactive messages sent between the account and the artificial intelligence object, the number of gifts given to the artificial intelligence object by the account, etc.
[0169] If the first artificial intelligence object and the second artificial intelligence object have the same name, the artificial intelligence object with low intimacy with the respective bound accounts needs to modify its name, while the artificial intelligence object with high intimacy does not need to modify its name, thereby promoting interaction between the account and the artificial intelligence object to improve intimacy. The embodiment of the present application takes the low intimacy between the first artificial intelligence object and the bound account as an example to illustrate, and modifies the name of the first artificial intelligence object to an automatically generated name, which is not repeated with the name of any artificial intelligence object and any account. If the player is not satisfied with the name, the name of the first artificial intelligence object can be modified again.
[0170] The second case: when the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is equal to the third intimacy, but the first game parameter is less than the second game parameter, the name of the first artificial intelligence object is modified to an automatically generated name, the first game parameter represents the game capability of the first account, and the second game parameter represents the game capability of the second account.
[0171] Each account in the game application has its own game parameters, which represent the account's game ability. The game parameters can be comprehensively determined based on information from multiple dimensions, such as the number of times the account has won games, the number of times the account has assisted teammates in defeating enemies, the number of times the account has defeated enemies, etc.
[0172] If the first artificial intelligence object and the second artificial intelligence object have the same name, and the intimacy between them and the accounts bound to them is equal, the artificial intelligence object with the low game parameter of the bound account needs to modify its name, and the artificial intelligence object with the high game parameter of the bound account does not need to modify its name, thereby promoting the account to actively participate in the game to improve the game parameter. The embodiment of the present application takes the low game parameter of the first artificial intelligence object as an example to illustrate, and modifies the name of the first artificial intelligence object to an automatically generated name, and the automatically generated name does not overlap with the name of any artificial intelligence object and any account.
[0173] The third case: when the name of the first artificial intelligence object is the same as the name of any account in the game application, the name of the first artificial intelligence object is modified to an automatically generated name.
[0174] If the AI object and the account have the same name, the AI object needs to be renamed, but the account does not need to be renamed.
[0175] In another embodiment, the player can actively initiate a name modification of the artificial intelligence object, wherein there are the following two ways to request to modify the name of the artificial intelligence object.
[0176] The first method: when the interactive message sent by the first account to the first artificial intelligence object indicates that the name of the first artificial intelligence object is to be changed, the terminal generates multiple candidate names, and in response to a selection operation of any candidate name among the multiple candidate names, changes the name of the first artificial intelligence object to the selected candidate name.
[0177] The first account and the first artificial intelligence object can send interactive messages (see the following for details). Fig.11 ). If the semantics of the interactive message sent by the first account is to modify the name of the first artificial intelligence object, the terminal randomly generates multiple candidate names, and the player selects a candidate name from the multiple candidate names, and the terminal modifies the name of the first artificial intelligence object to the selected candidate name. For example, the interactive message sent by the first account is "Give you a new name".
[0178] The second method: the terminal displays an artificial intelligence object interface, which includes multiple cards of the first artificial intelligence object. In response to a trigger operation on the card of the target artificial intelligence object, a name change option for the target artificial intelligence object is displayed. In response to the trigger operation on the name change option, multiple candidate names are generated. In response to a selection operation on any candidate name among the multiple candidate names, the name of the target artificial intelligence object is modified to the selected candidate name.
[0179] Fig. 9 is a schematic diagram of an artificial intelligence object interface provided by an embodiment of the present application, such as Fig. 9 As shown, the artificial intelligence object interface includes multiple cards of first artificial intelligence objects, each of which displays the avatar, name, gender, intimacy (indicated by a heart shape), "select topic" option, chat option and gift option of the artificial intelligence object. The multiple first artificial intelligence objects are "Ali", "Eso" and "Fangu". If the player wants to change the name of the target artificial intelligence object "Eso", a trigger operation is performed on the card 901 of the target artificial intelligence object "Eso", and the terminal responds to the trigger operation and displays the rename option of the target artificial intelligence object.
[0180] The following Fig.11 The illustrated embodiment introduces the process of chatting between a player's account and an artificial intelligence object. Fig.11 is a flowchart of a message processing method provided in an embodiment of the present application, and the embodiment of the present application is executed by a terminal, see Fig.11 , the method comprising:
[0181] 1101. In response to a chat initiation operation on a first artificial intelligence object, a terminal displays a chat interface between the first artificial intelligence object and a first account.
[0182] In one possible implementation, the terminal displays a chat option of a first artificial intelligence object bound to a first account on the artificial intelligence object interface. If the player wants to chat with the first artificial intelligence object, a trigger operation on the chat option of the first artificial intelligence object is performed. In response to the trigger operation, the terminal displays a chat interface between the first artificial intelligence object and the first account.
[0183] 1102. The terminal obtains an input interactive message based on the message input operation in the chat interface.
[0184] The player executes the chat interface in the chat interface and inputs an interactive message, and the terminal obtains the interactive message input by the player, and the interactive message is the content that the player expects to send. Optionally, the interactive message can be a text interactive message, a voice interactive message, or a picture interactive message, etc., which is not limited in the embodiment of the present application.
[0185] 1103. In response to the message sending operation in the chat interface, the terminal sends an interactive message to the first artificial intelligence object through the first account, and displays the interactive message in the chat interface.
[0186] After inputting the interactive message, the player executes a message sending operation. In response to the message sending operation, the terminal displays the interactive message sent by the first account to the first artificial intelligence object on the chat interface.
[0187] In one possible implementation, the terminal responds to a message sending operation in a chat interface, and when the interactive message does not carry any blocked words, sends an interactive message to the first artificial intelligence object through the first account, and displays the interactive message in the chat interface. Correspondingly, in another embodiment, the terminal responds to a message sending operation in a chat interface, and when the interactive message carries blocked words, sends a blocked interactive message to the first artificial intelligence object through the first account, and displays the blocked interactive message and third prompt information in the chat interface, wherein the blocking process refers to replacing the blocked words in the interactive message with the target symbol, and the third prompt information is used to prompt not to carry the blocked words when sending the interactive message.
[0188] In the embodiment of the present application, before sending an interactive message, the terminal needs to first determine whether the interactive message carries a blocked word. If the blocked word is not carried, the interactive message sent by the first account is displayed normally. If the interactive message carries a blocked word, the blocked word needs to be replaced with a target symbol first, for example, the target symbol is "*", and then the blocked interactive message is displayed, and a third prompt message is also displayed to remind the player that it is not good to carry a blocked word when sending an interactive message. For example, if the blocked word is an uncivilized term, the third prompt message can be "Please chat in a civilized manner".
[0189] 1104. In response to the interactive message, the terminal sends a reply message to the first account through the first artificial intelligence object, and displays the reply message on the chat interface, where the reply message is used to reply to the interactive message.
[0190] After the terminal displays the interactive message sent by the first account on the chat interface, it automatically generates a reply message based on the interactive message, and then sends the reply message to the first account through the first artificial intelligence object, and displays the reply message sent by the first artificial intelligence object on the chat interface, thereby realizing that the first artificial intelligence object automatically chats with the account. Among them, the reply message can be a text interactive message, a voice interactive message, or a picture interactive message, etc., which is not limited in the embodiment of the present application.
[0191] In one possible implementation, the process in which the terminal displays a reply message sent by the first artificial intelligence object on the chat interface in response to the interactive message includes the following steps 1-3.
[0192] Step 1. The terminal responds to the interactive message, obtains a target message reply model that is consistent with the language style of the first artificial intelligence object from multiple message reply models, calls the target message reply model, processes the interactive message, and obtains a text reply message with the language style of the first artificial intelligence object.
[0193] Among them, the database stores multiple pre-trained message reply models, which are used to generate reply messages for interactive messages, and each message reply model has a different language style, for example, the language style is plain and simple, implicit and euphemistic, humorous and interesting, childlike or bold, etc. The terminal first determines the language style of the first artificial intelligence object, and then determines a target message reply model consistent with the language style of the first artificial intelligence object from the multiple message reply models, inputs the interactive message into the target message reply model, and the target message reply model processes the interactive message and outputs a text reply message with the language style of the first artificial intelligence object.
[0194] In the embodiment of the present application, by calling the message reply model, a text reply message consistent with the language style of the first artificial intelligence object is obtained, thereby realizing automatic generation of text reply messages based on interactive messages, making the human-computer interaction process more intelligent.
[0195] Step 2: The terminal obtains a target speech generation model that is consistent with the timbre of the first artificial intelligence object from multiple speech generation models, calls the target speech generation model, and converts the text reply message into a voice reply message with the timbre of the first artificial intelligence object.
[0196] The database stores a plurality of pre-trained speech generation models, which are used to generate speech with a specific timbre, and each speech generation model has a different timbre, for example, the timbre is a lively cartoon character voice, a deep male voice, a gentle female voice, etc. The terminal first determines the timbre of the first artificial intelligence object, and then determines a target speech generation model consistent with the timbre of the first artificial intelligence object from among the plurality of speech generation models, inputs the text reply message into the target speech generation model, and the target speech generation model converts the text reply message, and outputs a voice reply message with the timbre of the first artificial intelligence object.
[0197] Step 3: The terminal displays a text reply message and a voice playback option on the chat interface. The voice playback option is used to trigger the playback of the voice reply message.
[0198] In an embodiment of the present application, a message reply model and a speech generation model are used to obtain a text reply message and a voice reply message respectively. While displaying the text reply message, the terminal also displays a corresponding voice playback option. The terminal responds to a trigger operation on the voice playback option and plays the voice reply message, thereby imitating a scene in which the first artificial intelligence object reads the text reply message aloud, thereby improving the interest of human-computer interaction.
[0199] In addition, players can also set the volume for playing voice reply messages. Fig.12 is a schematic diagram of a sound effect setting interface provided in an embodiment of the present application, such as Fig.12 As shown, in the sound effect setting interface, the volume of background music, game sound effects, interface sound effects and the volume of love voice can be set. The artificial intelligence object in the embodiment of the present application is also called love. The volume of the love voice is the volume of the artificial intelligence object reading the text reply message, that is, the volume of playing the voice reply message.
[0200] In one possible implementation, in response to a message sending operation in a chat interface, if the number of interactive messages sent within a preset time period before the current time point does not reach a preset number, the terminal sends an interactive message to the first artificial intelligence object through the first account, and displays the interactive message in the chat interface. Correspondingly, in another embodiment, in response to a message sending operation in a chat interface, if the number of interactive messages sent within a preset time period reaches a preset number, the terminal displays a first prompt message in the chat interface, and the first prompt message is used to prompt to reduce the frequency of sending interactive messages.
[0201] In an embodiment of the present application, if the number of interactive messages sent by the first account within the preset time period does not reach the preset number, the terminal will normally display the interactive messages sent by the first account; if the number of interactive messages sent by the first account within the preset time period has reached the preset number, it means that the frequency of the player sending interactive messages is too high, and the terminal does not display the interactive messages sent by the first account. That is, if the frequency of the player sending interactive messages is too high, the player is not allowed to send interactive messages anymore, and the player is prompted to reduce the frequency of sending interactive messages.
[0202] For example, if a player sends more than 3 interactive messages within 10 seconds, the player will be prompted "You speak too fast" and will not be allowed to send the 4th interactive message. After the cooling time is reached, the player will be allowed to send interactive messages again and can send them normally.
[0203] In one possible implementation, the terminal displays a fourth prompt message in response to the interactive message, where the fourth prompt message is used to prompt that the first artificial intelligence object is replying to the interactive message, generates a reply message based on the interactive message, cancels the display of the fourth prompt message, and displays the reply message on the chat interface.
[0204] If the player successfully sends an interactive message, then before the first artificial intelligence object replies to the interactive message, the terminal displays a fourth prompt message to prompt the player that the first artificial intelligence object is replying to the interactive message. For example, the fourth prompt message is the words "Replying" displayed after the name of the first artificial intelligence object, indicating that the first artificial intelligence object is replying to the message.
[0205] In one possible implementation, the terminal determines the intimacy between the first account and the first artificial intelligence object, and generates a reply message based on the intimacy and the interactive message, and the positivity of the emotion expressed in the reply message is positively correlated with the intimacy.
[0206] Each artificial intelligence object has a degree of intimacy with the account to which it is bound. This intimacy can be comprehensively determined based on information from multiple dimensions, such as the number of interactive messages sent between the account and the artificial intelligence object, the number of gifts given to the artificial intelligence object by the account, etc.
[0207] Since the reply message is sent by the first artificial intelligence object to the first account, the intimacy between the first account and the first artificial intelligence object is also considered when generating the reply message. If the intimacy between the first account and the first artificial intelligence object is high, the generated reply message has a higher level of emotional positivity; if the intimacy between the first account and the first artificial intelligence object is low, the generated reply message has a lower level of emotional positivity.
[0208] The relationship between intimacy and the degree of emotional positivity of the generated reply message is shown in the following Table 1.
[0209] Table 1
[0210] Intimacy Positive mood 0 Please reply with a more indifferent attitude 1 Please reply in a more normal manner 2 Please reply in a more general manner 3 Please reply in a more friendly manner 4 Please reply with a more enthusiastic attitude 5 Please reply in a more intimate manner
[0211] In an embodiment of the present application, when generating a reply message, the intimacy between the first account and the first artificial intelligence object is also considered, so that the generated reply message changes according to the change of the intimacy between the account and the artificial intelligence object. Therefore, the process of generating a reply message is more intelligent, and the vividness of the generated reply message is improved, avoiding the generated reply message from being too rigid.
[0212] Fig.13 is a schematic diagram of a chat interface provided in an embodiment of the present application, such as Fig.13 As shown, the chat interface includes the text reply message sent by the artificial intelligence object "Ali" to the account "Daju Bu Si" and the corresponding voice playback option, and also includes the interactive message sent by the account "Daju Bu Si" to the artificial intelligence object "Ali". When the interactive message carries blocked words, "*" is used to replace the blocked words, and the third prompt message "Please chat civilized" is displayed.
[0213] Fig.14 is a schematic diagram of a lobby interface provided by an embodiment of the present application, such as Fig.14 As shown, the chat interface between the artificial intelligence object and the account can also be reduced to a thumbnail box 1401 and displayed in the lower right corner of the lobby interface.
[0214] The method provided in the embodiment of the present application allows an account and a bound artificial intelligence object to chat. After the account sends an interactive message to the artificial intelligence object, a reply message consistent with the language style of the artificial intelligence object can be automatically generated, and then the artificial intelligence object sends the reply message to the account, thereby enabling the artificial intelligence object to automatically chat with the account, making the human-computer interaction process more intelligent and improving the fun of human-computer interaction.
[0215] The following Fig.15 The illustrated embodiment details the process of displaying an artificial intelligence object bound to other accounts sending a broadcast message. Fig.15 is a flowchart of a message processing method provided in an embodiment of the present application, and the embodiment of the present application is executed by a terminal, see Fig.15 , the method comprising:
[0216] 1501. The terminal displays a second broadcast message, where the second broadcast message is sent by a second artificial intelligence object, where the second artificial intelligence object is not bound to the first account, and the second broadcast message includes an object identifier of the second artificial intelligence object.
[0217] Among them, the process of the second artificial intelligence object sending the second broadcast message is the same as the process of the first artificial intelligence object sending the first broadcast message, which will not be repeated here.
[0218] The second artificial intelligence object is bound to the second account. The terminal logged in to the second account sends the object identifier of the second artificial intelligence object and the second broadcast message to the game server. The game server sends the object identifier of the second artificial intelligence object and the second broadcast message to other terminals logged in to the account in the game application. The other terminals determine the second artificial intelligence object based on the object identifier, and then also display the second broadcast message sent by the second artificial intelligence object. Therefore, all players in the game application can see that the second artificial intelligence object has sent the second broadcast message to them. The other terminals mentioned here include the terminal logged in to the first account.
[0219] 1502. In response to a triggering operation on an object identifier, the terminal displays function options associated with a second artificial intelligence object, where the function options include at least one of a detail viewing option, a broadcast reply option, or a blocking option.
[0220] If the player wants to perform other operations on the second artificial intelligence object, a trigger operation on the object identifier of the second artificial intelligence object is performed, and the terminal displays function options associated with the second artificial intelligence object in response to the trigger operation on the object identifier. Fig.16 As shown, the terminal displays a detail view option 1601, a broadcast reply option 1602 and a shield option 1603 in the function options in the function bar. The following describes the detail view option, the broadcast reply option and the shield option respectively.
[0221] (1) The detail view option is used to trigger the display of the detail interface of the second artificial intelligence object, and the detail interface includes at least one of the account bound to the second artificial intelligence object or the chat option, and the chat option is used to trigger the display of the chat interface with the second artificial intelligence object. In addition, the detail interface also includes the second artificial intelligence object's avatar, name, and intimacy with the bound account, etc.
[0222] Fig.17 is a schematic diagram of a details interface provided in an embodiment of the present application, such as Fig.17As shown, the details interface of the artificial intelligence object "Ali" includes the gender, avatar, name, bound account "Daju Dali", intimacy with the account "Daju Dali" (indicated by a heart shape), relationship "Hongyan" with the account "Daju Dali", and personality signature of the artificial intelligence object "Ali". The details interface also includes a chat option. Players can click on the chat option to chat with the artificial intelligence object "Ali". Optionally, if the first account has the chat whitelist permission of the second account, the first account can chat with the second artificial intelligence object of the second account, otherwise the first account cannot chat with the second artificial intelligence object. For example, if the first account cannot chat with the artificial intelligence object "Ali", a prompt message "Daju Dali does not want you to chat with him / her privately" can be displayed.
[0223] Fig.18 is a schematic diagram of a chat interface provided in an embodiment of the present application, such as Fig.18 As shown, the chat interface displays an interactive message "Hello, I am Daju Dali's confidante" sent by the artificial intelligence object "Ali" to the first account and a corresponding voice playback option.
[0224] (2) The broadcast reply option is used to trigger the display of the broadcast reply interface, which is used to edit the broadcast message to reply to the second artificial intelligence object.
[0225] Fig.19 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application, such as Fig.19 As shown, a text input box is displayed on the broadcast reply interface, and the player can enter a broadcast message to reply to the artificial intelligence object in the text input box. A message box for displaying the broadcast message can also be set on the broadcast reply interface.
[0226] Fig. 20 is a schematic diagram of a broadcast message provided in an embodiment of the present application, such as Fig. 20 As shown, the terminal displays the broadcast message that the first account "Daju Bu Si" replies to the second artificial intelligence object "A Li".
[0227] (3) The blocking option is used to trigger blocking of messages sent by the second artificial intelligence object. After blocking the messages sent by the second artificial intelligence object, the terminal will no longer display various types of messages such as broadcast messages and interactive messages sent by the second artificial intelligence object.
[0228] Fig.21 is a schematic diagram of a shielding interface provided in an embodiment of the present application, such as Fig.21 As shown, after the second artificial intelligence object "Ali" is blocked, the second artificial intelligence object "Ali" enters the blocking list of the first account.
[0229] 1503. When the second broadcast message is a broadcast message sent by the second artificial intelligence object to the first artificial intelligence object, the terminal displays second prompt information, where the second prompt information is used to prompt the first artificial intelligence object to receive the broadcast message.
[0230] If the second broadcast message is sent specifically by the second artificial intelligence object to the first artificial intelligence object, the terminal will additionally display a second prompt message to remind the player that the first artificial intelligence object has received the broadcast message, and the player can choose to reply to the broadcast message to avoid the player being unable to reply to the broadcast message sent to his own artificial intelligence object due to not seeing the second broadcast message.
[0231] 1504. In response to the triggering operation on the second prompt information, the terminal displays a broadcast reply interface, where the broadcast reply interface is used to edit a broadcast message to reply to the second artificial intelligence object.
[0232] If the player wants to reply to the second broadcast message, he can directly execute the trigger operation of the second prompt information. In response to the trigger operation, the terminal displays a broadcast reply interface, and the player edits the broadcast message to reply to the second artificial intelligence object in the broadcast reply interface.
[0233] Fig. 22 is a schematic diagram of a lobby interface provided by an embodiment of the present application, such as Fig. 22 As shown in FIG. 1 , if the second broadcast message is sent by the second artificial intelligence object specifically to the first artificial intelligence object, the second prompt information is displayed in the lobby interface, and the second prompt information is a prompt bubble box 2201. If the player wants to reply to the second broadcast message, he clicks on the prompt bubble box 2201, and the terminal responds to the click operation and displays the following information: Fig.23 The broadcast reply interface shown displays a broadcast message automatically generated by the first account "Daju Bu Si" and sent to the second artificial intelligence object "A Li".
[0234] In an embodiment of the present application, the terminal can also display broadcast messages sent by artificial intelligence objects bound to other accounts, and by triggering the object identifier of other artificial intelligence objects, it can quickly call out function options associated with the artificial intelligence object, thereby providing a way to quickly view the details interface of the artificial intelligence object, reply to the broadcast message of the artificial intelligence object, and block the artificial intelligence object, which is conducive to promoting players to actively interact with other players' artificial intelligence objects and improve the efficiency of human-computer interaction.
[0235] Fig.24 Schematic diagram of a message processing device provided by an embodiment of the present application. Fig.24 , the device comprises:
[0236] The interface display module 2401 is used to display the message setting interface of the first artificial intelligence object in the game application, where the first artificial intelligence object is bound to the first account, and the first account is the account logged in by the local end;
[0237] The text acquisition module 2402 is used to acquire the input text based on the text input operation in the message setting interface;
[0238] A message generation module 2403, for generating a first broadcast message in response to a message sending operation in a message setting interface, based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object;
[0239] The message display module 2404 is used to send a first broadcast message through the first artificial intelligence object and display the first broadcast message.
[0240] The message processing device provided in the embodiment of the present application has a bound artificial intelligence object in the player's account. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message is consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent by the artificial intelligence object, which is equivalent to the player providing the content he wants to send, and the artificial intelligence object reorganizes the language and sends the broadcast message on behalf of the player in the style of the artificial intelligence object. Therefore, the way of sending broadcast messages is more interesting, which improves the interactivity between the player and the artificial intelligence object, is conducive to promoting human-computer interaction, and also improves the user experience.
[0241] Alternatively, see Fig.25 The device further includes an object binding module 2405, which is used to:
[0242] Display object creation interface in game application;
[0243] In response to a creation operation in the object creation interface, a plurality of candidate artificial intelligence objects are randomly generated, the candidate artificial intelligence objects being virtual objects not controlled by user operations, and the plurality of candidate artificial intelligence objects including a first artificial intelligence object;
[0244] In response to a binding operation on the first artificial intelligence object, the first artificial intelligence object is bound to the first account.
[0245] Alternatively, see Fig.25 , the object binding module 2405 is used to:
[0246] Based on the text input operation in the description input box, the input object description text is obtained;
[0247] In response to a trigger operation on an object creation option, a plurality of candidate artificial intelligence objects consistent with the description of the object description text are randomly generated.
[0248] Alternatively, see Fig.25 , the message generation module 2403 is used to:
[0249] In response to the message sending operation, determining a target text conversion model consistent with the language style of the first artificial intelligence object among a plurality of text conversion models;
[0250] The target text conversion model is called to perform style conversion on the text to obtain a first broadcast message having the language style of the first artificial intelligence object.
[0251] Alternatively, see Fig.25 , the device further comprises:
[0252] An account acquisition module 2406, configured to acquire a second account input based on the account input operation in the message setting interface, where the second account is an account in the game application;
[0253] The message display module 2404 is used to:
[0254] A first broadcast message is sent to the second account through the first artificial intelligence object, and the first broadcast message is displayed.
[0255] Alternatively, see Fig.25 , the message generation module 2403 is used to:
[0256] In response to the message sending operation, a first intimacy is obtained, where the first intimacy is the intimacy between the first account and the second account;
[0257] Based on the text, the language style of the first artificial intelligence object and the first intimacy, a first broadcast message is generated, and the emotional positivity of the first broadcast message is positively correlated with the first intimacy.
[0258] Alternatively, see Fig.25 , the message generation module 2403 is used to:
[0259] In response to the message sending operation, if the text includes blocked words, deleting the blocked words in the text;
[0260] Based on the processed text and the language style of the first artificial intelligence object, a first broadcast message is generated, and the semantics of the first broadcast message is consistent with the semantics of the processed text.
[0261] Alternatively, see Fig.25 The device further includes a chat module 2407, which is used to:
[0262] In response to a chat initiation operation on the first artificial intelligence object, displaying a chat interface between the first artificial intelligence object and the first account;
[0263] Based on the message input operation in the chat interface, the input interactive message is obtained;
[0264] In response to a message sending operation in the chat interface, an interactive message is sent to the first artificial intelligence object through the first account, and the interactive message is displayed in the chat interface;
[0265] In response to the interactive message, a reply message is sent to the first account through the first artificial intelligence object, and the reply message is displayed on the chat interface, and the reply message is used to reply to the interactive message.
[0266] Alternatively, see Fig.25 , the reply message is a text reply message; the chat module 2407 is used to:
[0267] In response to the interactive message, a target message reply model consistent with the language style of the first artificial intelligence object is obtained from multiple message reply models, the target message reply model is called, and the interactive message is processed to obtain a text reply message having the language style of the first artificial intelligence object;
[0268] From among the multiple speech generation models, a target speech generation model that is consistent with the timbre of the first artificial intelligence object is obtained, the target speech generation model is called, and the text reply message is converted into a voice reply message having the timbre of the first artificial intelligence object;
[0269] The text reply message and voice playback option are displayed on the chat interface. The voice playback option is used to trigger the playback of the voice reply message.
[0270] Alternatively, see Fig.25 , the chat module 2407 is used to:
[0271] In response to a message sending operation in the chat interface, if the number of interactive messages sent within a preset time period before the current time point does not reach a preset number, sending an interactive message to the first artificial intelligence object through the first account, and displaying the interactive message in the chat interface;
[0272] The device further includes a first prompting module 2408, configured to:
[0273] In response to a message sending operation in the chat interface, when the number of interactive messages sent within a preset time reaches a preset number, a first prompt message is displayed in the chat interface, and the first prompt message is used to prompt to reduce the frequency of sending interactive messages.
[0274] Alternatively, see Fig.25 , the device further comprises:
[0275] The message display module 2404 is further used to display a second broadcast message, where the second broadcast message is sent by a second artificial intelligence object, the second artificial intelligence object is not bound to the first account, and the second broadcast message includes an object identifier of the second artificial intelligence object;
[0276] A function display module 2409, for displaying function options associated with the second artificial intelligence object in response to a trigger operation on the object identifier, the function options including at least one of a detail viewing option, a broadcast reply option, or a blocking option;
[0277] Among them, the detail view option is used to trigger the display of the detail interface of the second artificial intelligence object, the broadcast reply option is used to trigger the display of the broadcast reply interface, the broadcast reply interface is used to edit the broadcast message to the second artificial intelligence object, and the blocking option is used to trigger the blocking of messages sent by the second artificial intelligence object.
[0278] Alternatively, see Fig.25 , the device further comprises:
[0279] The second prompt module 2410 is used to display second prompt information when the second broadcast message is a broadcast message sent by the second artificial intelligence object to the first artificial intelligence object, and the second prompt information is used to prompt the first artificial intelligence object to receive the broadcast message;
[0280] The interface display module 2401 is also used to display a broadcast reply interface in response to a trigger operation on the second prompt information, and the broadcast reply interface is used to edit a broadcast message to reply to the second artificial intelligence object.
[0281] Alternatively, see Fig.25 The device further includes a name modification module 2411, which is used to:
[0282] In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is less than the third intimacy, the name of the first artificial intelligence object is modified to an automatically generated name, the first intimacy is the intimacy between the first artificial intelligence object and the first account, and the third intimacy is the intimacy between the second artificial intelligence object and the bound second account; or,
[0283] In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is equal to the third intimacy, but the first match parameter is less than the second match parameter, the name of the first artificial intelligence object is modified to an automatically generated name, the first match parameter represents the match capability of the first account, and the second match parameter represents the match capability of the second account; or,
[0284] In the case where the name of the first artificial intelligence object is the same as the name of any account in the game application, the name of the first artificial intelligence object is modified to an automatically generated name.
[0285] It should be noted that: the message processing device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the message processing device provided in the above embodiment and the message processing method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0286] An embodiment of the present application also provides a terminal, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed in the message processing method of the above embodiment.
[0287] Fig.26 A schematic diagram of the structure of a terminal 2600 provided by an exemplary embodiment of the present application is shown.
[0288] The terminal 2600 includes: a processor 2601 and a memory 2602 .
[0289] The processor 2601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0290] The memory 2602 may include one or more computer-readable storage media, which may be non-transitory. The memory 2602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2602 is used to store at least one computer program, which is used to be possessed by the processor 2601 to implement the message processing method provided in the method embodiment of the present application.
[0291] In some embodiments, the terminal 2600 may further optionally include: a peripheral device interface 2603 and at least one peripheral device. The processor 2601, the memory 2602 and the peripheral device interface 2603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2603 via a bus, a signal line or a circuit board. Optionally, the peripheral device includes: at least one of a radio frequency circuit 2604, a display screen 2605, a camera assembly 2606, an audio circuit 2607 and a power supply 2608.
[0292] The peripheral device interface 2603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2601 and the memory 2602. In some embodiments, the processor 2601, the memory 2602, and the peripheral device interface 2603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2601, the memory 2602, and the peripheral device interface 2603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0293] The radio frequency circuit 2604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 2604 can communicate with other devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0294] The display screen 2605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2605 is a touch display screen, the display screen 2605 also has the ability to collect touch signals on the surface or above the surface of the display screen 2605. The touch signal can be input to the processor 2601 as a control signal for processing. At this time, the display screen 2605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2605 can be one, set on the front panel of the terminal 2600; in other embodiments, the display screen 2605 can be at least two, respectively set on different surfaces of the terminal 2600 or in a folding design; in other embodiments, the display screen 2605 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 2600. Even, the display screen 2605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 2605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0295] The camera assembly 2606 is used to capture images or videos. Optionally, the camera assembly 2606 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal 2600, and the rear camera is arranged on the back of the terminal 2600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0296] The audio circuit 2607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2601 for processing, or input them into the radio frequency circuit 2604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 2600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 2601 or the radio frequency circuit 2604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2607 may also include a headphone jack.
[0297] The power supply 2608 is used to power various components in the terminal 2600. The power supply 2608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0298] Those skilled in the art will understand that Fig.26 The structure shown in the figure does not constitute a limitation on the terminal 2600, and the terminal 2600 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0299] An embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the message processing method of the above embodiment.
[0300] An embodiment of the present application also provides a computer program product, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the message processing method of the above embodiment.
[0301] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0302] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A message processing method, characterized in that: The method comprises: Displaying a message setting interface of a first artificial intelligence object in a game application, wherein the first artificial intelligence object is bound to a first account, and the first account is an account logged in by the local terminal; Based on the text input operation in the message setting interface, obtaining the input text; In response to a message sending operation in the message setting interface, a first broadcast message is generated based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object; The first broadcast message is sent through the first artificial intelligence object, and the first broadcast message is displayed.
2. The method according to claim 1, characterized in that Before displaying the message setting interface of the first artificial intelligence object in the game application, the method further includes: Displaying an object creation interface in the game application; In response to a creation operation in the object creation interface, a plurality of candidate artificial intelligence objects are randomly generated, wherein the candidate artificial intelligence objects are virtual objects not controlled by user operations, and the plurality of candidate artificial intelligence objects include the first artificial intelligence object; In response to a binding operation on the first artificial intelligence object, the first artificial intelligence object is bound to the first account.
3. The method according to claim 2, characterized in that The object creation interface includes a description input box and object creation options, and the randomly generated multiple candidate artificial intelligence objects in response to the creation operation in the object creation interface include: Based on the text input operation in the description input box, obtaining the input object description text; In response to a triggering operation on the object creation option, a plurality of candidate artificial intelligence objects consistent with the description of the object description text are randomly generated.
4. The method according to claim 1, characterized in that: The step of generating a first broadcast message in response to a message sending operation in the message setting interface based on the text and the language style of the first artificial intelligence object includes: In response to the message sending operation, determining a target text conversion model consistent with the language style of the first artificial intelligence object among a plurality of text conversion models; The target text conversion model is called to perform style conversion on the text to obtain the first broadcast message having the language style of the first artificial intelligence object.
5. The method according to claim 1, characterized in that The method further comprises: Based on the account input operation in the message setting interface, obtaining an input second account, where the second account is an account in the game application; The sending the first broadcast message through the first artificial intelligence object and displaying the first broadcast message includes: The first broadcast message is sent to the second account through the first artificial intelligence object, and the first broadcast message is displayed.
6. The method according to claim 5, characterized in that The step of generating a first broadcast message in response to a message sending operation in the message setting interface based on the text and the language style of the first artificial intelligence object includes: In response to the message sending operation, obtaining a first intimacy, where the first intimacy is the intimacy between the first account and the second account; The first broadcast message is generated based on the text, the language style of the first artificial intelligence object and the first intimacy, and the positivity of the emotion of the first broadcast message is positively correlated with the first intimacy.
7. The method according to claim 1, characterized in that The step of generating a first broadcast message in response to a message sending operation in the message setting interface based on the text and the language style of the first artificial intelligence object includes: In response to the message sending operation, if the text includes a blocked word, deleting the blocked word in the text; The first broadcast message is generated based on the processed text and the language style of the first artificial intelligence object, and the semantics of the first broadcast message is consistent with the semantics of the processed text.
8. The method according to claim 1, characterized in that: The method further comprises: In response to a chat initiation operation on the first artificial intelligence object, displaying a chat interface between the first artificial intelligence object and the first account; Based on the message input operation in the chat interface, obtaining the input interactive message; In response to a message sending operation in the chat interface, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message in the chat interface; In response to the interactive message, a reply message is sent to the first account through the first artificial intelligence object, and the reply message is displayed on the chat interface, and the reply message is used to reply to the interactive message.
9. The method according to claim 8, characterized in that The reply message is a text reply message; in response to the interactive message, sending the interactive message to the first artificial intelligence object through the first account, and displaying the reply message on the chat interface, comprises: In response to the interactive message, obtaining a target message reply model consistent with the language style of the first artificial intelligence object from a plurality of message reply models, calling the target message reply model, processing the interactive message, and obtaining the text reply message having the language style of the first artificial intelligence object; From a plurality of speech generation models, a target speech generation model that is consistent with the timbre of the first artificial intelligence object is obtained, the target speech generation model is called, and the text reply message is converted into a voice reply message having the timbre of the first artificial intelligence object; The text reply message and the voice play option are displayed on the chat interface, and the voice play option is used to trigger the playing of the voice reply message.
10. The method according to claim 8, characterized in that In response to the message sending operation in the chat interface, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message in the chat interface, comprises: In response to a message sending operation in the chat interface, if the number of the interactive messages sent within a preset time period before the current time point does not reach a preset number, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message on the chat interface; The method further comprises: In response to a message sending operation in the chat interface, when the number of interactive messages sent within the preset time period reaches the preset number, a first prompt message is displayed in the chat interface, and the first prompt message is used to prompt to reduce the frequency of sending interactive messages.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: Displaying a second broadcast message, where the second broadcast message is sent by a second artificial intelligence object, the second artificial intelligence object is not bound to the first account, and the second broadcast message includes an object identifier of the second artificial intelligence object; In response to a triggering operation on the object identifier, displaying function options associated with the second artificial intelligence object, the function options including at least one of a detail viewing option, a broadcast reply option, or a blocking option; Among them, the detail viewing option is used to trigger the display of the detail interface of the second artificial intelligence object, the broadcast reply option is used to trigger the display of the broadcast reply interface, the broadcast reply interface is used to edit the broadcast message replied to the second artificial intelligence object, and the blocking option is used to trigger the blocking of messages sent by the second artificial intelligence object.
12. The method according to claim 11, characterized in that The method further comprises: In the case where the second broadcast message is a broadcast message sent by the second artificial intelligence object to the first artificial intelligence object, displaying second prompt information, where the second prompt information is used to prompt the first artificial intelligence object to receive the broadcast message; In response to a triggering operation on the second prompt information, a broadcast reply interface is displayed, where the broadcast reply interface is used to edit a broadcast message to reply to the second artificial intelligence object.
13. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is less than the third intimacy, the name of the first artificial intelligence object is modified to an automatically generated name, the first intimacy is the intimacy between the first artificial intelligence object and the first account, and the third intimacy is the intimacy between the second artificial intelligence object and the bound second account; or, In the case where the name of the first artificial intelligence object is the same as the name of the second artificial intelligence object, if the first intimacy is equal to the third intimacy, but the first game parameter is less than the second game parameter, then the name of the first artificial intelligence object is modified to an automatically generated name, the first game parameter represents the game capability of the first account, and the second game parameter represents the game capability of the second account; or, In the case where the name of the first artificial intelligence object is the same as the name of any account in the game application, the name of the first artificial intelligence object is modified to an automatically generated name.
14. A message processing device, characterized in that: The device comprises: An interface display module, used to display a message setting interface of a first artificial intelligence object in a game application, wherein the first artificial intelligence object is bound to a first account, and the first account is an account logged in by the local end; A text acquisition module, used to acquire input text based on the text input operation in the message setting interface; a message generation module, configured to generate, in response to a message sending operation in the message setting interface, a first broadcast message based on the text and the language style of the first artificial intelligence object, wherein the semantics of the first broadcast message is consistent with the semantics of the text, and the language style of the first broadcast message is consistent with the language style of the first artificial intelligence object; A message display module is used to send the first broadcast message through the first artificial intelligence object and display the first broadcast message.
15. A terminal, characterized in that: The terminal includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the message processing method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the operations performed by the message processing method according to any one of claims 1 to 13.
17. A computer program product comprising a computer program, characterized in that The computer program is loaded and executed by a processor to implement the operations performed by the message processing method according to any one of claims 1 to 13.
