Conversation processing method and apparatus

By analyzing chat message content and displaying prompts in a floating control, chat messages are sent according to the topic, solving the problems of cumbersome operation and low communication efficiency in group chats, and achieving simplified operation and efficient communication.

WO2025247234A1PCT designated stage Publication Date: 2025-12-04VIVO MOBILE COMM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/097550
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-29
Filing Date
2025-05-27
Publication Date
2025-12-04

AI Technical Summary

Technical Problem

When discussing multiple different topics in a group chat, existing technologies require frequent creation of group chats and manual addition of members, resulting in cumbersome operations and low communication efficiency.

Method used

By analyzing the content of chat messages to determine the topic, and displaying prompts in the floating control, the chat message and the corresponding topic are sent to the conversation interface after the user enters the information, so that the relevant members can handle the matter and the irrelevant members can handle it.

Benefits of technology

It simplifies user operations, improves communication efficiency, avoids information entanglement and transmission errors, and enables targeted problem-solving and incident handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025097550_04122025_PF_FP_ABST
    Figure CN2025097550_04122025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and discloses a conversation processing method and apparatus. The method comprises: on the basis of the content of each chat message in a conversation, determining a topic corresponding to the content of each chat message; receiving a first input of a chat message in a floating control; in response to the first input, displaying prompt information on the basis of the content of the chat message in the floating control and the topic in the conversation, wherein the prompt information is used for prompting that the content of the chat message in the floating control corresponds to a first topic in the conversation, and the first topic is determined on the basis of the content of the chat message in the floating control or the content of a chat message in the conversation; and displaying the chat message in the floating control in an interface of the conversation on the basis of the prompt information, and determining that the content of the chat message in the floating control corresponds to the first topic.
Need to check novelty before this filing date? Find Prior Art

Description

Session processing method and apparatus

[0001] Cross Reference to Related Applications

[0002] The present application claims priority from the Chinese patent application No. 202410682901.7 filed on May 29, 2024 and entitled "Session processing method and apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application belongs to the field of communication technology, and particularly relates to a session processing method and apparatus. BACKGROUND

[0004] Due to the rapid development of instant messaging tools in electronic devices, the number of people supporting simultaneous online group chat is increasing, and the topics discussed in the group are also gradually increasing. When multiple people discuss multiple topics at the same time, the messages are interwoven with each other, making it more difficult for users to read and understand, and the efficiency and accuracy of information transmission will decrease, resulting in a decline in the experience of using electronic devices for group chat.

[0005] In the prior art, a solution is proposed for the above problem, that is, different groups are created according to different topics. However, in actual operation, a group needs to be created every time a topic is involved, and the group members related to the topic also need to be manually added.

[0006] It can be seen that in the prior art, due to the discussion of multiple different topics, multiple groups are created, resulting in cumbersome user operations and low communication efficiency due to the inability to take into account the message content in multiple groups. SUMMARY

[0007] The purpose of the embodiments of the present application is to provide a session processing method, which can solve the problem of cumbersome user operations and low communication efficiency due to the discussion of multiple different topics and the creation of multiple groups.

[0008] In a first aspect, an embodiment of the present application provides a conversation processing method, which comprises: determining a topic corresponding to the content of each chat message in a conversation according to the content of each chat message; receiving a first input on a chat message in a floating control; in response to the first input, displaying prompt information according to the content of the chat message in the floating control and the topics in the conversation; wherein the prompt information is used to prompt that the content of the chat message in the floating control corresponds to a first topic in the conversation, and the first topic is determined according to the content of the chat message in the floating control or according to the content of the chat message in the conversation; and displaying the chat message in the floating control in the interface of the conversation according to the prompt information, and determining that the content of the chat message in the floating control corresponds to the first topic.

[0009] In a second aspect, an embodiment of the present application provides a conversation processing apparatus, which comprises: a determination module configured to determine a topic corresponding to the content of each chat message in a conversation according to the content of each chat message; a first receiving module configured to receive a first input on a chat message in a floating control; a first display module configured to, in response to the first input, display prompt information according to the content of the chat message in the floating control and the topics in the conversation; wherein the prompt information is used to prompt that the content of the chat message in the floating control corresponds to a first topic in the conversation, and the first topic is determined according to the content of the chat message in the floating control or according to the content of the chat message in the conversation; and a second display module configured to display the chat message in the floating control in the interface of the conversation according to the prompt information, and determine that the content of the chat message in the floating control corresponds to the first topic.

[0010] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the first aspect.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method of the first aspect.

[0012] In a fifth aspect, an embodiment of the present application provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run programs or instructions to implement the method of the first aspect.

[0013] In a sixth aspect, an embodiment of the present application provides a computer program product stored in a storage medium, which is executed by at least one processor to implement the method in the first aspect.

[0014] In a seventh aspect, an embodiment of the present application provides an electronic device configured to perform the steps of the method in the first aspect.

[0015] In an embodiment of the present application, a conversation processing method is provided. First, for the content of all chat messages in a conversation, a topic corresponding to the content of each chat message is analyzed, and when multiple chat messages are developed around a central idea, the content of the multiple chat messages corresponds to a topic. Then, when a user performs a first input on a chat message in a floating widget, the first input can be inputting the content of the chat message and preparing to send, so as to display a prompt information to prompt the user that the content of the chat message corresponds to a first topic in the conversation, and the first topic is determined according to the content of the chat message in the floating widget or the content of the chat messages in the conversation. Finally, when the user sends the chat message in the floating widget to the conversation under the prompting of the prompt information, the chat message is displayed in the interface of the conversation, and the corresponding relationship between the chat message and the first conversation is determined, which can be represented by a specified manner. It can be seen that in the embodiment of the present application, when the user sends a chat message to the conversation, the chat message corresponds to a certain topic, which can explicitly indicate that the members related to the topic need to be processed, and the members unrelated to the topic do not need to be processed. The user does not need to frequently create a group chat and add members, and can solve a certain problem or event in a targeted manner, can take into account each problem or event at the same time, and will not appear the phenomenon of information interlacing and information transmission error, simplifies the user operation, and improves the communication efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0016] FIG. 1 is a flowchart of a conversation processing method according to some embodiments of the present application;

