Session-based interaction method and device, computer equipment and storage medium

By introducing a conversation-based interaction method in real-time communication applications, users can dynamically add dressing objects to identity icons by inputting interactive keywords, solving the problems of limited dressing libraries and large resource consumption in traditional methods, achieving more efficient dressing configuration and better user experience.

CN119668445APending Publication Date: 2025-03-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311216073.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When traditional instant messaging applications decorate identity icons, users need to choose from a limited decoration library, resulting in invalid decoration push, increasing resource consumption of hardware devices.

Method used

It provides a session-based interaction method, which dynamically adds related dress objects to the identity icon of the session object by displaying session messages and identity icons, and reduces the selection of invalid dress objects in response to the interaction keywords entered by the user.

Benefits of technology

It effectively reduces the resource consumption of hardware equipment that supports the addition of dress items, improves the efficiency and user experience of dress configuration, and avoids the push of invalid dress items.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668445A_ABST
    Figure CN119668445A_ABST
Patent Text Reader

Abstract

The invention relates to a session-based interaction method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: displaying at least one session message, and displaying an identity icon corresponding to a session object sending the session message corresponding to the session message; displaying a dress-up configuration area, wherein the dress-up configuration area comprises a first display area and a second display area; displaying at least one input interaction keyword in a second display area in response to an input triggering operation for inputting the interaction keyword triggered in the first display area; and in the case of displaying the at least one interaction keyword, in response to a session object specifying operation for specifying the session object, adding a dress-up object for an identity icon corresponding to the session object specified by the session object specifying operation, the dress-up object being related to the at least one interaction keyword. By adopting the method, the resource consumption of hardware equipment supporting dress-up adding can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a session-based interaction method, apparatus, computer device, storage medium, and computer program product. Background Art

[0002] With the development of computer technology, instant messaging applications have emerged. Since then, instant messaging applications have become an indispensable communication tool in people's lives.

[0003] In traditional technology, in order to meet the personalized requirements of different objects for their own or the objects they interact with, a variety of widgets are usually provided in instant messaging applications. The objects can choose according to their personal preferences to decorate their own or the objects they interact with, such as selecting one or more identity icon decorations (such as widgets) to personalize the identity icons of themselves or the objects they interact with.

[0004] However, in the traditional method, objects can only be selected from the decoration library provided by the instant messaging application. The decorations provided by the decoration library are usually not what the user expects to choose. There are a large number of invalid decorations pushed for selection, which increases the resource consumption of the hardware devices that support adding decorations. Summary of the invention

[0005] Based on this, it is necessary to provide a session-based interaction method, apparatus, computer device, computer-readable storage medium and computer program product that can reduce resource consumption of hardware devices that support adding cosmetic items in order to address the above technical issues.

[0006] In a first aspect, the present application provides a session-based interaction method. The method comprises:

[0007] Displaying at least one conversation message, and corresponding to the conversation message, displaying an identity icon corresponding to the conversation object that sent the conversation message;

[0008] Display a dress-up configuration area, wherein the dress-up configuration area includes a first display area and a second display area;

[0009] In response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area;

[0010] When the at least one interaction keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration is related to the at least one interaction keyword.

[0011] In a second aspect, the present application also provides a session-based interaction device. The device includes:

[0012] A message display module, used to display at least one conversation message, and corresponding to the conversation message, display an identity icon corresponding to the conversation object that sent the conversation message;

[0013] A dress configuration module, used to display a dress configuration area, wherein the dress configuration area includes a first display area and a second display area;

[0014] A keyword display module, configured to display at least one interactive keyword input in the second display area in response to an input triggering operation of inputting an interactive keyword triggered in the first display area;

[0015] The decoration object display module is used to add decoration objects to the identity icon corresponding to the session object specified by the session object specifying operation when displaying the at least one interactive keyword, in response to the session object specifying operation for specifying the session object, and the decoration objects are related to the at least one interactive keyword.

[0016] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0017] Displaying at least one conversation message, and corresponding to the conversation message, displaying an identity icon corresponding to the conversation object that sent the conversation message;

[0018] Display a dress-up configuration area, wherein the dress-up configuration area includes a first display area and a second display area;

[0019] In response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area;

[0020] When the at least one interaction keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration is related to the at least one interaction keyword.

[0021] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0022] Displaying at least one conversation message, and corresponding to the conversation message, displaying an identity icon corresponding to the conversation object that sent the conversation message;

[0023] Display a dress-up configuration area, wherein the dress-up configuration area includes a first display area and a second display area;

[0024] In response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area;

[0025] When the at least one interaction keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration is related to the at least one interaction keyword.

[0026] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0027] Displaying at least one conversation message, and corresponding to the conversation message, displaying an identity icon corresponding to the conversation object that sent the conversation message;

[0028] Display a dress-up configuration area, wherein the dress-up configuration area includes a first display area and a second display area;

[0029] In response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area;

[0030] When the at least one interaction keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration is related to the at least one interaction keyword.

[0031] The above-mentioned conversation-based interaction method, apparatus, computer equipment, storage medium and computer program product display at least one conversation message, and corresponding to the conversation message, display the identity icon corresponding to the conversation object that sends the conversation message, so as to realize the display of the conversation-based interaction scene, and by displaying the dressing configuration area, the dressing configuration area includes a first display area and a second display area, so as to realize the guidance of the dressing configuration, and by responding to the input trigger operation of the input interaction keyword triggered in the first display area, displaying at least one input interaction keyword in the second display area, so as to realize the intuitive display of the dressing configuration, and then, when displaying at least one interaction keyword, in response to the conversation object specifying operation for specifying the conversation object, adding a decoration object to the identity icon corresponding to the conversation object specified by the conversation object specifying operation, the decoration object is related to at least one interaction keyword, and by combining the at least one interaction keyword input to add the decoration object to the identity icon, it is possible to avoid the selection and push of invalid decoration objects, and reduce the resource consumption of the hardware device supporting the addition of decoration objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is an application environment diagram of a session-based interaction method in an embodiment;

[0033] Figure 2 is a flow chart of a session-based interaction method in one embodiment;

[0034] Figure 3 A schematic diagram showing at least one conversation message and a corresponding identity icon in one embodiment;

[0035] Figure 4 A schematic diagram showing a dressing configuration area in one embodiment;

[0036] Figure 5 A schematic diagram showing a dressing configuration area in another embodiment;

[0037] Figure 6 A schematic diagram showing at least one interactive keyword in an embodiment;

[0038] Figure 7 A schematic diagram showing at least one reserved keyword in an embodiment;

[0039] Figure 8 A schematic diagram of specifying a session object in one embodiment;

[0040] Fig. 9 A schematic diagram of specifying a session object in another embodiment;

[0041] Fig.10 A schematic diagram of specifying a session object in yet another embodiment;

[0042] Fig.11 A schematic diagram of inputting interactive keywords in one embodiment;

[0043] Fig.12 A schematic diagram of cosmetic items added to identity icons corresponding to multiple designated conversation objects in one embodiment;

[0044] Fig.13 A schematic diagram showing a dressing configuration area in yet another embodiment;

[0045] Fig.14 is a schematic diagram of an interaction process of a session-based interaction method in an embodiment;

[0046] Fig.15 A schematic diagram of a process of generating a costume of an identity icon corresponding to a specified session object in one embodiment;

[0047] Fig.16 A schematic diagram of a process for processing at least one interactive keyword in one embodiment;

[0048] Fig.17 A schematic diagram of a process of generating a costume in one embodiment;

[0049] Fig.18 is a structural block diagram of a session-based interaction device in one embodiment;

[0050] Fig.19 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0052] The session-based interaction method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown in the figure, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other servers. The terminal 102 is installed with a client for implementing session-based interaction, which can be an instant messaging application, a web client, or a sub-application running in the operating environment of the parent application. The terminal 102 displays at least one conversation message, and corresponding to the conversation message, displays the identity icon corresponding to the conversation object that sends the conversation message, displays a dressing configuration area, the dressing configuration area includes a first display area and a second display area, and in response to an input trigger operation of inputting an interactive keyword triggered in the first display area, displays at least one interactive keyword input in the second display area, and in response to a conversation object specifying operation for specifying a conversation object, sends a costume generation request to the server 104 based on at least one interactive keyword when displaying at least one interactive keyword, receives a costume identification fed back by the server 104 based on the costume generation request, obtains the costume using the costume identification, and adds the costume to the identity icon corresponding to the conversation object specified by the conversation object specifying operation, wherein the costume is related to at least one interactive keyword.

[0053] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0054] In one embodiment, Figure 2 As shown, a session-based interaction method is provided, which can be executed by a terminal or a server alone, or by a terminal and a server in collaboration. In the embodiment of the present application, the method is applied to a terminal as an example for explanation, and includes the following steps:

[0055] Step 202: display at least one conversation message, and corresponding to the conversation message, display the identity icon corresponding to the conversation object that sent the conversation message.

[0056] Among them, the conversation message refers to the message sent between conversation objects for communication. The conversation message can be at least one of text, emoticon, a message after combining text and emoticon, a file, and a transfer message. Schematically, the conversation message is displayed in a message bubble. The message bubble refers to a display unit that carries the conversation message, usually in the shape of a bubble. The conversation object refers to the object of the conversation. The conversation refers to the way of communication between at least two conversation objects. The conversation between two conversation objects can be called a general conversation, and the conversation between three or more conversation objects can be called a group conversation. The identity icon refers to an icon that represents the identity of the conversation object. For example, the identity icon can specifically refer to the avatar of the conversation object. The identity icon can be pre-configured by the corresponding conversation object according to his or her own preferences.

[0057] Specifically, in the interactive process based on the session, the terminal will display at least one session message, and corresponding to the session message, display the identity icon corresponding to the session object that sent the session message. In a specific application, the session message sent by the session object using the terminal and the corresponding identity icon and the received session message and the corresponding identity icon will be displayed on both sides. In a specific application, such as Figure 3 As shown, in a group conversation, the conversation messages sent by the conversation object using the terminal and the corresponding identity icons can be displayed on the right, while the received conversation messages and the corresponding identity icons can be displayed on the left. Figure 3 As shown, corresponding to the received session message, while displaying the session message, the terminal also displays the session nickname of the session object that sent the session message ( Figure 3 Indicated by X and XX in the text).

[0058] Step 204: displaying a dress-up configuration area, where the dress-up configuration area includes a first display area and a second display area.

[0059] The dress configuration area is an area for configuring the dress identity icon, and includes a first display area and a second display area. The first display area is used to describe the dress object to be generated, and the second display area is used to display the input interaction keywords.

[0060] Specifically, when at least one conversation message is displayed and the identity icon corresponding to the conversation object that sent the conversation message is displayed corresponding to the conversation message, the terminal will display a dress configuration area, which includes a first display area and a second display area. The conversation object using the terminal can describe the dress to be generated by inputting interactive keywords in the first display area, and the input interactive keywords will be displayed in the second display area. In a specific application, such as Figure 4As shown, the costume configuration area can be located below the identity icon corresponding to the at least one displayed conversation message and the conversation object that sent the conversation message, and in the displayed costume configuration area, the first display area is located above the second display area. A prompt message "Please enter keywords" is displayed in the first display area, instructing the conversation object using the terminal to describe the costume to be generated by entering the interactive keywords.

[0061] In a specific application, the terminal displays an identity icon decoration entrance, which is used to indicate the decoration of the displayed identity icon. When the session object using the terminal chooses to dress up the displayed identity icon, a decoration trigger operation for the identity icon decoration entrance can be initiated. The terminal responds to the decoration trigger operation for the identity icon decoration entrance and displays a decoration configuration area for dressing the identity icon.

