Message interaction method and device
By triggering the role-playing operation in the message conversation interface and entering the role-playing mode of the target topic, the problem of the single existing message interaction method is solved, rich message display styles and improved user experience are achieved, and the efficiency and satisfaction of role setting are enhanced.
Patent Information
- Application Number
- CN202510954642.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-10
- Publication Date
- 2025-09-12
AI Technical Summary
The existing message interaction method is relatively rigid and single in terms of user experience. It is difficult for users to play rich roles through titles or nicknames, resulting in a poor interactive experience.
A message interaction method is provided, which triggers the role-playing operation in the message conversation interface, enters the role-playing mode of the target topic, displays the members' messages in the corresponding role style, and determines the correspondence between members and roles through the identity selection component.
It enriches the display style of message interaction, improves user experience, enhances the efficiency and flexibility of role setting, and improves user satisfaction and immersion in the message interaction process.
Smart Images

Figure CN120639734A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet application technology, and in particular to a message interaction method and device. Background Art
[0002] With the continuous development of the Internet, users can interact with each other through various instant messaging tools. To distinguish themselves from other users, users can use methods such as notes or modify nicknames. However, the user experience still feels stiff and monotonous during the messaging process, so there is an urgent need to improve the user experience. Summary of the Invention
[0003] The present application provides a message interaction method and device to improve the user experience during the message interaction process.
[0004] This application provides the following solutions:
[0005] According to a first aspect, a message interaction method is provided, which is applied to a user terminal, and the method includes:
[0006] Entering a role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, the message conversation interface including at least two members;
[0007] In the message conversation interface, messages from the at least two members are displayed, and the messages are obtained by converting the messages input by the at least two members into styles corresponding to the roles played by the corresponding members in the target topic.
[0008] According to an achievable method in an embodiment of the present application, in response to triggering a role-playing operation for a target topic in a message conversation interface, entering a role-playing mode includes:
[0009] Displaying an initiating component for triggering role playing in the message conversation interface, and displaying a topic selection panel in response to the triggering operation of the initiating component, the topic selection panel including a plurality of candidate topics;
[0010] In response to the operation of triggering the selection of one of the candidate topics, the selected candidate topic is used as the target topic, information about the roles played by the at least two members in the target topic is obtained, and the role-playing mode is entered.
[0011] According to an achievable method in an embodiment of the present application, obtaining information about the roles played by the at least two members in the target topic includes:
[0012] Displaying a first invitation message of the target topic in the message conversation interface, wherein the first invitation message includes a first identity selection component;
[0013] In response to the operation of triggering the first identity selection component, displaying a first identity selection interface;
[0014] Using the first identity selection interface, determining a correspondence between the at least two members and roles in the target topic;
[0015] Based on the corresponding relationship, information about the roles played by the at least two members in the target topic is obtained.
[0016] According to an achievable method in an embodiment of the present application, the first identity selection interface includes each role in the target theme and a first adding component corresponding to each role;
[0017] Determining the correspondence between the at least two members and the roles in the target topic includes:
[0018] In response to the operation of triggering the first adding component, displaying a member list, the member list including the at least two members;
[0019] In response to an operation of triggering the selection of a target member in the member list, a corresponding relationship between the target member and a role in the target topic is determined.
[0020] According to an achievable method in an embodiment of the present application, the first identity selection interface includes a first random matching component;
[0021] Determining the correspondence between the at least two members and the roles in the target topic includes:
[0022] In response to the operation of triggering the first random matching component, a correspondence between the at least two members and the roles in the target topic is obtained, where the correspondence is obtained by matching roles based on personalized information of the at least two members.
[0023] According to an achievable method in an embodiment of the present application, in response to triggering a role-playing operation for a target topic in a message conversation interface, entering the role-playing mode includes:
[0024] receiving and displaying a second invitation message of the target topic in the message conversation interface, wherein the second invitation message includes a second identity selection component;
[0025] In response to the operation of triggering the second identity selection component, displaying a second identity selection interface;
[0026] Using the second identity selection interface, determining a correspondence between the member corresponding to the user terminal and the role in the target theme;
[0027] Based on the corresponding relationship, information about the role played by the member corresponding to the user terminal in the target topic is obtained, and a role-playing mode is entered.
[0028] According to an achievable method in an embodiment of the present application, the second identity selection interface includes each role in the target theme and a second adding component corresponding to each role;
[0029] Determining the correspondence between the member corresponding to the user terminal and the role in the target topic includes:
[0030] In response to the operation of triggering the second adding component, the corresponding relationship between the member corresponding to the user terminal and the role in the target theme is determined.
[0031] According to an achievable method in an embodiment of the present application, the second identity selection interface includes a second random matching component;
[0032] Determining the correspondence between the member corresponding to the user terminal and the role in the target topic includes:
[0033] In response to the operation of triggering the second random matching component, the corresponding relationship between the member corresponding to the user terminal and the role in the target theme is obtained, and the corresponding relationship is obtained by role matching based on the personalized information of the member corresponding to the user terminal.
[0034] According to an achievable manner in an embodiment of the present application, displaying messages of the at least two members in the message conversation interface includes at least one of the following:
[0035] Displaying a first role-playing message of the at least two members in the message conversation interface, wherein the first role-playing message is obtained by converting a text message into a speech characteristic consistent with the role played by the member sending the text message;
[0036] A second role-playing message of the at least two members is displayed in the message conversation interface, where the second role-playing message is obtained by converting a voice message into a voice characteristic that matches the voice of the role played by the member sending the voice message.
[0037] According to an achievable manner in an embodiment of the present application, displaying messages of the at least two members in the message conversation interface further includes at least one of the following:
[0038] Displaying emoticon packages sent by the at least two members in the message conversation interface, wherein the emoticon packages correspond to the target topic;
[0039] Displaying a group avatar in the message conversation interface, wherein the group avatar corresponds to the target topic;
[0040] Displaying a bubble of the message in the message conversation interface, the bubble corresponding to the target topic;
[0041] Displaying a conversation background image in the message conversation interface, wherein the conversation background image corresponds to the target topic;
[0042] Displaying personal portraits of the at least two members in the message conversation interface, wherein the personal portraits correspond to the roles played by the at least two members in the target topic;
[0043] The role labels of the at least two members are displayed in the message conversation interface, where the role labels correspond to the roles played by the at least two members in the target topic.
[0044] According to a second aspect, a message interaction device is provided, which is provided at a user terminal, and includes:
[0045] a mode setting unit configured to enter a role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, the message conversation interface including at least two members;
[0046] The display unit is configured to display the messages of the at least two members in the message conversation interface, wherein the messages input by the at least two members are converted into styles corresponding to the roles played by the corresponding members in the target topic.
[0047] According to a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of any one of the methods according to the first aspect are implemented.
[0048] According to a fourth aspect, an electronic device is provided, comprising:
[0049] one or more processors; and
[0050] A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of the first aspects above.
[0051] According to a fifth aspect, a computer program product is provided, comprising a computer program, which implements the steps of any one of the methods described in the first aspect when executed by a processor.
[0052] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0053] 1) This application can trigger a role-playing operation to enter a role-playing mode for a target topic. In this role-playing mode, a member's messages are displayed in a style corresponding to the role they play in the target topic. This approach enriches the message display style during message interaction and improves the user experience during the message interaction process.
[0054] 2) Members of the message conversation interface can click the initiation component, select a candidate topic as the target topic in the displayed topic selection panel, and enter the role-playing mode for the target topic. This allows the initiating member to select their favorite target topic for role-playing, improving the role-playing experience and role-setting efficiency.
[0055] 3) By displaying the first identity selection component included in the first invitation message on the message conversation interface, the user triggers the first identity selection component and enters the first identity selection interface, where they can determine the mapping between at least two members and roles. This allows the user to quickly and clearly set the roles of each member, further improving color calibration efficiency and user experience.
[0056] 4) The member initiating role-playing can match all members in the message conversation interface with roles in the target topic. In subsequent chats, the message of the sending member is displayed based on the corresponding styles of the roles played by at least two members in the target topic. In other words, the member initiating role-playing manually determines the correspondence between members and roles, thereby increasing the flexibility of the role-playing process.
[0057] 5) The first identity selection interface may also include a first random matching component. The first random matching component is used to quickly determine the correspondence between members and roles, thereby improving matching efficiency. In addition, the matching process combines the personalized information of each member, and the matched correspondence is more in line with the characteristics of the members.
[0058] 6) The user terminal can receive and display the second invitation message. In response to the second identity selection component included in the second invitation message being triggered, the second identity selection interface is displayed. In the second identity selection interface, the user can determine the correspondence between the user and the role. This approach allows the user to enter role-playing mode through role-playing initiated by other members in the message conversation interface and select the role they want to play. This process is more in line with the wishes of each member and improves the member experience.
[0059] 7) Members can select a role for themselves within the target topic. During subsequent chats, their messages will be displayed based on their chosen role. This allows members to manually determine the relationship between themselves and their roles, increasing flexibility and ultimately member satisfaction.
[0060] 8) The second identity selection interface may also include a second random matching component, which can be used to quickly determine the correspondence between the member and the role, thereby improving matching efficiency. In addition, the matching process combines the member's own personalized information, and the matched correspondence is more in line with their own characteristics.
[0061] 9) For text messages, a first role-playing message that matches the speaking style of the character played by the person sending the text message is displayed in the message conversation interface. For voice messages, a second role-playing message that matches the voice style of the character played by the person sending the voice message is displayed in the message conversation interface. Emoticons corresponding to the target theme may also be displayed. In other words, various message types can be displayed as messages that match the target theme, enriching the message presentation style under role-playing.
[0062] 10) In addition to text messages, voice messages, and emoticons, you can also change group avatars, message bubbles, conversation background images, etc. to make the current message conversation interface more consistent with the target theme, increase members' sense of immersion, and improve the member experience.
[0063] Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0065] Figure 1 is a system architecture diagram applicable to the embodiments of the present application;
[0066] Figure 2 A flowchart of the message interaction method provided in an embodiment of the present application;
[0067] Figure 3 A schematic diagram of a path for initiating role-playing provided in an embodiment of the present application;
[0068] Figure 4 A schematic diagram of a path for selecting a role provided in an embodiment of the present application;
[0069] Figure 5 A schematic diagram of a path for manually determining a corresponding relationship provided in an embodiment of the present application;
[0070] Figure 6 A schematic diagram of a path for randomly matching roles provided in an embodiment of the present application;
[0071] Figure 7 A schematic diagram of a path for notifying other members provided in an embodiment of the present application;
[0072] Figure 8 A schematic diagram of a path for accepting role-playing provided in an embodiment of the present application;
[0073] Figure 9 A schematic diagram of a path for manually determining a corresponding relationship provided in an embodiment of the present application;
[0074] Figure 10 A schematic diagram of a path for randomly matching roles provided in an embodiment of the present application;
[0075] Figure 11 A schematic diagram of a path for entering a role-playing mode through a second notification message provided in an embodiment of the present application;
[0076] Figure 12 A schematic diagram of the message conversation interface before and after entering the role-playing mode provided in an embodiment of the present application;
[0077] Figure 13 A schematic block diagram of a message interaction device provided in an embodiment of the present application;
[0078] Figure 14 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0080] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "an", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0081] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0082] The word "if," as used herein, may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.
[0083] It should be noted that the limitations such as "first" and "second" involved in this disclosure do not have restrictions on size, order and quantity, but are only used to distinguish in name. For example, "first identity selection component" and "second identity selection component" are used to distinguish two identity selection components, and "first identity selection interface" and "second identity selection interface" are used to distinguish two identity selection interfaces.
[0084] Some messaging interaction technologies already exist. For example, in a group chat, the group owner can customize a title, post it to the group, and then other members can choose the title they want to use. Another example is that all members can modify the group nickname. However, existing interaction methods simply display titles or group nicknames, which is relatively rigid and monotonous, resulting in a poor user experience.
[0085] In view of this, the present application provides a new approach. To facilitate understanding of the present application, the system architecture on which the present application is based is first described. Figure 1 An exemplary system architecture to which the embodiments of the present application can be applied is shown. Figure 1 As shown in , the system architecture may include: a user end and a server end.
[0086] The server and client are the two main components of an application service. The server, with the server as its primary hardware infrastructure, can include one or more software-based service modules. In this embodiment, it is primarily responsible for converting message styles, delivering messages, and other tasks, forming a collaborative front-end and back-end with the client.
[0087] The user terminal can be set in the terminal device. The user terminal involved in the embodiment of the present application can be a local application running on the terminal device or a web application running through a browser.
[0088] Terminal devices may include, but are not limited to, smart mobile terminals, wearable devices, PCs (Personal Computers), smart home devices, and the like. Smart mobile devices may include, for example, mobile phones, tablets, laptops, PDAs (Personal Digital Assistants), and internet-connected car terminals. Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, VR (Virtual Reality) devices, AR (Augmented Reality) devices, mixed reality devices (i.e., devices that support both virtual reality and augmented reality), and the like. Smart home devices may include, for example, smart TVs and smart refrigerators with displays.
[0089] A server can be a single server, a server cluster consisting of multiple servers, or a cloud server. A cloud server, also known as a cloud computing server or cloud host, is a hosting product within the cloud computing service ecosystem. It addresses the management difficulties and limited scalability of traditional physical hosting and virtual private server (VPS) services.
[0090] The client can display a message session interface for users. Users can enter messages in the message session interface through the client, and the client forwards the messages to other users' clients via the server. The client can also display messages sent by other users via the server in the message session interface.
[0091] It should be understood that Figure 1 The number of the client terminals and the server terminals in the embodiment is only for illustration. According to the implementation requirements, there can be any number of the client terminals and the server terminals.
[0092] Figure 2 This is a flow chart of the message interaction method provided in the embodiment of the present application. The method can be performed by Figure 1 The user side of the system shown is executed. Figure 2 As shown in , the method may include the following steps:
[0093] Step 201 : In response to triggering a role-playing operation for a target topic in a message conversation interface, entering a role-playing mode, where the message conversation interface includes at least two members.
[0094] Step 202 : Displaying messages from at least two members in a message conversation interface. The messages are obtained by converting the messages input by the at least two members into styles corresponding to the roles played by the corresponding members in the target topic.
[0095] As can be seen from the above process, this application can enter role-playing mode for a target topic by triggering a role-playing operation. In role-playing mode for the target topic, a member's messages are displayed in the style corresponding to the role they play in the target topic. This approach enriches the message display style during message interaction and improves the user experience during the message interaction process.
[0096] First, the above step 201, namely "entering the role-playing mode in response to triggering a role-playing operation for the target topic in the message conversation interface" is described in detail with reference to the embodiment.
[0097] The user terminal enters the role-playing mode in response to triggering a role-playing operation for the target topic in the message conversation interface. For example, the user terminal can directly enter the role-playing mode under the preset topic in response to the operation of triggering a button component or prompt component in the message conversation interface for triggering the role-playing mode. The message conversation interface here includes at least two members, that is, the message conversation interface can correspond to a message interaction between two members, that is, a private chat, or a message interaction between three or more members, that is, a group chat. In the embodiment of the present application, each user participating in a message conversation is referred to as a member, and in a message conversation, a member refers to a real user, not a virtual character such as a robot or an intelligent agent.
[0098] In the embodiment of the present application, the primary task of entering role-playing mode is to obtain a correspondence between the at least two members and the roles in the target topic. This correspondence can be achieved through an invitation message in the message conversation interface. The invitation message includes an identity selection component, which is used to obtain the correspondence between the members and the roles in the target topic. The invitation message can be triggered by the member who actively initiates the role-playing.
[0099] In the present application, there are two types of members included in a message conversation interface, members who actively initiate role-playing (hereinafter referred to as initiating members) and members who passively accept role-playing (hereinafter referred to as accepting members). Therefore, the way in which the user terminal corresponding to the member enters the role-playing mode can be divided into two types. The first way is to enter the role-playing mode through the initiating component displayed in the message conversation interface for triggering role-playing, that is, the member actively starts the role-playing as the initiator; the second way is to enter the role-playing mode by receiving and displaying the second invitation message of the target topic, that is, the member passively starts the role-playing as the recipient. It should be noted that among the members included in a message conversation interface, if one of the members initiates a role-playing for the target topic, then the member is the initiating member, and the other members except the member are the accepting members.
[0100] Next, the first method for the user side to enter the role-playing mode is explained in detail.
[0101] Specifically, an initiating component for triggering role-playing is displayed in the message conversation interface, such as Figure 3 As shown in (a), the initiating component may refer to a "set group identity" button. In response to the initiating component being triggered, a theme selection panel is displayed, such as Figure 3 As shown in (b), the topic selection panel includes multiple candidate topics, such as the Palace topic, the Journey to the West topic, the Dream of the Red Chamber topic, etc. Then, as one of the possible implementations, in response to the operation of triggering the selection of one of the candidate topics, the selected candidate topic is used as the target topic, the information of the roles played by the members in the target topic included in the message conversation interface is obtained, and the role-playing mode is entered. As another possible implementation, in response to the operation of triggering the selection of one of the candidate topics, the selected candidate topic is used as the target topic, and in response to the operation of triggering the selection of the candidate topics, the selected candidate topic is used as the target topic. Figure 3 The operation in which the "Confirm Topic" button in (b) is triggered obtains information on the roles played by members in the target topic included in the message conversation interface and enters the role-playing mode.
[0102] Among them, when obtaining information about the role played by the member in the target theme (such as the role's identification information, role name, style characteristics, etc.), the user end can obtain it from the server end or from the local storage space. Specifically, when obtaining from the server end, the user end can send a retrieval request to the server end, and the server end, upon receiving the retrieval request, returns the stored information about the role played by the member in the target theme to the user end; when obtaining from the local storage space, the local storage space can store the information when the role-playing mode of the target theme was last entered, so the user end can directly obtain the information about the role played by the member in the target theme last time from the local storage space as the information about the role played by the member in the target theme this time.
[0103] As a more preferred embodiment, the first identity selection interface can be used to obtain information about the role played by the member in the target topic. Specifically, when the user terminal responds to the operation of triggering the selection of one of the candidate topics, the first invitation message of the selected target topic can be displayed in the message conversation interface, such as Figure 4 As shown in (a), the first invitation message includes a first identity selection component, which may refer to Figure 4 Then, in response to the operation of triggering the first identity selection component, the first identity selection interface is displayed, such as Figure 4As shown in (b). The first identity selection interface can display the correspondence between members and roles, where the correspondence can be determined when the role-playing mode of the target topic was last entered. Alternatively, the first identity selection interface can be used to redetermine the correspondence between the members included in the message conversation interface and the roles in the target topic. Based on the determined correspondence, information about the roles played by the members included in the message conversation interface in the target topic is obtained, that is, identification information, role name, role avatar, style characteristics, etc. of the roles played by the members are obtained.
[0104] When determining the corresponding relationship using the first identity selection interface, as one of the possible implementation methods, the first identity selection interface in this application includes each role in the target theme and the first added component corresponding to each role, such as Figure 5 As shown in (a), the first added component may refer to Figure 5 The "Select" button shown in (a) displays a member list in response to the operation of the first adding component being triggered, such as Figure 5 As shown in (b), the member list includes all members corresponding to the message conversation interface or some members whose roles have not been matched. In response to the operation of triggering the selection of the target member in the member list, the corresponding relationship between the target member and the role in the target topic is determined, such as Figure 5 As shown in (c), Figure 5 (c) indicates that the target member selected for role 1 is member 1. Furthermore, the member can return to the message conversation interface and enter the role-playing mode by clicking the exit component (such as the "<" in the upper left corner) in the first identity selection interface.
[0105] As another achievable method, the first identity selection interface in this application includes a first random matching component, such as Figure 6 As shown in (a), the first random matching component may refer to Figure 6 In response to the operation of triggering the first random matching component, the corresponding relationship between the members included in the message conversation interface and the roles in the target topic is obtained. The corresponding relationship is obtained by matching the roles based on the personalized information of the members included in the message conversation interface. Then, the user terminal can display the following information: Figure 6 The interface shown in (b) Figure 6 The interface shown in (b) shows the correspondence between the members included in the message conversation interface and the roles in the target topic, that is, role 1 corresponds to member 1, role 2 corresponds to member 3, role 3 corresponds to member 4, and role 4 corresponds to member 2.
[0106] Among them, personalized information may refer to the member's attributes, activity level in the message conversation interface, historical message style, etc. For example, if a member is female and has a high level of activity in the message conversation interface, the member can be matched with a female main character in the target topic; for another example, if a member is male and has a low level of activity in the message conversation interface, the member can be matched with a male secondary character in the target topic.
[0107] Furthermore, as a more preferred embodiment, after obtaining the correspondence between at least one member and a role by manual matching or random matching, the first confirmation component can be displayed in the first identity selection interface, such as Figure 7 As shown in (a), the first confirmation component may refer to Figure 7 In response to the operation of triggering the first confirmation component, the first confirmation window is displayed, such as Figure 7 As shown in (b), the first confirmation window displays the corresponding relationship between the members included in the message conversation interface and the roles in the target topic (such as the role avatar of the role that currently has a corresponding relationship and the personal avatar of the corresponding member), and displays a notification component, which can refer to Figure 7 (b) "Confirm and inform friends" button. In response to the operation of the notification component being triggered, for each member other than the member who initiated the role play, based on the corresponding relationship between the member and one of the roles, a first notification message corresponding to the member is generated, and the first notification message corresponding to each member is sent to the corresponding member, such as Figure 7 As shown in (c), member 1 (i.e., "I") can send a first notification message (including member 2's corresponding role 4 information) to member 2. At the same time, a first notification message (including member 3's corresponding role 2 information) is sent to member 3, and a first notification message (including member 4's corresponding role 3 information) is sent to member 4, so as to promptly remind other members to enter role play. In other words, if the message conversation interface includes more than two members, the first notification message can be sent to each other member in the form of a private chat.
[0108] certainly, Figure 7 The first confirmation window in (b) may also be directly displayed in response to the operation of triggering the first random matching component, so as to improve the efficiency of role selection.
[0109] It should be noted that the initiating member can use the first identity selection interface to determine the correspondence between all members and the roles in the target topic, or can only determine the correspondence between at least one member and the role in the target topic. In other words, the initiating member has the right to determine the correspondence between all members and roles, but as long as the correspondence between one member and the role is determined, the role-playing mode can be entered. However, at this time, only the messages of the members who have selected the role are displayed in the style of the role played. In addition, generally speaking, a role in the target topic can only correspond to one member, but in actual application, this application can also support the situation where one role corresponds to multiple members.
[0110] It should also be noted that when a message conversation interface includes only two members, the initiating member can be either of them. When a message conversation interface includes three or more members, i.e., the message conversation interface is a group chat interface, the initiating member can be the group chat owner, each member of the group chat, or a member authenticated by the group owner.
[0111] Next, the second method for the user end accepting members to enter the role-playing mode is described in detail.
[0112] Specifically, the second invitation message of the target topic is received, and the second invitation message is displayed in the message conversation interface, such as Figure 8 As shown in (a), the second invitation message is sent by the user terminal corresponding to the initiating member. The second invitation message includes a second identity selection component (such as Figure 8 (a) "Select role" button), in response to the operation of the second identity selection component being triggered, the second identity selection interface is displayed, such as Figure 8 As shown in (b). The second identity selection interface can display the correspondence between all members and roles included in the message conversation interface, wherein the correspondence can be determined when entering the role-playing mode of the target topic last time, or it can be determined by other members in the message conversation interface using the second identity selection interface, or it can be determined by the initiating member using the first identity selection interface. Of course, the present application can also use the second identity selection interface to redefine the correspondence between the member himself and the role. Based on the correspondence between the member himself and the role in the target topic, obtain the information of the role played by the member himself in the target topic, and enter the role-playing mode. Among them, the second invitation message essentially refers to the first invitation message displayed in the message conversation interface by the user terminal corresponding to the initiating member.
[0113] When determining the corresponding relationship using the second identity selection interface, as one of the possible implementation methods, the second identity selection interface in this application includes each role in the target theme and a second added component corresponding to each role, such as Figure 9 As shown in (a), the second added component may refer to Figure 9 The "Select" button in (a) responds to the operation of the second adding component being triggered to determine the corresponding relationship between the member himself and the role in the target topic, such as Figure 9 As shown in (b), Figure 9 In (b), Role 4 corresponds to Member 2 (the member themselves), with Member 2's profile picture displayed below the corresponding role. Furthermore, the member can click the exit icon (e.g., the "<" icon in the upper left corner) on the second identity selection screen to return to the message session and enter role-playing mode.
[0114] As another achievable method, the second identity selection interface in this application includes a second random matching component, such as Figure 10 As shown in (a), the second random matching component may refer to Figure 10 (a) "Random Match" button. In response to the operation of the second random matching component being triggered, the corresponding relationship between the member and the role in the target theme is obtained. The corresponding relationship is obtained by role matching based on the member's own personalized information, and a second confirmation window is displayed, such as Figure 10 As shown in (b), the second confirmation window displays the corresponding relationship between the member and the corresponding role (such as the member's own personal portrait and the corresponding role portrait), as well as the confirmation component (such as Figure 10 (b) OK button) and rematch components (e.g. Figure 10 (b) “Rematch” button).
[0115] Furthermore, in response to determining that the component is triggered, the second identity selection interface may be re-displayed, such as Figure 10 As shown in (c), the member can then exit by clicking the exit component in the second identity selection interface (such as Figure 10 (c) "<" in the upper left corner) to return to the message conversation interface and enter the role-playing mode. Alternatively, in response to the operation of determining that the component is triggered, the message conversation interface in the role-playing mode can be directly displayed.
[0116] In response to the operation of triggering the rematching component, the corresponding relationship between the member and the role in the target topic is retrieved, and a second confirmation window is displayed based on the updated corresponding relationship, such as Figure 10As shown in (d) in the figure. For example, the roles can be sorted from high to low based on the degree of match between the member and the roles in the target topic. When the member clicks the "Random Match" button in the second identity selection interface, the user terminal displays the first-ranked role (the role with the highest degree of match with the member) in the second confirmation window. When the user is dissatisfied with the result and clicks the "Rematch" button, the second-ranked role (the role with the second highest degree of match with the member) is displayed in the second confirmation window. The roles are obtained in sequence until the member is satisfied with the random matching result and clicks the "OK" button. Among them, personalized information can refer to member attributes, activity level in the message conversation interface, etc. The process of role matching based on personalized information has been explained in the above content and will not be repeated here.
[0117] Of course, if the member clicks on rematch, the role can be rematched for the member through other matching mechanisms. For example, the user side can obtain the member's historical behavior information (such as the length of time spent on the message conversation interface, the frequency of sending, whether emoticons are used, etc.), and send a matching request to the server side, so that the server side can determine the role that matches the member based on the historical behavior information in the matching request and use the matching model, and return the role that matches the member to the user side.
[0118] In addition, when a message conversation interface includes more than two members, the message conversation interface can refer to both a private chat interface and a group chat interface. Therefore, triggering a role-playing operation for a target topic in the message conversation interface can also refer to triggering an operation of a second notification message in the private chat interface. In simple terms, the accepting member can use the second notification message in the private chat interface (i.e., the private chat interface between the initiating member and the accepting member) to enter the role-playing operation.
[0119] Specifically, the user terminal receives the second notification message, such as Figure 11 As shown in (a), the second notification message includes the role corresponding to the receiving member (the role in this case is selected by the initiating member for the receiving member), the component to be used (such as Figure 11 (a) "OK use" button) and self-defined components (such as Figure 11 (a) "Define" button). The second notification message essentially refers to the first notification message sent by the user terminal corresponding to the initiating member in the form of a private chat.
[0120] Then, in response to determining that the operation using the component is triggered, the following is displayed: Figure 11 In the interface shown in (b), click Figure 11The "Go to Interaction" button in (b) displays the group chat interface and enters the role-playing mode; in response to the operation of the self-defined component being triggered, the second identity selection interface can be displayed, and the second identity selection interface can be used to re-select a suitable role for yourself. The process has been explained in the above content and will not be repeated here.
[0121] It should be noted that the first and second identity selection interfaces may also include a deletion component for deleting existing relationships. Furthermore, the member-role relationships displayed in the first and second identity selection interfaces are displayed in real time. If any member in the message conversation interface changes the relationship on their corresponding user terminal, the relationships displayed on the other members' user terminals will also change.
[0122] It should also be noted that when a user terminal enters the role-playing mode using the received second invitation message or second notification message, it can only determine the corresponding relationship between itself and the role in the target topic. When the user terminal enters the role-playing mode using the sent first invitation message, it can determine the corresponding relationship between all members and the role in the target topic. Of course, when entering the role-playing mode using the received second invitation message or second notification message, if you want to change the corresponding relationship between other members and roles, you can modify the corresponding roles of other members by sending modification requests to other members. This application is not limited to this.
[0123] The above step 202, namely "displaying messages from at least two members in the message conversation interface", is described in detail below with reference to an embodiment.
[0124] In an embodiment of the present application, after entering the role-playing mode, the member's message is displayed in the message conversation interface. The message here is obtained by converting the message input by the member into the style corresponding to the role played by the corresponding member in the target topic.
[0125] The present application can display the first role-playing message of at least two members in the message conversation interface. The first role-playing message is obtained by converting the text message into the speaking characteristics of the role played by the member sending the text message. It can be understood that in the role-playing mode, when a member sends a text message in the message conversation interface, when the member clicks the send button, the user end uses the locally deployed text style conversion model to convert the text message into a first role-playing message that conforms to the speaking characteristics of the role played by the member, and displays the first role-playing message in the message conversation interface. Or the user end sends the text message to the server end, so that the server end converts the text message into a first role-playing message that conforms to the speaking characteristics of the role played by the member through the text style conversion model when forwarding the message, and forwards the first role-playing message, so that the user end of each member can display the first role-playing message in the message conversation interface.
[0126] The present application can also display a second role-playing message of at least two members in the message conversation interface, and the second role-playing message is obtained by converting a voice message into a voice that conforms to the timbre characteristics of the role played by the member who sent the voice message. It can be understood that in the role-playing mode, when a member sends a voice message in the message conversation interface, when the member clicks the send button, the user end uses the locally deployed voice style conversion model to convert the voice message into a second role-playing message that conforms to the timbre characteristics of the role played by the member, and displays the second role-playing message in the message conversation interface. Or the user end sends the voice message to the server end, so that the server end converts the voice message into a second role-playing message that conforms to the timbre characteristics of the role played by the member through the voice style conversion model when forwarding the message, and forwards the second role-playing message, so that the user end of each member can display the second role-playing message in the message conversation interface.
[0127] To ensure the accuracy and conversion efficiency of the first role-playing message, each candidate topic can correspond to a text style conversion model and a speech style conversion model. Alternatively, each role can correspond to a text style conversion model and a speech style conversion model.
[0128] The present application can also display emoticons sent by at least two members in the message conversation interface, where the emoticons correspond to the target theme. Specifically, in the role-playing mode, in response to a member triggering the operation of opening emoticons, the emoticons corresponding to the target theme or the emoticons corresponding to the role played by the member are displayed, allowing the member to select the emoticon package they want to send.
[0129] In order to enhance the sense of immersion of members when playing roles, as a more preferred embodiment, the present application also includes at least one of the following when displaying the message conversation interface: displaying group avatars in the message conversation interface, the group avatars corresponding to the target topic; displaying message bubbles in the message conversation interface, the bubbles corresponding to the target topic; displaying a conversation background image in the message conversation interface, the conversation background image corresponding to the target topic; displaying the member's personal avatar in the message conversation interface, the personal avatar corresponding to the role played by the member in the target topic, for example, the personal avatar can be a role avatar of the role played by the member; displaying the member's role label in the message conversation interface, the role label corresponding to the role played by the member in the target topic.
[0130] For example, if the target theme is the palace theme, the characters in the palace theme include the queen, the emperor, concubines, eunuchs, etc., and the message conversation interface includes four members, member 1 (i.e. Figure 12 In (a), "I" plays the role of the emperor, member 2 plays the role of the concubine, member 3 plays the role of the queen, and member 4 plays the role of the eunuch. When not in role-playing mode, the message conversation interface can be as follows: Figure 12 As shown in (a), after entering the role-playing mode, the message conversation interface can be as follows Figure 12 As shown in (b), Figure 12 In (b), “Emperor”, “Concubine”, “Queen” and “Eunuch” are role labels. In response to the operation of triggering the opening of expressions, the expression package corresponding to the palace theme is displayed, such as Figure 12 As shown in (c), in response to selecting one of the emoticon packages, the selected emoticon package is displayed in the message conversation interface.
[0131] It should be noted that, in actual applications, a message conversation interface can enter role-playing mode only if at least one of all members has a corresponding role. In this case, messages sent by members with the corresponding role are converted to messages of the corresponding style, while messages sent by other members without the corresponding role remain unchanged. Of course, role-playing mode can also be entered only after all members have corresponding roles, and this application does not impose any restrictions.
[0132] As a more complete embodiment, the user terminal corresponding to the initiating member displays a topic selection panel containing multiple candidate topics in response to the initiating member triggering the initiation component. In response to the triggering operation of selecting one of the candidate topics, the selected candidate topic is set as the target topic, and a first invitation message for the target topic is displayed in the message conversation interface. In response to receiving feedback from other accepting members on the first invitation message, information about the roles played by other accepting members in the target topic is obtained, and a role-playing mode is entered, in which the roles corresponding to the other accepting members are selected by themselves.
[0133] However, if the user terminal corresponding to the initiating member does not receive any feedback from other accepting members on the first invitation message for a long time, it can display the first identity selection interface in response to the initiating member triggering the operation of the first identity selection component in the first invitation message, so as to use the first identity selection interface to determine the correspondence between all members and the roles in the target topic, and based on the correspondence, obtain information about the roles played by all members in the target topic. At this time, the roles corresponding to other accepting members are selected by the initiating member.
[0134] Furthermore, the initiating member's user terminal and the receiving member's user terminal can directly enter the role-playing mode. Alternatively, the initiating member's user terminal can notify the other receiving members of the determined corresponding relationship in the form of a private chat (i.e., a first notification message), and in response to the other receiving members' feedback operation on the first notification message, obtain information about the roles played by the other receiving members in the target topic (in this case, the corresponding roles of the other receiving members can change due to the other receiving members' own modification), and then enter the role-playing mode.
[0135] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0136] According to another embodiment, a message interaction device is provided. Figure 13 A schematic block diagram of a message interaction device according to an embodiment is shown. Figure 1 The user side of the architecture shown in Figure 1 is shown in Figure 2. Figure 13 As shown, the apparatus 1300 includes:
[0137] The mode setting unit 1301 is configured to enter a role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, where the message conversation interface includes at least two members.
[0138] The display unit 1302 is configured to display messages from at least two members in the message conversation interface, where the messages input by the at least two members are converted into styles corresponding to the roles played by the corresponding members in the target topic.
[0139] As one of the achievable ways, when the mode setting unit 1301 enters the role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, it can be configured to: display an initiating component for triggering role-playing in the message conversation interface, and in response to the operation of triggering the initiating component, display a topic selection panel, the topic selection panel including multiple candidate topics; in response to the operation of triggering the selection of one of the candidate topics, use the selected candidate topic as the target topic, obtain information on the roles played by at least two members in the target topic, and enter the role-playing mode.
[0140] As one of the possible implementation methods, when obtaining information about the roles played by at least two members in the target topic, the mode setting unit 1301 can be configured to: display the first invitation message of the target topic in the message conversation interface, the first invitation message including a first identity selection component; in response to the operation of triggering the first identity selection component, display the first identity selection interface; using the first identity selection interface, determine the correspondence between at least two members and the roles in the target topic; based on the correspondence, obtain information about the roles played by at least two members in the target topic.
[0141] As one possible implementation method, the first identity selection interface includes various roles in the target theme and a first adding component corresponding to each role.
[0142] When determining the correspondence between at least two members and roles in the target subject, the mode setting unit 1301 can be configured to: in response to the operation of triggering the first adding component, display a member list, the member list includes at least two members; in response to the operation of triggering the selection of the target member in the member list, determine the correspondence between the target member and the role in the target subject.
[0143] As one possible implementation method, the first identity selection interface includes a first random matching component.
[0144] When determining the correspondence between at least two members and roles in the target topic, the mode setting unit 1301 can be configured to: in response to the operation of the first random matching component being triggered, obtain the correspondence between at least two members and roles in the target topic, and the correspondence is obtained by role matching based on the personalized information of the at least two members.
[0145] As one of the possible implementation methods, when the mode setting unit 1301 enters the role-playing mode in response to triggering a role-playing operation for the target topic in the message conversation interface, it can be configured to: receive and display a second invitation message of the target topic in the message conversation interface, the second invitation message including a second identity selection component; in response to the operation of triggering the second identity selection component, display a second identity selection interface; using the second identity selection interface, determine the correspondence between the member corresponding to the user end and the role in the target topic; based on the correspondence, obtain information about the role played by the member corresponding to the user end in the target topic, and enter the role-playing mode.
[0146] As one possible implementation method, the second identity selection interface includes each role in the target theme and a second adding component corresponding to each role.
[0147] When determining the correspondence between the member corresponding to the user terminal and the role in the target theme, the mode setting unit 1301 may be configured to: determine the correspondence between the member corresponding to the user terminal and the role in the target theme in response to the operation of triggering the second adding component.
[0148] As one possible implementation manner, the second identity selection interface includes a second random matching component.
[0149] When determining the correspondence between the member corresponding to the user terminal and the role in the target topic, the mode setting unit 1301 can be configured to: in response to the operation of the second random matching component being triggered, obtain the correspondence between the member corresponding to the user terminal and the role in the target topic, and the correspondence is obtained by role matching based on the personalized information of the member corresponding to the user terminal.
[0150] As one of the feasible ways, when the display unit 1302 displays messages from at least two members in the message conversation interface, it can be configured as at least one of the following: displaying a first role-playing message of at least two members in the message conversation interface, wherein the first role-playing message is obtained by converting a text message into a speech characteristic that conforms to the role played by the member sending the text message; displaying a second role-playing message of at least two members in the message conversation interface, wherein the second role-playing message is obtained by converting a voice message into a tone characteristic that conforms to the role played by the member sending the voice message; displaying an emoticon package sent by at least two members in the message conversation interface, wherein the emoticon package corresponds to the target theme.
[0151] As one of the feasible ways, when the display unit 1302 displays messages of at least two members in the message conversation interface, it can also be configured as at least one of the following: displaying group avatars in the message conversation interface, the group avatars corresponding to the target topic; displaying message bubbles in the message conversation interface, the bubbles corresponding to the target topic; displaying a conversation background image in the message conversation interface, the conversation background image corresponding to the target topic; displaying personal avatars of at least two members in the message conversation interface, the personal avatars corresponding to the roles played by the at least two members in the target topic; displaying role tags of at least two members in the message conversation interface, the role tags corresponding to the roles played by the at least two members in the target topic.
[0152] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0153] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0154] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.
[0155] And an electronic device comprising:
[0156] one or more processors; and
[0157] A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of the aforementioned method embodiments.
[0158] The present application also provides a computer program product, comprising a computer program, which implements the steps of any one of the methods described in the aforementioned method embodiments when executed by a processor.
[0159] in, Figure 14 The electronic device architecture is shown as an example, and may include a processor 1410, a video display adapter 1411, a disk drive 1412, an input / output interface 1413, a network interface 1414, and a memory 1420. The processor 1410, the video display adapter 1411, the disk drive 1412, the input / output interface 1413, the network interface 1414, and the memory 1420 may be communicatively connected via a communication bus 1430.
[0160] Among them, the processor 1410 can be implemented by a general-purpose CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., to execute relevant programs to implement the technical solutions provided in this application.
[0161] The memory 1420 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1420 can store an operating system 1421 for controlling the operation of the electronic device 1400, and a basic input and output system (BIOS) 1422 for controlling the low-level operations of the electronic device 1400. In addition, a web browser 1423, a data storage management system 1424, and a message interaction device 1300, etc. can also be stored. The above-mentioned message interaction device 1300 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided by the present application is implemented by software or firmware, the relevant program code is stored in the memory 1420 and is called and executed by the processor 1410.
[0162] The input / output interface 1413 is used to connect input / output modules to implement information input and output. The input / output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.
[0163] The network interface 1414 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WIFI, Bluetooth, etc.).
[0164] The bus 1430 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1410 , the video display adapter 1411 , the disk drive 1412 , the input / output interface 1413 , the network interface 1414 , and the memory 1420 ).
[0165] It should be noted that although the above device only shows a processor 1410, a video display adapter 1411, a disk drive 1412, an input / output interface 1413, a network interface 1414, a memory 1420, a bus 1430, etc., in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may also include only the components necessary to implement the solution of the present application, and does not necessarily include all the components shown in the figure.
[0166] Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer program product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.
[0167] The above is a detailed introduction to the technical solutions provided by this application. Specific examples are used herein to illustrate the principles and implementation methods of this application. The description of the above embodiments is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting this application.
Claims
1. A message interaction method, applied to a user terminal, characterized in that: The method comprises: Entering a role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, the message conversation interface including at least two members; In the message conversation interface, messages from the at least two members are displayed, and the messages are obtained by converting the messages input by the at least two members into styles corresponding to the roles played by the corresponding members in the target topic.
2. The method according to claim 1, characterized in that In response to triggering a role-playing operation for a target topic in a message conversation interface, entering a role-playing mode includes: Displaying an initiating component for triggering role playing in the message conversation interface, and displaying a topic selection panel in response to the triggering operation of the initiating component, the topic selection panel including a plurality of candidate topics; In response to the operation of triggering the selection of one of the candidate topics, the selected candidate topic is used as the target topic, information about the roles played by the at least two members in the target topic is obtained, and the role-playing mode is entered.
3. The method according to claim 2, characterized in that Obtaining information about the roles played by the at least two members in the target topic, including: Displaying a first invitation message of the target topic in the message conversation interface, wherein the first invitation message includes a first identity selection component; In response to the operation of triggering the first identity selection component, displaying a first identity selection interface; Using the first identity selection interface, determining a correspondence between the at least two members and roles in the target topic; Based on the corresponding relationship, information about the roles played by the at least two members in the target topic is obtained.
4. The method according to claim 3, characterized in that The first identity selection interface includes each role in the target theme and a first adding component corresponding to each role; Determining the correspondence between the at least two members and the roles in the target topic includes: In response to the operation of triggering the first adding component, displaying a member list, the member list including the at least two members; In response to an operation of triggering the selection of a target member in the member list, a corresponding relationship between the target member and a role in the target topic is determined.
5. The method according to claim 3, characterized in that The first identity selection interface includes a first random matching component; Determining the correspondence between the at least two members and the roles in the target topic includes: In response to the operation of triggering the first random matching component, a correspondence between the at least two members and the roles in the target topic is obtained, where the correspondence is obtained by role matching based on the personalized information of the at least two members.
6. The method according to claim 1, characterized in that The step of entering the role-playing mode in response to triggering a role-playing operation for a target topic in the message conversation interface includes: receiving and displaying a second invitation message of the target topic in the message conversation interface, wherein the second invitation message includes a second identity selection component; In response to the operation of triggering the second identity selection component, displaying a second identity selection interface; Using the second identity selection interface, determining a correspondence between the member corresponding to the user terminal and the role in the target theme; Based on the corresponding relationship, information about the role played by the member corresponding to the user terminal in the target topic is obtained, and a role-playing mode is entered.
7. The method according to claim 6, characterized in that The second identity selection interface includes each role in the target theme and a second adding component corresponding to each role; Determining the correspondence between the member corresponding to the user terminal and the role in the target topic includes: In response to the operation of triggering the second adding component, the corresponding relationship between the member corresponding to the user terminal and the role in the target theme is determined.
8. The method according to claim 6, characterized in that The second identity selection interface includes a second random matching component; Determining the correspondence between the member corresponding to the user terminal and the role in the target topic includes: In response to the operation of triggering the second random matching component, the corresponding relationship between the member corresponding to the user terminal and the role in the target theme is obtained, and the corresponding relationship is obtained by role matching based on the personalized information of the member corresponding to the user terminal.
9. The method according to any one of claims 1 to 8, characterized in that In the message conversation interface, messages from the at least two members are displayed, including at least one of the following: Displaying a first role-playing message of the at least two members in the message conversation interface, wherein the first role-playing message is obtained by converting a text message into a speech characteristic consistent with the role played by the member sending the text message; A second role-playing message of the at least two members is displayed in the message conversation interface, where the second role-playing message is obtained by converting a voice message into a voice characteristic that matches the voice of the role played by the member sending the voice message.
10. The method according to claim 9, characterized in that In the message conversation interface, displaying messages of the at least two members further includes at least one of the following: Displaying emoticon packages sent by the at least two members in the message conversation interface, wherein the emoticon packages correspond to the target topic; Displaying a group avatar in the message conversation interface, wherein the group avatar corresponds to the target topic; Displaying a bubble of the message in the message conversation interface, the bubble corresponding to the target topic; Displaying a conversation background image in the message conversation interface, wherein the conversation background image corresponds to the target topic; Displaying personal portraits of the at least two members in the message conversation interface, wherein the personal portraits correspond to the roles played by the at least two members in the target topic; The role labels of the at least two members are displayed in the message conversation interface, where the role labels correspond to the roles played by the at least two members in the target topic.
11. A message interaction device, provided at a user terminal, characterized in that: The device comprises: a mode setting unit configured to enter a role-playing mode in response to triggering a role-playing operation for a target topic in a message conversation interface, the message conversation interface including at least two members; The display unit is configured to display the messages of the at least two members in the message conversation interface, wherein the messages input by the at least two members are converted into styles corresponding to the roles played by the corresponding members in the target topic.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
13. An electronic device, characterized in that: include: one or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, perform the steps of the method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.