[0017] FIGS. 2 to 15 are display diagrams of an electronic device according to some embodiments of the present application;

[0018] FIG. 16 is a block diagram of a conversation processing apparatus according to some embodiments of the present application;

[0019] FIG. 17 is a hardware structure diagram of an electronic device according to some embodiments of the present application;

[0020] FIG. 18 is a hardware structure diagram of an electronic device according to some embodiments of the present application. DETAILED DESCRIPTION

[0021] With reference to the drawings, the technical solutions in the embodiments of the present application will be clearly described below. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art are within the scope of the present application.

[0022] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a particular order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category, not limited to the number of objects, for example, the target object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0023] The session processing method provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments and application scenarios.

[0024] As shown in FIG. 1, a flowchart of a session processing method according to an embodiment of the present application is shown. The method is exemplified by being applied to an electronic device, and the method comprises:

[0025] Step 110: determining a topic corresponding to the content of each chat message in the session according to the content of each chat message in the session.

[0026] Optionally, the system of the electronic device or the chat application in which the session is located analyzes the content of each chat message in the session by using a natural language processing (NLP) technology, such as natural language understanding (NLU), to determine a topic corresponding to the content of each chat message.

[0027] For example, a chat message is received in a session, and according to the content of the chat message, the electronic device determines a topic corresponding to the chat message by using a natural language processing technology. Subsequently, a plurality of chat messages are received, and if the content of the chat messages is all about discussing the same event as the content of the first received chat message, it is determined that the content of the chat messages all corresponds to the topic. Further, when the content of a subsequently received chat message is about discussing a new event, the electronic device needs to determine another topic.

[0028] Furthermore, as chat members contribute more comments about a particular event, the topic can be gradually refined and fine-tuned by the electronic device's system or the chat application hosting the conversation. For example, if the initial topic is eating, it can be refined to include lunchtime, where to eat, etc.

[0029] Optionally, the conversation in this step is a group chat conversation; alternatively, the conversation in this step is a friend conversation.

[0030] Step 120: Receive the first input for the chat message in the floating control.

[0031] In some embodiments of this application, the aforementioned first input is used for the user to input the content of a chat message in the floating control of the session, with the purpose of sending the content of the chat message to the session. The first input can be a first operation. Exemplarily, the aforementioned first input includes, but is not limited to: touch input by the user through a touch device such as a finger or stylus to controls on the screen, touch input to the screen area, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs, and the embodiments of this invention are not limited thereto. The specific gestures in the embodiments of this application can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of this application can be a single-click input, a double-click input, or any number of click inputs, and can also be a long-press input or a short-press input.

[0032] For example, the first input mentioned above could be, in Figure 2, the user enters the text "Not very tasty, don't go" in the floating control 201 of the session, and clicks the complete control to indicate that the content input is complete.

[0033] Optionally, a floating control is displayed on the interface of the session, where the user can enter the content of the chat message.

[0034] Alternatively, in more embodiments, instead of using a floating control to implement the first input, a region can be created in the session's interface for implementing the first input.

[0035] Step 130: In response to the first input, display a prompt message based on the content of the chat message in the floating control and the topic in the conversation. The prompt message indicates that the content of the chat message in the floating control corresponds to the first topic in the conversation, which is determined based on either the content of the chat message in the floating control or the content of the chat message in the conversation.

[0036] In this step, the electronic device analyzes the content of the chat message based on the content of the chat message input by the user, to analyze that the content of the chat message is used to talk about the first topic, so as to determine that the content of the chat message corresponds to the first topic, and then display prompt information to prompt that the content of the current chat message corresponds to the first topic.

[0037] As shown in FIG. 2, a display scheme of the prompt information is that the topics in the conversation include topic 1 and topic 2, and thus the topic sending control 202 corresponding to topic 1 and the topic sending control 203 corresponding to topic 2 are displayed, and if the content of the currently input chat message corresponds to topic 2, the prompt content of “click the topic to send” is displayed above the topic sending control 203.

[0038] Optionally, the first topic is a topic that has been determined in the conversation, and the first topic is determined according to the content of the chat message in the conversation; or the first topic is a topic that has not been determined in the conversation, and the first topic is determined according to the content of the chat message in the floating control.

[0039] Step 140: according to the prompt information, display the chat message in the floating control in the interface of the conversation, and determine that the content of the chat message in the floating control corresponds to the first topic.

[0040] In this step, based on the prompt information, the user is prompted that the content of the currently input chat message corresponds to the first topic, so that the user sends the chat message to the conversation under the indication of the prompt information, so that the interface of the conversation displays the chat message sent by the user, and at the same time, the corresponding relationship between the content of the chat message and the first topic is indicated, and then it is ensured that each member of the conversation can see the corresponding relationship at a glance, so that the members interested in the first topic will process the chat message, and other members do not need to care about it.

[0041] As shown in FIG. 2, when a chat message is displayed in the interface of the conversation, the topic name corresponding to the chat message is displayed in the form of a suffix 204, to indicate the corresponding relationship.

[0042] Optionally, when a chat message is displayed in the interface of the conversation, the corresponding relationship between the content of the chat message and the topic is indicated by the background fill color of the chat message. The background fill colors of all chat messages corresponding to a topic are the same.

[0043] In an embodiment of the present application, a conversation processing method is provided. First, for the content of all chat messages in a conversation, a topic corresponding to the content of each chat message is analyzed, and when multiple chat messages are developed around a central idea, the content of the multiple chat messages corresponds to a topic. Then, when a user performs a first input on a chat message in a floating control, the first input can be inputting the content of the chat message and preparing to send, so as to display a prompt information to prompt the user that the content of the chat message corresponds to a first topic in the conversation, and the first topic is determined according to the content of the chat message in the floating control or the content of the chat messages in the conversation. Finally, when the user sends the chat message in the floating control to the conversation under the prompting of the prompt information, the chat message is displayed in the interface of the conversation, and a corresponding relationship between the chat message and the first conversation is determined, which can be represented by a specified manner. It can be seen that in the embodiment of the present application, when the user sends a chat message to the conversation, the chat message corresponds to a certain topic, which can explicitly indicate that the members related to the topic need to be processed, and the members not related to the topic do not need to be processed. The user does not need to frequently create a group chat and add members, and can solve a certain problem or event in a targeted manner, can take into account each problem or event at the same time, and will not appear the phenomenon of information interlacing and information transmission error, simplifies the user operation, and improves the communication efficiency.