[0062] In a specific application, such as Figure 5 As shown, below the identity icon corresponding to the at least one displayed conversation message and the conversation object that sent the conversation message, a function panel entrance is displayed. In response to a trigger operation on the function panel entrance, the terminal will display a function panel, in which entrances to available functions are displayed, including an identity icon decoration entrance and other function entrances (such as Figure 5 The function entrance 1 is shown. When the session object using the terminal chooses to dress up the displayed identity icon, a dress-up trigger operation for the identity icon dress-up entrance will be initiated. In response to the dress-up trigger operation for the identity icon dress-up entrance, the terminal will display a dress-up configuration area for dressing up the identity icon.

[0063] Step 206: In response to the input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area.

[0064] Among them, the interactive keywords refer to keywords used to describe the dressing objects of the identity icons, and can be input according to the actual application scenarios. For example, the interactive keywords can specifically refer to specific dressing elements, such as cat ears, hats, etc. For another example, the interactive keywords can specifically refer to dressing reference objects, such as characters appearing in movies and TV series, etc. For another example, the interactive keywords can specifically refer to dressing styles, such as cute, romantic, etc.

[0065] Specifically, when the conversation object using the terminal needs to dress up the displayed identity icon, an input trigger operation of inputting an interactive keyword is triggered in the first display area. In response to the input trigger operation of inputting an interactive keyword triggered in the first display area, the terminal can obtain at least one interactive keyword input, so that the at least one interactive keyword input can be displayed in the second display area. In a specific application, the input trigger operation can be one of a single-click operation, a double-click operation, and a long-press operation on the first display area.

[0066] In a specific application, taking at least one interactive keyword input as "cat ears, hat, XXXX, romance" as an example, Figure 6 As shown, when the first display area and the second display area are displayed, the terminal can obtain the four interactive keywords inputted "cat ears, hat, XXXX, romance" in response to the input trigger operation of the input interactive keywords triggered in the first display area, so that the four interactive keywords inputted "cat ears, hat, XXXX, romance" can be displayed in the second display area.

[0067] In a specific application, when the conversation object using the terminal needs to dress up the displayed identity icon, an input trigger operation for inputting interactive keywords will be triggered in the first display area. In response to the input trigger operation for inputting interactive keywords triggered in the first display area, the terminal will display a keyword input control for inputting interactive keywords. The conversation object using the terminal can input interactive keywords through the keyword input control.

[0068] Step 208, in the case of displaying at least one interactive keyword, in response to a session object specifying operation for specifying a session object, adding a decoration item to the identity icon corresponding to the session object specified by the session object specifying operation, wherein the decoration item is related to the at least one interactive keyword.

[0069] Among them, decorations refer to decorative items that surround the edge of the identity icon and are hollow in the middle.

[0070] Specifically, when at least one interactive keyword is displayed, the session object of the terminal can be used to trigger a session object designation operation for specifying the session object, so as to add decorations to the identity icon corresponding to the specified session object. In response to the session object designation operation for specifying the session object, the terminal will add decorations to the identity icon corresponding to the session object specified by the session object designation operation, and the decorations are related to at least one interactive keyword.

[0071] In a specific application, the session object designation operation can be a voice designation operation, that is, the session object of the terminal can be used to designate the session object by voice control. For example, when the session object needs to be designated, the session object of the terminal can output a voice "select session object A as the designated session object", and the terminal will add a decoration to the identity icon corresponding to the session object A in response to the voice designation operation. In a specific application, when at least one interactive keyword is displayed, the terminal displays a session object designation control, and the session object of the terminal can use the session object designation control to trigger the session object designation operation for designating the session object.

[0072] In a specific application, in response to the session object designation operation for designating a session object, the terminal first determines the session object designated by the session object designation operation, generates a decoration for the identity icon corresponding to the designated session object based on at least one interactive keyword, and then adds the decoration to the identity icon corresponding to the designated session object. It should be noted that in the traditional method, although only simple decorations are provided to the session object for selection, before providing the decorations, a large amount of human resources and equipment resources are consumed because a large amount of information needs to be collected to predict the preferences of the session object, and then appropriate elements are selected from a large amount of pendant elements in combination with the preferences of the session object to design the decorations. However, the method of timely generating the decoration for the identity icon corresponding to the designated session object based on at least one interactive keyword in this embodiment can greatly reduce the unnecessary consumption of human resources and equipment resources because the decorations are generated in a timely manner.

[0073] In a specific application, the terminal responds to a session object designation operation for specifying a session object, and will first determine the session object specified by the session object designation operation, and based on at least one interactive keyword, obtain the decoration of the identity icon corresponding to the specified session object from the server, and then add the decoration to the identity icon corresponding to the specified session object.

[0074] The above-mentioned session-based interaction method displays at least one session message, and corresponding to the session message, displays the identity icon corresponding to the session object that sends the session message, so as to realize the display of the session-based interaction scene. By displaying the dressing configuration area, the dressing configuration area includes the first display area and the second display area, so as to realize the guidance of the dressing configuration. By responding to the input trigger operation of the input interaction keyword triggered in the first display area, the input at least one interaction keyword is displayed in the second display area, so as to realize the intuitive display of the dressing configuration. Then, when displaying at least one interaction keyword, in response to the session object specifying operation for specifying the session object, a dressing object can be added to the identity icon corresponding to the session object specified by the session object specifying operation. The dressing object is related to the at least one interaction keyword. By combining the at least one interaction keyword input to add the dressing object to the identity icon, it is possible to avoid the selection and push of invalid dressing objects and reduce the resource consumption of the hardware device supporting the addition of dressing objects.

[0075] In one embodiment, when at least one interactive keyword is displayed, in response to a session object specifying operation for specifying a session object, adding a decoration to an identity icon corresponding to the session object specified by the session object specifying operation includes:

[0076] In a case where at least one interactive keyword is displayed, in response to a deletion operation for deleting the interactive keyword triggered in the second display area, displaying at least one reserved keyword in the second display area;

[0077] When at least one reserved keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration item is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration item is related to the at least one reserved keyword.

[0078] The retained keywords refer to the interaction keywords that are retained after responding to the deletion operation.

[0079] Specifically, when at least one interactive keyword is displayed, the conversation object using the terminal can partially delete at least one interactive keyword that has been input in the second display area to adjust the interactive keyword. In response to a deletion operation for deleting an interactive keyword triggered in the second display area, the terminal cancels the interactive keyword to be deleted indicated by the deletion operation in the second display area, and displays at least one reserved keyword, that is, an interactive keyword that does not need to be deleted.

[0080] In a specific application, when at least one interactive keyword is displayed, a delete control for deleting the interactive keyword is displayed in the second display area, and the delete operation for deleting the interactive keyword can be specifically a trigger operation for the delete control. In a specific application, taking at least one interactive keyword input as "cat ears, hat, XXXX, romance" as an example, Figure 7 As shown, after each interactive keyword is displayed, a corresponding deletion control for deleting the interactive keyword is displayed. In response to the triggering operation for the deletion control, the terminal can delete the interactive keyword corresponding to the deletion control. Figure 7 As shown, if the session object of the terminal is used to initiate a trigger operation on the delete control displayed after "cat ears", the terminal will cancel the display of the interactive keyword "cat ears" and display at least one reserved keyword, namely "hat, XXXX, romance".

[0081] Specifically, when at least one reserved keyword is displayed, the session object of the terminal can be used to trigger a session object designation operation for specifying a session object, so as to add decorations to the identity icon corresponding to the specified session object. In response to the session object designation operation for specifying a session object, the terminal will add decorations to the identity icon corresponding to the session object specified by the session object designation operation, and the decorations are related to at least one reserved keyword.

[0082] In a specific application, the terminal responds to a session object designation operation for designating a session object, and will first determine the session object designated by the session object designation operation, generate a decoration for the identity icon corresponding to the designated session object based on at least one reserved keyword, and then add the decoration to the identity icon corresponding to the designated session object.

[0083] In a specific application, the terminal responds to a session object designation operation for specifying a session object, and will first determine the session object specified by the session object designation operation, and based on at least one interactive keyword, obtain the decoration of the identity icon corresponding to the specified session object from the server, and then add the decoration to the identity icon corresponding to the specified session object.

[0084] In this embodiment, by responding to a deletion operation for deleting an interactive keyword triggered in the second display area, the input interactive keyword can be adjusted so that only at least one reserved keyword is displayed. By combining the adjusted at least one reserved keyword, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation. Compared with a method of directly adding decorations to the identity icon in combination with the at least one interactive keyword input, timely adjustment can be made before adding decorations to the identity icon, so that the added decorations are more in line with the adding requirements, invalid decoration selection push can be avoided, and resource consumption of hardware devices supporting the addition of decorations is reduced.

[0085] In one embodiment, in response to a session object specifying operation for specifying a session object, adding a decoration to an identity icon corresponding to the session object specified by the session object specifying operation includes:

[0086] Display the specified controls of the session object;

[0087] In response to a touch operation on a control specified by a session object, displaying the control specified by the session object to move along a touch track indicated by the touch operation;

[0088] In response to a touch-end operation on a session object designation control, the session object corresponding to the identity icon passed by the touch track is taken as the designated session object, and a decoration object is added to the identity icon corresponding to the designated session object.

[0089] Specifically, when at least one interactive keyword or at least one reserved keyword is displayed, the terminal will display a session object designation control for designating a session object. The session object of the terminal can be used to trigger a session object designation operation for designating a session object by using the session object designation control. Specifically, the session object of the terminal can be used to trigger a touch operation on the session object designation control. In response to the touch operation on the session object designation control, the terminal will display the session object designation control moving along the touch track indicated by the touch operation. When the designation is completed, the session object of the terminal will trigger a touch end operation on the session object designation control. In response to the touch end operation on the session object designation control, the terminal will use the session object corresponding to the identity icon passed by the touch track as the designated session object and add a decoration to the identity icon corresponding to the designated session object.

[0090] In a specific application, the touch operation for the control designated by the session object may be a drag operation for the control designated by the session object, and the terminal will display the movement of the control designated by the session object along the dragging track indicated by the dragging operation. When the designation is completed, the touch end operation for the control designated by the session object is triggered by using the session object of the terminal, and may be releasing the control designated by the session object. When the session object of the terminal is used to release the control designated by the session object, the terminal will use the session object corresponding to the identity icon passed by the dragging track as the designated session object, and add a decoration to the identity icon corresponding to the designated session object.

[0091] In a specific application, such as Figure 8 As shown, the session object specifies that the control can be displayed on at least one interactive keyword (such as Figure 8 The following table shows the four interactive keywords "cat ears, hat, XXXX, romance" (such as Figure 8The terminal displays a magic wand, and above the first display area, a prompt is displayed: "After entering the keyword, press and hold the magic wand and drag it to the identity icon to send the costume." Using the terminal's session object, you can initiate a drag operation on the session object's designated control, and the terminal will display the session object's designated control moving along the dragging track indicated by the dragging operation. When the designation is completed, the terminal's session object will release the session object's designated control, and the terminal will send the session object corresponding to the identity icon that the dragging track passes through (such as Figure 8 The example includes session object 1, session object 2 and session object 3 as the designated session object, and adds decorations to the identity icons corresponding to the designated session objects. After the addition is successful, the terminal will display a prompt indicating that the addition is successful. Figure 8 "XXXX sent a costume to XX and three other people" and "Sent successfully".

[0092] In a specific application, if the dragging track indicated by the dragging operation is as follows Fig. 9 As shown, when the session object of the terminal is released and the session object designated control is released, the terminal will drag the session object corresponding to the identity icon passed by the track (such as Fig. 9 The example includes session object 3) as a designated session object, and adds a decoration to the identity icon corresponding to the designated session object.

[0093] In this embodiment, by displaying the session object designation control, the session object can be designated by using the session object designation control. Specifically, the session object can be designated by sequentially responding to the touch operation on the session object designation control and the touch end operation displayed during the process. The session object corresponding to the identity icon passed by the touch track is used as the designated session object, and decorations are added to the identity icon corresponding to the designated session object.

[0094] In one embodiment, in response to a session object specifying operation for specifying a session object, adding a decoration to an identity icon corresponding to the session object specified by the session object specifying operation includes:

[0095] Display the specified controls of the session object;

[0096] In response to a designated trigger operation on a session object designation control, displaying a session object designation prompt, the session object designation prompt being used to prompt selection of an identity icon for session object designation;

[0097] In response to a selection operation on at least one identity icon, highlighting the identity icon indicated by the selection operation;

[0098] In response to the designated end operation on the session object designated control, the session object corresponding to the identity icon indicated by the selection operation is taken as the designated session object, and a decoration object is added to the identity icon corresponding to the designated session object.

[0099] Specifically, when at least one interactive keyword or at least one reserved keyword is displayed, the terminal will display a session object designation control for designating a session object. Using the session object of the terminal, the session object designation control can be used to trigger the session object designation operation for designating a session object. Specifically, using the session object of the terminal, a designated trigger operation for the session object designation control can be triggered. In response to the designated trigger operation for the session object designation control, the terminal will display a session object designation prompt, which is used to prompt the selection of an identity icon for session object designation. Using the session object of the terminal, the session object can be designated by initiating a selection operation for at least one identity icon. In response to the selection operation for at least one identity icon, the terminal will highlight the identity icon indicated by the selection operation. Using the session object of the terminal, after confirming that the highlighted identity icon is the identity icon to be selected, the designated end operation for the session object designation control can be triggered. In response to the designated end operation for the session object designation control, the terminal will use the session object corresponding to the identity icon indicated by the selection operation as the designated session object, and add a decoration to the identity icon corresponding to the designated session object.

[0100] In a specific application, the specified trigger operation for the specified control of the session object can be one of a single click operation, a double click operation, and a long press operation for the specified control of the session object. The specified end operation for the specified control of the session object can also be one of a single click operation, a double click operation, and a long press operation for the specified control of the session object.

[0101] In a specific application, take the example of specifying the trigger operation as a single-click operation and specifying the end operation as a single-click operation. Fig.10 As shown, the session object specifies that the control can be displayed on at least one interactive keyword (such as Fig.10 As shown in the figure, below the four interactive keywords "cat ears, hat, XXXX, romance", the object of the terminal can trigger a click operation on the control specified for the session object. In response to the click operation on the control specified for the session object, the terminal will display the session object specified prompt (such as Fig.10As shown in the figure, after entering the keyword, the costume can be sent by selecting the identity icon through the magic wand). The session object designation prompt is used to prompt the user to select the identity icon to designate the session object. The session object of the terminal can be designated by initiating a selection operation for at least one identity icon. In response to the selection operation for at least one identity icon, the terminal will highlight the identity icon indicated by the selection operation (such as Fig.10 The terminal uses a session object of the terminal, and after confirming that the highlighted identity icon is the identity icon you want to select, you can trigger a single-click operation on the control specified for the session object again. In response to the single-click operation on the control specified for the session object, the terminal will use the session object corresponding to the identity icon indicated by the selection operation as the designated session object, and add decorations to the identity icon corresponding to the designated session object.

[0102] In this embodiment, by displaying the session object designation control, the session object can be designated by using the session object designation control. Specifically, by sequentially responding to a designation trigger operation on the session object designation control, a selection operation on at least one identity icon, and a designation end operation on the session object designation control, the session object can be designated by using the selection of the identity icon, the session object corresponding to the identity icon indicated by the selection operation is used as the designated session object, and decorations are added to the identity icon corresponding to the designated session object.

[0103] In one embodiment, in response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area includes:

[0104] In response to an input trigger operation of inputting an interactive keyword triggered in the first display area, a keyword input control is displayed; the keyword input control is used to input the interactive keyword;

[0105] In response to an input operation of an interactive keyword triggered in the keyword input control, at least one interactive keyword input is displayed in the second display area.

[0106] Specifically, in response to the input triggering operation of inputting the interactive keyword triggered in the first display area, the terminal will display the keyword input control, and the interactive keyword can be input using the terminal's session object. When the keyword input control triggers the input operation of the interactive keyword using the terminal's session object, the terminal will display at least one interactive keyword input in the second display area in response to the input operation of the interactive keyword triggered in the keyword input control.

[0107] In a specific application, the input trigger operation can be one of a single click operation, a double click operation, and a long press operation on the first display area. The keyword input control can be a virtual keyboard, and the session object using the terminal can use the virtual keyboard to input the interactive keyword. In a specific application, taking the input trigger operation as a single click operation on the first display area as an example, Fig.11 As shown, in response to a single click operation on the first display area, the terminal will pull up a virtual keyboard, and the conversation object using the terminal can use the virtual keyboard to input the interactive keywords. In the process of using the virtual keyboard to input the interactive keywords, the terminal will display the content inputted through the virtual keyboard in real time (such as Fig.11 The “cat ears” above the virtual keyboard are shown). When using the conversation object of the terminal, if it is confirmed that the content input through the virtual keyboard will be used as the interactive keyword, a trigger operation for the “OK” control on the virtual keyboard can be initiated. In response to the trigger operation for the “OK” control, the terminal will display the input interactive keyword “cat ears” in the second display area.

[0108] It should be noted that the interactive keywords can be entered in sequence, and the entered interactive keywords will be displayed in the second display area. Assume that before the interactive keyword "cat ears" is entered, the interactive keywords entered are "hat", "XXXX" and "romance", then after the interactive keyword "cat ears" is entered, the entered interactive keywords displayed in the second display area are "cat ears", "hat", "XXXX" and "romance".

[0109] In this embodiment, by displaying a keyword input control in response to an input trigger operation, it is possible to guide the use of the keyword input control to implement the input of interactive keywords, and then in response to the input operation of the interactive keyword triggered by the keyword input control, at least one input interactive keyword can be obtained and displayed in the second display area.

[0110] In one embodiment, the decoration added to the identity icon corresponding to the specified conversation object is related to at least one of the identity icon or identity information corresponding to the specified conversation object.

[0111] The identity information refers to information used to describe the identity characteristics of the specified conversation object. For example, the identity information may specifically be information used to describe the gender of the specified conversation object. For another example, the identity information may specifically be information used to describe the age of the specified conversation object.

[0112] Specifically, the decoration added to the identity icon corresponding to the specified session object is related to at least one of the identity icon or identity information corresponding to the specified session object. In a specific application, the decoration added to the identity icon corresponding to the specified session object is related to the identity icon corresponding to the specified session object. The correlation here can be that the color of the decoration is the same as that of the identity icon, or the position of the decoration is associated with the position of the main content in the identity icon. For example, when the identity icon is cyan, the decoration can be mainly in a similar green color. For another example, when the main content of the identity icon is a facial image and the head is turned to the left, the decoration can be located to the right of the identity icon.

[0113] In a specific application, the decorations added to the identity icon corresponding to the specified session object are related to the identity information corresponding to the specified session object. The correlation here refers to the presence of specific elements associated with the identity information in the decorations. For example, when the identity information is information used to describe the gender of the specified session object, different genders are associated with different specific elements. For example, for men, the associated specific elements may be balls, specified male colors, etc. For women, the associated specific elements may be accessories, specified female colors, etc. Among them, the specified male colors and the specified female colors can be configured according to the actual application scenario. For example, the specified male color may be black, and the specified female color may be pink.

[0114] In this embodiment, the costumes added to the identity icon corresponding to the specified session object are related to at least one of the identity icon or identity information corresponding to the specified session object, which can better integrate the costumes with the identity icon, ensure the uniqueness, appropriateness and comfort of the generated costumes, improve the interactivity and fun in the conversation, avoid pushing invalid costume selections, and reduce resource consumption of hardware devices that support the addition of costumes.

[0115] In one embodiment, the method further comprises:

[0116] When there are multiple designated conversation objects, the decorations added to the identity icons corresponding to the multiple designated conversation objects have the same or related visual elements.

[0117] Among them, the same visual element refers to the same kind of visual element, and the associated visual elements refer to visual elements with an associated relationship, that is, groups of visual elements that are associated with each other. For example, the associated visual elements can specifically be visual elements belonging to the same category. The categories in this embodiment can be configured according to the actual application scenario information. For example, the categories here can specifically be abstract categories such as style, or other specific categories.

[0118] Specifically, when there are multiple designated conversation objects, the decorations added to the identity icons corresponding to the multiple designated conversation objects have the same or related visual elements. In a specific application, the same visual element is a hat as an example. Fig.12 The decoration items added by the identity icons corresponding to the conversation object 1, the conversation object 2 and the conversation object 3 can be as follows Fig.12 All shown are hats.

[0119] In this embodiment, when there are multiple designated session objects, it is possible to add costumes with the same or related visual elements to the identity icons corresponding to the multiple designated session objects, that is, to add costumes from the same series, thereby improving the interactivity and fun in the conversation, avoiding the push of invalid costume selections, and reducing the resource consumption of hardware devices that support the addition of costumes.

[0120] In one embodiment, the session-based interaction method further includes:

[0121] Based on at least one interactive keyword and a pre-configured number of costumes, a costume of an identity icon corresponding to a designated conversation object is generated.

[0122] The number of pre-configured costumes refers to the number of pre-configured costumes that need to be generated for the identity icon corresponding to the specified session object, and can be configured according to actual application scenarios.

[0123] Specifically, in response to a session object designation operation for designating a session object, the terminal will first generate a decoration for the identity icon corresponding to the designated session object based on at least one interactive keyword and a preconfigured number of decorations, and then add a decoration to the identity icon corresponding to the designated session object, where the decoration is related to at least one interactive keyword.

[0124] In a specific application, the terminal will perform text feature extraction on at least one interactive keyword to obtain text features representing at least one interactive keyword, and then generate a pre-configured number of decorative objects based on the obtained text features, and use the pre-configured number of decorative objects as the decorative objects of the identity icon corresponding to the specified session object.

[0125] In a specific application, the terminal can use a pre-trained deep learning model to implement the above-mentioned generation of the costume of the identity icon corresponding to the specified session object based on at least one interactive keyword and the pre-configured number of costumes. The pre-trained deep learning model can be configured according to the actual application scenario, and mainly includes two parts, one is a feature extraction network for text feature extraction, and the other is an image generation network for generating costumes based on text features. For example, the image generation network here can be a generative adversarial network, a network based on a diffusion model, etc.

[0126] In a specific application, when performing text feature extraction on at least one interactive keyword, the terminal will first review the at least one interactive keyword to determine whether there are abnormal keywords in the at least one interactive keyword. When there are abnormal keywords in the at least one interactive keyword, the terminal will first filter out the abnormal keywords and then perform text feature extraction.

[0127] In a specific application, when generating a preconfigured number of costumes based on the obtained text features, the terminal will first obtain multiple candidate costume images that are larger than the preconfigured number of costumes, and then perform image anomaly detection on the multiple candidate costume images respectively, and select the preconfigured number of costumes from the candidate costume images that have passed the detection as the costumes for the specified session object.

[0128] In this embodiment, by combining the at least one interactive keyword input and the pre-configured number of costumes to add costumes to the identity icon, invalid costume selection push can be avoided, and resource consumption of hardware devices supporting costume addition can be reduced.

[0129] In one embodiment, based on at least one interactive keyword and a preconfigured number of costumes, generating a costume of an identity icon corresponding to a specified conversation object includes:

[0130] Performing icon element analysis on the identity icon corresponding to the specified session object to obtain a set of icon information keywords describing the identity icon;

[0131] Based on at least one interaction keyword, an icon information keyword set and a pre-configured number of costumes, a costume of the identity icon corresponding to the specified session object is generated.

[0132] Among them, icon element analysis refers to parsing the identity icon to extract a set of icon information keywords that describe the identity icon. The icon information keyword set includes at least one icon information keyword, and the icon information keyword refers to a keyword used to describe the key information of the identity icon. For example, the icon information keyword can specifically be a keyword used to describe the icon content of the identity icon, and the icon content here can specifically be at least one of the theme color, main content, environment, and style. For another example, the icon information keyword can specifically be a keyword used to describe the target object in the identity icon, and the target object here can specifically be a facial image. It should be noted that facial images include human face images and animal face images.

[0133] Specifically, in order to improve the compatibility between the generated decorations of the identity icon corresponding to the specified session object and the identity icon, when generating the decorations of the identity icon corresponding to the specified session object, the terminal will first perform icon element analysis on the identity icon corresponding to the specified session object, obtain a set of icon information keywords that describe the identity icon, and then generate the decorations of the identity icon corresponding to the specified session object based on at least one interaction keyword, an icon information keyword set and a pre-configured number of decorations.

[0134] In a specific application, the terminal can analyze the icon elements of the identity icon by means of icon content recognition to obtain a set of icon information keywords that describe the identity icon. In a specific application, icon content recognition includes identifying at least one of the theme color, main content, environment, and style of the identity icon. Among them, the theme color refers to the color that appears in the identity icon and whose color ratio is greater than the preconfigured color ratio threshold. The main content refers to the items that appear in the identity icon and whose image area ratio is greater than the preconfigured area ratio threshold. The environment of the identity icon is used to describe the scene that appears in the identity icon, such as a forest, a river, etc. The style of the identity icon is used to describe the type of the identity icon, which can specifically be one of the preconfigured styles. The preconfigured style can be configured according to the actual application scenario, such as cute style, dark style, funny style, etc.

[0135] In a specific application, the terminal can perform icon element analysis on the identity icon by means of facial recognition to obtain a set of icon information keywords describing the identity icon. That is, the icon element analysis can specifically be analyzing whether there is a facial image in the identity icon.

[0136] In a specific application, the terminal will perform text feature extraction on at least one interactive keyword and icon information keyword set to obtain text features representing at least one interactive keyword and icon information keyword set, and then generate a pre-configured number of costume objects based on the obtained text features, and use the pre-configured number of costume objects as the costume objects of the identity icon corresponding to the specified session object. In a specific application, the terminal can also use a pre-trained deep learning model to implement the above-mentioned generation of the costume objects of the identity icon corresponding to the specified session object based on at least one interactive keyword, icon information keyword set and pre-configured number of costume objects, and the pre-trained deep learning model can be configured according to the actual application scenario.

[0137] In a specific application, when performing text feature extraction on at least one interactive keyword and icon information keyword set, the terminal will first review at least one interactive keyword and icon information keyword set to determine whether there are abnormal keywords in at least one interactive keyword and icon information keyword set. When there are abnormal keywords in at least one interactive keyword and icon information keyword set, the terminal will first filter out the abnormal keywords and then perform text feature extraction.

[0138] In a specific application, when generating a preconfigured number of costumes based on the obtained text features, the terminal will first obtain multiple candidate costume images that are larger than the preconfigured number of costumes, and then perform image anomaly detection on the multiple candidate costume images respectively, and select the preconfigured number of costumes from the candidate costume images that have passed the detection as the costumes for the specified session object.

[0139] In this embodiment, by performing icon element analysis on the identity icon corresponding to the specified session object, a set of icon information keywords describing the identity icon can be obtained. By combining at least one interactive keyword, the icon information keyword set and the pre-configured number of costumes input to add costumes to the identity icon, invalid costume selection and push can be avoided, and resource consumption of hardware devices that support the addition of costumes can be reduced.

[0140] In one embodiment, the identity icon of the specified session object is analyzed for icon elements, and a set of icon information keywords describing the identity icon is obtained, including:

[0141] Performing icon content recognition on the identity icon corresponding to the specified session object to obtain an icon content keyword set describing the icon content;

[0142] Perform facial recognition on the identity icon corresponding to the specified session object, and obtain an icon information keyword set describing the identity icon according to the facial recognition result and the icon content keyword set.

[0143] Specifically, the terminal can obtain an icon content keyword set that describes the icon content by performing icon content recognition on the identity icon corresponding to the specified session object, and can obtain a facial recognition result by performing facial recognition on the identity icon corresponding to the specified session object. Then, based on the facial recognition result and the icon content keyword set, it can obtain an icon information keyword set that describes the identity icon.

[0144] In a specific application, the terminal can use a pre-trained content recognition model to identify the icon content of the identity icon and obtain a set of icon content keywords that describe the icon content. In a specific application, the terminal can use different content recognition models to identify different icon contents. For example, for the theme color, the terminal can use a pre-trained color recognition model for identification. For the main content, the terminal can use a pre-trained target detection model for identification. For the environment, the terminal can use a pre-trained scene recognition model for identification. For the style, the terminal can use a pre-trained style recognition model for identification. It should be noted that the pre-trained content recognition models involved in this embodiment can all be trained according to the actual application scenario.

[0145] In a specific application, the terminal can perform facial recognition on the identity icon through a pre-trained facial recognition model to obtain a facial recognition result. The pre-trained facial recognition model can be trained according to the actual application scenario. It should be noted that when there is a facial image in the identity icon, the facial recognition result obtained is a facial feature keyword. When there is no facial image in the identity icon, the facial recognition result obtained is that there is no facial image.

[0146] In this embodiment, by performing icon content recognition, an icon content keyword set describing the icon content can be obtained, and by performing facial recognition, a facial recognition result can be obtained. Then, based on the facial recognition result and the icon content keyword set, the icon information keyword set describing the identity icon can be determined.

[0147] In one embodiment, according to the facial recognition result and the icon content keyword set, the icon information keyword set describing the identity icon includes:

[0148] When the facial recognition result indicates that a facial image exists, the facial feature keyword set and the icon content keyword set in the facial recognition result are used as the icon information keyword set describing the identity icon;

[0149] When the facial recognition result indicates that there is no facial image, the icon content keyword set is used as the icon information keyword set describing the identity icon.

[0150] Specifically, the terminal will determine whether there is a facial image in the identity icon based on the facial recognition result. When the facial recognition result indicates that there is a facial image, the terminal will use the facial feature keyword set and the icon content keyword set in the facial recognition result as the icon information keyword set describing the identity icon. When the facial recognition result indicates that there is no facial image, the terminal will directly use the icon content keyword set as the icon information keyword set describing the identity icon. In this way, the facial recognition result can be referenced and combined with the icon content keyword information to achieve the determination of the icon information keyword set describing the identity icon.

[0151] In one embodiment, based on at least one interaction keyword, an icon information keyword set, and a preconfigured number of costumes, generating a costume of an identity icon corresponding to a specified session object includes:

[0152] Get the identity information corresponding to the specified session object;

[0153] Based on at least one interaction keyword, an icon information keyword set, identity information, and a pre-configured number of costumes, a costume object of the identity icon corresponding to the specified session object is generated.

[0154] Specifically, when generating the decoration of the identity icon corresponding to the specified session object, the terminal will first obtain the identity information corresponding to the specified session object, and then generate the decoration of the identity icon corresponding to the specified session object in combination with at least one interactive keyword, the icon information keyword set, the identity information and the pre-configured decoration number. In a specific application, the terminal will extract text features from at least one interactive keyword, the icon information keyword set and the identity information to obtain text features representing at least one interactive keyword, the icon information keyword set and the identity information, and then generate the decoration of the pre-configured decoration number based on the obtained text features, and use the decoration of the pre-configured decoration number as the decoration of the identity icon corresponding to the specified session object.

[0155] In a specific application, the terminal can use a pre-trained deep learning model to implement the above-mentioned generation of identity icon decorations corresponding to the specified session object based on at least one interactive keyword, a set of icon information keywords, identity information and a pre-configured number of decorations. The pre-trained deep learning model can be configured according to the actual application scenario.

[0156] In this embodiment, by combining at least one interactive keyword, icon information keyword set, identity information and pre-configured costume number input to add costumes to the identity icon, invalid costume selection push can be avoided and resource consumption of hardware devices supporting costume addition can be reduced.

[0157] In one embodiment, based on at least one interaction keyword, an icon information keyword set, identity information, and a pre-configured number of costumes, generating a costume of an identity icon corresponding to a specified session object includes:

[0158] When the interaction keyword supplementation condition is met, the interaction keyword is supplemented to obtain at least one supplementary keyword, and an interaction keyword set is obtained based on the at least one interaction keyword and the at least one supplementary keyword;

[0159] Based on the interaction keyword set, the icon information keyword set, the identity information and the number of pre-configured costumes, a costume object of the identity icon corresponding to the specified session object is generated.

[0160] Among them, the interactive keyword supplementary condition refers to the condition for supplementing the interactive keyword, which can be configured according to the actual application scenario.

[0161] Specifically, when generating the decoration object of the identity icon corresponding to the specified session object, the terminal will first determine whether the interactive keyword supplement condition is met based on the number of at least one interactive keyword and at least one of the pre-configured decoration modes. When the interactive keyword supplement condition is met, the interactive keyword is first supplemented to obtain at least one supplementary keyword. Based on at least one interactive keyword and at least one supplementary keyword, an interactive keyword set is obtained. Then, based on the interactive keyword set, the icon information keyword set, the identity information and the pre-configured decoration number, the decoration object of the identity icon corresponding to the specified session object is generated.

[0162] In a specific application, the terminal will perform text feature extraction on the interaction keyword set, icon information keyword set and identity information to obtain text features representing the interaction keyword set, icon information keyword set and identity information, and then generate a pre-configured number of decorative objects based on the obtained text features, and use the pre-configured number of decorative objects as the decorative objects of the identity icon corresponding to the specified session object.

[0163] In a specific application, the terminal can use a pre-trained deep learning model to implement the above-mentioned generation of identity icon decorations corresponding to the specified session object based on the interaction keyword set, icon information keyword set, identity information and pre-configured number of decorations. The pre-trained deep learning model can be configured according to the actual application scenario.

[0164] In this embodiment, when the interactive keyword supplementation conditions are met, the interactive keywords are supplemented, which can enrich the interactive keywords. Then, by combining the interactive keyword set, the icon information keyword set, the identity information and the pre-configured number of costumes to add costumes to the identity icon, it is possible to avoid the selection and push of invalid costumes and reduce the resource consumption of hardware devices that support the addition of costumes.

[0165] In one embodiment, the interactive keyword supplementation condition is that the number of at least one interactive keyword is less than a quantity threshold; when the interactive keyword supplementation condition is met, the interactive keyword is supplemented, and at least one supplemented keyword is obtained, including:

[0166] When the quantity of at least one interactive keyword is less than the quantity threshold, a keyword percentage is obtained, and keyword supplementation is performed based on the keyword percentage and at least one interactive keyword to obtain at least one supplemented keyword.

[0167] Specifically, when the number of at least one interactive keyword is less than the quantity threshold, the terminal will confirm that the interactive keyword supplementation condition is met. At this time, the terminal will obtain the percentage of the number of keywords, and supplement the keywords based on the percentage of the number of keywords and at least one interactive keyword to obtain at least one supplemented keyword. Among them, the percentage of the number of keywords refers to the proportion of the at least one interactive keyword entered in the interactive keyword set, that is, when supplementing the interactive keywords, it is necessary to ensure the proportion of the at least one interactive keyword entered in the interactive keyword set to ensure that the generated costume is related to at least one interactive keyword. The quantity threshold can be configured according to the actual application scenario. For example, the quantity threshold can be 2, then when the number of at least one interactive keyword is single, the terminal will supplement the interactive keyword.

[0168] In a specific application, when supplementing keywords, the terminal will generate multiple similar keywords based on at least one interactive keyword, and then determine the number of keywords that need to be selected based on the percentage of the number of keywords, select the number of keywords as needed from multiple similar keywords, select a part of the keywords as supplementary keywords, and obtain at least one supplementary keyword.

[0169] In this embodiment, when the number of at least one interactive keyword is less than the quantity threshold, the keyword percentage is obtained, and keywords are supplemented based on the keyword percentage and at least one interactive keyword to obtain at least one supplemented keyword, which can enrich the interactive keywords.

[0170] In one embodiment, the interaction keyword supplement condition is that the pre-configured dressing mode is dynamic dressing; when the interaction keyword supplement condition is met, the interaction keyword is supplemented, and at least one supplemented keyword is obtained, including:

[0171] When the preconfigured dressing mode is dynamic dressing, a dynamic interaction keyword representing the dynamic dressing is generated, and the dynamic interaction keyword is used as at least one supplementary keyword.

[0172] Among them, the preconfigured dressing mode refers to a preconfigured dressing mode, which can be configured according to the actual application scenario. It should be noted that the preconfigured dressing mode can be configured by the operation object or by the session object using the terminal, which is not specifically limited here in this embodiment. Dynamic dressing means that the form of the generated dressing object can be dynamic, that is, the dressing object is a dynamic image. Correspondingly, when the preconfigured dressing mode is static dressing, the form of the generated dressing object is static, that is, the dressing object is a static image.

[0173] Specifically, when generating the decoration of the identity icon corresponding to the specified session object, the terminal will determine the pre-configured decoration mode. When the pre-configured decoration mode is dynamic decoration, the terminal will generate a dynamic interaction keyword representing the dynamic decoration, and use the dynamic interaction keyword as at least one supplementary keyword. In a specific application, the dynamic interaction keyword representing the dynamic decoration can be configured according to the actual application scenario. For example, the dynamic interaction keyword representing the dynamic decoration can be the keyword "dynamic".

[0174] In a specific application, when generating the costume of the identity icon corresponding to the specified session object, the terminal will first generate multiple candidate costume images for the specified session object. When the interactive keyword set includes dynamic interactive keywords, the generated multiple candidate costume images will include dynamic costume images.

[0175] In a specific application, dynamic dressing includes partial dynamic dressing and full dynamic dressing. When the pre-configured dressing mode is partial dynamic dressing, the terminal will generate a dynamic interaction keyword representing the partial dynamic dressing, and use the dynamic interaction keyword as at least one supplementary keyword. Then, among the multiple candidate dressing object images generated, only a part of the dressing object images are dynamic images. The dynamic interaction keyword representing the partial dynamic dressing can be configured according to the actual application scenario. For example, the dynamic interaction keyword representing the partial dynamic dressing can be "dynamic".

[0176] When the pre-configured dressing mode is all dynamic dressing, the terminal generates a dynamic interaction keyword representing all dynamic dressing, and uses the dynamic interaction keyword as at least one supplementary keyword, so that all the generated multiple candidate dressing object images are dynamic images. The dynamic interaction keyword representing all dynamic dressing can be configured according to the actual application scenario, for example, the dynamic interaction keyword representing all dynamic dressing can be "all dynamic".

[0177] In this embodiment, when the preconfigured dressing mode is dynamic dressing, dynamic interaction keywords representing dynamic dressing are generated, and the dynamic interaction keywords are used as at least one supplementary keyword, which can enrich the interaction keywords and limit the form of the generated dressing objects.

[0178] In one embodiment, based on at least one interaction keyword, an icon information keyword set, identity information, and a pre-configured number of costumes, generating a costume of an identity icon corresponding to a specified session object includes:

[0179] Deduplication processing is performed on at least one interactive keyword, an icon information keyword set, and identity information to obtain a deduplication keyword set;

[0180] Filter the keywords in the deduplicated keyword set to obtain a target keyword set;

[0181] Based on the target keyword set and the pre-configured costume number, a costume of the identity icon corresponding to the specified session object is generated.

[0182] Specifically, when generating the decoration of the identity icon corresponding to the specified session object, the terminal will deduplicate at least one interactive keyword, icon information keyword set and identity information to remove repeated keywords and obtain a deduplicated keyword set, and then filter the keywords in the deduplicated keyword set to filter out abnormal keywords and obtain a target keyword set. Finally, based on the target keyword set and the pre-configured decoration number, the decoration of the identity icon corresponding to the specified session object is generated.

[0183] In a specific application, the terminal will match the keywords in the deduplication keyword set with the pre-configured abnormal keyword library to determine whether there are abnormal keywords in the deduplication keyword set. When there are abnormal keywords in the deduplication keyword set, the abnormal keywords will be filtered. Among them, the pre-configured abnormal keyword library can be configured according to the actual application scenario, and there are keywords in the pre-configured abnormal keyword library that are prone to ambiguity and risks.

[0184] In a specific application, the terminal will extract text features from the target keyword set to obtain text features that characterize the target keyword set, and then generate a pre-configured number of costume objects based on the obtained text features, and use the pre-configured number of costume objects as the costume objects of the identity icon corresponding to the specified session object. In a specific application, the terminal can use a pre-trained deep learning model to implement the above-mentioned generation of the costume objects of the identity icon corresponding to the specified session object based on the target keyword set and the pre-configured number of costume objects.

[0185] In this embodiment, duplicate keywords can be removed through deduplication processing, effectively reducing the number of keywords that need to be processed, speeding up the processing speed, and improving the processing efficiency. Abnormal keywords can be filtered out through filtering to avoid unnecessary risks, and a target keyword set that is non-duplicate and does not contain abnormal keywords can be obtained. Then, by combining the target keyword set and the pre-configured number of costumes, costumes can be added to the identity icon, which can avoid the selection and push of invalid costumes and reduce the resource consumption of hardware devices that support the addition of costumes.

[0186] In one embodiment, based on at least one interaction keyword, an icon information keyword set, identity information, and a pre-configured number of costumes, generating a costume of an identity icon corresponding to a specified session object includes:

[0187] Generate multiple candidate costume images for the designated conversation object based on at least one interaction keyword, the icon information keyword set, the identity information, and the number of pre-configured costumes;

[0188] Image anomaly detection is performed on a plurality of candidate costume images respectively, and a costume of a designated conversation partner is selected from the candidate costume images that have passed the detection.

[0189] Among them, image anomaly detection refers to detecting whether the candidate costume image is abnormal. The anomaly here can specifically be whether it contains ambiguous or risky elements, such as elements that do not comply with legal regulations, elements that may cause copyright issues, etc.

[0190] Specifically, the terminal will extract text features from at least one interactive keyword, icon information keyword set, and identity information to obtain text features that characterize at least one interactive keyword, icon information keyword set, and identity information, and then generate multiple candidate costume images of the specified session object based on the obtained text features, perform image anomaly detection on the multiple candidate costume images respectively, and select a pre-configured number of costumes from the candidate costume images that pass the detection, and use the pre-configured number of costumes as the costumes of the identity icon corresponding to the specified session object. In a specific application, when the candidate costume image is a dynamic image, the terminal will first capture the corresponding static image from the candidate costume image, and then perform image anomaly detection on the captured static image.

[0191] In specific applications, the terminal can use a pre-trained deep learning model to implement the above-mentioned generation of multiple candidate costume images for the specified session object based on at least one interactive keyword, an icon information keyword set, identity information and a pre-configured number of costumes. The pre-trained deep learning model can be configured according to the actual application scenario.

[0192] In a specific application, the terminal can use a pre-trained image anomaly detection model to perform image anomaly detection on multiple candidate costume images respectively. For each of the multiple candidate costume images, the terminal will input the candidate costume image into the pre-trained image anomaly detection model, and the image anomaly detection model can output a detection result of passing or failing the detection. The pre-trained image anomaly detection model can be trained according to the actual application scenario, and the training samples can be sample images carrying labels. The image anomaly detection model can be obtained by performing supervised training based on sample images carrying labels. The sample images include abnormal images and normal images. The label carried by the abnormal image is failure to detect, and the label carried by the normal image is passing the detection.

[0193] In this embodiment, abnormal candidate costume images can be filtered out through image anomaly detection, thereby avoiding unnecessary risks and ensuring that the generated costumes are legal and compliant.

[0194] In one embodiment, the number of designated conversation objects is multiple; based on at least one interactive keyword and the number of pre-configured costumes, generating the costume of the identity icon corresponding to the designated conversation object includes:

[0195] For a portion of the multiple designated conversation objects, based on at least one interactive keyword and a pre-configured number of costumes, costumes of identity icons corresponding to the portion of the conversation objects are generated respectively;

[0196] Using the costumes of the identity icons corresponding to some conversation objects as reference costumes;

[0197] For the remaining conversation objects among the multiple designated conversation objects, based on at least one interactive keyword, the pre-configured costume number and the reference costume, costumes of the identity icons corresponding to the remaining conversation objects are generated respectively.

[0198] Specifically, the number of designated session objects may be multiple. When the number of designated session objects is multiple, for a portion of the designated session objects, the terminal will generate the corresponding identity icon decorations for each of the portion of the session objects based on at least one interactive keyword and a pre-configured number of decorations. On this basis, the terminal will use the corresponding identity icon decorations for each of the portion of the session objects as reference decorations for the generation of the corresponding identity icon decorations for the remaining portion of the designated session objects. Specifically, for the remaining portion of the designated session objects, the terminal will generate the corresponding identity icon decorations for each of the remaining portion of the session objects based on at least one interactive keyword, a pre-configured number of decorations, and a reference decoration.

[0199] In a specific application, the number of a part of the session objects can be configured according to the actual application scenario. For example, the number of a part of the session objects can be 1, and the terminal will first generate a decoration of the identity icon corresponding to a session object, and then use the decoration of the identity icon corresponding to the session object as a reference decoration to generate the decoration of the identity icons corresponding to the remaining session objects. For another example, the number of a part of the session objects can be half of the number of the specified session objects, that is, when the number of the specified session objects is 2N, the number of a part of the session objects can be N.

[0200] In a specific application, when respectively generating decorations for the identity icons corresponding to a part of the session objects, the terminal will also perform icon element analysis on the identity icon corresponding to the session object for each of the session objects in the part of the session objects, obtain a set of icon information keywords describing the identity icon, and obtain the identity information corresponding to the session object, and generate decorations for the identity icon corresponding to the session object based on at least one interaction keyword, the set of icon information keywords corresponding to the session object and the identity information, and the pre-configured number of decorations.

[0201] In a specific application, when respectively generating the decorations of the identity icons corresponding to the remaining session objects, the terminal will also perform icon element analysis on the identity icon corresponding to the session object for each of the remaining session objects, obtain a set of icon information keywords describing the identity icon, and obtain the identity information corresponding to the session object, and generate the decorations of the identity icon corresponding to the session object based on at least one interaction keyword, the set of icon information keywords and identity information corresponding to the session object, the pre-configured number of decorations and the reference decorations.

[0202] In a specific application, the terminal will perform text feature extraction on at least one interactive keyword, the icon information keyword set corresponding to the session object, and the identity information to obtain text features that characterize at least one interactive keyword, the icon information keyword set corresponding to the session object, and the identity information, and perform image feature extraction on the reference decoration to obtain image features that characterize the reference decoration, and then generate a pre-configured number of decorations based on the obtained text features and image features, and use the pre-configured number of decorations as the decorations of the identity icon corresponding to the session object.

[0203] In this embodiment, by first generating the costumes of the identity icons corresponding to some of the session objects, the costumes of the identity icons corresponding to some of the session objects are used as reference costumes for generating the costumes of the identity icons corresponding to the remaining session objects among multiple specified session objects. It is possible to add costumes similar to those of the part of the session objects to the remaining session objects, thereby improving the interactivity and fun in the conversation, avoiding the push of invalid costume selections, and reducing the resource consumption of hardware devices that support the addition of costumes.

[0204] In one embodiment, the method further comprises:

[0205] Based on at least one interactive keyword, sending a costume generation request to a server;

[0206] The costume object identifier fed back by the costume object generation request is received from the server, and the costume object of the identity icon corresponding to the specified session object is obtained through the costume object identifier.

[0207] The costume identification refers to the identification of the costume that needs to be obtained. It is understandable that the costumes that can be obtained by the server are stored in the database, each costume has a corresponding costume identification, and the required costume can be obtained from the database based on the costume identification.

[0208] Specifically, before adding a costume to the identity icon corresponding to the session object specified by the session object specifying operation, the terminal will send a costume generation request to the server based on at least one interactive keyword to instruct the server to generate a costume for the identity icon corresponding to the specified session object according to the at least one interactive keyword sent by the terminal, and feed back a costume identifier to the terminal based on the generated costume, so that the terminal can obtain the costume for the identity icon corresponding to the specified session object through the costume identifier. In a specific application, the way in which the server generates the costume for the identity icon corresponding to the specified session object according to at least one interactive keyword is the same as the way in which the costume for the identity icon corresponding to the specified session object is directly generated on the terminal side in the above embodiment, and will not be repeated in this embodiment.

[0209] In a specific application, after the server generates a costume, it will extract a static image of the costume, compare the static image of the costume with multiple generated costumes for similarity, and if the static image of the costume is not similar to multiple generated costumes, generate a costume identifier for the generated costume, enter the generated costume and the generated costume identifier into a database, and return the generated costume identifier to the terminal. If the static image of the costume is similar to any generated costume, the server will directly feedback the costume identifier of the similar generated costume to the terminal, and will not generate a costume identifier for the generated costume, nor will it enter the generated costume into the database.

[0210] In a specific application, whether the static image of the costume is similar to the generated costume can be judged by the similarity between the static image of the costume and the generated costume. When the similarity is less than a first similarity threshold, it can be considered that the static image of the costume is not similar to the generated costume. When the similarity is greater than a second similarity threshold, it can be considered that the static image of the costume is similar to the generated costume. The first similarity threshold and the second similarity threshold can be configured according to the actual application scenario.

[0211] In this embodiment, by sending a costume generation request to the server based on at least one interactive keyword, the server can be instructed to generate the costume based on at least one interactive keyword, so that when the costume identifier is received from the server, the costume can be obtained through the costume identifier.

[0212] In one embodiment, based on at least one interactive keyword, sending a costume generation request to a server includes:

[0213] Obtaining object information of a specified session object; the object information is at least one of an identity icon or identity information;

[0214] Generate a costume generation request; the costume generation request includes at least one interactive keyword and object information;

[0215] Send a request to the server to generate a costume.

[0216] Specifically, before it is necessary to add decorations to the identity icon corresponding to the session object specified by the specified operation for the session object, the terminal will obtain the object information of the specified session object, which is at least one of the identity icon or the identity information, generate a decoration generation request including at least one interactive keyword and the object information, and send the decoration generation request to the server to instruct the server to generate decorations for the identity icon corresponding to the specified session object according to the at least one interactive keyword and the object information sent by the terminal, and feed back the decoration identification to the terminal based on the generated decoration, so that the terminal can obtain the decorations for the identity icon corresponding to the specified session object through the decoration identification.

[0217] In this embodiment, in this way, at least one interactive keyword and at least one of the identity icon or identity information corresponding to the specified session object can be combined to generate a costume for the identity icon corresponding to the specified session object, which can better integrate the costume and the identity icon, ensure the uniqueness, appropriateness and comfort of the generated costume, improve the interactivity and fun in the conversation, avoid pushing invalid costume selections, and reduce resource consumption of hardware devices that support the addition of costumes.

[0218] In one embodiment, the session-based interaction method of the present application is described by taking the application of adding decorations to identity icons corresponding to session objects in a group session as an example.

[0219] The inventor believes that in the traditional adding method, the conversation object (adding party) using the terminal can only select from the dressing library provided by the conversation platform, and cannot obtain the dressing that can meet its personalized requirements anytime and anywhere. There are a large number of invalid pushed dressing objects for selection, which increases the resource consumption of the hardware device supporting the addition of dressing objects. However, the conversation-based interaction method in the present application can avoid invalid dressing object selection and push by combining at least one interactive keyword input to add dressing objects to the identity icon, and reduce the resource consumption of the hardware device supporting the addition of dressing objects. At the same time, the icon information keyword set and identity information of the identity icon corresponding to the specified conversation object can also be combined to generate the dressing object, which can make the generated dressing object better integrated with the identity icon corresponding to the specified conversation object to ensure the uniqueness, appropriateness and comfort of the generated content. In addition, when giving multiple conversation objects at the same time, dressing objects with the same or related visual elements can also be generated, which improves the interactivity and fun in the adding process and conversation.

[0220] In one embodiment, Fig.13 As shown, the terminal displays a group conversation interface, which includes at least one conversation message and an identity icon corresponding to the conversation object that sends the conversation message. Below the displayed at least one conversation message and the identity icon corresponding to the conversation object that sends the conversation message, a function panel entrance is displayed. In response to a trigger operation on the function panel entrance, the terminal will display a function panel, in which entrances to available functions are displayed, including an identity icon dressing entrance. When the conversation object using the terminal chooses to dress up the displayed identity icon, a dressing trigger operation for the identity icon dressing entrance is initiated. In response to the dressing trigger operation for the identity icon dressing entrance, the terminal will display a dressing configuration area for dressing the identity icon, and the dressing configuration area includes a first display area and a second display area. It should be noted that, Fig.13 As shown, the group conversation interface also includes the group name (such as Fig.13 XX Design Group), return controls, and the current time (such as Fig.13 09:00 is shown), and the group conversation interface can be exited through the return control.

[0221] In one embodiment, in response to an input trigger operation of inputting an interactive keyword triggered in the first display area, the terminal will display a keyword input control, and the interactive keyword can be input using the virtual keyboard using the terminal's session object. In response to an input operation of an interactive keyword triggered in the keyword input control, the terminal will display at least one interactive keyword input in the second display area.

[0222] In one embodiment, when at least one interactive keyword is displayed, in response to a session object designation operation for designating a session object, the terminal adds a decoration to the identity icon corresponding to the session object designated by the session object designation operation, and the decoration is related to the at least one interactive keyword. In a specific application, the terminal displays a session object designation control for designating a session object, and the session object of the terminal can be used to trigger the session object designation operation for designating a session object by using the session object designation control.

[0223] In one embodiment, using the session object of the terminal, a touch operation on the control specified by the session object can be triggered. In response to the touch operation on the control specified by the session object, the terminal will display the control specified by the session object moving along the touch track indicated by the touch operation. When the designation is completed, using the session object of the terminal will trigger a touch end operation on the control specified by the session object. In response to the touch end operation on the control specified by the session object, the terminal will take the session object corresponding to the identity icon passed by the touch track as the designated session object, and add decorations to the identity icon corresponding to the designated session object.

[0224] In one embodiment, the acquisition of the decoration of the identity icon corresponding to the specified session object involved in this application is described. The decoration of the identity icon corresponding to the specified session object in this application can be generated by the server or by the terminal.

[0225] When the decoration of the identity icon corresponding to the specified session object in the present application is generated by the server, the interaction process of the session-based interaction method of the present application can be as follows: Fig.14 First, use the terminal's session object (such as Fig.14The figure shows user A), who initiates a dressing trigger operation for the identity icon dressing entrance, and the terminal displays the dressing configuration area in response to the dressing trigger operation. User A triggers an input trigger operation of inputting an interactive keyword in the first display area, and the terminal responds to the input trigger operation, obtains at least one interactive keyword input, displays at least one interactive keyword input in the second display area, and displays a session object designation control. User A drags the session object designation control to the identity icons of user B and user C, and releases it. The terminal responds to the drag operation initiated by user A for the session object designation control, and when the designation is completed (that is, user A releases the session object designation control), the terminal takes user B and user C as designated session objects, and adds decorations to the identity icons corresponding to the designated session objects.

[0226] When adding decorations to the identity icons corresponding to the specified session objects, the terminal will first generate a decoration generation request based on the object information (at least one of the identity icon or identity information) of the specified session objects (i.e., user B and user C) and at least one interactive keyword input by user A, and send the decoration generation request to the server to instruct the server to generate decorations for the identity icons corresponding to the specified session objects (i.e., user B and user C) based on the at least one interactive keyword and object information sent by the terminal, and feed back a decoration identification to the terminal based on the generated decoration, so that the terminal can obtain the decorations for the identity icons corresponding to the specified session objects through the decoration identification.

[0227] In one embodiment, Fig.14 As shown, for each designated session object, after the server generates a costume, it will extract a static image of the costume, perform a similarity search in the existing costume list (including multiple generated costumes), and generate a corresponding costume identifier and information when the similarity is determined to be within the preset value range (i.e., the static image of the costume is not similar to multiple generated costumes), enter the generated costume, the generated costume identifier and information into a database, and return the generated costume identifier to the terminal, so that the terminal can obtain the costume of the identity icon of the designated session object based on the generated costume identifier. If the static image of the costume is similar to any of the generated costumes, the costume identifier of the similar generated costume is directly fed back to the terminal, and the generated costume is no longer repeatedly entered into the database, so that the terminal can obtain the similar generated costume based on the costume identifier of the similar generated costume as the costume of the identity icon of the designated session object. After determining to obtain the costume identification of the costume corresponding to each specified session object, the server will feed back all the costume identifications to the terminal so that the terminal can obtain the costume based on the received costume identification, replace the costume of the identity icon corresponding to the specified session object, and add the costume to the identity icon corresponding to the specified session object.

[0228] In one embodiment, Fig.15 As shown, taking the generation of the decoration of the identity icon corresponding to a single specified session object as an example, the process of generating the decoration of the identity icon corresponding to the specified session object in the present application can be divided into three steps, one is to process at least one interactive keyword, the second is to analyze the icon elements of the identity icon corresponding to the specified session object, and extract the icon information keyword set, such as Fig.15 As shown, the icon element analysis model can be used for processing. The third is the generation of costumes, such as Fig.15 As shown, in the process of generating costumes, it is necessary to use a filtering library of risk words and keyword combinations, a deep learning model for generating costumes, and an image anomaly detection model for performing image anomaly detection.

[0229] In one embodiment, the flowchart of processing at least one interactive keyword can be as follows: Fig.16 As shown. First, the terminal determines whether the interactive keyword supplement condition is met based on the number of at least one interactive keyword and the preconfigured dressing mode. When the interactive keyword supplement condition is met, the interactive keyword is supplemented to obtain at least one supplementary keyword. Based on at least one interactive keyword and at least one supplementary keyword, an interactive keyword set is obtained. When the interactive keyword supplement condition is not met, at least one interactive keyword is directly used as the interactive keyword set. After determining the interactive keyword set, the terminal obtains the preconfigured dressing number, and uses the interactive keyword set and the preconfigured dressing number as a keyword array for dressing object generation.

[0230] In one embodiment, the terminal determines whether the number of at least one interactive keyword is single. When the number of at least one interactive keyword is single, the percentage of the number of keywords is obtained, and the keyword is supplemented based on the percentage of the number of keywords and the at least one interactive keyword to obtain at least one supplementary keyword. On this basis, the terminal further determines whether the pre-configured dressing mode is dynamic dressing. When the pre-configured dressing mode is dynamic dressing, a dynamic interactive keyword representing the dynamic dressing is generated, and the dynamic interactive keyword is used as at least one supplementary keyword.

[0231] It should be noted that dynamic dressing includes partial dynamic dressing and full dynamic dressing. When the pre-configured dressing mode is partial dynamic dressing, the terminal will generate a dynamic interaction keyword representing the partial dynamic dressing, and use the dynamic interaction keyword as at least one supplementary keyword. Then, among the multiple candidate dressing object images generated, only a part of the dressing object images are dynamic images. Among them, the dynamic interaction keyword representing the partial dynamic dressing can be configured according to the actual application scenario. For example, the dynamic interaction keyword representing the partial dynamic dressing can be "dynamic".

[0232] When the pre-configured dressing mode is all dynamic dressing, the terminal generates a dynamic interaction keyword representing all dynamic dressing, and uses the dynamic interaction keyword as at least one supplementary keyword, so that all the generated multiple candidate dressing object images are dynamic images. The dynamic interaction keyword representing all dynamic dressing can be configured according to the actual application scenario, for example, the dynamic interaction keyword representing all dynamic dressing can be "all dynamic".

[0233] In one embodiment, the terminal can use the icon element analysis model to perform icon element analysis on the identity icon corresponding to the specified session object. The icon element analysis model may include a content recognition model for performing icon content recognition and a facial recognition model for performing facial recognition. The terminal can perform icon content recognition on the identity icon corresponding to the specified session object through the content recognition model to obtain an icon content keyword set describing the icon content, perform facial recognition on the identity icon corresponding to the specified session object through the facial recognition model, and obtain an icon information keyword set describing the identity icon according to the facial recognition result and the icon content keyword set. In one embodiment, when the facial recognition result is characterized as the presence of a facial image, the terminal will use the facial feature keyword set and the icon content keyword set in the facial recognition result as the icon information keyword set describing the identity icon, and when the facial recognition result is characterized as the absence of a facial image, the terminal will use the icon content keyword set as the icon information keyword set describing the identity icon. By extracting the icon information keyword set as a reference for the generation of the costume, the adaptability of the generated costume to the identity icon can be improved.

[0234] In one embodiment, for different icon contents, the terminal can use different content recognition models for recognition. For example, for the theme color, the terminal can use a pre-trained color recognition model for recognition. For the main content, the terminal can use a pre-trained target detection model for recognition. For the environment, the terminal can use a pre-trained scene recognition model for recognition. For the style, the terminal can use a pre-trained style recognition model for recognition. It should be noted that the pre-trained content recognition models involved in this embodiment can all be trained according to the actual application scenario.

[0235] In one embodiment, the flowchart of the costume generation can be as follows: Fig.17 As shown, the terminal combines the keyword array obtained in the first step, the icon content keyword set obtained in the second step, and the identity information corresponding to the specified session object into a prompt word set, performs deduplication processing on the prompt word set, and filters the deduplicated prompt word set (the specific method can be as follows Fig.17As shown, the removed duplicate prompt word set is imported into the "risk vocabulary and keyword combination filtering library" for review) to obtain a filtered prompt word set. Based on the filtered prompt word set, the identity icon corresponding to the specified session object is generated. Among them, the filtered prompt word set includes a pre-configured number of costumes, so the terminal can directly generate the pre-configured number of costumes.

[0236] In one embodiment, the number of designated session objects may be multiple. When the number of designated session objects is multiple, when generating the costume, the terminal needs to determine whether there is a reference costume. When there is a reference costume, the costume of the identity icon corresponding to the designated session object is generated based on the filtered prompt set and the reference costume. When there is no reference costume, the costume of the identity icon corresponding to the designated session object is directly generated based on the filtered prompt set.

[0237] In one embodiment, when there are multiple designated session objects, the terminal will first generate corresponding identity icon decorations for a portion of the designated session objects, and then use the corresponding identity icon decorations for a portion of the designated session objects as reference decorations to generate corresponding identity icon decorations for the remaining session objects.

[0238] In one embodiment, when there is a reference costume, the terminal will input the filtered prompt set and the reference costume into a pre-trained deep learning model, and the deep learning model will extract text features from the filtered prompt set to obtain text features that characterize the filtered prompt set, and extract image features from the reference costume to obtain image features that characterize the reference costume, and then generate candidate costume images that are more than the pre-configured costume number based on the text features and image features, that is, multiple candidate costume images. When there is no reference costume, the terminal will input the filtered prompt set into a pre-trained deep learning model, and the deep learning model will extract text features from the filtered prompt set to obtain text features that characterize the filtered prompt set, and then generate candidate costume images that are more than the pre-configured costume number based on the text features and image features, that is, multiple candidate costume images.

[0239] In one embodiment, after obtaining multiple candidate costume images, the terminal will perform image anomaly detection on the multiple candidate costume images by importing them into an image anomaly detection model for detection, and then select a pre-configured number of candidate costume images from the approved candidate costume images, and return them as the costumes of the specified session object.

[0240] The inventors believe that the session-based interaction method in the present application can enrich the interactive forms of session objects in the session, fully meet the customized and unique needs of session objects when adding decorations to identity icons, and the decorations added to the identity icons not only contain the elements desired by the session object as the adding party, but also can be well integrated with the identity icon of the specified session object, which can effectively enrich the interactivity in the session, better cater to the entertainment and personalization needs of the session objects, avoid the push of invalid decoration selections, and reduce the resource consumption of hardware devices that support the addition of decorations.

[0241] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0242] Based on the same inventive concept, the embodiment of the present application also provides a session-based interaction device for implementing the session-based interaction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more session-based interaction device embodiments provided below can refer to the limitations on the session-based interaction method above, and will not be repeated here.

[0243] In one embodiment, Fig.18 As shown, a conversation-based interactive device is provided, including: a message display module 1802, a costume configuration module 1804, a keyword display module 1806 and a costume display module 1808, wherein:

[0244] The message display module 1802 is used to display at least one conversation message and, corresponding to the conversation message, display an identity icon corresponding to the conversation object that sent the conversation message;

[0245] A dress configuration module 1804, used to display a dress configuration area, the dress configuration area includes a first display area and a second display area;

[0246] The keyword display module 1806 is used to display at least one interactive keyword input in the second display area in response to an input triggering operation of inputting an interactive keyword triggered in the first display area;

[0247] The decoration display module 1808 is used to add decorations to the identity icon corresponding to the session object specified by the session object specifying operation when displaying at least one interactive keyword, in response to a session object specifying operation for specifying a session object, wherein the decorations are related to at least one interactive keyword.

[0248] The above-mentioned session-based interaction device displays at least one session message, and displays the identity icon corresponding to the session object that sends the session message in response to the session message, so as to realize the display of the session-based interaction scene. By displaying the dressing configuration area, the dressing configuration area includes the first display area and the second display area, so as to realize the guidance of the dressing configuration. By responding to the input trigger operation of the input interaction keyword triggered in the first display area, the input at least one interaction keyword is displayed in the second display area, so as to realize the intuitive display of the dressing configuration. Then, when displaying at least one interaction keyword, in response to the session object specifying operation for specifying the session object, a dressing object can be added to the identity icon corresponding to the session object specified by the session object specifying operation, and the dressing object is related to the at least one interaction keyword. By combining the at least one interaction keyword input to add the dressing object to the identity icon, it is possible to avoid the selection and push of invalid dressing objects and reduce the resource consumption of the hardware device supporting the addition of dressing objects.

[0249] In one embodiment, the decoration object display module is also used to, when displaying at least one interactive keyword, in response to a delete operation for deleting the interactive keyword triggered in the second display area, display at least one reserved keyword in the second display area; when displaying at least one reserved keyword, in response to a session object specifying operation for specifying a session object, add a decoration object to an identity icon corresponding to a session object specified by the session object specifying operation, the decoration object being related to the at least one reserved keyword.

[0250] In one embodiment, the decoration object display module is also used to display a session object designated control. In response to a touch operation on the session object designated control, the session object designated control is displayed to move along the touch trajectory indicated by the touch operation. In response to a touch end operation on the session object designated control, the session object corresponding to the identity icon passed by the touch trajectory is taken as the designated session object, and a decoration object is added to the identity icon corresponding to the designated session object.

[0251] In one embodiment, the decoration object display module is also used to display a session object designation control. In response to a designated trigger operation on the session object designation control, a session object designation prompt is displayed, the session object designation prompt is used to prompt the selection of an identity icon for session object designation, in response to a selection operation on at least one identity icon, the identity icon indicated by the selection operation is highlighted, and in response to a designated end operation on the session object designation control, the session object corresponding to the identity icon indicated by the selection operation is used as the designated session object, and decoration objects are added to the identity icon corresponding to the designated session object.

[0252] In one embodiment, the keyword display module is also used to display a keyword input control in response to an input trigger operation of inputting an interactive keyword triggered in the first display area, the keyword input control is used to input an interactive keyword, and in response to an input operation of an interactive keyword triggered in the keyword input control, at least one input interactive keyword is displayed in the second display area.

[0253] In one embodiment, the decoration added to the identity icon corresponding to the specified conversation object is related to at least one of the identity icon or identity information corresponding to the specified conversation object.

[0254] In one embodiment, when there are multiple designated conversation objects, the decorations added to the identity icons corresponding to the multiple designated conversation objects have the same or related visual elements.

[0255] In one embodiment, the conversation-based interaction device further includes a costume generating module, which is used to generate a costume of an identity icon corresponding to a specified conversation object based on at least one interaction keyword and a preconfigured costume number.

[0256] In one embodiment, the costume generation module is also used to perform icon element analysis on the identity icon corresponding to the specified session object, obtain a set of icon information keywords describing the identity icon, and generate a costume for the identity icon corresponding to the specified session object based on at least one interaction keyword, an icon information keyword set and a pre-configured number of costumes.

[0257] In one embodiment, the costume generation module is also used to perform icon content recognition on the identity icon corresponding to the specified session object, obtain an icon content keyword set that describes the icon content, perform facial recognition on the identity icon corresponding to the specified session object, and obtain an icon information keyword set that describes the identity icon based on the facial recognition result and the icon content keyword set.

[0258] In one embodiment, the costume generation module is also used to use the facial feature keyword set and the icon content keyword set in the facial recognition result as the icon information keyword set describing the identity icon when the facial recognition result is characterized by the presence of a facial image; and to use the icon content keyword set as the icon information keyword set describing the identity icon when the facial recognition result is characterized by the absence of a facial image.

[0259] In one embodiment, the costume generation module is further used to obtain identity information corresponding to the specified session object, and generate a costume of the identity icon corresponding to the specified session object based on at least one interaction keyword, an icon information keyword set, identity information and a pre-configured costume number.

[0260] In one embodiment, the costume generation module is also used to supplement the interactive keywords when the interactive keyword supplementation conditions are met to obtain at least one supplementary keyword, obtain an interactive keyword set based on at least one interactive keyword and at least one supplementary keyword, and generate a costume of the identity icon corresponding to the specified session object based on the interactive keyword set, the icon information keyword set, the identity information and the pre-configured costume number.

[0261] In one embodiment, the interactive keyword supplement condition is that the number of at least one interactive keyword is less than the quantity threshold; the costume generation module is also used to obtain the keyword number percentage when the number of at least one interactive keyword is less than the quantity threshold, and perform keyword supplementation based on the keyword number percentage and at least one interactive keyword to obtain at least one supplemented keyword.

[0262] In one embodiment, the interaction keyword supplement condition is that the preconfigured dressing mode is dynamic dressing; the dressing object generation module is also used to generate dynamic interaction keywords representing dynamic dressing when the preconfigured dressing mode is dynamic dressing, and use the dynamic interaction keyword as at least one supplementary keyword.

[0263] In one embodiment, the costume generation module is also used to deduplicate at least one interactive keyword, an icon information keyword set, and identity information to obtain a deduplicated keyword set, filter the keywords in the deduplicated keyword set to obtain a target keyword set, and generate a costume of the identity icon corresponding to the specified session object based on the target keyword set and the pre-configured costume number.

[0264] In one embodiment, the costume generation module is also used to generate multiple candidate costume images for the specified session object based on at least one interactive keyword, an icon information keyword set, identity information and a pre-configured number of costumes, perform image anomaly detection on the multiple candidate costume images respectively, and select the costume for the specified session object from the candidate costume images that have passed the detection.

[0265] In one embodiment, the number of designated session objects is multiple; the costume generating module is also used to generate costumes of identity icons corresponding to a part of the designated session objects based on at least one interactive keyword and a pre-configured number of costumes, use the costumes of identity icons corresponding to a part of the session objects as reference costumes, and generate costumes of identity icons corresponding to the remaining session objects based on at least one interactive keyword, a pre-configured number of costumes and the reference costumes.

[0266] In one embodiment, the costume generation module is further used to send a costume generation request to the server based on at least one interactive keyword, receive a costume identification fed back by the server based on the costume generation request, and obtain the costume of the identity icon corresponding to the specified session object through the costume identification.

[0267] In one embodiment, the costume generation module is also used to obtain object information of the specified session object; the object information is at least one of the identity icon or identity information, generate a costume generation request, the costume generation request includes at least one interactive keyword and object information, and send the costume generation request to the server.

[0268] Each module in the above-mentioned conversation-based interaction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0269] In one embodiment, a computer device is provided. The computer device may be a terminal or a server. Taking the computer device as a terminal as an example, its internal structure diagram may be as follows: Fig.19As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a session-based interaction method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0270] Those skilled in the art will understand that Fig.19 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0271] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0272] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0273] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0274] It should be noted that the user information (including but not limited to identity 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 relevant regulations.

[0275] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0276] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0277] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A conversation-based interaction method, characterized in that: The method comprises: Displaying at least one conversation message, and corresponding to the conversation message, displaying an identity icon corresponding to the conversation object that sent the conversation message; Display a dress-up configuration area, wherein the dress-up configuration area includes a first display area and a second display area; In response to an input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area; When the at least one interaction keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration is related to the at least one interaction keyword.

