Message processing method and apparatus, terminal and storage medium
By using artificial intelligence objects in MMORPG electronic games to generate broadcast messages that are consistent with the semantics of the player's input text, the problems of insufficient fun and inconsistent style of broadcast messages in the existing technology are solved, and the user's social experience and human-computer interaction are improved sex.
Patent Information
- Application Number
- PCT/CN2024/080670
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-06
- Filing Date
- 2024-03-08
- Publication Date
- 2024-11-14
AI Technical Summary
In MMORPG electronic games, when players send broadcast messages, the existing technology is relatively rigid and lacks fun, and the personal style and game style reflected are not suitable enough, resulting in poor user social experience.
Provide a message processing method and device, display the message setting interface of the artificial intelligence object through the terminal, receive the text input by the player, and generate broadcast messages consistent with the semantics based on the language style of the artificial intelligence object, and send them as their identity to improve the fun and interactivity.
It improves the interaction and social experience between players and artificial intelligence objects, ensures that broadcast messages fit into the game style, and enhances the user's social experience.
Smart Images

Figure CN2024080670_14112024_PF_FP_ABST
Abstract
Description
Message processing method, device, terminal and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 6, 2023, with application number 2023105056642 and application name “Message Processing Method, Device, Terminal and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of Internet technology, and in particular to message processing technology. Background Art
[0003] In MMORPGs (Multiplayer Online Role-Playing Games), players can control virtual objects and participate in various activities. Furthermore, to enhance sociability, these games not only allow players to chat with each other but also broadcast messages to all players on the same server.
[0004] In related technologies, players are usually required to edit the text content of broadcast messages independently, but this method is relatively rigid and lacks fun. In addition, the broadcast messages obtained in this way often reflect the player's personal style and are not in line with the game style, which can easily lead to a poor user social experience.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a message processing method, device, terminal, and storage medium that can enhance the fun of sending broadcast messages, improve the interactivity between players and artificial intelligence objects, facilitate human-computer interaction, and ensure that the broadcast messages sent are consistent with the game style, thereby enhancing the user's social experience. The technical solution is as follows:
[0007] In one aspect, a message processing method is provided, which is executed by a terminal, and the method includes:
[0008] Displaying a message setting interface for a first artificial intelligence object in a game application, where the first artificial intelligence object is bound to a first account, where the first account is the account currently logged in to the game application;
[0009] Receiving a text input operation triggered in the message setting interface, and obtaining text input through the text input operation;
[0010] In response to a message sending operation triggered in the message setting interface, generating 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 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;
[0011] The first broadcast message is sent as the first artificial intelligence object, and the first broadcast message is displayed.
[0012] In another aspect, a message processing device is provided, the device comprising:
[0013] an interface display module, configured 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 the account currently logged in on the game application;
[0014] A text acquisition module, configured to receive a text input operation triggered in the message setting interface and acquire the text input through the text input operation;
[0015] a message generation module, configured to generate, in response to a message sending operation triggered 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 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;
[0016] A message display module is used to send the first broadcast message as the first artificial intelligence object and display the first broadcast message.
[0017] 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.
[0018] 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.
[0019] On the other hand, a computer program product is provided, comprising 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.
[0020] The solution provided by the embodiment of the present application is that the player's account has an artificial intelligence object bound to it. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message are consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent as 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 accordance with the language style of the artificial intelligence object. This makes the way of sending broadcast messages more interesting, improves the interactivity between the player and the artificial intelligence object, and is conducive to promoting human-computer interaction. In addition, since the language style of the artificial intelligence object is closer to the game style, the broadcast message sent can also be closer to the game style, which also improves the user's social experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0022] FIG2 is a flow chart of a message processing method provided in an embodiment of the present application;
[0023] FIG3 is a flow chart of a message processing method provided in an embodiment of the present application;
[0024] FIG4 is a schematic diagram of a message box provided in an embodiment of the present application;
[0025] FIG5 is a schematic diagram of a broadcast message provided in an embodiment of the present application;
[0026] FIG6 is a schematic diagram of a message setting interface provided in an embodiment of the present application;
[0027] FIG7 is a schematic diagram of a message interface provided in an embodiment of the present application;
[0028] FIG8 is a flowchart of a binding method provided in an embodiment of the present application;
[0029] FIG9 is a schematic diagram of an artificial intelligence object interface provided in an embodiment of the present application;
[0030] FIG10 is a schematic diagram of a name modification interface provided in an embodiment of the present application;
[0031] FIG11 is a flowchart of a message processing method provided in an embodiment of the present application;
[0032] FIG12 is a schematic diagram of a sound effect setting interface provided in an embodiment of the present application;
[0033] FIG13 is a schematic diagram of a chat interface provided in an embodiment of the present application;
[0034] FIG14 is a schematic diagram of a lobby interface provided in an embodiment of the present application;
[0035] FIG15 is a flowchart of a message processing method provided in an embodiment of the present application;
[0036] FIG16 is a schematic diagram of a function bar provided in an embodiment of the present application;
[0037] FIG17 is a schematic diagram of a details interface provided in an embodiment of the present application;
[0038] FIG18 is a schematic diagram of a chat interface provided in an embodiment of the present application;
[0039] FIG19 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application;
[0040] FIG20 is a schematic diagram of a broadcast message provided in an embodiment of the present application;
[0041] FIG21 is a schematic diagram of a shielding interface provided in an embodiment of the present application;
[0042] FIG22 is a schematic diagram of a lobby interface provided in an embodiment of the present application;
[0043] FIG23 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application;
[0044] FIG24 is a schematic structural diagram of a message processing device provided in an embodiment of the present application;
[0045] FIG25 is a schematic structural diagram of another message processing device provided in an embodiment of the present application;
[0046] FIG26 is a schematic structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] 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 with reference to the accompanying drawings.
[0048] It is understood that the terms "first," "second," and the like used herein may be used to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are used solely to distinguish one concept from another. For example, a first artificial intelligence object may be referred to as a second artificial intelligence object, and similarly, a second artificial intelligence object may be referred to as a first artificial intelligence object without departing from the scope of this application.
[0049] Here, "at least one" refers to one or more than one. For example, the at least one artificial intelligence object can be one artificial intelligence object, two artificial intelligence objects, three artificial intelligence objects, or any other integer greater than or equal to one. "Multiple" refers to two or more than two. For example, the multiple artificial intelligence objects can be two artificial intelligence objects, three artificial intelligence objects, or any other integer greater than or equal to two. "Each" refers to each of the 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 three artificial intelligence objects, then "each artificial intelligence object" refers to each of the three artificial intelligence objects.
[0050] It is understandable that in the implementation of this application, data related to accounts and artificial intelligence objects, etc., when the 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 must comply with relevant laws, regulations and standards of relevant countries and regions.
[0051] Artificial Intelligence (AI), as covered 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 achieve optimal 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 type of intelligent machine that can respond in a manner similar to human intelligence. Artificial intelligence is the study of the design principles and implementation methods of various intelligent machines, giving them the capabilities of perception, reasoning, and decision-making.
[0052] The virtual scene involved in this application can be used to simulate a three-dimensional virtual space, which can be an open space. For example, the virtual scene can include the sky, land, ocean, etc. 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 required for virtual objects to equip themselves or fight against other virtual objects. The virtual scene can also be used to simulate environments in different weather conditions, such as sunny days, rainy days, foggy days, or night weather. The various scene elements enhance the diversity and realism of the virtual scene.
[0053] The user can control a virtual object to move within the virtual scene. The virtual object is an avatar representing the user within the virtual scene. The avatar can be in any form, such as a human or an animal, and this application does not limit this. For example, an electronic game, such as an MMORPG, allows players to control the virtual object to participate in various activities and game matches within the virtual scene.
[0054] In this embodiment of the present application, a user downloads and installs the electronic game on a terminal in advance. Upon detecting this operation, the terminal downloads a game configuration file for the electronic game. This game configuration file includes the electronic game's application program, interface display data, or virtual scene data. This configuration file allows the user to invoke the game configuration file when logging into the electronic game on the terminal, render and display the electronic game interface, and respond to relevant user operations. After the electronic game is installed, the user performs a touch operation based on the electronic game on the terminal. Upon detecting the touch operation, the terminal determines the game data corresponding to the touch operation and renders and displays the game data. This game data may include virtual scene data and behavior data of virtual objects within the virtual scene.
[0055] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, which includes a server 101 and multiple terminals, on which game applications served by the server 101 are running. Figure 1 takes three terminals as an example. Each terminal communicates directly or indirectly with the server 101 via wired or wireless communication.
[0056] In an embodiment of the present application, server 101 provides background support for gaming applications in multiple terminals. For example, terminal 102 among the multiple terminals has a first account logged into the gaming application in terminal 102, which is bound to a first artificial intelligence object. Terminal 102 can generate a broadcast message based on user-entered text that is semantically consistent with the text and linguistically consistent with the first artificial intelligence object, and then display the broadcast message as being sent by the first artificial intelligence object. At the same time, terminal 102 also sends the broadcast message to server 101, which then sends the broadcast message to multiple terminals, causing the other terminals to also display the broadcast message as being sent by the first artificial intelligence object.
[0057] 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 smartphones, tablets, laptops, desktop computers, smart speakers, smart TVs, smart watches, or in-vehicle terminals, etc., but are not limited thereto.
[0058] 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.
[0059] For example, a first account is logged into a game application running on a terminal, and the first account is bound to an artificial intelligence object. In the lobby interface of the game application, messages sent by various players in the world channel are displayed. Players can send broadcast messages in the world channel, and the broadcast messages will be notified to all players on the server. In an embodiment of the present application, players can use artificial intelligence objects to send broadcast messages. Players only need to provide text, and the artificial intelligence object will 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 artificial intelligence object sends the broadcast message, and all players on the server can browse the broadcast message in the world channel. This achieves the effect of using the artificial intelligence object as the player's spokesperson to send broadcast messages on their behalf, increasing the fun of sending broadcast messages. Moreover, because the language style of the artificial intelligence object is more consistent with the game style, it can ensure that the broadcast messages in the world channel are more consistent with the game style, which helps to improve the player's social experience.
[0060] FIG2 is a flowchart of a message processing method provided in an embodiment of the present application. The embodiment of the present application is executed by a terminal. Referring to FIG2 , the method includes:
[0061] 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 the account currently logged in on the game application.
[0062] 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 currently logged in to the game application as an example, the first account is bound to the first artificial intelligence object.
[0063] Among them, the artificial intelligence object is also called AI love, which is an AI intelligent body with independent personality and characteristics in the world 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 this 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 virtual object controlled by the user. The artificial intelligence object 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 improving the social interest in the game application.
[0064] 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 a broadcast message sent as the first artificial intelligence object.
[0065] 202. The terminal receives a text input operation triggered in the message setting interface, and obtains text input through the text input operation.
[0066] The player performs a text input operation in the message setting interface and enters text. Accordingly, the terminal obtains the text entered by the player, which is the content that the player expects to send.
[0067] 203. In response to a message sending operation triggered in a message setting interface, the terminal generates a first broadcast message based on the text and the language style of the first artificial intelligence object. 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.
[0068] After entering text, the player can trigger a message sending operation. In response to the message sending operation, the terminal converts the text entered by the player into a first broadcast message. 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. This is equivalent to reorganizing the language based on the text entered by the player without changing the semantics of the text, so as to obtain a first broadcast message that conforms to the language style of the first artificial intelligence object.
[0069] 204. The terminal sends a first broadcast message as a first artificial intelligence object and displays the first broadcast message.
[0070] After the terminal generates the first broadcast message, it displays that the first broadcast message was sent as the first artificial intelligence object. Optionally, in the game application, the first broadcast message is also called a loudspeaker message. A loudspeaker message is a message published in the world channel. Every account in the game application can receive the loudspeaker message published in the world channel. Therefore, every account in the game application can see the first broadcast message sent by the first artificial intelligence object.
[0071] In the method provided in the embodiment of the present application, the player's account has an artificial intelligence object bound to it. When sending a broadcast message, the player can automatically generate a broadcast message after entering the text. The semantics of the broadcast message are consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent as 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 accordance with the language style of the artificial intelligence object. This makes the way of sending broadcast messages more interesting, improves the interactivity between the player and the artificial intelligence object, and is conducive to promoting human-computer interaction. Moreover, since the language style of the artificial intelligence object is closer to the game style, the broadcast message sent can also be closer to the game style, which also improves the user's social experience.
[0072] The embodiment of FIG2 above briefly illustrates the process of an artificial intelligence object sending a broadcast message. For the detailed process of an artificial intelligence object sending a broadcast message, please refer to the embodiment shown in FIG3 below.
[0073] FIG3 is a flowchart of a message processing method provided in an embodiment of the present application. The embodiment of the present application is executed by a terminal. Referring to FIG3 , the method includes:
[0074] 301. The terminal displays a message setting interface for a first artificial intelligence object in a game application. The first artificial intelligence object is bound to a first account, which is the account currently logged in to the game application. There are multiple first artificial intelligence objects.
[0075] The first artificial intelligence object refers to the 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 corresponding attributes such as language style, appearance, age, gender, and name.
[0076] 302. The terminal receives an object selection operation triggered in a message setting interface, and determines a target artificial intelligence object selected by the object selection operation from among multiple first artificial intelligence objects.
[0077] The message settings interface provides multiple first AI objects. This embodiment of the application uses a target AI object as an example. This target AI object can be any one of the multiple first AI objects. If a player wishes to send a broadcast message as the target AI object, they perform an object selection operation based on the multiple first AI objects in the message settings interface. The terminal then determines the selected target AI object based on this object selection operation.
[0078] In one possible implementation, the message settings interface displays multiple avatars of the first artificial intelligence object, and the object selection operation for 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 settings interface displays multiple object identifiers of the first artificial intelligence object, and the object selection operation for the target artificial intelligence object refers to the operation of selecting the object identifier of the target artificial intelligence object.
[0079] In an embodiment of the present application, when an account is bound to multiple artificial intelligence objects, the player can independently choose which artificial intelligence object to use to send a broadcast message, thereby improving the flexibility of sending broadcast messages and allowing the player to arbitrarily select the language style of the broadcast message to be sent.
[0080] 303. The terminal receives an account input operation triggered in the message setting interface, and obtains a second account input through the account input operation, where the second account is an account in the game application.
[0081] If the player wants the AI to send a broadcast message to a second account, they can enter the second account in the message interface. This second account is a different account in the game application from the first account. If the player does not enter a second account, the AI will not specify a recipient when sending the broadcast message. In other words, the broadcast message is sent to all players in the game application, not to any specific player.
[0082] 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.
[0083] In an embodiment of the present application, when setting a broadcast message, you can specify to which account the broadcast message is sent, which improves the targetedness of the broadcast messages sent by the artificial intelligence object, that is, the broadcast messages are sent to specific accounts in a targeted manner, thereby improving the flexibility of interaction based on broadcast messages in the world channel.
[0084] 304. The terminal receives a message box selection operation triggered in the message setting interface, and determines a target message box selected by the message box selection operation from among multiple message boxes, where the multiple message boxes have different styles.
[0085] Players can also set the style of the message box used to carry broadcast messages. The message setting interface includes multiple message boxes with different styles. In this embodiment of the application, the target message box is used as an example. The target message box can be any of the multiple message boxes. If the player wants to carry a broadcast message in a target message box, they perform a message box selection operation for the target message box in the message setting interface. The terminal determines the selected target message box based on the message box selection operation.
[0086] Figure 4 is a schematic diagram of a message box provided in an embodiment of the present application. As shown in Figure 4, message box 401, message box 402, message box 403 and message box 404 have different styles. Message box 401 is an ordinary 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.
[0087] 305. The terminal receives a text input operation triggered in the message setting interface, and obtains text input through the text input operation.
[0088] 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.
[0089] 306. The terminal generates a first broadcast message in response to a message sending operation triggered in the message setting interface, based on the text and the language style of the target artificial intelligence object. 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.
[0090] After the player completes the setup operations in the message setup interface (i.e., the aforementioned object selection operation, account input operation, and message box selection operation), the message sending operation is executed. In response to the message sending operation, the terminal generates a first broadcast message that is semantically consistent with the text and consistent with the language style of the target artificial intelligence object.
[0091] 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 among 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.
[0092] The database stores multiple pre-trained text conversion models for converting text into a specific language style. Each text conversion model corresponds to a different language style, which may include, for example, plain and simple, implicit and euphemistic, humorous and interesting, childlike, or bold. The terminal first determines the language style of the selected target artificial intelligence object, then determines a target text conversion model from the multiple text conversion models that is consistent with the language style of the target artificial intelligence object. The terminal then inputs the text into the target text conversion model, which performs style conversion on the text to obtain text with the language style of the target artificial intelligence object. The output text is the first broadcast message.
[0093] In an embodiment of the present application, by calling a text conversion model, the style of the text input by the player can be converted, thereby obtaining a broadcast message consistent with the language style of the first artificial intelligence object, thereby realizing automatic generation of broadcast messages, eliminating the 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, and through the text conversion model, it can be ensured that the language style of the generated broadcast message is consistent with the language style of the first artificial intelligence object, that is, it can be ensured that the generated broadcast message has a high quality.
[0094] In one possible implementation, in response to a message sending operation, the terminal obtains a first intimacy level between the first account and the second account. Based on the text, the language style of the first artificial intelligence object, and the first intimacy level, the terminal generates a first broadcast message, where the positivity of the first broadcast message is positively correlated with the first intimacy level.
[0095] The terminal maintains the intimacy between the first account and other accounts. The intimacy can be comprehensively determined based on information from 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 a game as enemies, the number of times the first account and the second account participate in a 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.
[0096] 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 expressed by the target artificial intelligence object through the broadcast message should reflect the attitude of the first account towards the second account. Accordingly, when generating the broadcast message, the intimacy between the first account and the second account should also be considered. If the intimacy between the first account and the second account is high, the generated broadcast message will have a higher degree of emotional positivity. If the intimacy between the first account and the second account is low, the generated broadcast message will have a lower degree of emotional positivity.
[0097] In an embodiment of the present application, when specifying that a broadcast message is to be sent to a second account, the intimacy between the first account and the second account can also be considered when generating the broadcast message, so that the generated broadcast message has corresponding emotional responses for different accounts, thereby making the process of generating the broadcast message more intelligent, and improving the vividness of the generated broadcast message, avoiding the generated broadcast message being too rigid.
[0098] In one possible implementation, the terminal responds to a message sending operation, and when the text includes blocked words, deletes the blocked words in the text to obtain a processed text, and then 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.
[0099] The terminal maintains a blocked word library, which includes multiple blocked words. Blocked words are words that are not allowed to be sent in game applications, such as words that express malicious information. 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 the generated broadcast message from carrying blocked words, ensure that the generated broadcast message is a compliant message, avoid conveying malicious information through broadcast messages, and thus better maintain the social environment of the game application.
[0100] 307. The terminal sends a first broadcast message to the second account as 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.
[0101] After generating the first broadcast message, the terminal sends the first broadcast message to the second account as 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.
[0102] Figure 5 is a schematic diagram of a broadcast message provided in an embodiment of the present application. As shown in Figure 5, 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.
[0103] 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 (where a game application is running and a corresponding account is logged in to the game application). The other terminals determine the target artificial intelligence object based on the object identifier and determine the target message box based on the message box identifier, and then also display the first broadcast message sent by the target artificial intelligence object to the second account in the target message box. As a result, all players in the game application can see the first broadcast message sent by the target artificial intelligence object to the second account.
[0104] Figure 6 is a schematic diagram of a message setting interface provided by an embodiment of the present application. As shown in Figure 6, 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 target artificial intelligence object to send the broadcast message in the "Select Spokesperson" column. The player can set the account to which the broadcast message will be sent in the "You want to talk to TA" column, that is, set the second account. Figure 6 takes the account "Da Ju Da Li" as an example. If the player does not want to specify the recipient of the broadcast message, select the "Everyone" option. The player can enter the text he wants to send in the "Say" column, for example, the text is "Please be polite to our boss." The player can select the target message box he wants to use in the "Message Box Type" column.
[0105] In one possible implementation, the terminal displays the first broadcast message in a target area, where 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 messages may be chat messages between the first account and other accounts, or chat messages between any accounts in the first account's team, or chat messages between any accounts on the server where the first account is located. In addition, the chat area is also used to display system messages, such as official notifications within a game application, or messages indicating when an account in the game application is online, offline, or killed.
[0106] In an embodiment of the present application, the broadcast message is displayed separately above the chat message, and the display priority of the broadcast message is higher than the display priority of the chat message, so that players can notice the broadcast message at the first time, thereby improving the display effect and dissemination effect of the broadcast message.
[0107] Figure 7 is a schematic diagram of a message interface provided in an embodiment of the present application. As shown in Figure 7, the message interface is the message interface of the world channel. The world channel is a way for accounts using the same server to communicate with each other. Chat messages sent by any account in the world channel can be received by other accounts on the same server. The message interface of the world channel can display chat messages between accounts using the same server, system messages and blood alliance messages on the same server, and any broadcast messages. Blood alliances refer to groups organized between players, and blood alliance messages refer to notification messages within the same blood alliance. The message interface includes a chat area 701 and a target area 702, which is located above the chat area 701. Chat area 701 is used to display chat messages, system messages, and blood alliance messages, while target area 702 is used to display broadcast messages. As shown in Figure 7, target area 702 displays broadcast message 703, which reads, "[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 distinguished from other chat messages, system messages, blood alliance messages, etc., and is displayed separately in the target area 702, so that players can notice the broadcast message 703 in time.
[0108] 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.
[0109] The solution provided by the embodiments of this application can be applied to the highly social gaming ecosystem of MMORPGs. It provides a function in which an AI object can speak on behalf of the player in the world channel. In addition, any player can communicate with any AI object in the world channel. The AI objects have their own language styles. Players only need to provide the AI object with the content they want to send, and the AI object will reorganize the language and send loudspeaker messages to the player in the world channel, increasing the interactive fun.
[0110] In the method provided in the embodiment of the present application, the player's account has an artificial intelligence object bound to it. When sending a broadcast message, the player can automatically generate a broadcast message after entering the text. The semantics of the broadcast message are consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent as 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 accordance with the language style of the artificial intelligence object. This makes the way of sending broadcast messages more interesting, improves the interactivity between the player and the artificial intelligence object, and is conducive to promoting human-computer interaction. Moreover, since the language style of the artificial intelligence object is closer to the game style, the broadcast message sent can also be closer to the game style, which also improves the user's social experience.
[0111] The embodiment shown in FIG8 below describes the process of establishing a binding relationship between an account and an artificial intelligence object. FIG8 is a flowchart of a binding method provided by an embodiment of the present application, which is executed by a terminal. Referring to FIG8, the method includes:
[0112] 801. The terminal displays an object creation interface in the game application.
[0113] This 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.
[0114] 802. The terminal generates a plurality of candidate artificial intelligence objects in response to a creation operation triggered in the object creation interface, wherein the plurality of candidate artificial intelligence objects includes a first artificial intelligence object.
[0115] The artificial intelligence objects in the embodiments of the present application are virtual objects that are not controlled by user operations, and therefore can also be called AI-NPCs (Artificial Intelligence-Non-Player Characters). After the player performs a creation operation in the object creation interface, the terminal generates multiple candidate artificial intelligence objects for the player.
[0116] Among them, the multiple candidate artificial intelligence objects have their own attributes such as appearance, language style, gender and age. Players can select the artificial intelligence object bound to their own account from the multiple candidate artificial intelligence objects generated according to their preferences.
[0117] In one possible implementation, the object creation interface includes a description input box and an object creation option. The terminal receives a text input operation triggered in the description input box, obtains the object description text entered through the text input operation, and generates multiple candidate artificial intelligence objects that match the object description text in response to the triggering operation of the object creation option.
[0118] In the object creation interface, the player enters an object description text, which describes the characteristics of the AI object they wish to generate, such as its appearance and language style. The terminal then automatically generates an AI object that matches the description text, enabling the player to create an AI object with specific characteristics with a single click. This improves the convenience and flexibility of AI object generation and ensures that the generated AI object meets the player's needs.
[0119] 803. In response to the binding operation triggered on the first artificial intelligence object, the terminal binds the first artificial intelligence object to the first account.
[0120] In this embodiment of the present application, the AI object that the player wishes to bind is a first AI object, which is any one of multiple candidate AI objects. If the player subsequently wishes to send a broadcast message through the first AI object, a binding operation is performed on the first AI object. The terminal, in response to the binding operation, binds the first AI object to the first account.
[0121] In one 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 based on the binding relationship.
[0122] In the method provided in the embodiment of the present application, the terminal automatically generates candidate artificial intelligence objects that match the object description text input by the player, thereby realizing the one-click generation of artificial intelligence objects with specific characteristics by the player. The player then selects the artificial intelligence object bound to his or her account from the multiple candidate artificial intelligence objects generated, thereby improving the convenience and flexibility of generating artificial intelligence objects, ensuring the personalization of the artificial intelligence objects bound to the player's account, and increasing the fun of human-computer interaction.
[0123] In another embodiment, accounts and AI objects in a game application each have their own names. To avoid duplicate names between AI objects and between AI objects and players, a name check is performed when a player creates an account, creates an AI object, or merges servers (i.e., merging players from multiple servers into a single server). If an AI object has a duplicate name, the name must be modified. The following three scenarios may require a name modification for an AI object:
[0124] 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. 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.
[0125] 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, for example, 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.
[0126] If a first artificial intelligence object and a second artificial intelligence object have the same name, the artificial intelligence object that needs to have its name modified can be determined based on the intimacy between the first and second artificial intelligence objects and their respective bound accounts. That is, the name of the artificial intelligence object with a lower intimacy with the bound account is modified, while the artificial intelligence object with a higher intimacy with the bound account does not need to be modified, thereby promoting interaction between the account and the artificial intelligence object to improve intimacy. This embodiment of the application uses the example of the low intimacy between the first artificial intelligence object and the bound account to illustrate, and modifies the name of the first artificial intelligence object to an automatically generated name. The automatically generated name does not overlap with the name of any other artificial intelligence object or any account. If the player is not satisfied with the name, the name of the first artificial intelligence object can be modified again.
[0127] 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. 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.
[0128] 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 game wins of the account, the number of times the account assisted teammates in defeating enemies, the number of times the account defeated enemies, etc.
[0129] If a first artificial intelligence object and a second artificial intelligence object have the same name, and the first and second artificial intelligence objects each have the same affinity with the account to which they are bound, the artificial intelligence object that needs to have its name modified can be determined based on the game parameters of the account to which the first and second artificial intelligence objects are respectively bound. That is, the artificial intelligence object with lower game parameters for the bound account needs to have its name modified, while the artificial intelligence object with higher game parameters for the bound account does not need to have its name modified, thereby promoting the account's active participation in the game to improve its game parameters. This embodiment of the application uses the example of a first account bound to a first artificial intelligence object with lower game parameters as an example to illustrate the modification of the name of the first artificial intelligence object to an automatically generated name that does not overlap with the names of any other artificial intelligence objects or any other account. If the player is not satisfied with the name, the name of the first artificial intelligence object can be modified again.
[0130] 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.
[0131] If an AI object has the same name as an account, the AI object needs to be renamed, but the account does not need to be renamed.
[0132] In the embodiment of the present application, the above-mentioned method is used to avoid duplicate names between artificial intelligence objects, and duplicate names between artificial intelligence objects and players, and a reasonable mechanism is used to modify the names of artificial intelligence objects, thereby ensuring the uniqueness of the name of each artificial intelligence object and each player in the game application, making it easier to distinguish each artificial intelligence object and each player.
[0133] In another embodiment, the player may proactively initiate an operation to modify the name of the artificial intelligence object, wherein there are the following two ways to request to modify the name of the artificial intelligence object.
[0134] 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 the 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.
[0135] The first account and the first artificial intelligence object can send interactive messages (see the embodiment shown in FIG11 for details). If the semantics of the interactive message sent by the first account is to change the name of the first artificial intelligence object, for example, the interactive message sent by the first account is "Give you a new name", the terminal can randomly generate multiple candidate names, and the player selects a candidate name from the multiple candidate names. The terminal then changes the name of the first artificial intelligence object to the selected candidate name.
[0136] 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 triggering operation on the card of the target artificial intelligence object, a rename option for the target artificial intelligence object is displayed. In response to the triggering operation on the rename 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.
[0137] FIG9 is a schematic diagram of an AI object interface provided by an embodiment of the present application. As shown in FIG9 , the AI object interface includes multiple cards for first AI objects, each of which displays the AI object's avatar, name, gender, intimacy (represented by a heart), a "Select Topic" option, a chat option, and a gift option. The multiple first AI objects are "Ali," "Eso," and "Fangaya," respectively. If a player wishes to change the name of the target AI object "Eso," they trigger an operation (such as a long press) on card 901 of the target AI object "Eso." In response to the trigger, the terminal displays a name change option for the target AI object. In response to the triggering operation on the name change option, the candidate name interface shown in FIG10 is displayed, which includes multiple selectable candidate names. A selection operation can then be triggered for any of the multiple candidate names, and the "OK" control in the candidate name interface can be clicked to change the name of the target AI object to the selected candidate name.
[0138] The embodiment shown in FIG11 below describes the process of chatting between a player's account and an artificial intelligence object. FIG11 is a flowchart of a message processing method provided by an embodiment of the present application. The embodiment of the present application is executed by a terminal. Referring to FIG11 , the method includes:
[0139] 1101. In response to a chat initiation operation triggered on a first artificial intelligence object, the terminal displays a chat interface between the first artificial intelligence object and a first account.
[0140] 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 is performed on the chat option of the first artificial intelligence object. In response to the trigger operation, the terminal displays a chat interface between the first artificial intelligence object and the first account.
[0141] 1102. The terminal receives a message input operation triggered in the chat interface, and obtains an interactive message input through the message input operation.
[0142] The player enters a message in the chat interface, inputting an interactive message. The terminal then receives the interactive message entered by the player. The interactive message represents the content that the player wishes to send to the first artificial intelligence object. Optionally, the interactive message may be a text interactive message, a voice interactive message, or an image interactive message, etc., which is not limited in this embodiment of the present application.
[0143] 1103. In response to the message sending operation triggered by the interactive message, the terminal sends the interactive message to the first artificial intelligence object through the first account and displays the interactive message on the chat interface.
[0144] 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.
[0145] In one possible implementation, in response to a message sending operation triggered in a chat interface for an interactive message input, if the interactive message does not contain any blocked words, the terminal sends the interactive message to the first artificial intelligence object via the first account, and displays the interactive message on the chat interface. Accordingly, in another embodiment, in response to a message sending operation triggered in a chat interface for an interactive message input, if the interactive message contains blocked words, the terminal sends the blocked interactive message to the first artificial intelligence object via the first account, and displays the blocked interactive message and a third prompt message on the chat interface. Blocking refers to replacing the blocked words in the interactive message with the target symbol, and the third prompt message is used to prompt the user not to include the blocked words when sending the interactive message.
[0146] In an embodiment of the present application, before sending an interactive message, the terminal needs to first determine whether the interactive message contains blocked words. If the interactive message does not contain blocked words, the interactive message entered by the first account is sent and displayed normally. If the interactive message contains blocked words, the blocked words need to be replaced with a target symbol, such as "*", and then the blocked interactive message is displayed. At the same time, a third prompt message is also displayed to remind the player not to use blocked words when sending interactive messages. For example, if the blocked words are uncivilized language, the third prompt message can be "Please chat in a civilized manner."
[0147] 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.
[0148] 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. The terminal then sends the reply message to the first account via the first artificial intelligence object, and displays the reply message sent by the first artificial intelligence object on the chat interface, thereby enabling the first artificial intelligence object to automatically chat with the first account. The reply message can be a text interactive message, a voice interactive message, or an image interactive message, etc., which is not limited in this embodiment of the present application.
[0149] 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 to 3.
[0150] Step 1. The terminal responds to the interactive message and obtains a target message reply model that is consistent with the language style of the first artificial intelligence object from multiple message reply models. The target message reply model is called to process the interactive message to obtain a text reply message with the language style of the first artificial intelligence object.
[0151] The database stores multiple pre-trained message reply models, which are used to generate reply messages to interactive messages. Each message reply model has a different language style, which may include, for example, plain and simple, implicit and euphemistic, humorous and interesting, childlike, or bold. The terminal first determines the language style of the first artificial intelligence object, and then determines a target message reply model from the multiple message reply models that is consistent with the language style of the first artificial intelligence object. The interactive message is input into the target message reply model, which processes the interactive message and outputs a text reply message in the language style of the first artificial intelligence object. The text reply message is the reply text to the interactive message.
[0152] In an 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, and the text reply message is automatically generated based on the interactive message, making the human-computer interaction process more intelligent.
[0153] 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.
[0154] The database stores multiple pre-trained speech generation models, each designed to generate speech with a specific timbre. Each speech generation model has a different timbre, which can include lively cartoon character voices, deep male voices, gentle female voices, and so on. The terminal first determines the timbre of the first artificial intelligence object, then identifies a target speech generation model from the multiple speech generation models that matches the timbre of the first artificial intelligence object. The terminal then inputs the text reply message into the target speech generation model, which then converts the text reply message and outputs a voice reply message with the timbre of the first artificial intelligence object.
[0155] 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.
[0156] In an embodiment of the present application, a message reply model and a speech generation model are used to obtain text reply messages and voice reply messages respectively. While displaying the text reply message, the terminal also displays the corresponding voice playback option. In response to the triggering operation of the voice playback option, the terminal plays the voice reply message with the timbre of the first artificial intelligence object, thereby imitating the scene of the first artificial intelligence object reading the text reply message, thereby improving the fun of human-computer interaction and making it convenient for players to obtain the reply message of the first artificial intelligence object in a variety of ways.
[0157] In addition, players can also set the volume of voice reply messages. Figure 12 is a schematic diagram of a sound effect setting interface provided in an embodiment of the present application. As shown in Figure 12, the sound effect setting interface can set the volume of background music, game sound effects, interface sound effects, and the volume of the love voice. The artificial intelligence object in the embodiment of the present application is also called love. The volume of the love voice is also the volume of the artificial intelligence object reading text reply messages aloud, that is, the volume of the voice reply messages played.
[0158] In one possible implementation, in response to a message sending operation triggered by an interactive message, if the number of interactive messages sent within a preset time period before the current time point has not reached a preset number, the terminal sends an interactive message to the first artificial intelligence object via the first account and displays the interactive message on the chat interface. Accordingly, in another embodiment, in response to a message sending operation triggered by an interactive message, if the number of interactive messages sent within a preset time period before the current time point has reached a preset number, the terminal displays a first prompt message on the chat interface, the first prompt message being used to prompt a user to reduce the frequency of sending interactive messages.
[0159] In an embodiment of the present application, if the number of interactive messages sent by the first account within a preset time period has not reached a 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 indicates that the frequency of the player sending interactive messages is too high. In this case, the terminal will temporarily not display the interactive messages sent by the first account. In other words, if the frequency of the player sending interactive messages is too high, the player will not be allowed to send interactive messages anymore and will be prompted to reduce the frequency of sending interactive messages. This avoids the artificial intelligence object being unable to respond in a timely manner due to the player sending interactive messages too frequently, thereby affecting the player's social interaction experience.
[0160] For example, if a player sends more than three interactive messages within 10 seconds, the player will be prompted "You speak too fast" and will not be allowed to send the fourth interactive message. The player will be allowed to send interactive messages again only after the cooling-off time is reached.
[0161] In one possible implementation, the terminal displays a fourth prompt message in response to the interactive message, and the fourth prompt message is used to prompt that the first artificial intelligence object is replying to the interactive message. After generating a reply message based on the interactive message, the fourth prompt message is canceled and the reply message is displayed on the chat interface.
[0162] If the player successfully sends an interactive message, then before the first artificial intelligence object replies to the interactive message, the terminal can display a fourth prompt message to remind 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.
[0163] 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.
[0164] There is a degree of intimacy between each artificial intelligence object and the account it is bound to. 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.
[0165] 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 can also be considered when generating the reply message. If the intimacy between the first account and the first artificial intelligence object is high, the emotional positivity of the generated reply message is high. If the intimacy between the first account and the first artificial intelligence object is low, the emotional positivity of the generated reply message is low.
[0166] The relationship between intimacy and the positivity of the generated reply message is shown in Table 1 below.
[0167] Table 1
[0168] 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 taken into consideration, so that the emotional state expressed in the generated reply message changes according to the change in 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 being too rigid.
[0169] Figure 13 is a schematic diagram of a chat interface provided by an embodiment of the present application. As shown in Figure 13, the chat interface includes a text reply message sent by the artificial intelligence object "Ali" to the account "Daju Bu Si" and a corresponding voice playback option. It also includes an 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 a third prompt message "Please chat in a civilized manner" is displayed.
[0170] Figure 14 is a schematic diagram of a lobby interface provided by an embodiment of the present application. As shown in Figure 14, the chat interface between the artificial intelligence object and the account can also be reduced to a thumbnail box 1401, which is displayed in the lower right corner of the lobby interface.
[0171] The method provided in the embodiments of the present application allows an account to chat with a bound artificial intelligence object. 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.
[0172] The embodiment shown in Figure 15 below details the process of displaying the artificial intelligence object bound to other accounts sending a broadcast message. Figure 15 is a flowchart of a message processing method provided by an embodiment of the present application, which is executed by a terminal. Referring to Figure 15, the method includes:
[0173] 1501. The terminal displays a second broadcast message. The second broadcast message is sent as a second artificial intelligence object. The second artificial intelligence object is not bound to the first account. The second broadcast message includes the object identifier of the second artificial intelligence object.
[0174] 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.
[0175] The second artificial intelligence object is bound to the second account. The terminal logged into 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. The other terminals are running game applications logged into other accounts. The other terminals determine the second artificial intelligence object based on the object identifier and then display the second broadcast message sent by the second artificial intelligence object. Therefore, all players in the game application can see the second broadcast message sent by the second artificial intelligence object. The other terminals mentioned here include the terminal logged into the first account.
[0176] 1502. In response to a triggering operation on the object identifier, the terminal displays function options associated with the second artificial intelligence object, where the function options include at least one of a detail viewing option, a broadcast reply option, and a blocking option.
[0177] If the player wants to perform other operations on the second artificial intelligence object, he can perform a trigger operation on the object identifier of the second artificial intelligence object. In response to the trigger operation on the object identifier, the terminal displays the function options associated with the second artificial intelligence object. In one possible implementation, as shown in Figure 16, the terminal displays a detail view option 1601, a broadcast reply option 1602, and a block option 1603 in the function options in the function bar. The following describes the detail view option, the broadcast reply option, and the block option respectively.
[0178] (1) The details view option is used to trigger the display of the details interface of the second artificial intelligence object. The details interface includes at least one of the account bound to the second artificial intelligence object or a chat option. The chat option is used to trigger the display of the chat interface with the second artificial intelligence object. In addition, the details interface also includes the second artificial intelligence object's avatar, name, and the intimacy between the second artificial intelligence object and the bound account.
[0179] Figure 17 is a schematic diagram of a details interface provided by an embodiment of the present application. As shown in Figure 17, the details interface of the artificial intelligence object "Ali" includes the gender, avatar, name, bound account "Daju Dali", intimacy with the account "Daju Dali" (represented by a heart shape), relationship "Hongyan" with the account "Daju Dali", and personal 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 is in the chat whitelist 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.
[0180] Figure 18 is a schematic diagram of a chat interface provided in an embodiment of the present application. As shown in Figure 18, the chat interface displays an interactive message sent by the artificial intelligence object "Ali" to the first account, "Hello, I am Daju Dali's confidante" and the corresponding voice playback option.
[0181] (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.
[0182] Figure 19 is a schematic diagram of a broadcast reply interface provided in an embodiment of the present application. As shown in Figure 19, a text input box is displayed on the broadcast reply interface. Players can enter a broadcast message to reply to the artificial intelligence object in the text input box, and can also set a message box on the broadcast reply interface to carry the broadcast message.
[0183] Figure 20 is a schematic diagram of a broadcast message provided in an embodiment of the present application. As shown in Figure 20, the terminal displays the broadcast message that the first account "Da Ju Bu Si" replies to the second artificial intelligence object "A Li".
[0184] (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.
[0185] Figure 21 is a schematic diagram of a shielding interface provided in an embodiment of the present application. As shown in Figure 21, after the second artificial intelligence object "Ali" is shielded, the second artificial intelligence object "Ali" enters the shielding list of the first account.
[0186] 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 a second prompt message, where the second prompt message is used to prompt the first artificial intelligence object that the broadcast message has been received.
[0187] 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 first account that the first artificial intelligence object, with which the first account is bound, has received the broadcast message. The player can choose to reply to the broadcast message. Thus, the second prompt message prevents the player from not replying to the broadcast message sent to their artificial intelligence object due to not seeing the second broadcast message.
[0188] 1504. In response to the triggering operation of 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.
[0189] 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.
[0190] FIG22 is a schematic diagram of a lobby interface provided by an embodiment of the present application. As shown in FIG22 , if the second broadcast message is sent specifically from the second artificial intelligence object to the first artificial intelligence object, a second prompt message is displayed on the lobby interface. This second prompt message can be a prompt bubble box 2201. If the player wishes to reply to the second broadcast message, they click on the prompt bubble box 2201. In response to the click, the terminal displays the broadcast reply interface shown in FIG23 . This broadcast reply interface displays an automatically generated broadcast message from the first account "Daju Busi" to the second artificial intelligence object "Ali".
[0191] 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 objects, thereby providing a way to quickly view the details interface of the artificial intelligence object, reply to the broadcast messages of the artificial intelligence object, and block the artificial intelligence object, which is conducive to promoting players to actively interact with the artificial intelligence objects of other players and improves the efficiency of human-computer interaction.
[0192] FIG24 is a schematic diagram of the structure of a message processing device provided in an embodiment of the present application. Referring to FIG24 , the device includes:
[0193] An interface display module 2401 is configured to display a message setting interface of a first artificial intelligence object in a game application, where the first artificial intelligence object is bound to a first account, which is the account currently logged in to the game application.
[0194] The text acquisition module 2402 is used to receive a text input operation triggered in the message setting interface and acquire the text input through the text input operation;
[0195] Message generation module 2403, configured to generate a first broadcast message in response to a message sending operation triggered 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 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;
[0196] The message display module 2404 is configured to send a first broadcast message as a first artificial intelligence object and display the first broadcast message.
[0197] The message processing device provided in the embodiment of the present application is a player's account with an artificial intelligence object bound to it. When sending a broadcast message, the player can automatically generate a broadcast message after entering text. The semantics of the broadcast message are consistent with the semantics of the text and the language style of the artificial intelligence object. The broadcast message is then sent as 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 accordance with the language 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, and is conducive to promoting human-computer interaction. Moreover, since the language style of the artificial intelligence object is closer to the game style, the broadcast message sent can also be closer to the game style, which also improves the user's social experience.
[0198] Optionally, referring to FIG. 25 , the apparatus further includes an object binding module 2405 for:
[0199] Display object creation interface in game application;
[0200] In response to a creation operation triggered in the object creation interface, generating a plurality of candidate artificial intelligence objects, wherein the plurality of candidate artificial intelligence objects include a first artificial intelligence object;
[0201] In response to a binding operation triggered on the first artificial intelligence object, the first artificial intelligence object is bound to the first account.
[0202] Optionally, referring to FIG. 25 , the object binding module 2405 is configured to:
[0203] Receive the text input operation triggered in the description input box and obtain the object description text entered through the text input operation;
[0204] In response to a triggering operation on the object creation option, a plurality of candidate artificial intelligence objects matching the object description text are generated.
[0205] Optionally, referring to FIG. 25 , the message generating module 2403 is configured to:
[0206] 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 the plurality of text conversion models;
[0207] 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.
[0208] Optionally, referring to FIG25 , the device further includes:
[0209] An account acquisition module 2406 is configured to receive an account input operation triggered in the message setting interface and acquire a second account inputted through the account input operation, where the second account is an account in the game application;
[0210] The message display module 2404 is used to:
[0211] Send a first broadcast message to the second account as the first artificial intelligence object, and display the first broadcast message.
[0212] Optionally, referring to FIG. 25 , the message generating module 2403 is configured to:
[0213] 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;
[0214] A 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.
[0215] Optionally, referring to FIG. 25 , the message generating module 2403 is configured to:
[0216] In response to the message sending operation, if the text includes blocked words, deleting the blocked words in the text to obtain a processed text;
[0217] A first broadcast message is generated based on the processed 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 processed text.
[0218] Optionally, referring to FIG. 25 , the apparatus further includes a chat module 2407 for:
[0219] In response to a chat initiation operation triggered on the first artificial intelligence object, displaying a chat interface between the first artificial intelligence object and the first account;
[0220] Receive the message input operation triggered in the chat interface and obtain the interactive message input through the message input operation;
[0221] In response to a message sending operation triggered by the interactive message, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message on the chat interface;
[0222] In response to the interactive message, a reply message for the interactive message is sent to the first account through the first artificial intelligence object, and the reply message is displayed on the chat interface.
[0223] Optionally, referring to FIG. 25 , the chat module 2407 is used to:
[0224] In response to the interactive message, obtaining a target message reply model consistent with the language style of the first artificial intelligence object from multiple message reply models, calling the target message reply model, processing the interactive message, and obtaining a text reply message in the language style of the first artificial intelligence object;
[0225] Obtaining a target speech generation model from a plurality of speech generation models that is consistent with the timbre of the first artificial intelligence object, calling the target speech generation model, and converting the text reply message into a voice reply message having the timbre of the first artificial intelligence object;
[0226] 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.
[0227] Optionally, referring to FIG. 25 , the chat module 2407 is used to:
[0228] In response to a message sending operation triggered by an interactive message, if the number of 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;
[0229] The device further includes a first prompting module 2408, configured to:
[0230] In response to a message sending operation triggered by an interactive message, if the number of interactive messages sent within a preset time period reaches a preset number, a first prompt message is displayed on the chat interface, and the first prompt message is used to prompt to reduce the frequency of sending interactive messages.
[0231] Optionally, referring to FIG25 , the device further includes:
[0232] The message display module 2404 is further configured to display a second broadcast message, where the second broadcast message is sent as a second artificial intelligence object that is not bound to the first account, and the second broadcast message includes an object identifier of the second artificial intelligence object.
[0233] A function display module 2409 is configured to display function options associated with the second artificial intelligence object in response to a triggering operation on the object identifier, the function options including at least one of a detail viewing option, a broadcast reply option, and a blocking option;
[0234] 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 and reply to the broadcast message sent 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.
[0235] Optionally, referring to FIG25 , the device further includes:
[0236] A second prompt module 2410 is configured to display a second prompt message when the second broadcast message is a broadcast message sent by the second artificial intelligence object to the first artificial intelligence object, where the second prompt message is used to prompt the first artificial intelligence object to receive the broadcast message;
[0237] The interface display module 2401 is also used to display a broadcast reply interface in response to a triggering operation on the second prompt information, where the broadcast reply interface is used to edit a broadcast message to be replied to the second artificial intelligence object.
[0238] Optionally, referring to FIG. 25 , the apparatus further includes a name modification module 2411 configured to:
[0239] 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, 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,
[0240] 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, and the first game parameter is less than the second game parameter, then the name of the first artificial intelligence object is modified, 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
[0241] 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.
[0242] It should be noted that the message processing device provided in the above embodiment is merely an example of 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 can be 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 are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0243] An embodiment of the present application further provides a terminal 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 in the message processing method of the above embodiment.
[0244] FIG26 shows a schematic structural diagram of a terminal 2600 provided by an exemplary embodiment of the present application.
[0245] The terminal 2600 includes a processor 2601 and a memory 2602 .
[0246] 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), or 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 the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the 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.
[0247] The memory 2602 may include one or more computer-readable storage media, which may be non-transitory. The memory 2602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and 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 used by the processor 2601 to implement the message processing method provided in the method embodiment of the present application.
[0248] In some embodiments, terminal 2600 may optionally include a peripheral device interface 2603 and at least one peripheral device. Processor 2601, memory 2602, and peripheral device interface 2603 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 2603 via a bus, signal lines, or circuit boards. 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.
[0249] The peripheral device interface 2603 can be used to connect at least one I / O (Input / Output)-related peripheral device 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 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0250] 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 communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 2604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. 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, etc. The radio frequency circuit 2604 can communicate with other devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. 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.
[0251] 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 screen display, 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 as a control signal to the processor 2601 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, there can be one display screen 2605, which is set on the front panel of the terminal 2600; in other embodiments, there can be at least two display screens 2605, which are 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, which is set on the curved surface or folding surface of the terminal 2600. Even more, the display screen 2605 can 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).
[0252] 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 set on the front panel of the terminal 2600, and the rear camera is set 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 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 single-color temperature flash or a dual-color temperature flash. A 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 under different color temperatures.
[0253] 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 that are input into the processor 2601 for processing, or input into the radio frequency circuit 2604 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 2600. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 2601 or the radio frequency circuit 2604 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2607 may also include a headphone jack.
[0254] Power supply 2608 is used to power various components in terminal 2600. Power supply 2608 can be AC power, DC power, a disposable battery, or a rechargeable battery. When 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.
[0255] Those skilled in the art will understand that the structure shown in FIG26 does not constitute a limitation on the terminal 2600 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0256] An embodiment of the present application further 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.
[0257] An embodiment of the present application further provides a computer program product, including a computer program, which is loaded and executed by a processor to implement the operations performed by the message processing method of the above embodiment.
[0258] Those 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 a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0259] The above description is only an optional embodiment of the embodiment of the present application and is not intended to limit the embodiment of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiment of the present application should be included in the scope of protection of the present application.
Claims
1. A message processing method, executed by a terminal, the method comprising: 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 currently logged in on the game application; Receiving a text input operation triggered in the message setting interface, and acquiring text input through the text input operation; In response to a message sending operation triggered 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 as the first artificial intelligence object, and the first broadcast message is displayed.
2. The method according to claim 1, before displaying the message setting interface of the first artificial intelligence object in the game application, the method further comprises: Displaying an object creation interface in the game application; In response to a creation operation triggered in the object creation interface, generating a plurality of candidate artificial intelligence objects, wherein the plurality of candidate artificial intelligence objects include the first artificial intelligence object; In response to a binding operation triggered on the first artificial intelligence object, the first artificial intelligence object is bound to the first account.
3. The method according to claim 2, wherein the object creation interface includes a description input box and object creation options, and the generating of a plurality of candidate artificial intelligence objects in response to a creation operation triggered in the object creation interface comprises: Receiving a text input operation triggered in the description input box, and acquiring the object description text input by the text input operation; In response to a triggering operation on the object creation option, a plurality of candidate artificial intelligence objects matching the object description text are generated.
4. The method according to any one of claims 1 to 3, wherein in response to a message sending operation triggered in the message setting interface, generating a first broadcast message based on the text and the language style of the first artificial intelligence object comprises: 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 any one of claims 1 to 4, further comprising: Receiving an account input operation triggered in the message setting interface, and acquiring a second account input through the account input operation, where the second account is an account in the game application; The sending the first broadcast message as the first artificial intelligence object and displaying the first broadcast message includes: The first broadcast message is sent to the second account as the first artificial intelligence object, and the first broadcast message is displayed.
6. The method according to claim 5, wherein in response to the message sending operation triggered in the message setting interface, generating a first broadcast message based on the text and the language style of the first artificial intelligence object comprises: 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 any one of claims 1 to 6, wherein in response to a message sending operation triggered in the message setting interface, generating a first broadcast message based on the text and the language style of the first artificial intelligence object comprises: In response to the message sending operation, if the text includes a blocked word, deleting the blocked word in the text to obtain a processed 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 any one of claims 1 to 7, further comprising: In response to a chat initiation operation triggered on the first artificial intelligence object, displaying a chat interface between the first artificial intelligence object and the first account; Receiving a message input operation triggered in the chat interface, and obtaining an interactive message input through the message input operation; In response to a message sending operation triggered by the interactive message, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message on the chat interface; In response to the interactive message, a reply message for the interactive message is sent to the first account through the first artificial intelligence object, and the reply message is displayed on the chat interface.
9. The method according to claim 8, wherein in response to the interactive message, sending a reply message to the interactive message to the first account through the first artificial intelligence object, 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 a 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 or 9, wherein in response to the message sending operation triggered by the interactive message, sending the interactive message to the first artificial intelligence object through the first account, and displaying the interactive message on the chat interface comprises: In response to the message sending operation triggered by the interactive message, if the message is sent within a preset time before the current time point, If the number of the interactive messages sent does not reach a preset number, sending the interactive messages to the first artificial intelligence object through the first account, and displaying the interactive messages on the chat interface; The method further comprises: In response to the message sending operation triggered by the interactive message, if the number of the interactive messages sent within the preset time period reaches the preset number, a first prompt message is displayed on 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, further comprising: Displaying a second broadcast message, where the second broadcast message is sent as 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, and 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, further comprising: 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 12, further comprising: 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, 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, and the first game parameter is less than the second game parameter, then modifying the name of the first artificial intelligence object, 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, 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.
14. A message processing device, the device comprising: 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 currently logged in on the game application; A text acquisition module, used to receive a text input operation triggered in the message setting interface, and acquire the text input through the text input operation; a message generation module, configured to generate a first broadcast message in response to a message sending operation triggered 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 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 as the first artificial intelligence object and display the first broadcast message.
15. A terminal, 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 according to any one of claims 1 to 13.
16. A computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, 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, wherein 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.
Citation Information
Patent Citations
Message push method and device, and terminal
CN107911798A
Guidance data sending method, device, terminal, server and storage medium
CN110399193A
Data processing method for chat and related device
CN114003702A
Communication method and device, electronic equipment and storage medium
CN114422463A
Method For Sending Messages And Mobile Terminal
US20180343335A1