[0044] In the flow of the conversation processing method in another embodiment of the present application, all chat messages in a conversation are output in the interface of the conversation; step 130 comprises:

[0045] Sub-step A1: according to the content of the chat message in the floating control, display topic sending controls respectively corresponding to each topic in the conversation, and display a topic sending control corresponding to a newly created topic. The display state of the topic sending control corresponding to the first topic is different from the display state of the other topic sending controls.

[0046] As shown in FIG. 2, the topic sending controls respectively corresponding to each topic in the conversation are displayed, such as the topic sending control 202 corresponding to topic 1 and the topic sending control 203 corresponding to topic 2. If the content of the chat message is analyzed based on the content of the chat message to be sent, and the content of the chat message corresponds to topic 2, the topic sending control 203 is highlighted, and the prompt content sent through the control can also be displayed.

[0047] As shown in FIG. 2, if the topic corresponding to the content of the chat message input by the user is a new topic, i.e., the topic has not been generated in the session, a topic sending control 205 corresponding to the new topic is displayed. Optionally, an automatically generated name is displayed on the topic sending control 205, or a default text is displayed on the topic sending control 205, and the user can double-click the topic sending control 205 to manually edit the topic name. The topic sending control 205 is highlighted, and the prompt content sent through the control can also be displayed.

[0048] Step 140 comprises:

[0049] Sub-step A2: receiving a second input on the topic sending control corresponding to the first topic.

[0050] In some embodiments of the present application, the second input is used to operate the topic sending control corresponding to the first topic, so as to send the chat message in the floating control to the session, and determine the correspondence between the chat message and the first topic. The second input can be a second operation. Illustratively, the second input includes but is not limited to: a touch input of the user on the control or on the screen area on the screen through a touch device such as a finger or a stylus, or a voice instruction input by the user, or a specific gesture input by the user, or other possible inputs, which can be determined according to actual use requirements, and the embodiments of the present application are not limited thereto. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, a double-click gesture, etc.; the click input in the embodiments of the present application can be a single-click input, a double-click input, or a click input of any number of times, etc., and can also be a long-press input or a short-press input.

[0051] As shown in FIG. 2, the second input can be that the user clicks the topic sending control 203.

[0052] Sub-step A3: in response to the second input, displaying the chat message in the floating control in the interface of the session, and determining that the content of the chat message in the floating control corresponds to the first topic.

[0053] In this step, the chat message in the floating control is sent to the session, so that the chat message sent to the session by the user is displayed in the interface of the session, and the correspondence between the chat message and the first topic is indicated in a specified manner.

[0054] Optionally, the topics in the session are determined by the system of the electronic device, and the display of the topic sending control is further controlled by the system of the electronic device; optionally, the topics in the session are determined by the chat application in which the session is located, and the display of the topic sending control is further controlled by the chat application in which the session is located.

[0055] In the embodiment, in the scenario of sending a chat message, a topic sending control is displayed according to a topic in the conversation, and the topic sending control can also be displayed according to a newly created topic, so as to facilitate a user to send a chat message to the conversation through the topic sending control. Based on this, the chat message can be sent by carrying a corresponding relationship between the chat message and the first topic, and therefore, in the interface of the conversation, the chat message is displayed while indicating the corresponding relationship, so as to prompt a relevant member to process. It can be seen that the chat message is divided into a topic in the sending link in the embodiment, so as to achieve a good topic classification effect and avoid the phenomenon that the conversation members cause understanding errors, low communication efficiency, and cumbersome operation due to processing a large number of chat messages.

[0056] In the conversation processing method of another embodiment of the application, in the case that all chat messages in the conversation are output in the interface of the conversation, a topic corresponding to the content of each chat message is marked.

[0057] As shown in FIG. 2, all chat messages in the conversation are output in the interface of the conversation, and a topic name 204 corresponding to each chat message is displayed behind the chat message, so as to mark the topic.

[0058] Optionally, all chat messages in the conversation are output in the interface of the conversation, and the background color of each chat message is filled with different colors according to the topic corresponding to the chat message. For example, the background color of a chat message corresponding to the topic 1 is filled with red, and the background color of a chat message corresponding to the topic 2 is filled with green.

[0059] In the embodiment, the corresponding relationship between the chat message and the topic is indicated by the way of marking the topic, so as to facilitate the conversation members to quickly identify.

[0060] In the flow of the conversation processing method of another embodiment of the application, step 130 comprises:

[0061] Sub-step B1: determining at least one topic corresponding to the content of the chat message in the floating control according to the content of the chat message in the floating control and the topics in the conversation.

[0062] In the embodiment, the system of the electronic device or the chat application in which the conversation is located determines at least one topic according to the content of the chat message in the floating control and the topics in the conversation.

[0063] For example, the electronic device's system determines at least one topic. In the conversation list shown in Figure 3, the user invokes the system's intelligent assistant program by specifying an input method, such as swiping from the edge of the screen towards the center or using voice input. This displays the intelligent assistant icon 301 in Figure 3. The user drags the intelligent assistant icon 301 to any conversation display bar, such as the "Technical Exchange Group" display bar 302. The intelligent assistant program then opens the conversation in the background and scrolls up the conversation interface, sequentially reading all chat messages until all messages have been read, thus determining all topics involved in the conversation. Further, after the user enters the content of a chat message and clicks the "Done" option, the intelligent assistant program analyzes at least one topic corresponding to the content of that chat message.

[0064] For example, at least one topic is determined by the chat application in which the conversation takes place. In the conversation list shown in Figure 3, the user activates the chat application's smart assistant function by specifying an input method, such as swiping from the edge of the screen towards the center or using voice input. This displays the smart assistant icon 301 in Figure 3. The user drags the smart assistant icon 301 to any conversation display bar, such as the "Technical Exchange Group" display bar 302. The chat application then opens the conversation in the background and scrolls up the conversation interface, sequentially reading all chat messages until all messages have been read, thus determining all topics involved in the conversation. Further, after the user enters the content of a chat message and clicks the "Done" option, the smart assistant function analyzes at least one topic corresponding to the content of that chat message.