2. The method according to claim 1, characterized in that In the case where the at least one interactive keyword is displayed, in response to a session object specifying operation for specifying a session object, adding a decoration object to the identity icon corresponding to the session object specified by the session object specifying operation comprises: In the case where the at least one interaction keyword is displayed, in response to a deletion operation for deleting the interaction keyword triggered in the second display area, displaying at least one reserved keyword in the second display area; When the at least one reserved keyword is displayed, in response to a session object specifying operation for specifying a session object, a decoration item is added to the identity icon corresponding to the session object specified by the session object specifying operation, and the decoration item is related to the at least one reserved keyword.

3. The method according to claim 1 or 2, characterized in that: In response to the session object specifying operation for specifying the session object, adding a decoration object to the identity icon corresponding to the session object specified by the session object specifying operation comprises: Display the specified controls of the session object; In response to a touch operation on a control specified by the session object, displaying the control specified by the session object to move along a touch track indicated by the touch operation; In response to a touch-end operation on the session object designation control, the session object corresponding to the identity icon passed by the touch track is taken as the designated session object, and a decoration object is added to the identity icon corresponding to the designated session object.

4. The method according to claim 1 or 2, characterized in that: In response to the session object specifying operation for specifying the session object, adding a decoration object to the identity icon corresponding to the session object specified by the session object specifying operation comprises: Display the specified controls of the session object; In response to a designated trigger operation on the session object designation control, displaying a session object designation prompt, wherein the session object designation prompt is used to prompt a user to select an identity icon to designate a session object; In response to a selection operation on at least one identity icon, highlighting the identity icon indicated by the selection operation; In response to a designated end operation on the session object designation control, the session object corresponding to the identity icon indicated by the selection operation is used as the designated session object, and a decoration object is added to the identity icon corresponding to the designated session object.

