Session message processing method and device, electronic equipment, computer readable storage medium and computer program product
By fusing the display styles of text messages and message elements in the conversation interface, a diverse fusion message is generated, which solves the problem of a single session process and improves the user experience.
Patent Information
- Application Number
- CN202410175929.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-07
- Publication Date
- 2025-08-08
AI Technical Summary
The prior art has a relatively single conversation process in the conversation interface and lacks diversity, which makes the experience dull and boring.
By displaying the text message of the first style and at least one message element in the session interface and fusing in response to user operations, the second style of fusing message is generated and displayed, the fusing message contains the content of the text message and the message element, and the style is different from the original style.
Improves the diversity of conversation messages during the conversation process and enhances the fun and interactiveness of the user experience.
Smart Images

Figure CN120455425A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for processing conversation messages. Background Art
[0002] When conducting conversations based on a conversation interface, related technologies mostly directly send one or multiple conversation messages (such as text messages or emoticons), which results in a relatively simple conversation process and a dull and boring experience. Summary of the Invention
[0003] Embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing conversation messages, which can improve the diversity of conversation messages during a conversation.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] This embodiment of the present application provides a method for processing a session message, including:
[0006] In the conversation interface, the first text message is displayed in a first style, and at least one message element is displayed, wherein the message element includes at least one of the second text message and an emoticon;
[0007] In response to a fusion operation on the first text message and at least one of the message elements, displaying the first fused message in a second style;
[0008] The first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
[0009] An embodiment of the present application provides a device for processing a session message, including:
[0010] A display module, configured to display the first text message in a conversation interface using a first style and at least one message element, the message element including at least one of the second text message and an emoticon;
[0011] A fusion module is used to display the first fused message in a second style in response to a fusion operation on the first text message and at least one of the message elements; wherein the first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
[0012] In the above scheme, the device also includes a second display module, which is used to display at least two text messages in the conversation interface; the display module is also used to display a first text message obtained by fusing the at least two text messages in the conversation interface in response to a fusion operation on the at least two text messages, using a first style to display the first text message obtained by fusing the at least two text messages, wherein the first text message includes the text content of the at least two text messages.
[0013] In the above scheme, the display module is further used to display at least two text messages received continuously and the sending time of each text message in the conversation interface; in response to the difference between the sending time of the at least two text messages being less than the first difference threshold, when the content overlap of the text messages reaches the overlap threshold, the process of merging the at least two text messages is displayed, and the first text message obtained by merging the at least two text messages is displayed in a first style.
[0014] In the above scheme, at least one of the message elements includes the second text message, and the fusion operation includes a pinching operation on the first text message and the second text message; the fusion module is also used to display the process of merging the first text message and the second text message in response to the pinching operation on the first text message and the second text message; when the ratio of the first area to the second area reaches the target ratio, the first text message and the second text message are canceled; wherein, the first area is the area of the overlapping area of the first text message and the second text message; the second area is the display area of the first text message or the display area of the second text message; and the first fused message obtained by fusing the first text message and the second text message is displayed in the second style.
[0015] In the above scheme, at least one of the message elements includes a second text message, and the first fused message is obtained by fusing the first text message and the second text message. The device also includes a third display module, and the third display module is used to display a first expression in the first fused message, and the first expression is used to indicate the emotion represented by the first text message and the second text message after fusion.
[0016] In the above scheme, the conversation interface also includes a third text message, and the device also includes a fourth display module, and the fourth display module is used to display a second fusion message in a third style in response to the fusion operation of the first fusion message and the third text message; wherein, the second fusion message includes the content of the first fusion message, the content of the third text message, and a second expression that replaces the first expression; the emotion represented by the second expression belongs to the same category as the emotion represented by the first expression, and the intensity of the emotion represented by the second expression is higher than the emotion represented by the first expression.
[0017] In the above scheme, the device also includes a fifth display module, which is used to display the display time of the first expression; when the display time reaches the target display time, the first expression is switched to a third expression different from the first expression; wherein the emotion indicated by the third expression belongs to the same emotion category as the emotion indicated by the first expression.
[0018] In the above scheme, at least one of the message elements includes the second text message, and the device further includes a sixth display module, which is used to display the sending time of the first text message at an associated position of the first text message; when a sending operation for the second text message is received, and the difference between the sending time of the sending operation and the sending time of the first text message is less than a second difference threshold, the sending operation is determined as a fusion operation for the first text message and the second text message.
[0019] In the above scheme, the conversation interface includes a message display area and a message editing area, and at least one of the message elements includes a fourth emoticon displayed in the message editing area; the fusion module is also used to respond to a drag operation on the fourth emoticon and drag the fourth emoticon from the message editing area to the first text message in the message display area; in response to a release operation on the fourth emoticon, the second style is used to display a first fused message obtained by fusing the fourth emoticon and the first text message.
[0020] In the above scheme, the first fused message also includes a fifth expression, and the emotion represented by the fifth expression belongs to the same emotion category as the emotion represented by the fourth expression; the fusion module is also used to adopt the second style to display a message bubble, and display the first fused message in the message bubble; wherein, the fifth expression and the fourth expression are periodically switched and displayed in the message bubble.
[0021] In the above scheme, a fourth emoticon is displayed in the first fused message, and the message editing area also includes a sixth emoticon; the device also includes a seventh display module, and the seventh display module is used to drag the sixth emoticon from the message editing area to the first fused message in the message display area in response to a drag operation on the sixth emoticon; in response to a release operation on the sixth emoticon, when the emotion represented by the sixth emoticon and the emotion represented by the fourth emoticon belong to different emotion categories, a third fused message is displayed in the fourth style; wherein, the third fused message includes the content of the first fused message and the sixth emoticon that replaces the fourth emoticon.
[0022] In the above scheme, the at least one message element includes other message elements, and the other message elements are different from at least one of the message elements; the device also includes an eighth display module, and the eighth display module is used to dynamically display the process of fusion of the other message elements and the first fusion message in response to the fusion operation on the first fusion message and the other message elements; when the number of fusions corresponding to the first fusion message is between the first number and the second number, a fourth fusion message is displayed in a fifth style different from the second style; wherein the fourth fusion message includes the content of the first fusion message and the content of the other message elements, and the fifth style is used to highlight the emotions represented by the other message elements.
[0023] In the above scheme, the conversation interface includes a message display area, and the first fused message is displayed in the message display area; when the number of fusions corresponding to the first fused message is greater than the second number, the device also includes a conversion module, which is used to convert the first fused message after integrating the other message elements into a barrage, and fix the barrage to the target position of the message display area; when the display time of the barrage reaches the first time, the barrage is canceled.
[0024] In the above scheme, the other message elements are sent by the target object; the device also includes a reply module, which is used to float and display reply barrages of other objects to the barrages above the barrage; wherein, the other objects are the objects with which the target object conducts conversations based on the conversation interface.
[0025] In the above scheme, the conversation interface also includes a message editing area, and the device also includes a ninth display module, which is used to display the edited message content in response to the message editing operation triggered based on the message editing area; in response to the sending instruction for the edited message content, the edited message content is displayed in the barrage at the target location.
[0026] In the above scheme, the device also includes a restoration module, which is used to display the process of restoring the first fusion message to obtain the first text message and the message elements in response to the restoration condition of the first fusion message being met; wherein the restoration condition includes at least one of the following: receiving a reply message to the first fusion message; the display time of the first fusion message reaches a second time; receiving a restoration instruction for the first fusion message, and the restoration instruction is used to instruct to restore the first fusion message to the first text message and the message elements.
[0027] An embodiment of the present application provides an electronic device, including:
[0028] a memory for storing computer-executable instructions;
[0029] The processor is configured to implement the method for processing the session message provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.
[0030] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing a processor to execute instructions to implement a method for processing a session message provided in an embodiment of the present application.
[0031] An embodiment of the present application provides a computer program product, comprising computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the method for processing conversation messages provided in an embodiment of the present application.
[0032] The embodiments of the present application have the following beneficial effects:
[0033] First, a first text message is displayed in a conversation interface using a first style, along with at least one message element including a second text message and at least one of an emoticon. Then, the first text message is fused with at least one of the at least one message elements to generate a first fused message including the content of the first text message and the content of the message element. The first fused message is then displayed using a second style different from the first style. In this way, by fusion operations on text messages and message elements, the display style and content of the text message are changed, thereby increasing the diversity of conversation messages during the conversation. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 1 is a schematic diagram of the architecture of a session message processing system 100 provided in an embodiment of the present application;
[0035] Figure 2 is a structural diagram of an electronic device provided in an embodiment of the present application;
[0036] Figure 3 This is a flow chart of a method for processing session messages provided in an embodiment of the present application;
[0037] Figure 4 2 is a schematic diagram of a process of displaying a first text message and a second text message that are merged to obtain a first merged message, provided by an embodiment of the present application;
[0038] Figure 5 is a schematic diagram of displaying a first expression in a first fusion message provided by an embodiment of the present application;
[0039] Figure 6 This is a schematic diagram of displaying a second fusion message in a third style according to an embodiment of the present application;
[0040] Figure 7 is a schematic diagram of switching a first expression to a third expression different from the first expression provided in an embodiment of the present application;
[0041] Figure 8 is a schematic diagram of a first fused message obtained by fusing a fourth emoticon and a first text message using a second style for display provided in an embodiment of the present application;
[0042] Figure 9 This is a schematic diagram of displaying a third fusion message in a fourth style according to an embodiment of the present application;
[0043] Figure 10 is a schematic diagram of displaying a fourth fusion message in a fifth style different from the second style provided by an embodiment of the present application;
[0044] Figure 11 This is a schematic diagram of a method for fixing a bullet screen at a target position in a message display area according to an embodiment of the present application;
[0045] Figure 12 This is a schematic diagram of an embodiment of the present application providing a floating display of reply bullet screens of other objects in response to the bullet screen;
[0046] Figure 13 This is a flowchart of the operation process of a user changing the chat bubble style through expressions and gestures provided by an embodiment of the present application;
[0047] Figure 14 This is a flowchart of the operation process of floating and restoring the super bubble scene bullet screen provided in an embodiment of the present application;
[0048] Figure 15 This is a flowchart of the process of changing bubble emotions through user operations provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0050] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0051] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0053] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0054] 1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0055] 2) Client, also known as user end, refers to the program corresponding to the server that provides local services to users. Except for some applications that can only run locally, it is generally installed on the terminal and needs to cooperate with the server to run. That is, there must be corresponding servers and service programs on the network to provide corresponding services. In this way, specific communication connections need to be established between the client and server to ensure the normal operation of the application, such as virtual scene clients (such as game clients) and video clients.
[0056] 3) Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also involves studying the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making.
[0057] 4) Message bubble, also known as chat bubble, refers to a style box that surrounds the text sent by the user in a chat scene.
[0058] 5) Pinch operation, a gesture operation performed on a touch screen device by using two fingers (usually the thumb and index finger) at the same time, is used to zoom in or out on the content on the screen, such as a web page, image or map. When the two fingers are in contact with the screen at the same time and move in a relatively stationary manner, if the fingers are close (approaching each other on the screen), the content on the display screen will be zoomed out; if the fingers are separated (moving away from each other on the screen), the content on the display screen will be zoomed in.
[0059] See also Figure 1 , Figure 1 This is an architectural diagram of a session message processing system 100 provided in an embodiment of the present application, including a terminal (terminal 400 is shown as an example), wherein terminal 400 is connected to server 200 via network 300, wherein network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0060] The server 200 is configured to send display data of the conversation interface including the first text message to the terminal 400;
[0061] Terminal 400 is used to receive display data of a conversation interface including a first text message, and based on the display data, display the first text message in a first style in the conversation interface, and display at least one message element, the message element including at least one of a second text message and an emoticon; in response to a fusion operation on the first text message and at least one of the at least one message element, display the first fused message in a second style; wherein the first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
[0062] In some embodiments, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDNs), and big data and artificial intelligence platforms. The terminal 400 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, an intelligent voice interaction device, a smart home appliance, a virtual reality device, a vehicle-mounted terminal, an aircraft, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device, an intelligent speaker, and a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0063] Next, the electronic device implementing the method for processing session messages provided in the embodiment of the present application is described. Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be a server or a terminal. Figure 1 Take the terminal shown in as an example, Figure 2 The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0064] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0065] The user interface 430 includes one or more output devices 431 that enable display of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0066] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0067] The memory 450 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0068] In some embodiments, the memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0069] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;
[0070] A network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wi-Fi, and Universal Serial Bus (USB).
[0071] a presentation module 453 for enabling display of information via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0072] The input processing module 454 is configured to detect one or more user inputs or interactions from one of the one or more input devices 432 and to translate the detected inputs or interactions.
[0073] In some embodiments, the apparatus provided in the embodiments of the present application may be implemented in software. Figure 2 The apparatus 455 for processing conversation messages stored in the memory 450 is shown. This apparatus can be software in the form of a program or plug-in, and includes the following software modules: a display module 4551 and a fusion module 4552. These modules are logical and can be arbitrarily combined or further separated according to the functions they implement. The functions of each module will be described below.
[0074] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus for processing a session message provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the session message processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0075] In some embodiments, the terminal or server can implement the method for processing session messages provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a local (Native) application (APP, Application), that is, a local client, that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP, a web browser APP; it can also be a small program, that is, a program that can be run only by downloading it into a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of client, module or plug-in.
[0076] Based on the above description of the session message processing system and electronic device provided by the embodiment of the present application, the following describes the session message processing method provided by the embodiment of the present application. In actual implementation, the session message processing method provided by the embodiment of the present application can be implemented by the terminal or the server alone, or by the terminal and the server in collaboration, so that Figure 1 The terminal 400 in the embodiment of the present application alone performs the method for processing the session message as an example for explanation. Figure 3 , Figure 3 This is a flow chart of the method for processing session messages provided by the embodiment of the present application. Next, Figure 3 The steps shown are explained.
[0077] In step 101, a terminal displays a first text message in a conversation interface in a first style and displays at least one message element, where the message element includes at least one of a second text message and an emoticon.
[0078] In actual implementation, the terminal is provided with a client that supports the processing of conversation messages, such as a video playback client, a browser client, a social client, etc. When the user opens the client on the terminal and the terminal runs the client, the terminal can display a conversation interface for the target object based on the client, and display the first text message in the conversation interface in the first style.
[0079] It should be noted that the message element is used to indicate a display element in the conversation interface associated with an operation of the target object, that is, a display element in the conversation interface that the target object can directly operate. For example, it can be a conversation message, including text conversation messages and emoticons. Meanwhile, the style refers to the display format of conversation messages, such as text messages and emoticons, in the conversation interface. For example, it can indicate a message bubble or a message card. Different styles are used to indicate at least one of the shape, color, and size of the message bubble or message card, which is not limited in this embodiment of the application. The first style can be pre-set.
[0080] In actual implementation, the first text message may be obtained through fusion, that is, a text message sent directly by the user, or the first text message may be obtained through fusion. When the first text message is obtained through fusion, there are multiple ways to display the first text message using the first style in the conversation interface. Next, the process of displaying the first text message using the first style in the conversation interface is described using two of them as examples.
[0081] In some embodiments, the first text message is obtained by a fusion operation of the user. Before the first text message is displayed in the conversation interface using the first style, at least two text messages may be displayed in the conversation interface. Thus, the process of displaying the first text message in the conversation interface using the first style may be, in response to the fusion operation on the at least two text messages, displaying the first text message obtained by fusion of the at least two text messages in the conversation interface using the first style, where the first text message includes the text content of the at least two text messages.
[0082] It should be noted that, when there are two at least two text messages, the fusion operation for the at least two text messages may be a pinching operation for the at least two text messages. Specifically, in response to the pinching operation for the at least two text messages, the process of merging the at least two text messages is displayed; when the ratio of the third area to the fourth area reaches the target area ratio, the display of the at least two text messages is cancelled; wherein the third area is the area of the overlapping area of the at least two text messages; the fourth area is the display area of each text message; and the first text message obtained by merging the at least two text messages is displayed in the first style.
[0083] It should be noted that the target area ratio can be pre-set; at the same time, each text message can be carried in a message bubble or a message card, and the display area of the text message is used to indicate the area occupied by the corresponding message bubble or message card, and the overlapping area of the text message also refers to the overlapping area between corresponding message bubbles or message cards. Specifically, when the text message is carried in a message bubble, the first style indicates the style of the message bubble, and when the text message is carried in a message card, the first style indicates the style of the message card.
[0084] Alternatively, when there are two at least two text messages, the fusion operation on the at least two text messages may be a drag operation and a release operation on the at least two text messages. Specifically, in response to the drag operation on the target text message in the at least two text messages, the target text message is dragged to another text message; in response to the release operation on the target text message, the first text message obtained by fusion of the target text message and the other text message is displayed in a first style.
[0085] It should be noted that, as mentioned above, each text message can be carried in a message bubble or a message card, and the dragging operation on the text message is the dragging operation on the message bubble or message card where the text message is located.
[0086] In actual implementation, the conversation interface includes a message editing area and a message display area. The message editing area is used for users to edit the conversation messages sent, and the message display area is used for multiple users to browse the messages sent by each other; and the text messages (including the first text message) are displayed in the message display area.
[0087] In other embodiments, the first text message is automatically merged, and thus, in the conversation interface, the process of displaying the first text message in the first style may be, in the conversation interface, displaying at least two consecutively received text messages and the sending time of each text message; in response to the difference in the sending time of the at least two text messages being less than the first difference threshold, when the content overlap of the text messages reaches the overlap threshold, displaying the process of fusing the at least two text messages, and displaying the first text message obtained by fusing the at least two text messages in the first style.
[0088] It should be noted that if at least two text messages are sent to the same recipient and no other messages are received between the text messages, the at least two text messages are considered to have been received consecutively. The term "received" here refers to the client on the terminal, and therefore can refer to at least two text messages sent by the recipient corresponding to the current terminal, and thus received by the client. The term "no other messages received between the text messages" refers to messages sent by the recipient themselves, as well as messages sent by other recipients with whom the recipient is engaged in a conversation via the conversation interface.
[0089] It should be noted that the first difference threshold can be pre-set, for example, it can be 1 second or 2 seconds; at the same time, the overlap threshold can also be pre-set, for example, it can be 90%, and the content overlap of each text message can refer to the similarity of the text content, including text similarity and meaning similarity. When the content overlap includes text similarity, the content overlap is determined based on the same number of unit characters (such as a single Chinese character or a single word, etc.) in each text message. When the content overlap includes intention similarity, the intention of each text message is first identified to obtain the intention represented by each text message, and then the content overlap of the text messages is determined based on the similarity between the intentions of each text message.
[0090] It should be noted that, when the number of the at least two text messages is greater than two, the above process is repeated for every two text messages in the at least two text messages until a fused first text message is finally obtained.
[0091] Step 102: In response to a fusion operation on the first text message and at least one message element, display the first fused message in a second style; wherein the first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
[0092] It should be noted that, as mentioned above, style refers to the display form of conversation messages such as text messages and emoticons in the conversation interface. For example, it can indicate a message bubble or a message card. Different styles are used to indicate at least one of the shape, style, color, and size of the message bubble or message card. Therefore, the second style is different from the first style. The style may include at least one of the shape, color, and size of the message bubble or message card. The second style is used to assist the text content in the first fused message to indicate the emotion of the first fused message.
[0093] In actual implementation, the fusion operation on the first text message and at least one message element refers to a fusion operation on the first text message and at least one of the at least one message elements displayed in the conversation interface. That is, the at least one message element targeted by the fusion operation is one or more message elements displayed in the conversation interface, and the fusion operation is to fuse the first text message and one or more message elements displayed in the conversation interface.
[0094] Next, at least one of the at least one message elements is taken as the target message element, and the process of displaying the first fused message in the second style in response to the fusion operation on the first text message and at least one message element is described; wherein, the target message element can indicate one message element or multiple message elements, and this embodiment of the present application does not limit this.
[0095] In actual implementation, since the message elements include at least one of the second text message and emoticons, the process of displaying the first fused message in the second style in response to the fusion operation on the first text message and at least one message element is different for different situations of the target message elements.
[0096] This is for the case where the target message element includes the second text message.
[0097] In actual implementation, when at least one message element, i.e., the target message element, includes a second text message, the fusion operation may include a pinch operation on the first text message and the second text message, or the fusion operation may also include a drag operation and a release operation on the first text message and the second text message, or the fusion operation may also be a real sending operation of the second text message.
[0098] In some embodiments, when the fusion operation includes a pinching operation on the first text message and the second text message, the process of displaying the first fused message in the second style in response to the fusion operation on the first text message and at least one message element may be, in response to the pinching operation on the first text message and the second text message, displaying the process of merging the first text message and the second text message; when the ratio of the first area to the second area reaches a target ratio, canceling the display of the first text message and the second text message; wherein the first area is the area of the overlapping area of the first text message and the second text message; the second area is the display area of the first text message or the display area of the second text message; and the first fused message obtained by fusing the first text message and the second text message is displayed in the second style.
[0099] It should be noted that, as mentioned above, the target ratio can be pre-set; at the same time, the first text message and the second text message can be carried in a message bubble or a message card, and the display area of the first text message and the second text message is used to indicate the area occupied by the corresponding message bubble or message card, and the overlapping area of the first text message and the second text message also refers to the overlapping area between the corresponding message bubbles or message cards. Specifically, when the first text message and the second text message are carried in a message bubble, the second style indicates the style of the message bubble, and when the first text message and the second text message are carried in a message card, the second style indicates the style of the message card.
[0100] For example, see Figure 4 , Figure 4 This is a schematic diagram of a process of displaying a first text message and a second text message to obtain a first fused message according to an embodiment of the present application, based on Figure 4 , Figure 4 The area indicated by the dotted line frame 403 in a is the message display area. Figure 4 The fusion operation of the two text messages indicated by the dotted box 401 in a, namely the first text message and the second text message, such as the kneading operation, is displayed as shown in FIG. Figure 4 The first fusion message indicated by 402 in b.
[0101] In other embodiments, when the fusion operation includes a drag operation and a release operation on the first text message and the second text message, the process of displaying the first fused message in the second style in response to the fusion operation on the first text message and at least one message element may be, in response to the drag operation on the second text message, dragging the second text message to the first text message; and in response to the release operation on the second text message, displaying the first text message obtained by fusion of the first text message and the second text message in the second style.
[0102] It should be noted that, in response to the drag operation on the first text message, the first text message can be dragged to the second text message, and then in response to the release operation on the first text message, the first text message obtained by merging the first text message and the second text message can be displayed in the second style. The embodiment of the present application does not limit this. At the same time, as mentioned above, the first text message and the second text message can be carried in message bubbles or message cards, and the drag operation on the first text message and the second text message is, that is, the drag operation on the message bubbles or message cards where the first text message and the second text message are located.
[0103] In other embodiments, when the fusion operation includes a sending operation for a second text message, in response to the fusion operation for a first text message and at least one message element, before displaying the first fused message in the second style, the sending time of the first text message may also be displayed at the associated position of the first text message; when a sending operation for the second text message is received, and the difference between the sending time of the sending operation and the sending time of the first text message is less than a second difference threshold, the sending operation is determined as a fusion operation for the first text message and the second text message.
[0104] It should be noted that the second difference threshold is pre-set, for example, it can be 1 second or 2 seconds; here, the conversation interface may include a message editing area and a message display area, the first text message is displayed in the message display area, and before sending the second text message, the second text message is displayed in the message editing area. When a sending operation for the second text message is received, and the difference between the sending time of the sending operation and the sending time of the first text message is less than the second difference threshold, when the user performs the sending operation for the second text message, the second text message will not be displayed in the message display area, but the first text message will be cancelled in the message display area, and a first fused message obtained by fusion of the first text message and the second text message will be displayed.
[0105] It should be noted that when at least one message element, that is, the target message element, is the second text message, the message content of the first fused message can be obtained by combining the text contents of each text message, or it can be regenerated based on the text content of the text message, that is, the first fused message can include the content of the first text message and the content of the second text message. For example, when the first text message is "Are you there?" and the second text message is "Are you there!", the first fused message can be "Are you there? Are you there?!" or "Are you there? Are you there!"; it can also include content associated with the content of the first text message and the content of the second text message. For example, when the first text message is "Are you there?" and the second text message is "Are you there!", the first fused message can be "Are you there???!!!".
[0106] It should be noted that, as mentioned above, the first text message can be automatically merged, and here the first text message and the second text message can also be automatically merged. At the same time, the process of automatic fusion of the first text message and the second text message is similar to the process of automatic fusion of the first text message described above. This embodiment of the present application will not be elaborated on.
[0107] In actual implementation, when the message element includes a second text message, and the first fused message is obtained by fusing the first text message and the second text message, it is also possible to display a first expression in the first fused message, where the first expression is used to indicate the emotions represented by the fused first text message and the second text message.
[0108] It should be noted that the first expression can be pre-set. For example, corresponding expressions are set for different emotions such as happiness, anger, sadness, crying, etc. Then, when a fusion operation is received for the first text message and the second text message, emotion recognition is performed on the first text message and the second text message to obtain the emotions represented by the first text message and the second text message. When the emotion represented by the first text message and the emotion represented by the second text message belong to the same category, a pre-set expression corresponding to the emotion, i.e., the first expression, is obtained, and the first expression is displayed in the first fused message. When the emotion represented by the first text message and the emotion represented by the second text message belong to different categories, the expression corresponding to the emotion represented by the first text message and the expression corresponding to the emotion represented by the second text message are respectively obtained, and the two expressions are combined to form the first expression, and the first expression is displayed in the first fused message. Combining the two expressions to form the first expression can be to generate a new expression, i.e., the first expression, based on the two expressions, or to directly use the two expressions as the first expression, for example, to display the two expressions simultaneously, or to switch between the two expressions periodically.
[0109] For example, see Figure 5 , Figure 5 This is a schematic diagram of displaying the first expression in the first fusion message provided by an embodiment of the present application, based on Figure 5 , Figure 5 The dotted box 501 in a indicates the first text message and the second text message, and Figure 5 The first fusion message is indicated by 502 in b. Figure 5 The first text message indicated by the dotted box 501 in a and the second text message are merged to obtain Figure 5 When the first fusion message indicated by 502 in b is displayed, the first expression indicated by 503 is displayed in the first fusion message, wherein the emotions represented by the first text message and the second text message are angry, and the emotion represented by the first expression is also angry.
[0110] In actual implementation, in the process of performing emotion recognition on a first text message and a second text message to obtain the emotions represented by the first and second text messages, taking the first text message as an example, first, the message content of the first text message is extracted; emotion keywords in the message content are obtained, where the emotion keywords are used to indicate the emotion represented by the message content, such as words that directly indicate emotions, such as sad, happy, crying, and angry, or emoticons such as TT and QAQ, for example, TT and QAQ can indicate crying, or punctuation marks such as ???, for example, ??? can indicate doubt; then, when the emotion keywords are successfully obtained, a pre-set mapping relationship between the emotion keywords and the emotions is obtained, and the emotion represented by the first text message is determined based on the obtained emotion keywords and the mapping relationship; if the emotion keywords fail to be obtained, a pre-trained emotion recognition model is called to perform emotion recognition on the message content to obtain the emotion represented by the first text message.
[0111] It should be noted that the process of identifying the emotion represented by the second text message is similar to the process of identifying the emotion represented by the first text message, and this embodiment of the present application will not be described in detail.
[0112] In actual implementation, as described above, the first fused message may include the first emoticon, and thus the second style may also indicate the style of the message bubble or message card including the first emoticon. Therefore, when the first fused message is displayed in the second style, the emotion indicated by the first fused message can be directly highlighted based on the second style. Furthermore, the first text message may or may not include an emoticon. When the first text message includes an emoticon, the emoticon is different from the first emoticon, thereby making the first style different from the second style. When the first text message does not include an emoticon, the first style is also different from the second style.
[0113] In actual implementation, after the first emoticon is displayed in the first fused message, the first emoticon can be switched. Here, the first emoticon can be switched based on the operation of the target object or automatically. Next, the two switching processes are described respectively.
[0114] In some embodiments, the conversation interface also includes a third text message. After displaying the first fused message in the second style, a second fused message can be displayed in the third style in response to a fusion operation on the first fused message and the third text message; wherein the second fused message includes the content of the first fused message, the content of the third text message, and a second expression that replaces the first expression; the emotion represented by the second expression belongs to the same category as the emotion represented by the first expression, and the intensity of the emotion represented by the second expression is higher than the emotion represented by the first expression.
[0115] It should be noted that the emotion represented by the second expression is the same as the emotion represented by the third text message. When a fusion operation is received for the first fusion message and the third text message, emotion recognition is performed on the first fusion message and the third text message. The emotion recognition process is as described above, and this embodiment of the present application will not be described in detail. Then, when the emotion recognition result indicates that the emotion represented by the first fusion message and the emotion represented by the third text message belong to the same category, the first fusion message and the third text message are fused to obtain a second fusion message, and the second fusion message is displayed in a third style. Similar to the first fusion message described above, the second fusion message may include the content of the first fusion message and the content of the third text message, or may include content associated with the content of the first fusion message and the content of the third text message. At the same time, as the same as the second style above, the third style here can also be used to indicate the style of a message bubble or message card that includes the second expression.
[0116] For example, see Figure 6 , Figure 6 This is a schematic diagram of displaying the second fusion message in the third style provided by an embodiment of the present application, based on Figure 6 , in response to Figure 6 The fusion operation of the first fusion message indicated by 601 in a and the third text message indicated by 602 in a is displayed as follows Figure 6 The second fusion message indicated by 604 in b, wherein the second fusion message includes replacing Figure 6 The first expression indicated by 603 in a, such as Figure 6 The second expression indicated by 605 in b, and the emotion represented by the second expression belongs to the same emotion category as the emotion represented by the first expression, namely anger.
[0117] It should be noted that when the emotion recognition result indicates that the emotion represented by the first fused message and the emotion represented by the third text message do not belong to the same category, the first fused message and the third text message will still be fused to obtain a second fused message, and the second fused message will be displayed in a third style. However, the emotion represented by the second expression and the emotion represented by the first expression do not belong to the same category.
[0118] In some embodiments, after displaying the first expression in the first fusion message, the display duration of the first expression may also be displayed; when the display duration reaches the target display duration, the first expression is switched to a third expression that is different from the first expression; wherein the emotion indicated by the third expression belongs to the same emotion category as the emotion indicated by the first expression.
[0119] It should be noted that the target display time is also pre-set, such as 3 seconds; at the same time, the third expression is also pre-set, which is used to highlight the emotions represented by the third expression and the first expression, so that the emotions represented by the first fusion message are displayed more deeply.
[0120] For example, see Figure 7 , Figure 7 This is a schematic diagram of switching a first expression to a third expression different from the first expression provided by an embodiment of the present application, based on Figure 7 When the display duration reaches the target display duration, Figure 7 The first expression indicated by 702 in the first fusion message indicated by 701 in a is switched to a different expression from the first expression, as shown in FIG. Figure 7 The third expression indicated by 703 in b.
[0121] This is for the case where at least one message element, ie, the target message element, includes an emoticon.
[0122] In actual implementation, the conversation interface includes a message display area and a message editing area, at least one message element, that is, the target message element, includes a fourth emoticon displayed in the message editing area, and the first text message can be displayed in the message display area; thus, in response to the fusion operation on the first text message and at least one message element, the process of displaying the first fused message in the second style can be, in response to the drag operation on the fourth emoticon, dragging the fourth emoticon from the message editing area to the first text message in the message display area; in response to the release operation on the fourth emoticon, displaying the first fused message obtained by fusing the fourth emoticon and the first text message in the second style.
[0123] It should be noted that, in addition to being displayed in the message editing area, the fourth emoticon can also be displayed in the message display area. When the fourth emoticon is displayed in the message display area, the fusion operation for the first text message and at least one message element can be, in addition to the drag operation and the release operation, a pinch operation of the first text message and at least one message element. Here, the process of performing the pinch operation on the first text message and at least one message element is the same as the process of performing the pinch operation on the first text message and the second text message described above. This will not be elaborated in the embodiments of the present application.
[0124] It should be noted that, as previously described, the message display area is the area in the conversation interface where at least two parties engaged in a conversation display their sent conversation messages, and the message editing area is the area in the conversation interface where at least two parties engaged in a conversation edit their conversation messages. Furthermore, the second style is also pre-set and corresponds to the fourth expression, or may also include the fourth expression. The emotion represented by the first fused message is the same as the emotion represented by the fourth expression, and the content of the first fused message may be the same as or associated with the first text message.
[0125] For example, see Figure 8 , Figure 8 This is a schematic diagram of a first fusion message obtained by fusing the fourth expression and the first text message using the second style provided in an embodiment of the present application, based on Figure 8 , the conversational interface includes Figure 8 The message display area indicated by the dotted box 801 in a and the message editing area indicated by the dotted box 802 in a, and then in response to the drag operation of the fourth expression indicated by 804 in a in the message editing area, the fourth expression is dragged from the message editing area to the first text message indicated by 803 in a in the message display area, and then in response to the release operation of the fourth expression, the second style is used to display the fourth expression and the first text message. Figure 8 The first fusion message indicated by 805 in b, wherein the second style is pre-set and corresponds to the fourth expression.
[0126] In some embodiments, the first fused message also includes a fifth expression, and the emotion represented by the fifth expression belongs to the same emotion category as the emotion represented by the fourth expression; thus, the process of displaying the first fused message obtained by fusing the fourth expression and the first text message in the second style may be to display a message bubble in the second style and display the first fused message in the message bubble; wherein the fifth expression and the fourth expression are periodically switched and displayed in the message bubble.
[0127] It should be noted that the emotion category can be pre-set, for example, it can be classified based on the tendency of the emotion, such as positive, negative, etc., that is, positive emotions are one category and negative emotions are another category, or it can be divided based on specific emotions, such as sad, happy, angry, etc. This embodiment of the present application is not limited to this. In addition, the message bubble is used to carry the corresponding third target message. As mentioned above, the second style is used to indicate at least one of the shape, style, color, and size of the message bubble. At the same time, the message bubble can also be in the form of a message card, which is not limited to this embodiment of the present application. In addition, the frequency of periodic switching here can be pre-set, for example, it can be three seconds.
[0128] In some embodiments, the message editing area also includes a sixth emoticon, and at the same time, the second style indicates that the first fused message displays a fourth emoticon; thus, after displaying the first fused message obtained by fusing the fourth emoticon and the first text message using the second style, it is also possible to, in response to a drag operation on the sixth emoticon, drag the sixth emoticon from the message editing area to the first fused message in the message display area; in response to a release operation on the sixth emoticon, when the emotion represented by the sixth emoticon and the emotion represented by the fourth emoticon belong to different emotion categories, the fourth style is used to display a third fused message; wherein, the third fused message includes the content of the first fused message and the sixth emoticon that replaces the fourth emoticon.
[0129] In actual implementation, when a release operation for the sixth expression is received, the emotion corresponding to the sixth expression and the emotion corresponding to the fourth expression are identified to obtain an identification result. When the identification result indicates that the emotion corresponding to the sixth expression and the emotion corresponding to the fourth expression belong to different emotion categories, the fourth style corresponding to the sixth expression is obtained, and the fourth style is used to display the third fusion message.
[0130] It should be noted that, at the same time, as in the second style mentioned above, the fourth style here can also be used to indicate the style of a message bubble or message card including the sixth expression or corresponding to the sixth expression; the emotion represented by the third fusion message is the same as the emotion represented by the sixth expression, and at the same time, the content of the third fusion message can be the same as the first fusion message, or it can be associated with the first fusion message. For example, the text content of the first fusion message can also be changed, that is, based on the content of the first fusion message, the modal particle corresponding to the sixth expression is obtained, and based on the modal particle corresponding to the sixth expression, the modal particle in the first fusion message is modified to obtain the third fusion message. This is not limited in this regard.
[0131] For example, see Figure 9 , Figure 9 This is a schematic diagram of displaying the third fusion message in the fourth style provided by an embodiment of the present application, based on Figure 9 , the conversational interface includes Figure 8 The message display area indicated by the dotted box 901 in a and the message editing area indicated by the dotted box 902 are displayed, and then in response to the drag operation on the sixth expression indicated by 904 in a in the message editing area, the sixth expression is dragged from the message editing area to the first fusion message indicated by 903 in a in the message display area, wherein the emotion corresponding to the sixth expression is happy, and the emotion corresponding to the fourth expression is angry, belonging to different emotion categories. Therefore, in response to the release operation on the sixth expression, the fourth style corresponding to the sixth expression is obtained, and the fourth style is used to display as shown in FIG. Figure 9The third fusion message indicated by 905 in b here, where the fourth style is used to indicate the style including the sixth expression, and the content of the first fusion message is included in the third fusion message and replaces the fourth expression indicated by 906 in a as Figure 9 in a, and the sixth expression indicated by 907 in b as Figure 9 in b; wherein, based on the modal particle corresponding to the sixth expression, the modal particle in the first fusion message is modified, that is, the modal particle "ma" is modified to "mie".
[0132] In actual implementation, when a release operation for the fourth expression or the sixth expression is received, the corresponding expression and the emotion corresponding to the corresponding text message are recognized to obtain a recognition result, and subsequent processing is performed based on the recognition result. Specifically, taking the sixth expression as an example, when the recognition result indicates that the emotion represented by the sixth expression and the emotion represented by the third fusion message do not belong to different emotion categories, the third style is used to indicate the fourth style corresponding to the sixth expression, that is, the style of the third fusion message is switched to the fourth style corresponding to the sixth expression to display the third fusion message, so as to display the emotion corresponding to the sixth expression based on the fourth style; when the recognition result indicates that the emotion represented by the sixth expression and the emotion represented by the third fusion message belong to different categories, the fourth style will highlight the emotions represented by the sixth expression and the fourth expression compared with the second style. Here, the processing process for the fourth expression and the first text message is similar, and the embodiments of the present application will not elaborate on this.
[0133] In some embodiments, at least one message element includes other message elements, and the other message elements are different from the at least one message element, that is, the target message element; thus, in response to the fusion operation for the first text message and the at least one message element, after displaying the first fusion message in the second style, it is also possible to, in response to the fusion operation for the first fusion message and the other message elements, dynamically display the process of fusing the other message elements with the first fusion message; when the number of fusions corresponding to the first fusion message is between the first number and the second number, the fourth fusion message is displayed in a fifth style different from the second style; wherein, the fourth fusion message includes the content of the first fusion message and the content of the other message elements, and the fifth style is used to highlight the emotion represented by the other message elements.
[0134] It should be noted that the process of dynamically displaying the fusion of other message elements with the first fused message, i.e., the process of dynamically displaying the fusion of other message elements into the first fused message, is used to indicate the gradual disappearance of the displayed other message elements. During the gradual disappearance of the other message elements, the fusion count corresponding to the first fused message is obtained. When the fusion count is between the first and second counts, a fourth fused message is displayed using a fifth style different from the second style. The first and second counts may be pre-set, with the second count being greater than the first count. Furthermore, the fifth style may also be pre-set.
[0135] It should be noted that the number of fusions corresponding to the first fused message includes the number of fusion processes performed when obtaining the first fused message, that is, the sum of the automatic fusion process and the fusion process based on the fusion operation. For example, when the first text message is obtained through automatic fusion and the first text message and at least one message element, that is, the target message element such as an emoticon or a text message, are fused to obtain the first fused message, the number of fusions corresponding to the first fused message here is two.
[0136] For example, see Figure 10 , Figure 10 This is a schematic diagram of displaying a fourth fusion message in a fifth style different from the second style provided by an embodiment of the present application, based on Figure 10 , in response to Figure 10 The first fusion message indicated by 1001 in a and Figure 10 The fusion operation of other message elements indicated by 1002 in a dynamically displays the process of fusion of other message elements with the first fusion message; when the fusion times corresponding to the first fusion message are between the first and second times, a different method is used. Figure 10 The second style indicated by 1001 in a, such as Figure 10 The fifth style indicated by 1003 in b displays the fourth fusion message.
[0137] In actual implementation, the conversation interface includes a message display area, and the first fused message is displayed in the message display area; when the number of fusions corresponding to the first fused message is greater than the second number, the first fused message after being integrated with other message elements can also be converted into a barrage, and the barrage is fixedly displayed at the target position in the message display area; when the display time of the barrage reaches the first time length, the barrage is cancelled.
[0138] It should be noted that the target position is used to indicate the display area occupied by the bullet screen. The display area here can be the entire conversation interface or a portion of the conversation interface, or the entire message display area or a portion of the message display area. This is not limited in the embodiments of the present application. When the display area is a portion of the area, the area ratio of the display area to the corresponding conversation interface or message display area is pre-set, such as the display area occupying half of the conversation interface, or the display area occupying half of the message display area.
[0139] It should be noted that the first duration can be pre-set, such as 5 seconds. When the display duration of the barrage reaches the first duration, the barrage is canceled. In this way, while ensuring the effect of the barrage, excessive interference with the user's conversation process is prevented, thereby improving the user's conversation experience.
[0140] For example, see Figure 11 , Figure 11 This is a schematic diagram of a method for fixing the bullet screen at a target position in the message display area provided by an embodiment of the present application, based on Figure 11 , when will be like Figure 11 The other message elements indicated by 1102 in a are the same as those in Figure 11 When the first fusion message indicated by 1101 in a is fused, Figure 11 When the fusion times corresponding to the first fusion message indicated by 1101 in a is greater than the second number, the first fusion message after integrating other message elements is converted into the following Figure 11 The barrage indicated by 1103 in b is fixedly displayed on the Figure 11 When the display time of the bullet screen reaches the first time, the bullet screen is canceled and the message is displayed as shown in b. Figure 11 The interface shown in c.
[0141] In actual implementation, other message elements are sent by the target object; thus, after the barrage is fixedly displayed at the target position of the message display area, the reply barrages of other objects in response to the barrage can also be displayed floating above the barrage; among them, the other objects are the objects with which the target object conducts conversations based on the conversation interface.
[0142] It should be noted that the other objects can be one or more. When the other objects see the barrage sent by the target object, they send a reply message in response to the barrage. When the reply message is sent to the message display area in the conversation interface, the reply message is converted into a reply barrage and displayed floating above the barrage sent by the target object.
[0143] For example, see Figure 12 , Figure 12This is a schematic diagram of a barrage of replies to barrages provided by an embodiment of the present application, which is based on the fact that other objects are suspended above the barrage. Figure 12 After the barrage is fixedly displayed at the target position in the message display area, a reply barrage of other objects to the barrage as indicated by the dotted box 1202 is displayed floating above the barrage as indicated by 1201.
[0144] In actual implementation, after the barrage is fixedly displayed at the target location in the message display area, if the target party continues to send conversation messages, the continued conversation messages can also be displayed in the barrage. Specifically, the conversation interface also includes a message editing area, so that after the barrage is fixedly displayed at the target location in the message display area, the edited message content can also be displayed in response to a message editing operation triggered based on the message editing area; in response to a send instruction for the edited message content, the edited message content can be displayed in the barrage at the target location. The message content includes at least one of a text message, an emoticon message, and a voice message.
[0145] In some embodiments, the first fused message obtained by fusion can also be restored. Specifically, in response to the fusion operation on the first text message and at least one message element, after the first fused message is displayed in the second style, it is also possible to display the process of restoring the first fused message to obtain the first text message and message elements in response to the restoration condition of the first fused message being met; wherein the restoration condition includes at least one of the following: receiving a reply message to the first fused message; the display time of the first fused message reaches the second time; receiving a restoration instruction for the first fused message, the restoration instruction is used to instruct to restore the first fused message to the first text message and message elements.
[0146] It should be noted that when the first fusion message is sent to the target object, the reply message to the first fusion message is other objects in the conversation interface except the target object; and the second duration can also be pre-set, for example, 5 seconds; at the same time, the restoration instruction for the first fusion message can be triggered by the target object corresponding to the conversation interface, and a restoration control for restoring the first fusion message can be displayed on the conversation interface, so that in response to the triggering operation of the restoration control, the restoration instruction for the first fusion message is received, or it can be in response to receiving a restoration operation for the first fusion message triggered on the conversation interface, such as a pressing operation or a sliding operation, so that the restoration instruction for the first fusion message is received, etc.
[0147] In some embodiments, the second fusion message, the third fusion message and the fourth fusion message mentioned above can also be restored, wherein the restoration conditions for the second fusion message, the third fusion message and the fourth fusion message are similar to the restoration conditions for the first fusion message. At the same time, the restoration process for the second fusion message, the third fusion message and the fourth fusion message is similar to the restoration process for the first fusion message. This is not elaborated in the embodiments of the present application; at the same time, after the second fusion message, the third fusion message and the fourth fusion message are restored to obtain the first fusion message, the first fusion message can also be restored. The restoration process is as described above. This is not elaborated in the embodiments of the present application.
[0148] Using the above-described embodiment of the present application, a first text message is first displayed in a conversation interface using a first style, along with at least one message element including a second text message and at least one of an emoticon. The first text message is then fused with at least one of the at least one message elements to generate a first fused message including the content of the first text message and the content of the message element. The first fused message is then displayed using a second style different from the first style. In this way, by fusion operations on the text message and the message elements, the display style and content of the text message are changed, thereby increasing the diversity of conversation messages during the conversation.
[0149] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0150] During the conversation process of related technologies, the chat bubble shape is fixed, and the conversation experience is dull and boring. At the same time, user emotions are expressed entirely through text or emoticons, which is a relatively simple method. In addition, misunderstandings of emotions may occur in many scenarios, further reducing the conversation experience.
[0151] Based on this, the present invention provides a new way of text and voice expression for chat dialogues, aiming to express user emotions more accurately and unlock more interactive gameplay. Specifically, by integrating text messages with text messages (text conversation messages), integrating emoticons (expressions) with bubbles (target messages), and integrating emoticons with voice messages in chat scenarios, the bubble state (display style) of voice messages and voice messages is transformed to be more in line with physical intuition. In this way, the emotional transmission between users can be expressed more clearly, and user interaction can be increased in a more interesting way. At the same time, users can enhance the expression of text messages by pinching text messages with both hands and changing the shape of text bubbles. Moreover, by long pressing a text message and dragging it to another text message, text messages can also be merged to change the shape of text bubbles to enhance the expression of text messages. In addition, dragging an emoticon package into a text message or voice message can give the message different forms, such as bubble shape, color, text, sound, emoticon package, etc. In addition, when the user is not speaking, he can directly drag the emoticon package onto the voice control, so that the current buzzwords are intelligently generated according to the meaning of the emoticon package and converted into AI voice to be sent.
[0152] Next, the technical solution of this application is explained from the product side.
[0153] For text messages, such as Figure 4 、 Figure 5 as well as Figure 6 As shown, in response to a pinch operation on a text message, the chat bubble color, shape, expression, etc. are changed to enhance the user's emotional expression; or, as shown in FIG. Figure 8 、 Figure 9 、 Figure 10 In response to dragging an emoticon into a bubble, the chat bubble color, shape, expression, etc. are changed, thereby enhancing the user's emotional expression.
[0154] For voice messages, in response to the drag operation on the emoticon, the emoticon is dragged into the voice message, thereby changing the timbre of the voice; or, in response to dragging the emoticon into an empty voice (voice control), the relevant voice is automatically generated according to the emoticon, and then when the playback instruction for the voice is received, it is read out intelligently by AI.
[0155] Next, the technical solution of this application is explained from a technical perspective.
[0156] In actual implementation, the technical solution of this application mainly includes three processes, namely, the operation process of users changing the chat bubble style through expressions and gestures, the operation process of super bubble scene barrage floating screen and recovery, and the process of changing bubble emotions through user operations.
[0157] For the user's operation process of changing the chat bubble style through emoticons and gestures, see Figure 13 , Figure 13 This is a flow chart of the operation process of the user changing the chat bubble style through expressions and gestures provided by the embodiment of the present application, based on Figure 13 , the user changes the chat bubble style through expressions and gestures Figure 13 Specifically, you can first enter a normal text message, and then drag the emoticon to the chat bubble of the text message to change the chat bubble style, or pinch adjacent text messages to change the chat bubble style.
[0158] For inputting ordinary text messages, first, in response to the message sender's sending operation for the input chat conversation text, the chat conversation text input by the message sender is sent, wherein the sending client, that is, the client corresponding to the message sender, sends the chat conversation text to the server, so that after the server receives the chat conversation text, it generates a unique message identifier, writes the chat conversation text to the storage, and pushes the chat conversation text to the receiving client, that is, the client corresponding to the message recipient. After the chat conversation text is successfully displayed on the receiving client, the sending client receives the unique message identifier of the chat conversation text sent by the server, and displays the chat bubble and text content corresponding to the chat conversation text on the session interface.
[0159] Regarding the process of changing the chat bubble style by dragging an emoticon into the chat bubble of the above-mentioned chat conversation text, in response to the message sender dragging the system emoticon into the chat bubble of the chat conversation text, the sending client sends a chat mood change request carrying the emoticon dragged by the message sender and the identifier of the chat conversation text to the server. The server receives the chat mood change request, determines the emotion expressed by the emoticon, and calculates a new bubble style result in combination with the current emotion of the message, updates it to the cloud storage, and then pushes a style change result of the message to the receiving client, that is, the client corresponding to the message recipient. After successfully displaying the style change result on the receiving client, the sending client receives the new bubble style of the chat conversation text sent by the server, thereby displaying the new chat bubble and text content corresponding to the chat conversation text on the session interface.
[0160] Regarding the process of changing the chat bubble style by pinching adjacent text messages by gesture, in response to the message sender's pinching operation on the chat conversation text and the text messages adjacent to the chat conversation text, the sending client extracts the message identifier of the pinched message, and sends a chat mood change request carrying a list of identifiers of messages associated with the pinching operation (if emoticons are transmitted together), to the server. The server receives the chat mood change request, analyzes the list of pinched identifiers or system emoticons in the request, calculates the new bubble style result according to the number of messages and the meaning of the emoticons, updates it to the cloud storage, and then pushes a style change result of the message to the receiving client, that is, the client corresponding to the message recipient. After the style change result is successfully displayed on the receiving client, the sending client receives the new bubble style of the chat conversation text sent by the server, thereby displaying the new chat bubble and text content corresponding to the chat conversation text on the session interface.
[0161] For the operation process of floating and restoring the super bubble scene bullet screen, see Figure 14 , Figure 14 This is a flow chart of the operation process of floating and restoring the super bubble scene barrage provided by the embodiment of the present application, based on Figure 14 The super bubble scene barrage floating screen and recovery operation process is through Figure 14 Specifically, when the changed chat bubble is a super bubble such as a screen-dominating bullet screen, when the message sender continues to send messages, the first to fourth messages will be displayed in the super bubble on the screen, and will also be displayed in the super bubble of the recipient's client interface on the screen; when the fifth message is sent, the super bubble is restored, that is, the messages included in the super bubble are restored to separately displayed messages and displayed in the style of ordinary bubbles.
[0162] For the process of changing the bubble's mood through user operations, see Figure 15 , Figure 15 This is a flow chart of the process of changing the bubble emotion through user operation provided by the embodiment of the present application, based on Figure 15 The process of changing the bubble mood through user operation in this application is Figure 15Specifically, in the conversation interface between the message sender and the message recipient, in response to the message sender's sending operation on the chat text, the sent chat text is displayed in the conversation interface, and then in response to the message sender dragging the angry expression to the chat bubble, an angry emotion bubble is generated, that is, based on the angry emotion bubble, the sent chat text is displayed, and then when the message recipient replies to the chat text, in response to the message sender dragging the happy expression to the angry emotion bubble, the angry emotion bubble is changed to a happy emotion bubble, and then based on the happy emotion bubble, the sent chat text is displayed.
[0163] In some embodiments, when emotions cannot be directly identified, chat bubble forms with different emotions can be generated by simply determining keywords, key punctuation marks, user-defined emotions, etc.; at the same time, when emotions are recognized through voice and voice is converted into text, user emotions can be judged to generate different emotional chat bubble forms.
[0164] In this way, through this application, the user's true emotions can be understood to better convey emotional information to other users, allowing users to feel the other party's emotions and semantics more directly, while increasing the fun of the chat.
[0165] Using the above-described embodiment of the present application, a first text message is first displayed in a conversation interface using a first style, along with at least one message element including a second text message and at least one of an emoticon. The first text message is then fused with at least one of the at least one message elements to generate a first fused message including the content of the first text message and the content of the message element. The first fused message is then displayed using a second style different from the first style. In this way, by fusion operations on the text message and the message elements, the display style and content of the text message are changed, thereby increasing the diversity of conversation messages during the conversation.
[0166] The following continues to describe the exemplary structure of the session message processing device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the session message processing device 455 of the memory 450 may include:
[0167] Display module 4551, configured to display the first text message in a conversation interface using a first style and at least one message element, the message element including at least one of a second text message and an emoticon;
[0168] Fusion module 4552 is used to display the first fused message in a second style in response to a fusion operation on the first text message and at least one of the message elements; wherein the first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
[0169] In some embodiments, the device also includes a second display module, which is used to display at least two text messages in the conversation interface; the display module 4551 is also used to display in the conversation interface, in response to a fusion operation on the at least two text messages, a first text message obtained by fusion of the at least two text messages in a first style, wherein the first text message includes the text content of the at least two text messages.
[0170] In some embodiments, the display module 4551 is also used to display at least two text messages received consecutively and the sending time of each of the text messages in the conversation interface; in response to the difference in the sending time of the at least two text messages being less than a first difference threshold, when the content overlap of each of the text messages reaches the overlap threshold, the process of merging the at least two text messages is displayed, and the first text message obtained by merging the at least two text messages is displayed in a first style.
[0171] In some embodiments, at least one of the message elements includes the second text message, and the fusion operation includes a pinching operation on the first text message and the second text message; the fusion module 4552 is also used to display the process of merging the first text message and the second text message in response to the pinching operation on the first text message and the second text message; when the ratio of the first area to the second area reaches the target ratio, the first text message and the second text message are canceled; wherein, the first area is the area of the overlapping area of the first text message and the second text message; the second area is the display area of the first text message or the display area of the second text message; the first fused message obtained by fusing the first text message and the second text message is displayed in the second style.
[0172] In some embodiments, at least one of the message elements includes a second text message, and the first fused message is obtained by fusing the first text message and the second text message. The device also includes a third display module, and the third display module is used to display a first expression in the first fused message, and the first expression is used to indicate the emotion represented by the first text message and the second text message after fusion.
[0173] In some embodiments, the conversation interface also includes a third text message, and the device also includes a fourth display module, and the fourth display module is used to display a second fusion message in a third style in response to the fusion operation of the first fusion message and the third text message; wherein, the second fusion message includes the content of the first fusion message, the content of the third text message, and a second expression that replaces the first expression; the emotion represented by the second expression belongs to the same category as the emotion represented by the first expression, and the intensity of the emotion represented by the second expression is higher than the emotion represented by the first expression.
[0174] In some embodiments, the device also includes a fifth display module, which is used to display the display time of the first expression; when the display time reaches the target display time, the first expression is switched to a third expression different from the first expression; wherein the emotion indicated by the third expression belongs to the same emotion category as the emotion indicated by the first expression.
[0175] In some embodiments, at least one of the message elements includes the second text message, and the device further includes a sixth display module, which is used to display the sending time of the first text message at an associated position of the first text message; when a sending operation for the second text message is received, and the difference between the sending time of the sending operation and the sending time of the first text message is less than a second difference threshold, the sending operation is determined as a fusion operation for the first text message and the second text message.
[0176] In some embodiments, the conversation interface includes a message display area and a message editing area, and at least one of the message elements includes a fourth emoticon displayed in the message editing area; the fusion module 4552 is also used to respond to a drag operation on the fourth emoticon, drag the fourth emoticon from the message editing area to the first text message in the message display area; in response to a release operation on the fourth emoticon, use the second style to display a first fused message obtained by fusing the fourth emoticon and the first text message.
[0177] In some embodiments, the first fused message also includes a fifth expression, and the emotion represented by the fifth expression belongs to the same emotion category as the emotion represented by the fourth expression; the fusion module 4552 is also used to adopt the second style to display a message bubble, and display the first fused message in the message bubble; wherein, the fifth expression and the fourth expression are periodically switched and displayed in the message bubble.
[0178] In some embodiments, a fourth emoticon is displayed in the first fusion message, and the message editing area also includes a sixth emoticon; the device also includes a seventh display module, and the seventh display module is used to drag the sixth emoticon from the message editing area to the first fusion message in the message display area in response to a drag operation on the sixth emoticon; in response to a release operation on the sixth emoticon, when the emotion represented by the sixth emoticon and the emotion represented by the fourth emoticon belong to different emotion categories, a third fusion message is displayed in a fourth style; wherein, the third fusion message includes the content of the first fusion message and the sixth emoticon that replaces the fourth emoticon.
[0179] In some embodiments, the at least one message element includes other message elements, and the other message elements are different from at least one of the message elements; the device also includes an eighth display module, and the eighth display module is used to dynamically display the process of fusion of the other message elements with the first fusion message in response to the fusion operation on the first fusion message and the other message elements; when the number of fusions corresponding to the first fusion message is between the first number and the second number, a fourth fusion message is displayed in a fifth style different from the second style; wherein the fourth fusion message includes the content of the first fusion message and the content of the other message elements, and the fifth style is used to highlight the emotions represented by the other message elements.
[0180] In some embodiments, the conversation interface includes a message display area, and the first fused message is displayed in the message display area; when the number of fusions corresponding to the first fused message is greater than the second number, the device also includes a conversion module, which is used to convert the first fused message after integrating the other message elements into a barrage, and fix the barrage to the target position of the message display area; when the display time of the barrage reaches a first time, the barrage is canceled.
[0181] In some embodiments, the other message elements are sent by the target object; the device also includes a reply module, which is used to float and display reply barrages of other objects to the barrages above the barrage; wherein, the other objects are objects with which the target object conducts a conversation based on the conversation interface.
[0182] In some embodiments, the conversation interface also includes a message editing area, and the device also includes a ninth display module, which is used to display the edited message content in response to the message editing operation triggered based on the message editing area; in response to the sending instruction for the edited message content, the edited message content is displayed in the barrage at the target location.
[0183] In some embodiments, the device also includes a restoration module, which is used to display the process of restoring the first fusion message to obtain the first text message and the message elements in response to the restoration condition of the first fusion message being met; wherein the restoration condition includes at least one of the following: receiving a reply message to the first fusion message; the display time of the first fusion message reaches a second time; receiving a restoration instruction for the first fusion message, and the restoration instruction is used to instruct to restore the first fusion message to the first text message and the message elements.
[0184] An embodiment of the present application provides a computer program product comprising computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the method for processing conversation messages described in the embodiment of the present application.
[0185] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will execute the method for processing a session message provided in the embodiment of the present application, for example, Figure 3 The method for processing session messages is shown.
[0186] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM; or various devices including one or any combination of the above memories.
[0187] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0188] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0189] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.
[0190] In summary, the embodiments of the present application have the following beneficial effects:
[0191] By merging text messages and message elements, the display style and content of text messages are changed, thereby improving the diversity of conversation messages during the conversation.
[0192] It should be noted that in the embodiments of the present application, when obtaining conversation messages such as text messages, user operation data and other related data, when the embodiments of the present application are applied to specific products or technologies, user permission or consent must be obtained, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0193] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A method for processing a conversation message, characterized in that: The method comprises: In the conversation interface, the first text message is displayed in a first style, and at least one message element is displayed, wherein the message element includes at least one of the second text message and an emoticon; In response to a fusion operation on the first text message and at least one of the message elements, displaying the first fused message in a second style; The first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
2. The method according to claim 1, wherein Before displaying the first text message in the conversation interface in the first style, the method further includes: Displaying at least two text messages in the conversation interface; The step of displaying the first text message in the conversation interface using the first style includes: In the conversation interface, in response to a fusion operation on the at least two text messages, a first text message obtained by fusion of the at least two text messages is displayed in a first style, where the first text message includes text contents of the at least two text messages.
3. The method according to claim 1, wherein The step of displaying the first text message in the conversation interface using the first style includes: Displaying, in the conversation interface, at least two text messages received consecutively and the sending time of each of the text messages; In response to the difference between the sending times of the at least two text messages being less than a first difference threshold, when the content overlap of the text messages reaches the overlap threshold, the process of merging the at least two text messages is displayed, and A first text message obtained by merging the at least two text messages is displayed in a first style.
4. The method according to claim 1, wherein At least one of the message elements includes the second text message, and the fusion operation includes a pinch operation on the first text message and the second text message; The step of displaying the first fused message in a second style in response to the fusion operation on the first text message and at least one of the message elements includes: In response to a pinch operation on the first text message and the second text message, displaying a process of merging the first text message and the second text message; When the ratio of the first area to the second area reaches a target ratio, canceling display of the first text message and the second text message; The first area is the area of the overlapping area of the first text message and the second text message; the second area is the display area of the first text message or the display area of the second text message; The first fused message obtained by fusing the first text message and the second text message is displayed in the second style.
5. The method according to claim 1, wherein At least one of the message elements includes a second text message, and the first fused message is obtained by fusing the first text message and the second text message. The method further includes: A first emoticon is displayed in the first fused message, where the first emoticon is used to indicate an emotion represented by the fused first text message and the second text message.
6. The method according to claim 5, wherein The conversation interface further includes a third text message. After displaying the first fused message in the second style, the method further includes: In response to the merging operation on the first fused message and the third text message, displaying the second fused message in a third style; The second fused message includes the content of the first fused message, the content of the third text message, and a second emoticon that replaces the first emoticon; The emotion represented by the second facial expression belongs to the same category as the emotion represented by the first facial expression, and the intensity of the emotion represented by the second facial expression is higher than that of the emotion represented by the first facial expression.
7. The method according to claim 5, wherein After displaying the first emoticon in the first fused message, the method further includes: Displaying the first expression for a certain duration; When the display duration reaches a target display duration, switching the first expression to a third expression different from the first expression; The emotion indicated by the third expression and the emotion indicated by the first expression belong to the same emotion category.
8. The method according to claim 1, wherein At least one of the message elements includes the second text message. Before displaying the first fused message in the second style in response to the fusion operation on the first text message and the at least one message element, the method further includes: Displaying the sending time of the first text message in the associated position of the first text message; When a sending operation for the second text message is received and the difference between the sending time of the sending operation and the sending time of the first text message is less than a second difference threshold, the sending operation is determined as a fusion operation for the first text message and the second text message.
9. The method according to claim 1, wherein The conversation interface includes a message display area and a message editing area, and at least one of the message elements includes a fourth emoticon displayed in the message editing area; The step of displaying the first fused message in a second style in response to the fusion operation on the first text message and at least one of the message elements includes: In response to a drag operation on the fourth emoticon, dragging the fourth emoticon from the message editing area to the first text message in the message display area; In response to a release operation on the fourth emoticon, a first fusion message obtained by fusing the fourth emoticon and the first text message is displayed using the second style.
10. The method according to claim 9, wherein The first fused message further includes a fifth expression, and the emotion represented by the fifth expression belongs to the same emotion category as the emotion represented by the fourth expression; The displaying of a first fused message obtained by fusing the fourth emoticon and the first text message in the second style includes: Using the second style, displaying a message bubble, and displaying the first fused message in the message bubble; The fifth expression and the fourth expression are periodically switched and displayed in the message bubble.
11. The method according to claim 9, wherein A fourth emoticon is displayed in the first fused message, and the message editing area further includes a sixth emoticon; After displaying a first fused message obtained by fusing the fourth emoticon and the first text message in the second style, the method further includes: In response to a drag operation on the sixth emoticon, dragging the sixth emoticon from the message editing area to the first fused message in the message display area; In response to a release operation on the sixth expression, when the emotion represented by the sixth expression and the emotion represented by the fourth expression belong to different emotion categories, displaying a third fused message in a fourth style; The third fusion message includes the content of the first fusion message and a sixth emoticon that replaces the fourth emoticon.
12. The method according to claim 1, wherein The at least one message element includes other message elements, the other message elements being different from the at least one message element; After displaying the first fused message in a second style in response to the fusion operation on the first text message and at least one of the message elements, the method further includes: In response to a fusion operation on the first fused message and the other message elements, dynamically displaying a fusion process of the other message elements with the first fused message; When the fusion count corresponding to the first fusion message is between the first count and the second count, a fourth fusion message is displayed in a fifth style different from the second style; The fourth fusion message includes the content of the first fusion message and the content of the other message elements, and the fifth style is used to highlight the emotions represented by the other message elements.
13. The method according to claim 12, wherein: The conversation interface includes a message display area, and the first fused message is displayed in the message display area; When the number of fusions corresponding to the first fusion message is greater than the second number, the method further includes: Converting the first fused message after integrating the other message elements into a bullet screen, and displaying the bullet screen fixedly at a target position in the message display area; When the display duration of the bullet comment reaches a first duration, the display of the bullet comment is canceled.
14. The method according to claim 13, wherein The other message elements are sent by the target object; After the bullet screen is fixedly displayed at a target position in the message display area, the method further includes: Above the bullet screen, a floating display of reply bullet screens from other objects in response to the bullet screen; The other objects are objects with which the target object conducts a conversation based on the conversation interface.
15. The method according to claim 13, wherein The conversation interface further includes a message editing area. After the barrage is fixedly displayed at a target position in the message display area, the method further includes: In response to a message editing operation triggered based on the message editing area, displaying the edited message content; In response to a sending instruction for the edited message content, the edited message content is displayed in the bullet screen at the target location.
16. The method according to claim 1, wherein After displaying the first fused message in a second style in response to the fusion operation on the first text message and the at least one message element, the method further includes: In response to a restoration condition of the first fused message being met, displaying a process of restoring the first fused message to obtain the first text message and the message elements; Wherein, the reducing conditions include at least one of the following: receiving a reply message to the first fusion message; The display duration of the first fused message reaches a second duration; A restoration instruction for the first fused message is received, where the restoration instruction is used to instruct to restore the first fused message to the first text message and the message elements.
17. A device for processing conversation messages, characterized in that: The device comprises: A display module, configured to display the first text message in a conversation interface using a first style and at least one message element, the message element including at least one of the second text message and an emoticon; A fusion module is used to display the first fused message in a second style in response to a fusion operation on the first text message and at least one of the message elements; wherein the first fused message includes the content of the first text message and the content of the message element, and the second style is different from the first style.
18. An electronic device, characterized in that: include: a memory for storing computer-executable instructions; The processor is configured to implement the method for processing a conversation message according to any one of claims 1 to 16 when executing the computer-executable instructions stored in the memory.
19. A computer-readable storage medium, characterized in that Computer executable instructions are stored, which are used to cause a processor to execute and implement the method for processing a conversation message according to any one of claims 1 to 16.
20. A computer program product comprising computer executable instructions, characterized in that When the computer executable instructions are executed by a processor, the method for processing a conversation message according to any one of claims 1 to 16 is implemented.