[0065] Sub-step B2: Adjust the content of the chat messages in the floating control separately for each topic in at least one topic.

[0066] In this step, for each of the at least one identified topics, the content of the chat message entered by the user is adjusted according to each topic.

[0067] As shown in Figure 4, when a user inputs the text "I", the electronic device or the chat application where the conversation takes place determines that "I" corresponds to two topics. Therefore, based on one topic, the text "I will also deal with the xx problem" is obtained, and based on the other topic, the text "I want to go out to eat together" is obtained.

[0068] Sub-step B3: Display the adjusted chat messages corresponding to each topic.

[0069] This step displays the adjusted chat messages corresponding to each topic.

[0070] In addition, some description information can be displayed, and the overall display effect is as shown in FIG. 4: your current reply content, there may be ambiguity. Suggestion 1: modify to "I also go to handle xx problem". Suggestion 2: modify to "I want to go to dinner together".

[0071] Sub-step 140 comprises:

[0072] Sub-step B4: receiving a third input for the adjusted one of the chat messages. The one of the chat messages is obtained based on the first topic of the at least one topic.

[0073] In some embodiments of the present application, the third input is used to select one of the at least one chat message obtained after adjustment as the chat message finally sent by the user to the conversation. The third input can be a third operation. Illustratively, the third input includes but is not limited to: a touch input of the user to a control on the screen or to a screen area by a touch device such as a finger or a stylus, or a voice instruction input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiments of the present application are not limited. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, and can also be a long-press input or a short-press input.

[0074] For example, the third input can be, in FIG. 4, the content of the two chat messages obtained after adjustment, and suggestion 1 control 401 and suggestion 2 control 402 corresponding to the two chat messages respectively, and the user clicks any one of suggestion 1 control 401 and suggestion 2 control 402, and then determines the chat message corresponding to the clicked control.

[0075] As shown in FIG. 4, the user can also click the "ignore" control, and then the content input by the user originally will be sent.

[0076] Further, after the user clicks any option, the user clicks a send control, and then a chat message obtained finally after adjustment or a chat message without adjustment is sent to the conversation.

[0077] Optionally, based on the modification suggestion function provided in this embodiment, as shown in Figure 4, a pop-up window 403 is displayed on the conversation interface. The pop-up window 403 is used to display relevant modification content. The pop-up window 403 can cover the send control in the conversation interface. After the user clicks any option to confirm the message content to be sent, the pop-up window 403 is closed to reveal the send control. In this way, the modification suggestion is ensured to be effective before the user sends the chat message, thereby ensuring that the sent chat message corresponds to the topic and will not cause members to misunderstand the chat message.

[0078] The first topic is one of at least one topics identified in step B1.

[0079] Sub-step B5: In response to the third input, display one of the chat messages in the conversation interface and determine that one of the chat messages corresponds to the first topic.

[0080] In this step, the adjusted chat message is sent to the session, and the chat message is then displayed in the session's interface.

[0081] Additionally, when an electronic device or the chat application hosting the conversation categorizes the content of chat messages into topics, it will by default categorize the content of that chat message into the first topic.

[0082] In this embodiment, for a chat message input by the user but not yet sent, the electronic device's system or chat application, combined with the topics in the conversation, finds a specific topic corresponding to the chat message, and then adjusts the content of the chat message according to the topic to improve the content of the chat message and avoid ambiguity or misunderstanding caused by vague descriptions. After improvement, multiple chat messages corresponding to multiple topics can be obtained. The user can choose one of the chat messages to send. Therefore, when conversation members see this chat message, they can clearly see which event in the conversation it is related to, thereby improving the efficiency of conversation members in processing chat messages.

[0083] In another embodiment of the session processing method of this application, after step 110, the method further includes:

[0084] Step C1: Display the topic controls corresponding to each topic in the conversation interface.

[0085] As shown in Figure 2, a designated area is set up in the conversation interface to display topic controls corresponding to each topic, such as topic 2 control 206.

[0086] Each time a new topic is identified in the conversation, a topic control is displayed.

[0087] Optionally, the topic control is an icon that displays the topic name, such as work or dining.

[0088] Furthermore, the background fill color is different for different topic controls.

[0089] Optionally, topics can be determined based on the content of the day's chat messages, thus only displaying topic controls corresponding to these topics. Correspondingly, the area used to display topic controls generated that day is defined as the "Today's Topics Area."

[0090] Optionally, users can swipe left in the Today's Topics area to trigger a control that displays topics generated on an earlier date, such as a control that displays topics generated yesterday.

[0091] Step C2: Receive the fourth input for the topic control corresponding to the second topic.

[0092] In some embodiments of this application, the aforementioned fourth input is used to select one of all displayed topic controls to trigger the display of only chat messages under the topic corresponding to the selected topic control in the conversation interface. The fourth input can be a fourth operation. Exemplarily, the aforementioned fourth input includes, but is not limited to: touch input by the user through a touch device such as a finger or stylus to controls on the screen, touch input to the screen area, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this invention do not limit it. The specific gestures in the embodiments of this application can be any one of the following: single-click gesture, swipe gesture, drag gesture, pressure recognition gesture, long-press gesture, area change gesture, double-press gesture, and double-click gesture; the click input in the embodiments of this application can be single-click input, double-click input, or any number of clicks, and can also be long-press input or short-press input.

[0093] For example, the fourth input mentioned above could be that, in the interface of the conversation shown in Figure 2, the user clicks on topic 2 control 206.

[0094] Step C3: In response to the fourth input, output all chat messages corresponding to the second topic in the conversation interface, as well as topic content related to the second topic.

[0095] The topic content should include at least: a topic summary, topic viewpoints, topic conclusions, and topic participants.

[0096] In this step, on the one hand, all chat messages in the conversation corresponding to the second topic are filtered out and output in the conversation interface according to the sending and receiving time. As shown in Figure 5, when the user clicks the Topic 1 control 501, the chat messages corresponding to Topic 1 are displayed; as shown in Figure 6, when the user clicks the Topic 2 control 601, the chat messages corresponding to Topic 2 are displayed.

[0097] On the other hand, users can long-press the bottom bar of the Today's Topics area and drag it down to expand the collapsed part of the Today's Topics area, thus displaying topic content related to the second topic in the Today's Topics area.