5. The method according to claim 1, characterized in that In response to the input triggering operation of inputting an interactive keyword triggered in the first display area, displaying at least one interactive keyword input in the second display area includes: In response to an input trigger operation of inputting an interactive keyword triggered in the first display area, a keyword input control is displayed; the keyword input control is used to input an interactive keyword; In response to an input operation of an interactive keyword triggered in the keyword input control, at least one interactive keyword input is displayed in the second display area.

6. The method according to any one of claims 1 to 5, characterized in that: The decoration added to the identity icon corresponding to the designated conversation object is related to at least one of the identity icon or identity information corresponding to the designated conversation object.

7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When there are multiple designated conversation objects, the decorations added to the identity icons corresponding to the multiple designated conversation objects have the same or related visual elements.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Based on the at least one interactive keyword and the pre-configured number of costumes, a costume of the identity icon corresponding to the specified conversation object is generated.

9. The method according to claim 8, characterized in that The step of generating a costume of an identity icon corresponding to a specified conversation object based on the at least one interactive keyword and the pre-configured costume number includes: Performing icon element analysis on the identity icon corresponding to the specified session object to obtain a set of icon information keywords describing the identity icon; Based on the at least one interaction keyword, the icon information keyword set and the pre-configured number of costumes, a costume of the identity icon corresponding to the specified session object is generated.

