Interaction method, device, equipment, readable storage medium and program product
By obtaining and displaying keywords in the conversation message as interactive elements in the conversation page of instant messaging, the problem of single expression elements in the prior art is solved, and the fun and user interaction of the conversation scene are improved.
Patent Information
- Application Number
- CN202510079955.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-18
- Publication Date
- 2025-04-22
AI Technical Summary
In the current technology, during the instant messaging session, the dynamic expression elements are relatively single, resulting in less fun in the conversation scene.
By obtaining keywords in the conversation message and using them as interactive elements, displaying or dynamically displaying interactive elements in the conversation page, including vocabulary elements, emoticon elements, visual elements, emotional elements, and type elements.
It enhances the interactive fun and visual effect of the conversation scene, promotes the interaction enthusiasm between conversation accounts, improves the stickiness between users and the conversation platform, and realizes the secondary emphasis of keywords, which increases the heat of discussion.
Smart Images

Figure CN119865478A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an interaction method, device, equipment, readable storage medium and program product. Background Art
[0002] With the development of Internet technology, in order to better convey emotions during instant messaging conversations, when the conversation messages sent by users contain certain keywords that trigger emoticon elements, the emoticon elements associated with these keywords will be dynamically displayed in the conversation page. For example, if the user enters the conversation message "Happy Birthday", the "cake"-style emoticon element will be presented in the conversation page in the form of Easter egg emoticon rain.
[0003] However, the related art can only dynamically display the expression elements associated with certain keywords, so that the displayed expression elements are relatively simple, which makes the fun in the conversation scene not high. Summary of the invention
[0004] Based on this, it is necessary to provide an interaction method, device, equipment, readable storage medium and program product that can improve the interactive fun in a conversation scenario in response to the above technical problems.
[0005] In a first aspect, the present application provides an interaction method, comprising:
[0006] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0007] Obtaining keywords contained in the text content of the target conversation message;
[0008] Use keywords as interactive elements of target conversation messages, and display or dynamically display the interactive elements in the conversation page.
[0009] In one of the embodiments, the interactive element further includes at least one of the following: obtaining vocabulary elements corresponding to each keyword, and using the vocabulary elements corresponding to the keyword as interactive elements; obtaining expression elements corresponding to each keyword, and using the expression elements corresponding to the keyword as interactive elements; obtaining visual elements bound to the sending account corresponding to the target conversation message, and using the visual elements as interactive elements; obtaining emotional elements of the target conversation message based on the emotion recognition result corresponding to the target conversation message, and using the emotional elements as interactive elements; obtaining type elements of the target conversation message based on the message type of the associated message corresponding to the target conversation message, and using the type elements as interactive elements.
[0010] In one of the embodiments, displaying or dynamically displaying an interactive element includes: displaying or dynamically displaying an interactive element to replace displaying a target conversation message; or, displaying or dynamically displaying an interactive element to replace displaying a target conversation message, and in response to stopping displaying the interactive element, resuming displaying the target conversation message; or, displaying or dynamically displaying an interactive element in response to a triggering operation on a target conversation message or a keyword; or, displaying or dynamically displaying an interactive element, and in response to a triggering operation on a target conversation message or a keyword, displaying or dynamically displaying the interactive element again.
[0011] In one of the embodiments, displaying or dynamically displaying interactive elements in a conversation page includes: obtaining a target display template of a target conversation message; and displaying or dynamically displaying interactive elements in the conversation page according to the target display template.
[0012] In one of the embodiments, obtaining a target display template for a target conversation message includes: inputting at least one of a keyword, an interactive element, a sending account of the target conversation message, a visual element bound to the sending account corresponding to the target conversation message, an emotion recognition result corresponding to the target conversation message, and a message type of an associated message corresponding to the target conversation message into a preset language model to obtain a target display template for the interactive element; and / or selecting a target display template from at least one candidate display template according to at least one of a keyword, an interactive element, a sending account of the target conversation message, a visual element bound to the sending account corresponding to the target conversation message, an emotion recognition result corresponding to the target conversation message, and a message type of an associated message corresponding to the target conversation message.
[0013] In one of the embodiments, displaying or dynamically displaying an interactive element includes at least one of the following: stopping or dynamically stopping displaying a target conversation message, and displaying or dynamically displaying an interactive element in response to stopping displaying the target conversation message; when a conversation page displays a visual element bound to an account corresponding to a sending of the target conversation message, controlling the visual element to move along a target path, and displaying or dynamically displaying an interactive element in response to the visual element moving to a preset edge of the conversation page.
[0014] In one embodiment, obtaining the keywords included in the text content of the target conversation message includes: obtaining the keywords included in the text content of the target conversation message when the cumulative display times of the interactive elements in the conversation page does not exceed a preset times threshold.
[0015] In one of the embodiments, displaying or dynamically displaying the interactive element includes: displaying or dynamically displaying the interactive element when the cumulative display times of the interactive element in the conversation page does not exceed a preset times threshold.
[0016] In a second aspect, the present application also provides an interactive method, comprising:
[0017] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0018] Obtaining keywords contained in the text content of the target conversation message;
[0019] Based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, the interactive elements are determined, and the interactive elements are displayed or dynamically displayed in the conversation page.
[0020] In a third aspect, the present application further provides an interactive device, including:
[0021] A display module is used to display a conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0022] An acquisition module, used to acquire keywords contained in the text content of the target conversation message;
[0023] The display module is also used to use the keywords as interactive elements of the target conversation message, and to display or dynamically display the interactive elements in the conversation page.
[0024] In a fourth aspect, the present application further provides an interactive device, including:
[0025] The display module is also used to display the conversation page; the conversation page includes the conversation messages interacted between different conversation accounts;
[0026] The acquisition module is also used to acquire keywords contained in the text content of the target conversation message;
[0027] The display module is also used to determine the interactive elements based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, and display or dynamically display the interactive elements in the conversation page.
[0028] In a fifth aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0030] Obtaining keywords contained in the text content of the target conversation message;
[0031] Use keywords as interactive elements of target conversation messages, and display or dynamically display the interactive elements in the conversation page.
[0032] In a sixth aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0034] Obtaining keywords contained in the text content of the target conversation message;
[0035] Based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, the interactive elements are determined, and the interactive elements are displayed or dynamically displayed in the conversation page.
[0036] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0037] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0038] Obtaining keywords contained in the text content of the target conversation message;
[0039] Use keywords as interactive elements of target conversation messages, and display or dynamically display the interactive elements in the conversation page.
[0040] In an eighth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0042] Obtaining keywords contained in the text content of the target conversation message;
[0043] Based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, the interactive elements are determined, and the interactive elements are displayed or dynamically displayed in the conversation page.
[0044] In a ninth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0045] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0046] Obtaining keywords contained in the text content of the target conversation message;
[0047] Use keywords as interactive elements of target conversation messages, and display or dynamically display the interactive elements in the conversation page.
[0048] In a tenth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0049] Display the conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0050] Obtaining keywords contained in the text content of the target conversation message;
[0051] Based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, the interactive elements are determined, and the interactive elements are displayed or dynamically displayed in the conversation page.
[0052] The above-mentioned interactive method, device, equipment, readable storage medium and program product obtain the conversation messages interacted between different conversation accounts in the conversation page, and obtain the keywords contained in the text content of the conversation messages; use the keywords as the interactive elements of the target conversation messages, or determine the interactive elements based on the keywords and the visual elements bound to the corresponding sending account of the target conversation messages, and display or dynamically display the interactive elements in the conversation page. And display or dynamically display the interactive elements in the conversation page. The above-mentioned technical solution can display or dynamically display the keywords of the template conversation message in the conversation page when the text content of the target conversation message contains keywords, or display the interactive elements related to the keywords, which enhances the fun and visual effect of the conversation between accounts, and can promote the interactive enthusiasm between conversation accounts, thereby improving the stickiness between users and the conversation platform. At the same time, since the interactive elements include keywords, or other display contents determined based on keywords and the visual elements bound to the corresponding sending account of the target conversation message, during the display or dynamic display of the interactive elements, the keywords can be emphasized twice, the discussion heat of the keywords can be increased, and it is helpful to guide and promote the topic. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 is an application environment diagram of an interactive method in an embodiment;
[0055] Figure 2A is a flowchart of an interactive method in an embodiment;
[0056] Figure 2B A schematic diagram showing a session page in one embodiment;
[0057] Figure 2C A schematic diagram showing a session page in another embodiment;
[0058] Figure 2D A schematic diagram showing a session page in another embodiment;
[0059] Figure 2E A schematic diagram showing a session page in another embodiment;
[0060] Figure 2F A schematic diagram showing a session page in another embodiment;
[0061] Figure 2G A schematic diagram showing a session page in another embodiment;
[0062] Figure 2H A schematic diagram showing a session page in another embodiment;
[0063] Fig.2I A schematic diagram is shown for interactive elements in one embodiment;
[0064] Figure 2J A schematic diagram is shown for interactive elements in another embodiment;
[0065] Figure 2K A schematic diagram is shown for interactive elements in another embodiment;
[0066] Figure 2L A schematic diagram is shown for interactive elements in another embodiment;
[0067] Figure 2M A schematic diagram is shown for interactive elements in another embodiment;
[0068] Figure 2N A schematic diagram is shown for interactive elements in another embodiment;
[0069] Fig.2O is a timing diagram of an interaction method in one embodiment;
[0070] Figure 2P A timing diagram for interactive elements in one embodiment;
[0071] Figure 3A A schematic diagram is shown for interactive elements in another embodiment;
[0072] Figure 3B A schematic diagram is shown for interactive elements in another embodiment;
[0073] Figure 4AA flowchart of steps for displaying or dynamically displaying interactive elements in another embodiment;
[0074] Figure 4B A schematic diagram is shown for interactive elements in another embodiment;
[0075] Figure 4C A schematic diagram is shown for interactive elements in another embodiment;
[0076] Figure 4D A schematic diagram is shown for interactive elements in another embodiment;
[0077] Figure 5A A schematic diagram of displaying target conversation messages in one embodiment;
[0078] Figure 5B A schematic diagram of displaying target conversation messages in another embodiment;
[0079] Figure 5C A schematic diagram of displaying target conversation messages in another embodiment;
[0080] Figure 5D A schematic diagram of displaying target conversation messages in another embodiment;
[0081] Figure 5E A schematic diagram of movement of visual elements in one embodiment;
[0082] Fig. 5F A schematic diagram of displaying target conversation messages in another embodiment;
[0083] Figure 6 is a structural block diagram of an interactive device in one embodiment;
[0084] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0085] 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.
[0086] Before introducing the embodiments of the present application, it should be noted that the term "in response to" used herein indicates a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of execution of a subsequent action executed in response to the event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is satisfied. For example, in some cases, a subsequent action may be executed immediately when an event occurs or a condition is satisfied; in other cases, a subsequent action may not be executed until a period of time has passed after the event occurs or the condition is satisfied. "Trigger operation" refers to an action performed by a user on a visual interface by clicking, dragging, sliding or other interactive methods, which is intended to start or activate a specific patent data display, analysis or editing function.
[0087] The interaction method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 can be a terminal for a user to log in to the social media platform based on a session account, and the server 104 can be a management server of the corresponding social media platform. The server 104 can manage the information of different users in the social media platform, for example, the user's session account information. It can be understood that the user's information can include not only the user's registration information, but also the user's interaction information with other users in the social media platform. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones and tablets. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0088] In an exemplary embodiment, Figure 2A As shown, an interactive method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0089] S210A, displaying a session page.
[0090] The conversation page may be a page for information exchange between different conversation accounts. Generally, the conversation page may be understood as a chat page, and the conversation page includes conversation messages exchanged between different conversation accounts. Optionally, different conversation accounts may exchange information in the conversation page in the form of text, or in the form of pictures, voice, links, notes, and videos. This application does not impose any restrictions on the manner in which different conversation accounts exchange information in the conversation page.
[0091] Optionally, different session accounts that exchange information through the session page may all belong to real users, that is, the session page may be used for information exchange between different users; different session accounts that exchange information through the session page may also have one party belonging to an artificial intelligence (AI) assistant and the other party belonging to a real user, that is, the session page may be used for information exchange between users and AI assistants.
[0092] Taking the example of a session page used for information exchange between different users, the session page can be displayed in many ways.
[0093] In an optional implementation, in response to a message expansion operation in a message list page, a conversation page is displayed. Exemplarily, the message list page includes at least one message item, and when a trigger operation, such as a click operation, is detected for any message item in the message list page, a conversation page corresponding to the corresponding message item is displayed.
[0094] See also Figure 2B In the diagram of the display of the conversation page shown in the figure, the message list page A includes different types of message information viewing entrances, including like and favorite entrances, new follow entrances and comment entrances, as well as message item 1 with conversation messages in the historical period. The conversation page B includes a return control, a sharing control, historical conversation messages and a message input box. Exemplarily, when a trigger operation for message item 1 is detected, such as a click operation, the conversation page corresponding to message item 1 is displayed, and the conversation page includes historical conversation messages between different conversation accounts.
[0095] In another optional implementation, in response to a private message creation operation in a user's homepage, a conversation page is displayed. Exemplarily, the user's homepage includes a private message creation portal, and when a trigger operation, such as a click operation, is detected for the private message creation portal, a conversation page with the corresponding user is displayed.
[0096] See also Figure 2CIn the diagram of the display of the conversation page shown in the figure, the user homepage C includes the basic information of the corresponding user, including the image logo, name, account, profile, number of followers, number of likes and favorites, etc., as well as the corresponding follow control and private message creation portal 2 of the corresponding user. The conversation page B includes a return control, a sharing control and a message input box. Exemplarily, when a trigger operation for the private message creation portal 2 is detected, for example, a click operation, the conversation page corresponding to the corresponding user is displayed.
[0097] It should be noted that, usually, before the private message creation operation is performed through the user's homepage, the triggering user does not have a conversation record with the user, so there is usually no historical message record in the conversation page.
[0098] In order to facilitate conversations between users, in some embodiments, a conversation creation prompt may be displayed in the conversation page. The conversation creation prompt may be displayed in the form of text, or in the form of an emoticon or animation. The conversation creation prompt may be displayed at a preset position in the conversation page, such as the top or bottom, and this application does not impose any limitation on this. For example, Figure 2D In the shown conversation page, conversation creation prompt information 3 in text form may be displayed at the top of the conversation page.
[0099] Taking the example of a conversation page used for information interaction between users and AI assistants, there are many ways to display the conversation page.
[0100] In an optional embodiment, in response to a conversation page expansion operation in a user homepage, a conversation page is displayed. Exemplarily, an AI assistant icon is provided in the user homepage, and when a trigger operation for the AI assistant icon, such as a click operation, is detected, the conversation page is displayed.
[0101] See also Figure 2E As shown in the diagram of the conversation page display, the user homepage C includes the basic information of the corresponding user, including image identification, name, account, profile, number of followers, number of fans, number of likes and favorites, etc., as well as the corresponding follow controls, private message creation portals and AI assistant icons 4 of the corresponding users. The conversation page B includes return controls, sharing controls, message input boxes and AI assistant names. Exemplarily, when a trigger operation is detected for the AI assistant icon 4, such as a click operation, the conversation page with the AI assistant is displayed. Optionally, in the case where there are historical conversation messages between the user and the AI assistant, the historical conversation messages are displayed in the conversation page. In the case where there are no historical conversation messages between the user and the AI assistant, a conversation creation prompt message may be displayed in the conversation page to facilitate the user to create a conversation with the AI assistant.
[0102] It is understandable that the display form and display position of the AI assistant icon can be in many ways, for example, it can be displayed in the form of a control or in the form of an icon. The AI assistant icon can be displayed on the user's homepage or on other pages. Figure 2E The cat form in the figure can be set according to user needs. Figure 2E The display form and display position of the AI assistant icon 4 shown are merely an optional method provided in this embodiment and are not intended to limit the display method of the AI assistant icon.
[0103] In order to remind the user of the function of the AI assistant icon and promote the interaction between the user and the AI assistant, in some embodiments, while displaying the page where the AI assistant icon is located, the AI assistant conversation prompt can also be displayed. Figure 2F The conversation prompt display diagram shown in the figure shows that when the page where the AI assistant icon is located is displayed, the AI assistant conversation prompt 5 is displayed around the AI assistant icon 4. It should be noted that, if Figure 2F The displayed content of the assistant conversation prompt is only an example provided by this application and is not intended to be a limitation on the assistant conversation prompt.
[0104] In another optional embodiment, in response to a trigger operation on the AI assistant icon, a voice input prompt is displayed, and further, when it is detected that the voice input content represents opening a conversation page, the conversation page is displayed.
[0105] See also Figure 2G The conversation page display diagram shown in the figure displays a voice input prompt 6 when a trigger operation is detected for the AI assistant icon 4, for example, a click operation, and displays a conversation page with the AI assistant when a voice input result such as "chat" or "conversation" input by the user is detected to characterize the intention of the conversation with the AI assistant.
[0106] In another optional embodiment, in response to different trigger operations on the AI assistant icon, the display logic corresponding to the corresponding trigger operation is executed. For example, when a click operation on the AI assistant icon is detected, a voice input prompt is displayed, and the voice control function corresponding to the AI assistant is executed, for example, the AI assistant is controlled by voice to search for different types of notes. When a double-click operation or a long press operation on the AI assistant icon is detected, a conversation page with the AI assistant is displayed.
[0107] In another optional implementation, if the user has a conversation operation with the AI assistant in the historical period, the conversation page is displayed in response to the message expansion operation in the message list page. Exemplarily, the message list page includes at least one message item, including a message item with the AI assistant, and when a trigger operation, such as a click operation, is detected for the AI assistant item in the message list page, the conversation page with the AI assistant is displayed.
[0108] See also Figure 2H The conversation page display diagram shown in the figure shows that when a trigger operation is detected for the message item 7 for the AI assistant, for example, a click operation, a conversation page with the AI assistant is displayed, and the conversation page includes the name of the AI assistant (taking the name of the AI assistant as "Mihuahua" as an example), and conversation messages with the AI assistant or other AI assistants at historical moments.
[0109] S220A, obtaining keywords included in the text content of the target conversation message.
[0110] Among them, the conversation message can be the conversation content entered by the interacting users in the conversation page. For example, the conversation message can be text content, voice content, picture content, or note content, etc. This application does not impose any limitation on the form of the conversation message.
[0111] The target conversation message is a conversation message carrying at least one keyword. The keyword can be a preset keyword in a preset keyword library preset by a technician based on experience; it can also be a vocabulary obtained by extracting the text content of the conversation message based on a text extraction model; it can also be the target conversation message and a keyword extraction instruction (used to instruct the big model to extract the keywords in the target conversation message) are input into the big model to obtain the output result of the big model, and the output result is used as the keyword of the target conversation message; this application does not impose any limitation on the method of determining the keyword.
[0112] Optionally, the target session message may be the latest one received in the session page; it may also be the latest session message sent by the current session account; it may also be the latest session message sent by an account in a session with the current session account; it may also be a randomly selected session message, for example, it may be any session message manually triggered and selected by the user.
[0113] Optionally, in the case where the target conversation message is non-text content, text extraction can be performed on the non-text content to determine the text content of the target conversation message. Exemplarily, if the target conversation message is voice content, the voice content can be converted into text, and the text conversion result can be used as the text content of the target conversation message; if the target conversation message is note content, the topic content in the note and / or note title can be extracted, and the topic content can be used as the text content of the target conversation message; if the target conversation message is picture content, text recognition can be performed on the picture content, and the recognition result can be used as the text content of the target conversation message.
[0114] In an optional implementation, vocabulary recognition can be performed on the text content in the target conversation message, and each vocabulary recognition result can be compared with each preset keyword in the preset keyword library. When the vocabulary recognition result matches any preset keyword, the vocabulary recognition result is used as the keyword included in the text content of the target conversation message. The preset keyword can be set by a technician based on experience, and this application does not impose any limitation on the setting of the preset keyword.
[0115] In another optional implementation, the target conversation message may be input into a pre-trained text extraction model to obtain a text extraction result, and when the text extraction result belongs to a preset scenario, the text extraction result is used as a keyword contained in the text content of the target conversation message. Exemplarily, the preset scenario may be a scenario predetermined by a technician, for example, the preset scenario may be a game scenario, a food scenario, or a learning scenario, and the present application does not impose any limitation on the setting of the preset scenario.
[0116] S230A, using the keyword as an interactive element of the target conversation message, and displaying or dynamically displaying the interactive element in the conversation page.
[0117] Among them, interactive elements can be understood as various elements that can promote interaction between different session accounts in a session page.
[0118] The interactive element may include at least one of an interactive pattern, interactive text, and an interactive expression, and the interactive element may be a dynamic element or a static element. If the interactive element is a dynamic element, the interactive element may be dynamically displayed in the conversation page; if the interactive element is a static element, the interactive element may be statically displayed in the conversation page.
[0119] In an optional embodiment, keywords can be directly used as interactive elements of the target conversation message. For example, when there is one keyword, the keyword can be displayed or dynamically displayed at a preset position in the conversation page; when there are at least two keywords, the keywords can be sorted and combined, and the sorting results can be displayed or dynamically displayed at a preset position in the conversation page; or different keywords can be displayed or dynamically displayed at different preset positions in the conversation page.
[0120] See also Fig.2I The interactive elements shown are shown in the schematic diagram, Fig.2I -a, when the number of keywords is one, the keyword is displayed at the first preset position 8; Fig.2I -b, when the number of keywords is two, different keywords (such as Fig.2I -b) are displayed at the first preset position 8 and the second preset position 9 respectively; Fig.2I -c, when there are two keywords, different keywords (such as Fig.2I -c) are sorted and combined, and displayed at the first preset position 8.
[0121] The preset position for displaying keywords can be determined based on user needs or preset by technicians, and this application does not impose any limitation on this. For example, the preset position can be below the target conversation message or behind the target conversation message.
[0122] In some embodiments, in order to make the interactive elements displayed or dynamically displayed in the conversation page more rich and interesting, there may be many ways to determine the interactive elements of the target conversation message.
[0123] In an optional embodiment, the lexical element corresponding to each keyword may be obtained and used as the interactive element.
[0124] Different keywords correspond to different vocabulary elements. For any keyword, the vocabulary element can represent the text meaning of the keyword. The vocabulary element can be displayed in the form of text, emoticons, or artistic characters, or in the form of simple text, or in the form of text plus bubbles, etc. This application does not impose any restrictions on the display form of the vocabulary element.
[0125] Exemplarily, the lexical element may be the lexical content of the keyword itself, or other text content associated with the keyword, or a processing result obtained after processing the keyword.
[0126] Optionally, the method of processing the keywords may be to process the display form of the keywords, for example, to adjust the font, or to abbreviate them or convert them into traditional Chinese characters, emoticons or other types of languages, etc. This application does not impose any limitation on this.
[0127] In some embodiments, a keyword library may be predetermined, in which each keyword and a vocabulary element corresponding to each keyword are stored. Further, for at least one keyword carried in the target conversation message, a vocabulary element corresponding to the corresponding keyword is obtained from the keyword library.
[0128] Exemplarily, when the number of keywords is at least two, the vocabulary elements corresponding to different keywords may be sorted in order according to the order of the different keywords in the target conversation message to generate vocabulary elements corresponding to each keyword. Alternatively, at least one of the vocabulary elements corresponding to different keywords may be selected as an interactive element of the target conversation message according to the preset weights of different keywords. The preset weights of different keywords may be determined based on user needs or user areas of interest, and this application does not impose any limitation on this.
[0129] See also Figure 2J As shown in the interactive element display schematic diagram, when "game", "Wukong" and "like" are keywords, if the vocabulary elements corresponding to each keyword are presented in the form of text plus bubbles, the vocabulary elements of each keyword can be sorted in order according to the order of each keyword in the target conversation message to obtain the interactive elements of the target conversation message, and the interactive elements are displayed at the first preset position 8.
[0130] In another optional embodiment, the sound effect corresponding to each keyword may be obtained and used as an interactive element.
[0131] The sound effect corresponding to the keyword can represent the voice playback effect of the keyword. The sound effect can be played in standard Mandarin or in the form of a target voice template. This application does not impose any restrictions on the sound effect playback effect of the keyword.
[0132] The target voice template can be selected from preset voice templates based on user needs. For example, the preset voice template can be fixedly set by a technician or generated according to voice information input by a user. This application does not impose any limitation on the setting method of the preset voice template.
[0133] In order to make the sound effects corresponding to the keywords more interesting, when the sending account of the target conversation message is bound to a visual element (such as an image of a virtual pet), the preset voice template can be matched with the corresponding virtual image.
[0134] Exemplarily, each keyword may be converted into voice, and the conversion result may be used as an interactive element corresponding to the corresponding keyword.
[0135] In another optional embodiment, the expression element corresponding to each keyword may be obtained, and the expression element corresponding to the keyword may be used as an interactive element.
[0136] Among them, the expression element corresponding to the keyword can represent the content or emotion of the keyword, etc. The expression element can be a facial expression, an emoji expression, a picture expression or other expressions, etc. This application does not impose any limitation on the specific presentation method of the expression element.
[0137] Exemplarily, a keyword library may be predetermined, in which each keyword and an expression element corresponding to each keyword exist. For example, for any keyword carried in the target conversation message, an expression element corresponding to the keyword may be obtained from the keyword library.
[0138] For example, each keyword can also be modally converted (for example, from text to image, video, audio, etc.), and the conversion result can be used as the interactive element corresponding to the corresponding keyword. For example, if the keyword is "eating", the conversion result, that is, the corresponding expression element can be an emoji expression of food (such as rice and noodles).
[0139] Furthermore, for any keyword carried in the target conversation message, the vocabulary element of the keyword and the expression element can be combined to obtain a composite interactive element. The combination of the keyword and the corresponding expression element can be set based on user needs, and this application does not impose any limitation on this.
[0140] See also Figure 2K In the interactive element display schematic diagram shown, when "game", "Wukong" and "like" are keywords, and the expression elements corresponding to each keyword are the "game controller" emoticon, the "monkey" emoticon and the "love" emoticon respectively, the lexical elements and the expression elements of each keyword are combined, and the composite interactive elements of each keyword are sorted in order according to the order of each keyword in the target conversation message to obtain the interactive elements of the target conversation message, and the interactive elements are displayed at the first preset position 8.
[0141] It is worth noting that by combining expression elements with vocabulary elements, the diversity of information carried in interactive elements is enriched, making the display form of interactive elements more vivid and interesting.
[0142] In yet another optional embodiment, a visual element bound to the sending account corresponding to the target conversation message may be obtained, and the visual element may be used as an interactive element.
[0143] The visual element bound to the account is used to represent the image corresponding to the account, which can be a virtual image, a user avatar, an image of a virtual object associated with the user (such as an image of a virtual pet), a visual element uploaded by the user, or other forms of visual elements, etc. This application does not impose any restrictions on this. The sending account corresponding to the target conversation message is the conversation account that sends the target conversation message in the conversation page.
[0144] Optionally, different session accounts in the session page can be pre-bound with corresponding visual elements. For example, the corresponding visual elements can be selected from a preset visual element library based on user needs. In some embodiments, in order to increase the diversity of visual elements and the user's enthusiasm for binding visual elements, the user can also customize the visual elements based on the preset visual elements.
[0145] In some embodiments, a method for obtaining the visual element bound to the sending account corresponding to the session message may be to determine the sending account of the target session message, and determine whether the sending account is bound to the visual element based on the correspondence between the sending account and the visual element identifier; if so, the visual element that matches the visual element identifier corresponding to the sending account in the correspondence is used as the visual element bound to the sending account.
[0146] Optionally, the visual elements bound to different accounts in the conversation page can be displayed in the conversation page when the conversation page is opened, where they can be displayed at the associated position of the component (such as the input box) in the conversation page, or in a fixed area of the conversation page (such as the edge area of the page); or they can be displayed in the conversation page only when the interactive element display conditions are met. For example, satisfying the interactive element display conditions may include having the interactive element display permission, being in the interactive element allowed display period, the continuous conversation time of the conversation page exceeds the preset time period threshold, the conversation frequency between the conversation account is greater than the preset frequency threshold, and the preset intimacy relationship is pre-set with the conversation account. Among them, the allowed display period, the preset time period threshold, the preset frequency threshold and the preset intimacy relationship can be set or adjusted by the technician according to needs or experience, or set by the conversation user on demand, and this application does not impose any limitation on this.
[0147] Exemplarily, the display position of the visual element in the conversation page can be set based on user needs, and this application does not impose any limitation on this. For example, in order to avoid the visual element blocking the conversation message, the visual element can be displayed at the edge or corner of the conversation page.
[0148] See also Figure 2LIn the interactive element display diagram shown in the figure, when "game", "Wukong" and "like" are keywords, and the expression elements corresponding to the keywords are respectively "game controller" expression symbol, "monkey" expression symbol and "love" expression symbol, the vocabulary elements and expression elements of each keyword are combined to obtain the composite interactive elements of each keyword. Furthermore, the visual elements bound to the sending account corresponding to the target conversation message (such as Figure 2L The kitten in the target conversation message is combined with the composite interactive element to obtain the interactive element of the target conversation message, and the interactive element is displayed at the first preset position 8.
[0149] In yet another optional embodiment, the emotional element of the target conversation message may be acquired according to the emotion recognition result corresponding to the target conversation message, and the emotional element may be used as the interactive element.
[0150] The emotional element can be used to reflect the emotion recognition result of the target conversation message. For example, the emotional element can be embodied by at least one of the expressions of visual elements, onomatopoeias of visual elements, single newly added text or expressions, etc. This application does not impose any limitation on the display form of the emotional element.
[0151] In an optional implementation, the text content of the target conversation message can be obtained to detect whether there are preset emotional words in the text content; if so, the emotional elements are determined based on the preset emotional words; if not, the text content of the target conversation message is input into a pre-trained emotion recognition model to obtain emotion recognition results, and the emotional elements are determined based on the emotion recognition results.
[0152] Optionally, in order to further improve the accuracy of the determined emotional elements, based on the text content of the target conversation message, the text content of the historical conversation message corresponding to the target conversation message can also be combined to comprehensively determine the emotion recognition result. The historical conversation message can be a conversation message referenced by the target conversation message, or it can also be other conversation messages that are adjacent to the target conversation message and located before the target conversation message, such as the number of messages between the target conversation message and the target conversation message is less than a preset number threshold, or the sending time interval is less than a preset time threshold. The preset number threshold and the preset time threshold can be set or adjusted according to needs or experience, and this application does not impose any limitation on this.
[0153] Exemplarily, the correspondence between different preset emotion words and emotion elements can be predetermined. For example, the preset emotion words "happy" and "glad" both correspond to the onomatopeia "meow"; the preset emotion word "angry" corresponds to the onomatopeia "hum". For another example, the preset emotion words "happy" and "glad" both correspond to smiley faces; the preset emotion word "angry" corresponds to an angry face. Accordingly, when it is detected that the preset emotion words exist in the text content corresponding to the target conversation message, the emotion element corresponding to the target conversation message is obtained according to the above correspondence. Alternatively, after determining the emotion recognition result, the emotion recognition result is used as the preset emotion word, and according to the above correspondence, the emotion element corresponding to the target conversation message is obtained.
[0154] Optionally, when the emotion recognition result cannot determine the emotions of the two parties in the conversation, that is, when the target conversation message does not reflect the emotions of the two parties in the conversation, the preset emotion representation element can be used as the emotion element corresponding to the conversation message. When there are at least two emotion recognition results, that is, when the target conversation message reflects at least two emotions of the two parties in the conversation, at least one of the at least two emotion elements corresponding to the emotion recognition results can be selected as the emotion element corresponding to the target conversation message according to the frequency or proportion of occurrence of different emotions.
[0155] In the case where the visual element in the interactive element is a virtual image, the emotional element can also be combined with the virtual image to obtain a composite interactive element to increase the relevance and coupling between the interactive elements, thereby enhancing the semantic effect of the interactive element. The combination of the emotional element and the virtual image can be implemented in at least one traditional way, and this application does not make any limitation on this.
[0156] See also Figure 2M As shown in the interactive element display schematic, when the emotion recognition result is happy, the onomatopeia "meow" corresponding to the preset emotional word "happy" can be displayed around the virtual image to obtain a composite interactive element as the interactive element of the target conversation message, and the interactive element is displayed at the first preset position 8.
[0157] In an optional implementation, the facial expressions, skin color or body movements of the virtual image can be adjusted directly according to the emotional elements to update the virtual image, and the updated virtual image can be used as a new interactive element to replace the interactive elements of the original virtual image.
[0158] In another optional implementation, the emotional element can also be set at a preset position of the virtual image, so as to realize the combination of the emotional element and the virtual image, and the combined composite interactive element can replace the interactive element corresponding to the separate virtual image and the interactive element corresponding to the separate expression element.
[0159] In yet another alternative embodiment, the type element of the target session message may be obtained according to the message type of the associated message corresponding to the target session message, and the type element may be used as the interaction element.
[0160] Among them, the type element is used to characterize the message type of the associated message corresponding to the target session message. Among them, the associated message may be the target session message itself, or the previous session message of the target session message, or the previous session message sent by the sending account of the target session message, or other session messages referenced or bound in other ways by the target session message, etc.
[0161] Among them, the message type may include at least one of text type, picture type, voice type, link type, note type, video type, etc.
[0162] Optionally, in this embodiment, the message type of the associated message corresponding to the target session message may be determined in the following manner: The terminal obtains the associated message of the target session message and sends the associated message to the server. The server parses the associated message to determine the message type of the associated message and feeds back the message type to the terminal.
[0163] Exemplarily, the type element may be displayed in the form of text, or in the form of an emoji or a picture, or in the form of text plus a bubble, etc. The present application does not impose any limitation on the display form of the type element. For example, if the message type is text, the type element may be the character "文", or the character "文" plus a bubble, or it may be an emoji element pre-bound to "文", etc.
[0164] In this embodiment, different message types correspond to different type elements. Exemplarily, the message type of the associated message may also be detected based on a pre-trained type detection model to determine the message type of the associated message, and the message type may be used as the type element corresponding to the target session message.
[0165] In order to enhance the coupling and relevance between different interaction elements, when a virtual image is bound to the sending account of the target session message, the type element may be presented as an image accessory element in the virtual image, such as a wearing element (such as a pendant) of the virtual image. Of course, the foregoing other interaction elements may also be presented as image accessory elements of the virtual image. The element display categories of the image accessory elements corresponding to different interaction elements may be the same or at least partially different. The present application does not impose any limitation on this.
[0166] See Figure 2N The display schematic diagram of the interaction element shown, in the target session message (such as Figure 2NIn the example above, the message type of the associated message corresponding to the message "Oh, it's a game strategy note") is the note type, and the type element corresponding to the note type is a notebook emoticon. If the sending account of the target conversation message is bound to a virtual image, the type element "notebook" is displayed around the virtual image as an interactive element of the target conversation message, and the interactive element is displayed at the first preset position 8.
[0167] It is understandable that, in the process of determining the interactive elements of the target conversation message, at least one of the vocabulary elements, expression elements, visual elements, emotion recognition results and message types corresponding to the keywords can be combined as the interactive elements of the target conversation message. Furthermore, in order to improve the fun of displaying the interactive elements during the display of the interactive elements, the interactive elements can also be displayed based on a preset display order, for example, the vocabulary elements are displayed first, and then the emotion elements are displayed, etc. This application does not impose any limitation on this.
[0168] In the above interaction method, by obtaining the conversation messages exchanged between different conversation accounts in the conversation page, and obtaining the keywords contained in the text content of the conversation messages; the keywords are used as interactive elements of the target conversation messages, and the interactive elements are displayed or dynamically displayed in the conversation page. The above technical solution can display or dynamically display the keywords of the template conversation message in the conversation page when the text content of the target conversation message contains keywords, which enhances the fun and visual effect of the conversation between accounts, promotes the enthusiasm for interaction between conversation accounts, and thus improves the stickiness between users and the conversation platform. At the same time, since the interactive elements include keywords, during the display or dynamic display of the interactive elements, the keywords can be emphasized twice, which can increase the discussion heat of the keywords and help guide and promote the topic.
[0169] In one embodiment, the above interaction method is implemented by the interaction between the server 104 and the terminal 102 as an example, that is, in Figure 1 The description is based on the application environment shown in Fig.2O The timing diagram of the interaction method shown includes:
[0170] S2100, the terminal displays a conversation page, where the conversation page includes conversation messages exchanged between different conversation accounts;
[0171] S220O, the terminal obtains the text content of the target conversation message;
[0172] S230O, the terminal sends the text content of the target conversation message to the server;
[0173] S2400, the server extracts keywords from the text content and determines interactive elements corresponding to the keywords;
[0174] S2500, the server sends the interactive element to the terminal;
[0175] S260O, the terminal displays or dynamically displays the interactive elements in the conversation page.
[0176] See also Figure 2P The interactive elements shown determine the timing diagram, including:
[0177] S201P, the terminal obtains the text content in the target conversation message, and the corresponding sending account of the target conversation message;
[0178] S202P, the terminal sends the text content and the account number to the server;
[0179] S203P, the server identifies at least one keyword carried in the text content;
[0180] S204P, the server feeds back the vocabulary element corresponding to the keyword to the terminal based on the keyword;
[0181] S205P, the server performs emotion recognition on the text content, obtains an emotion recognition result, and determines an emotion element based on the emotion recognition result;
[0182] S206P, the server feeds back the corresponding emotional element to the terminal;
[0183] S207P, the server identifies the message type of the session message, obtains a type identification result, and determines a type element based on the type identification result;
[0184] S208P, the server feeds back the corresponding type element to the terminal;
[0185] S209P, the server determines the visual element bound to the sending account;
[0186] S210P, the server feeds back the corresponding visual elements to the terminal;
[0187] S211P, the terminal determines an interactive element of the target conversation message according to at least one of a vocabulary element, an emotional element, a type element, and a visual element;
[0188] S212P, terminal display or dynamic display interactive elements.
[0189] It should be noted that although Figure 2P In the flowchart shown, there is a sequence between S203P-S210P; however, in the actual execution process, there is no sequence between S203P-S210P.
[0190] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the process of displaying or dynamically displaying interactive elements is refined.
[0191] In some embodiments, an interactive element may be displayed or dynamically displayed in place of displaying the target conversation message.
[0192] In an optional implementation, the target conversation message may be hidden or canceled while or after the interactive element is displayed or dynamically displayed.
[0193] In another optional implementation, the target conversation message may be directly transformed into various interactive elements, and the interactive elements may be displayed or dynamically displayed.
[0194] It is worth noting that the dynamic display here can be understood as displaying according to the moving path, moving mode, display position, gradient, flashing, etc.
[0195] Exemplarily, keywords contained in the text content of the target conversation message are obtained. When the keywords are obtained, interactive elements are displayed or dynamically displayed instead of displaying the corresponding target conversation message. This can achieve the visual effect of alienating the target conversation message while reducing the resource overhead of the display process.
[0196] Exemplarily, keywords contained in the text content of the target conversation message are obtained, and when the keywords are obtained, interactive elements are displayed or dynamically displayed, and in the process of displaying or dynamically displaying the interactive elements, the corresponding target conversation message is displayed instead, thereby enhancing the visual effect.
[0197] See also Figure 3A The interactive element display schematic diagram shown shows that, when the text content of the target conversation message contains keywords, the interactive element is displayed or dynamically displayed to replace the corresponding target conversation message.
[0198] In some embodiments, the interactive element may be displayed or dynamically displayed to replace the display of the target conversation message, and in response to stopping the display of the interactive element, the display of the target conversation message is resumed.
[0199] In this embodiment, the target conversation message can be hidden while or after the interactive element is displayed or dynamically displayed, and the target conversation message can be restored after the interactive element is displayed, so that both parties of the conversation can review or understand the historical conversation messages.
[0200] It can be understood that in order to prevent the user from being unable to understand the target conversation message sent at that time based on the displayed interactive elements when viewing the conversation record, the display of the interactive elements is set to temporary display, and after the display is completed, the display of the target conversation message is restored.
[0201] For example, a display time threshold of the interactive element may be predetermined, and when the display time threshold is reached, the target conversation message may be restored to display. The target conversation message may also be gradually restored to display while the interactive element is fully displayed.
[0202] Among them, the display time threshold can be determined based on user needs and technical personnel, and this application does not impose any limitation on this. Exemplarily, the display time threshold can be 2 seconds.
[0203] Alternatively, each interactive element may be combined according to the display position of each interactive element at a certain moment during display or dynamic display to obtain a static image, and the static image may be used to replace the target conversation message to enhance the visual effect. In order to prevent the user from being unable to understand the target conversation message sent at that time based on the displayed interactive elements when viewing the conversation record, the target conversation message may be displayed in association with the area where the static image is located. For example, the target conversation message may be displayed in response to a trigger operation on the static image.
[0204] In some embodiments, the interactive element may be displayed or dynamically displayed in response to a triggering operation on a target conversation message or a keyword.
[0205] Among them, the trigger operation can be a click operation, a long press operation, or a double-click operation. This application does not impose any limitation on the type of trigger operation.
[0206] It is understandable that in order to avoid disturbing the user due to the frequent display of interactive elements, the display of interactive elements can also be triggered only manually by the user.
[0207] In order to prompt the user that the target conversation message contains keywords, so as to prompt the user that the target conversation message corresponds to an interactive element. In some embodiments, when the text content of the target conversation message contains keywords, the keywords can be displayed distinctively, and in response to a triggering operation on the target conversation message or the keywords, the interactive element can be displayed or dynamically displayed.
[0208] Among them, there are many ways to distinguish the display of keywords. For example, the keywords can be highlighted, bolded, displayed with color changes, font changes, gradient displays, or with additional setting marks, etc. This application does not impose any limitation on the way to distinguish the display of keywords.
[0209] Optionally, in this embodiment, the interactive elements of the target conversation message in the conversation page may be displayed only when manually triggered by the user. Exemplarily, when the text content of the target conversation message contains a keyword, in response to a triggering operation on the target conversation message, the interactive elements corresponding to the target conversation message are displayed or dynamically displayed; or, in response to a triggering operation on a keyword in the target conversation message, the interactive elements corresponding to the target conversation message are displayed or dynamically displayed, or, only the interactive elements corresponding to the keyword may be displayed.
[0210] See also Figure 3B The interactive element display diagram shown takes the interactive elements of the target conversation message as an example, namely the vocabulary elements, expression elements, visual elements and emotional elements of the keywords it contains. When a trigger operation for the keyword "like" in the target conversation message is detected, the interactive elements of the corresponding target conversation message are played.
[0211] It is understandable that when a user is interested in the display of an interactive element, if the user needs to manually trigger the display of the interactive element every time, it will bring a bad operating experience to the user.
[0212] In some embodiments, the interactive element of the target conversation message in the conversation page may be automatically displayed when a preset interactive element display condition is met; further, when the interactive element display condition is not met, the display may be manually triggered by the user.
[0213] The interactive element display condition may include: the interactive element display times in the conversation page does not exceed a preset times threshold. Exemplarily, the preset times threshold may be set based on user needs, such as 5 times, and this application does not impose any limitation on this.
[0214] In this case, when the interactive element of the target conversation message has been automatically displayed, if the user has a need to play the interactive element again, the interactive element can be displayed again or dynamically through manual triggering.
[0215] In some embodiments, the interactive element may be displayed or dynamically displayed, and in response to a triggering operation on a target conversation message or a keyword, the interactive element may be displayed again or dynamically displayed.
[0216] In this embodiment, when it is detected that the text content of the target conversation message contains keywords, the interactive elements can be automatically displayed or dynamically displayed, and when the display is completed, the target conversation message can be restored to display, and the keywords contained in the target conversation message can be displayed distinctively. Furthermore, when a triggering operation, such as a click operation, on the target conversation message or any of the keywords therein is detected, the interactive elements corresponding to the target conversation message can be displayed again or dynamically displayed, or the interactive elements corresponding to the triggered keywords can be displayed.
[0217] In an optional implementation, the interactive element can be automatically or dynamically displayed when the cumulative display times of the interactive element in the conversation page does not exceed the preset times threshold. Exemplarily, the preset times threshold can be set based on user needs, for example, it can be 5 times, and this application does not impose any limitation on this.
[0218] If the number of times the interactive element in the current session page is displayed exceeds the preset number threshold, the control logic corresponding to the preset number threshold can be re-triggered by exiting and reopening the session page. In other words, after reopening the session page, the number of times the interactive element in the session page is automatically displayed is the preset number threshold.
[0219] It can be understood that in order to avoid the waste of computing power caused by still obtaining the keywords included in the text content of the target conversation message when the cumulative display times of the interactive elements in the conversation page have exceeded the preset number threshold, in some embodiments, the keywords included in the text content of the target conversation message can be obtained when the cumulative display times of the interactive elements in the conversation page have not exceeded the preset number threshold.
[0220] In the above embodiment, when the cumulative display times of the interactive elements in the conversation page does not exceed the preset times threshold, the keywords included in the text content of the target conversation message are obtained, which can avoid the waste of computing power caused by obtaining the keywords included in the text content of the target conversation message when the cumulative display times of the interactive elements in the conversation page exceeds the preset times threshold, thereby improving the smoothness of the interactive element playback.
[0221] In another optional implementation, interactive element display conditions may be pre-set, and the interactive element corresponding to the target conversation message may be automatically displayed only when both parties in the conversation meet the interactive element display conditions and the text content of the target conversation message contains keywords.
[0222] Exemplarily, the interactive element playback condition may be that the two parties have been talking for a preset number of consecutive days; or, the conversation frequency between the two parties exceeds a preset frequency threshold, etc. This application does not impose any limitation on the setting of the preset interactive element playback condition.
[0223] The above-mentioned preset number of days and preset frequency threshold can be set based on user needs. For example, the preset number of days can be 3 days, and the preset frequency threshold can be three times a day. This application does not impose any limitation on this.
[0224] In this embodiment, when the number of times an interactive element is displayed in a conversation page does not exceed a preset threshold, the interactive element is automatically displayed; when the number of times an interactive element is displayed in a conversation page exceeds a preset threshold, the interactive element is displayed through user triggering, making the interactive element display logic in the conversation page more reasonable.
[0225] In the above embodiments, multiple ways of displaying or dynamically displaying interactive elements are provided, making the process of displaying or dynamically displaying interactive elements more abundant and interesting.
[0226] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the process of displaying or dynamically displaying interactive elements in the conversation page is refined from another dimension.
[0227] See also Figure 4A The steps of displaying or dynamically displaying the interactive element include:
[0228] S410A, obtaining a target display template of a target conversation message.
[0229] The target display template is used to constrain the display process of the interactive elements. Optionally, the target display template may limit at least one of the dimensions of the combination mode, display order, moving path and display position of the interactive elements.
[0230] For example, the target display template may indicate a specific display area in the conversation page to display interactive elements in a preset display order. Since the visual elements are bound to the corresponding sending account of the conversation message, in some embodiments, the specific display area may be located on a side of the conversation page close to the sending account, or may be the display area of the target conversation message.
[0231] Optionally, a display template can be determined in advance, and when there are keywords in the text content of the target conversation message, or the sending account of the target conversation message is bound to a visual element, or there is a demand for displaying interactive elements, the interactive elements corresponding to the target conversation message are determined, and the display template is used as the target display template to display the interactive elements.
[0232] In order to make the display forms of interactive elements more diverse and further increase the fun in conversation scenarios, in another optional embodiment, a preset language model can be pre-trained, and based on the preset language model, keywords and visual elements, the target display template of the interactive element can be determined, and the interactive element can be displayed or dynamically displayed according to the target display template.
[0233] The preset language model may be a large language model (LLM), which is large in scale and usually contains billions of parameters. Generally, a large language model can be understood as a large-scale artificial intelligence model that is trained on a large amount of data and can perform a wide range of tasks.
[0234] Exemplarily, at least one of keywords, interactive elements, the sending account of the target conversation message, the visual element bound to the sending account corresponding to the target conversation message, the emotion recognition result corresponding to the target conversation message, and the message type of the associated message corresponding to the target conversation message can be input into the preset language model to obtain the target display template of the interactive element.
[0235] For example, keywords are input into a preset language model to obtain a target display template corresponding to the interactive element, so that the target display template can better match the keywords, thereby making the display of the interactive element more vivid and interesting.
[0236] In the above embodiment, the target display template of the target conversation message is determined based on the preset language model, so that the target display template can match the text content and sending scenario of the target conversation message, and can also make the target display template more diverse, further improving the fun of the interactive element display.
[0237] In order to facilitate the process of determining the target display template and thus make the display of the interactive elements smoother, at least two different display templates may be predetermined, so that when the interactive elements are different, the interactive elements may be displayed with different target display templates.
[0238] Exemplarily, a target display template is selected from at least one candidate display template based on at least one of keywords, interactive elements, a sending account of the target conversation message, a visual element bound to the sending account corresponding to the target conversation message, an emotion recognition result corresponding to the target conversation message, and a message type of an associated message corresponding to the target conversation message.
[0239] Different candidate display templates corresponding to different keywords are used as an example for explanation. According to at least one keyword (e.g., all keywords or keywords not exceeding a preset number threshold) carried in the text content, a target display template can be selected from the candidate display templates corresponding to each keyword. The preset number threshold can be pre-set by a technician according to needs or experience, and this application does not impose any limitation on this.
[0240] For example, the correspondence between different keywords and candidate display templates can be preset, and the candidate display template corresponding to at least one keyword carried in the text content is used as the target display template. For another example, the correspondence between different keywords and candidate display templates, as well as the priorities corresponding to different keywords, can be preset, and the candidate display template corresponding to the keyword with a higher priority (e.g., the highest) in the text content is used as the target display template.
[0241] Among them, the candidate display templates corresponding to different keywords can be determined based on user needs, and the priorities corresponding to different keywords can also be determined based on user needs. This application does not impose any limitations on this.
[0242] Different candidate display templates corresponding to different emotion recognition results are used as an example for explanation. According to the emotion recognition result of the target conversation message, the target display template is selected from the candidate display templates corresponding to different emotion types. Exemplarily, the candidate display templates corresponding to different emotion types are pre-determined, and the candidate display template corresponding to the emotion recognition result of the target conversation message is used as the target display template. The target display template is determined based on the emotion recognition result, so that the display of the interactive element is more matched with the sending background of the target conversation message.
[0243] In the above embodiment, at least one candidate display template is determined in advance, as well as the correspondence between each candidate display template and different keywords, interactive elements, etc., and then the target display template is determined based on the correspondence, so that the optional display forms of the interactive elements are more diverse, and the interest of the interactive element display is improved to a certain extent.
[0244] In order to make the target display template more compatible with the current scene, in some embodiments, keywords can also be classified into first-class keywords and second-class keywords, wherein the first-class keywords may be non-holiday keywords and the second-class keywords may be holiday keywords. The first-class keywords correspond to the first-class display template and the second-class keywords correspond to the second-class display template.
[0245] For example, see Figure 4B In the interactive element display schematic diagram shown in the figure, when the conversation message includes two types of keywords, the second type of display template is used as the target display template, and the interactive elements corresponding to the keywords are displayed in full screen according to the second type of display template, for example, Figure 4B ), and preset actions that display visual elements at preset locations.
[0246] The preset action of the visual element can be set based on user needs, and this application does not impose any limitation on this. For example, the preset action of the visual element can be associated with a keyword.
[0247] S420A, displaying or dynamically displaying interactive elements in the conversation page according to the target display template.
[0248] For example, the target conversation message includes the keywords "like", "Wukong" and "game", and the corresponding interactive elements are the expression "love" corresponding to the artistic word "like", the expression "monkey" corresponding to "Wukong", the expression "game handle" corresponding to "game" and the emotional element "meow" as an example for explanation, see Figure 4C The interactive element schematic diagram shown displays the visual element and the interactive element at the first preset position 8, and displays or dynamically displays the interactive element with a target display template at the first preset position 8. For example, the visual element may be controlled to jump according to a preset action, and the interactive element may be controlled to move according to a preset movement form or trajectory.
[0249] In some embodiments, the conversation message corresponding to the sending account is not bound to a visual element. In this case, the interactive element of the target conversation message may include at least one of a vocabulary element corresponding to the keyword, an expression element, an emotion recognition result, and a type element. Figure 4D In the interactive element display schematic diagram shown, the target conversation message is "What game?", and the text content of the target conversation message includes the keyword "game". The interactive element corresponding to the keyword "game" is used as an example to illustrate that the interactive element is displayed or dynamically displayed at the display position of the target conversation message to replace the corresponding target conversation message, that is, in the process of displaying or dynamically displaying the interactive element, the target conversation message "What game?" is not displayed in the conversation page.
[0250] The preset actions of the visual elements and the preset movement forms of the interactive elements can be set based on user needs, and this application does not impose any limitation on this. For example, the preset actions of the visual elements can be associated with keywords.
[0251] In the above embodiment, the interactive elements of the target conversation message are displayed according to the target display template. When there is only one candidate display template, directly using the template can make the display of the interactive elements smoother. When the candidate display templates include at least two, selecting the target display template from the candidate display templates to display the interactive elements makes the display form of the interactive elements more diverse, thereby improving the interest of the interactive element display.
[0252] In order to enrich the content contained in the interactive elements and thereby increase the interest of the interactive element display, in some embodiments, the interactive elements can be determined based on keywords and visual elements bound to the corresponding sending account of the target conversation message, and the interactive elements can be displayed or dynamically displayed in the conversation page.
[0253] The visual element bound to the account is used to represent the image corresponding to the account, which can be a virtual image, a user avatar, an image of a virtual object associated with the user (such as an image of a virtual pet), a visual element uploaded by the user, or other forms of visual elements, etc. This application does not impose any restrictions on this. The sending account corresponding to the target conversation message is the conversation account that sends the target conversation message in the conversation page.
[0254] Optionally, keywords and visual elements may be combined to obtain interactive elements of the target conversation message. The combination of keywords and visual elements may be fixed by a technician or may be matched with the contents of the keywords and interactive elements.
[0255] Exemplarily, in order to make the interactive elements more compatible with the current conversation scenario and thereby increase the fun of the interactive element display, the keywords contained in the target conversation message and the visual elements bound to the corresponding sending account of the target conversation message may be input into the interactive element determination model to obtain the interactive elements of the target conversation message.
[0256] Continue to see Figure 4B In the interactive element display diagram shown in FIG. 1 , the target conversation message “Happy New Year!” includes the keyword “Happy New Year”, and the target conversation message is bound to a sending account with visual elements (such as Figure 4B In the case of the kitten in the picture, the interactive element corresponding to "Happy New Year" (such as Figure 4B fireworks), and visual elements (such as Figure 4B The target conversation message is combined with the kitten in the conversation page as an interactive element and displayed or dynamically displayed on the conversation page.
[0257] In the above embodiment, the interactive elements are determined based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, which can enrich the interactive elements displayed in the conversation page and further improve the fun of the interactive element display.
[0258] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the timing of displaying or dynamically displaying interactive elements is introduced.
[0259] In some embodiments, the display of the target conversation message may be stopped or dynamically stopped, and in response to stopping the display of the target conversation message, the interactive element may be displayed or dynamically displayed.
[0260] The display or dynamic display of the target conversation message may be a display that distinguishes the target conversation message from other conversation messages.
[0261] Exemplarily, the keywords in the target conversation message may be highlighted (such as changing color, enlarging, bolding or underlining), or the conversation bubbles of the target conversation message may be displayed distinctively, for example, the bubbles may be highlighted, or the text content in the target conversation message may be enlarged and displayed, etc. The present application does not impose any limitation on the manner of distinctively displaying the target conversation message in the conversation page.
[0262] See also Figure 5A The target conversation message display schematic diagram shown in the figure can display the key words "game", "Wukong" and "like" in the target conversation message in bold; see Figure 5B The target conversation message display schematic diagram shown in the figure can display the key words "game", "Wukong" and "like" in the target conversation message in bold, and at the same time, the text content in the target conversation message is enlarged and displayed; see Figure 5C The target conversation message display schematic diagram shown in the figure can highlight the keywords "game", "Wukong" and "like" in the target conversation message, and at the same time, the bubble of the target conversation message is displayed in bold; see Figure 5D The target conversation message display schematic diagram shown can display the key words "game", "Wukong" and "like" in the target conversation message in bold, and increase the transparency of the target conversation message.
[0263] Further, when the target conversation message is stopped or dynamically stopped from being displayed, that is, when the final display form of the target conversation message is the same as the display form of other conversation messages, the interactive element is displayed or dynamically displayed.
[0264] In order to make the display process of interactive elements smoother and further improve the fun of interactive element display, in some embodiments, a timing for displaying or dynamically displaying interactive elements is also provided: when the visual element bound to the sending account corresponding to the target conversation message is displayed on the conversation page, the visual element can be controlled to move along the target path, and in response to the visual element moving to the preset edge of the conversation page, the interactive element can be displayed or dynamically displayed.
[0265] The visual element may be displayed at a preset position, for example, above the text input box. The preset edge may be the edge of the conversation page, for example, the upper left corner or the lower left corner; the target path may be set based on user needs or by a technician, and this application does not impose any limitation on this.
[0266] For example, see Figure 5E The schematic diagram of moving the visual element shown in the figure is to move the visual element from its initial position (such as Figure 5E Move the message input box in the upper left corner to the preset edge (such as Figure 5E in the lower left corner of the conversation page).
[0267] It is understandable that, if the text content of the target conversation message contains keywords and the conversation message corresponding to the sending account is bound to a visual element, the conversation message can be displayed separately in the conversation page, and the visual element can be moved to the preset edge simultaneously or successively.
[0268] See also Fig. 5F The target conversation message display schematic diagram shown in the figure can highlight the keywords "game", "Wukong" and "like" in the conversation message, increase the transparency of the conversation message, and simultaneously or successively move the visual elements from the initial position (such as Fig. 5F Move the message input box in the upper left corner to the preset edge (such as Fig. 5F in the lower left corner of the conversation page).
[0269] In the above embodiments, a time for displaying or dynamically displaying interactive elements is provided, that is, before displaying or dynamically displaying interactive elements, other visual content is displayed in advance to provide preparation time for the display of interactive elements, making the display of interactive elements smoother and more interesting.
[0270] 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.
[0271] Based on the same inventive concept, the embodiment of the present application also provides an interactive device for implementing the interactive 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 interactive device embodiments provided below can refer to the limitations on the interactive method above, and will not be repeated here.
[0272] In an exemplary embodiment, Figure 6 As shown, an interactive device is provided, including: a display module 610 and an acquisition module 620, wherein:
[0273] Display module 610, used to display a conversation page; the conversation page includes conversation messages exchanged between different conversation accounts;
[0274] An acquisition module 620 is used to acquire keywords contained in the text content of the target conversation message;
[0275] The display module 610 is further configured to use the keyword as an interactive element of the target conversation message, and to display or dynamically display the interactive element in the conversation page.
[0276] In one embodiment, the display module 610 is further used to: obtain the vocabulary element corresponding to each keyword, and use the vocabulary element corresponding to the keyword as an interactive element; obtain the expression element corresponding to each keyword, and use the expression element corresponding to the keyword as an interactive element; obtain the visual element bound to the sending account corresponding to the target conversation message, and use the visual element as an interactive element; obtain the emotion element of the target conversation message according to the emotion recognition result corresponding to the target conversation message, and use the emotion element as an interactive element; obtain the type element of the target conversation message according to the message type of the associated message corresponding to the target conversation message, and use the type element as an interactive element.
[0277] In one embodiment, the display module 610 includes: a first display unit, which is used to display or dynamically display an interactive element to replace the display of a target conversation message; a second display unit, which is used to display or dynamically display an interactive element to replace the display of a target conversation message, and in response to stopping the display of the interactive element, resume displaying the target conversation message; a third display unit, which is used to display or dynamically display the interactive element in response to a triggering operation on the target conversation message or a keyword; and a fourth display unit, which is used to display or dynamically display the interactive element, and in response to a triggering operation on the target conversation message or a keyword, display or dynamically display the interactive element again.
[0278] In one embodiment, the display module 610 includes: a first acquisition unit, used to acquire a target display template of a target conversation message; and a fifth display unit, used to display or dynamically display interactive elements in a conversation page according to the target display template.
[0279] In one embodiment, the first acquisition unit includes: an acquisition subunit, which is used to input at least one of keywords, interactive elements, a sending account of a target conversation message, a visual element bound to the sending account corresponding to the target conversation message, an emotion recognition result corresponding to the target conversation message, and a message type of an associated message corresponding to the target conversation message into a preset language model to obtain a target display template of the interactive element; and / or, a selection subunit, which is used to select a target display template from at least one candidate display template according to at least one of keywords, interactive elements, a sending account of a target conversation message, a visual element bound to the sending account corresponding to the target conversation message, an emotion recognition result corresponding to the target conversation message, and a message type of an associated message corresponding to the target conversation message.
[0280] In one embodiment, the display module 610 includes at least one of the following: a sixth display unit, used to stop or dynamically stop displaying the target conversation message, and in response to stopping displaying the target conversation message, display or dynamically display the interactive element; a seventh display unit, used to control the visual element to move along the target path when the conversation page displays the visual element bound to the sending account corresponding to the target conversation message, and display or dynamically display the interactive element in response to the visual element moving to a preset edge of the conversation page.
[0281] In one embodiment, the acquisition module 620 is specifically configured to: acquire keywords contained in the text content of the target conversation message when the cumulative display times of the interactive element in the conversation page does not exceed a preset times threshold.
[0282] In one embodiment, the display module 610 is specifically used to display or dynamically display the interactive element when the cumulative display times of the interactive element in the conversation page does not exceed a preset times threshold.
[0283] In one embodiment, the display module 610 is further used to determine the interactive elements based on the keywords and the visual elements bound to the corresponding sending account of the target conversation message, and display or dynamically display the interactive elements in the conversation page.
[0284] Each module in the above-mentioned interactive device can be implemented in whole or in part by software, hardware or a combination thereof. Each module 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 module above.
[0285] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As 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 through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through 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 the 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, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, an interactive method is implemented. The display unit of the computer device is used to form a visually visible picture, which 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, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0286] Those skilled in the art will understand that Figure 7 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.
[0287] In an exemplary embodiment, a computer device is 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-mentioned method embodiments when executing the computer program.
[0288] 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.
[0289] 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.
[0290] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments 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 this application can include at least one of non-volatile memory 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), magnetic 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, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0291] 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 application.
[0292] The above 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. An interactive method, characterized in that: include: Displaying a conversation page; the conversation page includes conversation messages exchanged between different conversation accounts; Obtaining keywords contained in the text content of the target conversation message; The keyword is used as an interactive element of the target conversation message, and the interactive element is displayed or dynamically displayed in the conversation page.
2. The method according to claim 1, characterized in that The method further comprises at least one of the following: Acquire the vocabulary elements corresponding to the keywords, and use the vocabulary elements corresponding to the keywords as interactive elements; Obtaining expression elements corresponding to the keywords, and using the expression elements corresponding to the keywords as interactive elements; Acquire a visual element bound to the sending account corresponding to the target conversation message, and use the visual element as an interactive element; Acquire the emotion element of the target conversation message according to the emotion recognition result corresponding to the target conversation message, and use the emotion element as the interactive element; According to the message type of the associated message corresponding to the target conversation message, a type element of the target conversation message is acquired, and the type element is used as an interactive element.
3. The method according to claim 1 or 2, characterized in that: The displaying or dynamically displaying the interactive element comprises: Displaying or dynamically displaying the interactive element to replace displaying the target conversation message; or, Displaying or dynamically displaying the interactive element to replace displaying the target conversation message, and in response to stopping displaying the interactive element, resuming displaying the target conversation message; or, In response to a triggering operation on the target conversation message or the keyword, displaying or dynamically displaying the interactive element; or, The interactive element is displayed or dynamically displayed, and in response to a triggering operation on the target conversation message or the keyword, the interactive element is displayed again or dynamically displayed.
4. The method according to claim 1 or 2, characterized in that: The displaying or dynamically displaying the interactive element in the conversation page includes: Acquire a target display template for the target conversation message; The interactive element is displayed or dynamically displayed in the session page according to the target display template.
5. The method according to claim 4, characterized in that The step of obtaining a target display template for the target conversation message includes: Inputting at least one of the keyword, the interactive element, the sending account of the target conversation message, the visual element bound to the sending account corresponding to the target conversation message, the emotion recognition result corresponding to the target conversation message, and the message type of the associated message corresponding to the target conversation message into a preset language model to obtain a target display template of the interactive element; and / or, The target display template is selected from at least one candidate display template based on at least one of the keywords, the interactive elements, the sending account of the target conversation message, the visual element bound to the sending account corresponding to the target conversation message, the emotion recognition result corresponding to the target conversation message, and the message type of the associated message corresponding to the target conversation message.
6. The method according to claim 1 or 2, characterized in that: The displaying or dynamically displaying the interactive element includes at least one of the following: Stop or dynamically stop displaying the target conversation message, and in response to stopping displaying the target conversation message, display or dynamically display the interactive element; When the conversation page displays the visual element bound to the sending account corresponding to the target conversation message, the visual element is controlled to move along the target path, and in response to the visual element moving to the preset edge of the conversation page, the interactive element is displayed or dynamically displayed.
7. The method according to claim 1 or 2, characterized in that: The keywords contained in the text content of the target conversation message are obtained, including: When the cumulative display times of the interactive elements in the conversation page does not exceed a preset times threshold, obtaining keywords included in the text content of the target conversation message; or, The displaying or dynamically displaying the interactive element comprises: When the cumulative display times of the interactive element in the conversation page does not exceed a preset times threshold, the interactive element is displayed or dynamically displayed.
8. An interactive method, characterized in that: include: Displaying a conversation page; the conversation page includes conversation messages exchanged between different conversation accounts; Obtaining keywords contained in the text content of the target conversation message; Based on the keyword and the visual element bound to the corresponding sending account of the target conversation message, an interactive element is determined, and the interactive element is displayed or dynamically displayed in the conversation page.
9. An interactive device, characterized in that: include: A display module, used to display a conversation page; the conversation page includes conversation messages exchanged between different conversation accounts; An acquisition module, used to acquire keywords contained in the text content of the target conversation message; The display module is further configured to use the keyword as an interactive element of the target conversation message, and display or dynamically display the interactive element in the conversation page.
10. 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 8 are implemented.
11. 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 8 are implemented.
12. 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 8 are implemented.