[0098] As shown in Figure 7, the topic content should include at least: topic summary, topic viewpoints, topic conclusions, and topic participants.

[0099] Optionally, as shown in Figure 2, while displaying the topic control, a master control 207 can also be displayed. When the user clicks the master control 207, all chat messages can be output to the conversation interface.

[0100] This embodiment provides a scheme for displaying all topics in a conversation. Topic controls corresponding to each topic can be displayed on the conversation interface. Users can select any topic control to trigger the output of only chat messages related to the selected topic in the conversation interface. Based on this display scheme, users can directly enter content and click the send control. The chat message, once sent to the conversation, will default to the currently displayed topic. Additionally, this embodiment can also display topic-related content to help conversation members quickly understand the topic. Therefore, the scheme provided in this embodiment helps conversation members selectively process all chat messages corresponding to a specific topic within a single conversation interface, eliminating the need for manual filtering of large numbers of chat messages, thus preventing misunderstandings and improving communication efficiency. It also eliminates the need to create separate group chats, simplifying user operations.

[0101] In another embodiment of the session processing method of this application, after step C1, the method further includes:

[0102] Step D1: Receive the fifth input for the topic control corresponding to the second topic.

[0103] In some embodiments of this application, the aforementioned fifth input is used to operate on the topic control corresponding to the second topic, so as to trigger the display of the interface corresponding to the second topic while continuing to display the interface of the conversation. The fifth input can be a fifth operation. Exemplarily, the aforementioned fifth input includes, but is not limited to: touch input by the user through a touch device such as a finger or stylus to controls on the screen, touch input to the screen area, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs, and the embodiments of this invention are not limited thereto. The specific gestures in the embodiments of this application can be any one of the following: single-click gesture, swipe gesture, drag gesture, pressure recognition gesture, long-press gesture, area change gesture, double-press gesture, and double-click gesture; the click input in the embodiments of this application can be single-click input, double-click input, or any number of clicks, and can also be long-press input or short-press input.

[0104] Optionally, this embodiment provides a multi-interface display scheme, which is more suitable for foldable screen electronic devices in order to ensure the display effect of each interface.

[0105] As shown in Figure 8, the fifth input can be the screen displaying a list of conversations and the interface of a certain conversation. The user long-presses the topic 2 control 801 and drags it to the pinned icon 802 at the top of the interface, as shown in Figure 9, displaying the list of conversations 901, the interface of the conversation 902, and the interface 903 corresponding to topic 2 side by side.

[0106] The interface corresponding to the second topic is used to output all chat messages related to the second topic.

[0107] Step D2: In response to the fifth input, display the conversation interface and the interface corresponding to the second topic.

[0108] In this step, while the conversation interface continues to be displayed, the chat message interface corresponding to the second topic is separated and displayed separately on the screen.

[0109] Optionally, as shown in Figure 9, the conversation interface 902 no longer displays the topic control corresponding to the second topic, making the interface corresponding to the second topic independent of the conversation interface.

[0110] In this embodiment, through user operation, the electronic device's system or the chat application where the conversation is located can control the independent display of the interface corresponding to any topic, while the interface of the conversation to which the topic belongs can be displayed synchronously. Thus, the user can treat each topic as an independent conversation window to operate without missing any of the entire conversation chat messages, thereby improving the user's efficiency in handling multiple interfaces.

[0111] In another embodiment of the session processing method of this application, after step D2, the method further includes:

[0112] Step E1: Receive the sixth input to the interface corresponding to the second topic.

[0113] In some embodiments of this application, the aforementioned sixth input is used to lock the interface corresponding to the second topic on the screen to ensure that the interface is always displayed on the screen. The sixth input can be a sixth operation. Exemplarily, the aforementioned sixth input includes, but is not limited to: touch input by the user through a touch device such as a finger or stylus to controls on the screen, touch input to the screen area, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs, and are not limited in the embodiments of this invention. The specific gestures in the embodiments of this application can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of this application can be a single-click input, a double-click input, or a click input of any number of times, and can also be a long-press input or a short-press input.

[0114] For example, the sixth input mentioned above could be that, as shown in Figure 9, each interface displays a pinned icon at the top. When the user clicks the pinned icon 904 on the interface corresponding to the second topic, the fill color of the pinned icon 904 changes, for example, from white to black. Black indicates that the interface is pinned. However, the pinned icon 905 at the top of the conversation interface remains in a non-pinned state, i.e., its fill color is white.

[0115] Step E2: In response to the sixth input, retain the display of the interface corresponding to the second topic, whether the session interface is closed or any interface is displayed.

[0116] As shown in Figure 10, the interface 10001 corresponding to the second topic is in the top position and is locked on the screen. When the user clicks on other conversation display bars in the conversation list, since the conversation interface is not in the top position, the conversation interface is switched to the new conversation interface 10002, while the interface 10001 corresponding to the second topic is in the top position and can continue to be displayed.

[0117] Optionally, multiple interfaces can be pinned to the top simultaneously. These multiple interfaces are not limited to those related to the conversation, but can also include interfaces corresponding to a specific topic.

[0118] As shown in Figure 11, the interface 1101 of a certain conversation and the interface 1102 corresponding to topic 2 are in the top state. No matter which applications the user opens or which conversations in the chat application are opened, the interface 1101 of this conversation and the interface 1102 corresponding to topic 2 are always displayed on the screen. Moreover, based on the subordinate relationship between the two interfaces, the top icons of the two interfaces can be merged into one, and the merged top icon 1103 is in the top state.

[0119] As shown in Figure 12, the interface 1201 of a certain conversation and the interface 1202 corresponding to topic 2 are in the top position. No matter which applications the user opens or which conversations in the chat application are opened, the interface 1201 of the conversation and the interface 1202 corresponding to topic 2 are always displayed on the screen. The two interfaces shown in Figure 12 do not have a subordinate relationship. For example, the interface 1201 of a certain conversation is the interface of conversation A, and the interface 1202 corresponding to topic 2 is the interface corresponding to topic 2 in conversation B.

[0120] Furthermore, as shown in Figure 13, when an interface is switched from the top state to the non-top state, more screen space can be freed up to display the interfaces of other applications, other interfaces of the chat application, desktop interface 1301, etc.