10. The method according to claim 9, characterized in that The icon element analysis of the identity icon of the specified session object is performed to obtain a set of icon information keywords describing the identity icon, including: Performing icon content recognition on the identity icon corresponding to the specified session object to obtain an icon content keyword set describing the icon content; Perform facial recognition on the identity icon corresponding to the designated session object, and obtain an icon information keyword set describing the identity icon according to the facial recognition result and the icon content keyword set.

11. The method according to claim 10, characterized in that The icon information keyword set describing the identity icon obtained according to the face recognition result and the icon content keyword set includes: When the facial recognition result indicates that a facial image exists, the facial feature keyword set and the icon content keyword set in the facial recognition result are used as the icon information keyword set describing the identity icon; When the facial recognition result indicates that there is no facial image, the icon content keyword set is used as the icon information keyword set describing the identity icon.

12. The method according to claim 9, characterized in that The generating of the decoration of the identity icon corresponding to the specified conversation object based on the at least one interaction keyword, the icon information keyword set and the pre-configured decoration number comprises: Obtaining identity information corresponding to the specified session object; Based on the at least one interaction keyword, the icon information keyword set, the identity information and the pre-configured number of costumes, a costume of the identity icon corresponding to the specified session object is generated.

13. The method according to claim 12, characterized in that The generating of the costume of the identity icon corresponding to the specified session object based on the at least one interaction keyword, the icon information keyword set, the identity information and the pre-configured costume number comprises: When the interaction keyword supplementation condition is met, the interaction keyword is supplemented to obtain at least one supplementary keyword, and an interaction keyword set is obtained based on the at least one interaction keyword and the at least one supplementary keyword; Based on the interaction keyword set, the icon information keyword set, the identity information and the number of pre-configured costumes, a costume of the identity icon corresponding to the specified session object is generated.

14. The method according to claim 13, characterized in that The interactive keyword supplementation condition is that the number of the at least one interactive keyword is less than the number threshold; when the interactive keyword supplementation condition is met, supplementing the interactive keyword to obtain at least one supplementary keyword includes: When the number of the at least one interactive keyword is less than the quantity threshold, a keyword percentage is obtained, and keyword supplementation is performed based on the keyword percentage and the at least one interactive keyword to obtain at least one supplemented keyword.

15. The method according to claim 13, characterized in that The interactive keyword supplement condition is that the pre-configured dressing mode is dynamic dressing; when the interactive keyword supplement condition is met, the interactive keyword is supplemented to obtain at least one supplementary keyword, including: When the preconfigured dressing mode is dynamic dressing, a dynamic interaction keyword representing the dynamic dressing is generated, and the dynamic interaction keyword is used as at least one supplementary keyword.

16. The method according to claim 12, characterized in that The generating of the costume of the identity icon corresponding to the specified session object based on the at least one interaction keyword, the icon information keyword set, the identity information and the pre-configured costume number comprises: Deduplication processing is performed on the at least one interaction keyword, the icon information keyword set, and the identity information to obtain a deduplication keyword set; Filtering the keywords in the deduplicated keyword set to obtain a target keyword set; Based on the target keyword set and the pre-configured costume number, a costume of the identity icon corresponding to the designated conversation object is generated.