[0121] Optionally, in the interface corresponding to the second topic, the topic control corresponding to the second topic continues to be displayed. If the user long-presses the topic control in this interface and drags it to the top icon, the interface corresponding to the second topic will no longer be displayed separately, and the chat messages corresponding to the second topic will be merged back into the interface of the conversation.

[0122] In this embodiment, the advantages of a large screen are made good use of the screen, and the interface corresponding to multiple topics is set to be on top. This ensures that multiple topic interfaces are always displayed on the screen. Users can handle other tasks on the screen while communicating about topics in these interfaces at any time. Users do not need to frequently switch between multiple conversation interfaces or multiple topics in a conversation, which simplifies user operation and improves communication efficiency.

[0123] In another embodiment of the session processing method of this application, after step 110, the method further includes:

[0124] Step F1: Display topic content related to each topic.

[0125] The topic content should include at least: a topic summary, topic viewpoints, topic conclusions, and topic participants.

[0126] Optionally, as the number of chat messages under the same topic in a session increases, the electronic device's system or chat application can use Natural-language generation (NLG) technology to gradually improve the topic summary, topic viewpoints, topic conclusions, and topic participants.

[0127] For example, users can trigger the system of electronic devices or the intelligent assistant of chat applications to analyze the topics in the conversation by using voice input, touch input, etc. As shown in Figure 14, pop-up window 1401 is displayed, which displays the topic content related to each topic in the conversation.

[0128] For example, as shown in Figure 15, when the topic area of ​​today is expanded, the user can click on the main control 1501 to display topic content related to each topic.

[0129] In this embodiment, the system or chat application based on the electronic device analyzes a large number of chat records to determine multiple topics, and can display content related to each topic, thereby achieving the effect of outputting a chat summary record, making it easier for users to quickly sort out a large number of chat records.

[0130] The session processing method of the embodiments of this application can be implemented by a chat application that supports topic functions, or by the system of an electronic device, or by an auxiliary application installed in the electronic device; the three implementation methods can also be combined with each other.

[0131] In summary, the purpose of this application is to provide an interaction method based on chat topics. In a chat session within an instant messaging application, with the participating members remaining constant, artificial intelligence determines whether a new topic has been generated based on the context. Based on this, multiple topics can be generated within a single session, each topic corresponding to a summary. Furthermore, when a member is not participating in a discussion of a particular topic, all chat messages under that topic can be ignored; chat messages under different topics can be displayed independently in the chat interface, thereby helping users reduce crosstalk between different topics and improving communication efficiency. In this application, for applications that support topic categorization, users can discuss the topic directly without being affected by other topics; for applications that do not support topic categorization, artificial intelligence is combined with external intelligent assistants, such as using built-in system software or other auxiliary software, to perform AI analysis of chat content and generate topics. Additionally, this application can also remind users to refine their content based on the topic and the chat messages under that topic, thereby helping users optimize their content and accurately and efficiently deliver information. This application can also optimize chat scenarios and information acquisition scenarios on large-screen devices, improving multi-task collaboration capabilities.

[0132] The session processing method provided in this application can be executed by a session processing device. This application uses the execution of the session processing method by a session processing device as an example to illustrate the session processing device provided in this application.

[0133] Figure 16 shows a block diagram of a session processing apparatus according to an embodiment of this application. The apparatus includes:

[0134] The determination module 10 is used to determine the topic corresponding to the content of each chat message in the conversation;

[0135] The first receiving module 20 is used to receive the first input of chat messages in the floating control;

[0136] The first display module 30 is used to respond to the first input and display a prompt message based on the content of the chat message in the floating control and the topic in the conversation; wherein the prompt message is used to indicate that the content of the chat message in the floating control corresponds to the first topic in the conversation, and the first topic is determined based on the content of the chat message in the floating control or based on the content of the chat message in the conversation;

[0137] The second display module 40 is used to display the chat messages in the floating control in the interface of the conversation according to the prompt information, and to determine that the content of the chat messages in the floating control corresponds to the first topic.

[0138] In the embodiments of this application, a session processing method is provided. First, for the content of all chat messages in the session, the topic corresponding to the content of each chat message is analyzed. When multiple chat messages revolve around a central idea, the content of multiple chat messages corresponds to a single topic. Then, when the user makes a first input to the chat message in the floating control, the first input can be the content of the chat message and preparation to send it, thereby displaying a prompt message to indicate to the user that the content of this chat message corresponds to the first topic in the session, and the first topic is determined based on the content of the chat message in the floating control or the content of the chat messages in the session. Finally, when the user sends the chat message in the floating control to the session following the prompt message, this chat message is displayed in the session interface, and the correspondence between this chat message and the first session is determined. This correspondence can be represented by a specified method. As can be seen, in the embodiments of this application, when a user sends a chat message to a session, the chat message corresponds to a certain topic and can clearly instruct members related to the topic to handle it, while members unrelated to the topic do not need to handle it. Users do not need to frequently create group chats or add members to solve a specific problem or event. They can take into account each problem and event at the same time, and there will be no information entanglement or information transmission errors. This simplifies user operations and improves communication efficiency.

[0139] Optionally, all chat messages in the session can be output to the session's interface;

[0140] The first display module 30 includes:

[0141] The first display unit is used to display topic sending controls corresponding to each topic in the conversation, as well as topic sending controls corresponding to newly created topics, based on the content of the chat messages in the floating control; wherein the display state of the topic sending control corresponding to the first topic is different from the display state of other topic sending controls.

[0142] The second display module 40 includes:

[0143] The first receiving unit is used to receive the second input to the topic sending control corresponding to the first topic;

[0144] The second display unit is used to respond to the second input, display the chat message in the floating control in the interface of the conversation, and determine that the content of the chat message in the floating control corresponds to the first topic.

[0145] Optionally, if all chat messages in the conversation are displayed on the conversation interface, the topic corresponding to the content of each chat message can be marked.

[0146] Optionally, the first display module 30 includes:

[0147] The determining unit is used to determine at least one topic corresponding to the content of the chat message in the floating control based on the content of the chat message in the floating control and the topic in the conversation;

[0148] An adjustment unit is used to adjust the content of chat messages in the floating control separately for each topic in at least one topic;

[0149] The third display unit is used to display the adjusted chat messages corresponding to each topic;