17. The method according to claim 12, characterized in that The generating of the costume of the identity icon corresponding to the specified session object based on the at least one interaction keyword, the icon information keyword set, the identity information and the pre-configured costume number comprises: generating a plurality of candidate costume images of the designated conversation object based on the at least one interaction keyword, the icon information keyword set, the identity information and the number of pre-configured costumes; The plurality of candidate costume images are respectively subjected to image anomaly detection, and the costume of the designated conversation partner is selected from the candidate costume images that pass the detection.

18. The method according to claim 8, characterized in that The number of the specified conversation objects is multiple; the generating of the costume of the identity icon corresponding to the specified conversation object based on the at least one interactive keyword and the pre-configured costume number includes: For a portion of the multiple designated conversation objects, based on the at least one interactive keyword and the pre-configured number of costumes, respectively generate costumes of identity icons corresponding to the portion of the conversation objects; Using the costumes of the identity icons corresponding to the respective conversation objects as reference costumes; For the remaining session objects among the multiple specified session objects, based on the at least one interactive keyword, the preconfigured number of costumes and the reference costumes, costumes of the identity icons corresponding to the remaining session objects are generated respectively.

19. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Based on the at least one interactive keyword, sending a costume generation request to a server; The costume identification fed back by the server based on the costume generation request is received, and the costume of the identity icon corresponding to the designated session object is acquired through the costume identification.

20. The method according to claim 19, characterized in that The sending a costume object generation request to the server based on the at least one interactive keyword includes: Acquire object information of the specified session object; the object information is at least one of an identity icon or identity information; Generate a costume creation request; the costume creation request includes the at least one interactive keyword and the object information; The costume generation request is sent to the server.

21. A conversation-based interactive device, characterized in that: The device comprises: A message display module, used to display at least one conversation message, and corresponding to the conversation message, display an identity icon corresponding to the conversation object that sent the conversation message; A dress configuration module, used to display a dress configuration area, wherein the dress configuration area includes a first display area and a second display area; A keyword display module, configured to display at least one interactive keyword input in the second display area in response to an input triggering operation of inputting an interactive keyword triggered in the first display area; The decoration object display module is used to add decoration objects to the identity icon corresponding to the session object specified by the session object specifying operation when displaying the at least one interactive keyword, in response to the session object specifying operation for specifying the session object, and the decoration objects are related to the at least one interactive keyword.

22. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 20 are implemented.

23. A computer-readable storage medium having a computer program stored thereon, 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 20 are implemented.

24. 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 20 are implemented.