[0150] The second display module 40 includes:

[0151] The second receiving unit is used to receive a third input to one of the adjusted chat messages; wherein, one of the chat messages is adjusted based on a first topic in at least one topic;

[0152] The fourth display unit is used to respond to the third input, display one of the chat messages in the interface of the conversation, and determine that one of the chat messages corresponds to the first topic.

[0153] Optionally, the device further includes:

[0154] The third display module is used to display topic controls corresponding to each topic on the conversation interface;

[0155] The second receiving module is used to receive the fourth input to the topic control corresponding to the second topic;

[0156] The output module is used to respond to the fourth input by outputting all chat messages corresponding to the second topic on the conversation interface, as well as outputting topic content related to the second topic.

[0157] The topic content should include at least: a topic summary, topic viewpoints, topic conclusions, and topic participants.

[0158] The device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0159] The device in this application embodiment can be a device with an action system. The action system can be an Android action system, an iOS action system, or other possible action systems, and this application embodiment does not specifically limit it.

[0160] The apparatus provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.

[0161] Optionally, as shown in FIG17, this application embodiment also provides an electronic device 100, including a processor 101, a memory 102, and a program or instructions stored in the memory 102 and executable on the processor 101. When the program or instructions are executed by the processor 101, they implement the various steps of any of the above-described session processing method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0162] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0163] Figure 18 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.

[0164] The electronic device 1000 includes, but is not limited to, the following components: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, camera 1011, etc.

[0165] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in Figure 18 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0166] The processor 1010 is configured to determine a topic corresponding to the content of each chat message in the session based on the content of each chat message in the session; the user input unit 1007 is configured to receive a first input to the chat message in the floating control; the display unit 1006 is configured to respond to the first input and display a prompt message based on the content of the chat message in the floating control and the topic in the session; wherein the prompt message is used to indicate that the content of the chat message in the floating control corresponds to a first topic in the session, and the first topic is determined based on the content of the chat message in the floating control or based on the content of the chat message in the session; based on the prompt message, the chat message in the floating control is displayed in the interface of the session, and it is determined that the content of the chat message in the floating control corresponds to the first topic.

[0167] In the embodiments of this application, a session processing method is provided. First, for the content of all chat messages in the session, the topic corresponding to the content of each chat message is analyzed. When multiple chat messages revolve around a central idea, the content of multiple chat messages corresponds to a single topic. Then, when the user makes a first input to the chat message in the floating control, the first input can be the content of the chat message and preparation to send it, thereby displaying a prompt message to indicate to the user that the content of this chat message corresponds to the first topic in the session, and the first topic is determined based on the content of the chat message in the floating control or the content of the chat messages in the session. Finally, when the user sends the chat message in the floating control to the session following the prompt message, this chat message is displayed in the session interface, and the correspondence between this chat message and the first session is determined. This correspondence can be represented by a specified method. As can be seen, in the embodiments of this application, when a user sends a chat message to a session, the chat message corresponds to a certain topic and can clearly instruct members related to the topic to handle it, while members unrelated to the topic do not need to handle it. Users do not need to frequently create group chats or add members to solve a specific problem or event. They can take into account each problem and event at the same time, and there will be no information entanglement or information transmission errors. This simplifies user operations and improves communication efficiency.

[0168] Optionally, all chat messages in the conversation are output on the interface of the conversation; the display unit 1006 is further configured to display topic sending controls corresponding to each topic in the conversation, and to display topic sending controls corresponding to newly created topics, based on the content of the chat messages in the floating control; wherein the display state of the topic sending control corresponding to the first topic is different from the display state of other topic sending controls; the user input unit 1007 is further configured to receive a second input to the topic sending control corresponding to the first topic; the display unit 1006 is further configured to respond to the second input, display the chat messages in the floating control on the interface of the conversation, and determine that the content of the chat messages in the floating control corresponds to the first topic.

[0169] Optionally, when all chat messages in the session are output to the interface of the session, the topic corresponding to the content of each chat message is marked.

[0170] Optionally, the processor 1010 is further configured to determine at least one topic corresponding to the content of the chat messages in the floating control based on the content of the chat messages in the floating control and the topics in the conversation; and to adjust the content of the chat messages in the floating control according to each of the at least one topic; the display unit 1006 is further configured to display the adjusted chat messages corresponding to each topic; the user input unit 1007 is further configured to receive a third input on one of the adjusted chat messages; wherein the one of the chat messages is adjusted based on the first topic among the at least one topics; the display unit 1006 is further configured to display the one of the chat messages in the interface of the conversation in response to the third input, and to determine that the one of the chat messages corresponds to the first topic.

[0171] Optionally, the display unit 1006 is further configured to display topic controls corresponding to each topic on the interface of the conversation; the user input unit 1007 is further configured to receive a fourth input to the topic control corresponding to the second topic; the processor 1010 is further configured to, in response to the fourth input, output all chat messages corresponding to the second topic on the interface of the conversation, and output topic content related to the second topic; wherein the topic content includes at least: topic summary, topic viewpoint, topic conclusion, and topic participants.

[0172] In summary, the purpose of this application is to provide an interaction method based on chat topics. In a chat session within an instant messaging application, with the participating members remaining constant, artificial intelligence determines whether a new topic has been generated based on the context. Based on this, multiple topics can be generated within a single session, each topic corresponding to a summary. Furthermore, when a member is not participating in a discussion of a particular topic, all chat messages under that topic can be ignored; chat messages under different topics can be displayed independently in the chat interface, thereby helping users reduce crosstalk between different topics and improving communication efficiency. In this application, for applications that support topic categorization, users can discuss the topic directly without being affected by other topics; for applications that do not support topic categorization, artificial intelligence is combined with external intelligent assistants, such as using built-in system software or other auxiliary software, to perform AI analysis of chat content and generate topics. Additionally, this application can also remind users to refine their content based on the topic and the chat messages under that topic, thereby helping users optimize their content and accurately and efficiently deliver information. This application can also optimize chat scenarios and information acquisition scenarios on large-screen devices, improving multi-task collaboration capabilities.

[0173] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or video images obtained by an image capture device (such as a camera) in video image capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and motion systems. Processor 1010 may integrate an application processor and a modem processor. The application processor mainly handles the action system, user page, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 1010.

[0174] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0175] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.

[0176] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described session processing method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0177] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0178] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described session processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0179] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0180] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the session processing method embodiments described above, and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0181] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0182] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0183] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A session processing method, the method comprising: Based on the content of each chat message in the conversation, determine the topic corresponding to the content of each chat message; Receive the first input to the chat message in the floating control; In response to the first input, a prompt message is displayed based on the content of the chat message in the floating control and the topic in the conversation; wherein, the prompt message is used to indicate that the content of the chat message in the floating control corresponds to a first topic in the conversation, and the first topic is determined based on the content of the chat message in the floating control or based on the content of the chat message in the conversation; Based on the prompt information, the chat message in the floating control is displayed in the interface of the conversation, and it is determined that the content of the chat message in the floating control corresponds to the first topic.

2. The method according to claim 1, wherein, The interface of the session outputs all chat messages in the session; The step of displaying prompt information based on the content of the chat messages in the floating control and the topics in the conversation includes: Based on the content of the chat message in the floating control, display the topic sending control corresponding to each topic in the conversation, and display the topic sending control corresponding to the newly created topic; wherein, the display state of the topic sending control corresponding to the first topic is different from the display state of other topic sending controls; The step of displaying the chat message in the floating control in the interface of the conversation according to the prompt information, and determining that the content of the chat message in the floating control corresponds to the first topic, includes: Receive a second input to the topic sending control corresponding to the first topic; In response to the second input, the chat message in the floating control is displayed in the interface of the session, and it is determined that the content of the chat message in the floating control corresponds to the first topic.

3. The method according to claim 1, wherein, When all chat messages in the session are displayed on the interface of the session, the topic corresponding to the content of each chat message is marked.

4. The method according to claim 1, wherein, The step of displaying prompt information based on the content of the chat messages in the floating control and the topics in the conversation includes: Based on the content of the chat messages in the floating control and the topics in the conversation, determine at least one topic corresponding to the content of the chat messages in the floating control; The content of the chat messages in the floating control is adjusted according to each of the at least one topic; Displays the adjusted chat messages corresponding to each topic; The step of displaying the chat message in the floating control in the interface of the conversation according to the prompt information, and determining that the content of the chat message in the floating control corresponds to the first topic, includes: Receive a third input for one of the adjusted chat messages; wherein, the one of the chat messages is adjusted based on the first topic among the at least one topics; In response to the third input, one of the chat messages is displayed in the interface of the conversation, and it is determined that the one of the chat messages corresponds to the first topic.

5. The method according to claim 1, wherein, After determining the topic corresponding to the content of each chat message, the method further includes: The interface of the conversation displays topic controls corresponding to each topic; Receive the fourth input for the topic control corresponding to the second topic; In response to the fourth input, all chat messages corresponding to the second topic are output on the interface of the conversation, as well as topic content related to the second topic. The topic content shall include at least one or more of the following: topic summary, topic viewpoints, topic conclusions, and topic participants.

6. A session processing apparatus, the apparatus comprising: The determination module is used to determine the topic corresponding to the content of each chat message in the session; The first receiving module is used to receive the first input of chat messages in the floating control; A first display module is configured to respond to the first input and display a prompt message based on the content of the chat message in the floating control and the topic in the conversation; wherein the prompt message is configured to indicate that the content of the chat message in the floating control corresponds to a first topic in the conversation, and the first topic is determined based on the content of the chat message in the floating control or based on the content of the chat message in the conversation; The second display module is used to display the chat messages in the floating control in the interface of the conversation according to the prompt information, and to determine that the content of the chat messages in the floating control corresponds to the first topic.

7. The apparatus according to claim 6, wherein, The interface of the session outputs all chat messages in the session; The first display module includes: The first display unit is used to display a topic sending control corresponding to each topic in the conversation, and a topic sending control corresponding to a newly created topic, based on the content of the chat message in the floating control; wherein the display state of the topic sending control corresponding to the first topic is different from the display state of other topic sending controls. The second display module includes: The first receiving unit is used to receive a second input to the topic sending control corresponding to the first topic; The second display unit is configured to respond to the second input by displaying the chat message in the floating control in the interface of the session, and to determine that the content of the chat message in the floating control corresponds to the first topic.

8. The apparatus according to claim 6, wherein, When all chat messages in the session are displayed on the interface of the session, the topic corresponding to the content of each chat message is marked.

9. The apparatus according to claim 6, wherein, The first display module includes: The determining unit is configured to determine at least one topic corresponding to the content of the chat message in the floating control based on the content of the chat message in the floating control and the topic in the conversation; An adjustment unit is used to adjust the content of the chat messages in the floating control according to each of the at least one topic; The third display unit is used to display the adjusted chat messages corresponding to each topic; The second display module includes: The second receiving unit is configured to receive a third input for one of the adjusted chat messages; wherein, the one of the chat messages is adjusted based on the first topic among the at least one topic; The fourth display unit is configured to, in response to the third input, display one of the chat messages in the interface of the conversation, and determine that the one of the chat messages corresponds to the first topic.

10. The apparatus according to claim 6, wherein, The device further includes: The third display module is used to display topic controls corresponding to each topic on the interface of the conversation. The second receiving module is used to receive the fourth input to the topic control corresponding to the second topic; The output module is used to respond to the fourth input by outputting all chat messages corresponding to the second topic at the interface of the conversation, and outputting topic content related to the second topic. The topic content shall include at least one or more of the following: topic summary, topic viewpoints, topic conclusions, and topic participants.

11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as claimed in any one of claims 1 to 5.

12. A readable storage medium on which a program or instructions are stored, wherein the program or instructions, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 5.

13. A computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the method as claimed in any one of claims 1 to 5.

14. A chip comprising a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method as described in any one of claims 1-5.

15. An electronic device configured to perform the steps of the method as claimed in any one of claims 1-5.

Citation Information

Patent Citations

  • Session message display method and device, apparatus and storage medium

    CN110138645A

  • Instant messaging method and device, computer device and terminal device

    CN110597974A

  • Message processing method and device, electronic equipment and storage medium

    CN112260937A

  • Display method and device and electronic equipment

    CN112787907A

  • Session processing method and device

    CN118413507A