A method for displaying conversation messages, related apparatus, device, and storage medium.

By using a floating input area in instant messaging to retrieve and send session messages, which then automatically disappear within a display duration threshold, the problem of unrecoverable session messages is solved, improving both ease of use and privacy.

CN115390733BActive Publication Date: 2025-12-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110501510.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-08
Publication Date
2025-12-02
Estimated Expiration
2041-05-08

AI Technical Summary

Technical Problem

In existing instant messaging technologies, conversation messages cannot be recalled after exceeding the display duration threshold, leading to privacy leaks.

Method used

A method for displaying conversation messages is provided, which allows for the acquisition and sending of conversation messages through a floating input area, and the messages automatically disappear or are canceled when the displayed duration reaches a threshold.

Benefits of technology

It improves ease of use, avoids the problem of unrecoverable conversation messages, and increases the privacy of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115390733B_ABST
    Figure CN115390733B_ABST
Patent Text Reader

Abstract

This application discloses a method for displaying conversation messages, including: displaying a floating input area in response to a message input command; obtaining a target conversation message through the floating input area; displaying the target conversation message on a target conversation interface and sending the target conversation message to a second terminal device in response to a message sending command for the target conversation message, so that the second terminal device cancels the display of the target conversation message when the displayed duration of the target conversation message reaches a display duration threshold; and canceling the display of the target conversation message on the target conversation interface when the displayed duration reaches the display duration threshold. This application also provides related devices, equipment, and storage media. When the displayed duration of a conversation message reaches the display duration threshold, the conversation message automatically disappears, which improves operational convenience and avoids the problem of irreversible conversation messages, thus increasing the privacy of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method for displaying conversation messages, related apparatus, devices, and storage media. Background Technology

[0002] With the continuous development of modern society, especially the advancement of science and technology, information technology has made tremendous progress compared to the past, and instant messaging has long become an important part of people's daily lives. The "instant" in instant messaging technology refers to speed; therefore, instant messaging refers to achieving fast and convenient communication through certain technologies, allowing for online interaction with others.

[0003] Currently, users can send conversation messages to friends through instant messaging applications. If the sender feels that the sent conversation message is inappropriate, they can recall the sent conversation message in time within the display duration threshold. Correspondingly, the message receiver cannot view the recalled conversation message.

[0004] However, since there is a time limit for recalling conversation messages, messages that have exceeded the display duration threshold cannot be recalled. In this case, some private conversation messages may still be leaked due to their inability to be recalled, which is detrimental to the privacy of communication. Summary of the Invention

[0005] This application provides a method, related apparatus, device, and storage medium for displaying conversation messages. When the displayed duration of a conversation message reaches a display duration threshold, the conversation message will automatically disappear. This improves operational convenience and avoids the problem of conversation messages being unrecoverable, thereby increasing the privacy of communication.

[0006] In view of this, this application provides a method for displaying session messages, which is applied to a first terminal device, and the method includes:

[0007] In response to a message input command, a floating input area is displayed;

[0008] Obtain the target session message by hovering the input area;

[0009] In response to a message sending command for a target session message, the target session message is displayed on the target session interface and sent to the second terminal device so that the second terminal device cancels the display of the target session message when the displayed duration of the target session message reaches the display duration threshold.

[0010] When the displayed duration reaches the display duration threshold, the target session message will be removed from the target session interface.

[0011] This application also provides a method for displaying session messages, which is applied to a second terminal device. The method includes:

[0012] Displays a conversation notification interface, which is used to indicate unread conversation messages;

[0013] Responding to a message viewing command for the target session message, display the target session message on the target session interface;

[0014] When the displayed duration of the target session message reaches the display duration threshold, the target session message will be removed from the target session interface.

[0015] Another aspect of this application provides a session message display device, which is applied to a first terminal device, and the session message display device includes:

[0016] The display module is used to display the floating input area in response to message input commands;

[0017] The acquisition module is used to retrieve session messages through the floating input area;

[0018] The display module is also used to respond to message sending instructions for the session message, display the session message on the target session interface, and send the session message to the second terminal device so that the second terminal device cancels the display of the session message when the displayed duration of the session message reaches the display duration threshold.

[0019] The display module is also used to cancel the display of session messages on the target session interface when the displayed duration of the session messages reaches the display duration threshold.

[0020] In one possible design, in another implementation of another aspect of the embodiments of this application, the session message display device further includes a generation module;

[0021] The display module is also used to display the first control on the target session interface before displaying the floating input area in response to a message input command;

[0022] The display module is also used to respond to click commands for the first control and display operation prompt messages, wherein the operation prompt messages are used to prompt the operation method that triggers the display of the floating input area;

[0023] The generation module is used to generate message input instructions if the current triggering operation is detected to meet the operation triggering conditions.

[0024] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0025] The display module is also used to display a second control and a third control after responding to a click command on the first control. The second control is used to cancel the display of the floating input area, and the third control is used to trigger the sending of a session message.

[0026] The display module is also used to display a message input area if a click command for the second control is detected;

[0027] The generation module is also used to generate a message sending instruction if a click instruction for a third control is detected after obtaining the target session message through the floating input area.

[0028] In one possible design, in another implementation of another aspect of the embodiments of this application, the target session message includes at least one of text message, emoticon message, image message, video message, audio message, and voice message;

[0029] The display module is specifically used to respond to text input operations on the floating input area and to obtain text messages;

[0030] Alternatively, it can respond to emoji input operations targeting the floating input area and retrieve emoji messages;

[0031] Alternatively, it can respond to image input operations targeting the floating input area and retrieve image messages;

[0032] Alternatively, it can respond to video input operations targeting the floating input area and retrieve video messages;

[0033] Alternatively, it can respond to audio input operations targeting the floating input area and retrieve audio messages;

[0034] Alternatively, it can respond to voice input operations targeting the floating input area and retrieve voice messages.

[0035] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0036] The display module is specifically used to display a first text message and a second text message on the target session interface if the target session message is a text message, wherein the first text message and the second text message are contained within the text message;

[0037] If the target session message is an emoji message, then the first emoji message and the second emoji message will be displayed on the target session interface, wherein the first emoji message and the second emoji message are included in the emoji message;

[0038] If the target session message is an image message, then the first image message and the second image message will be displayed on the target session interface, wherein the first image message and the second image message are included in the image message.

[0039] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0040] The display module is specifically used to display target session messages in the form of bubbles on the target session interface;

[0041] Alternatively, highlight the target session message in the form of a dialog box on the target session interface;

[0042] Alternatively, the target session messages can be displayed in a scrolling manner on the target session interface.

[0043] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0044] The display module is specifically used to display target session messages in the form of fixed bubbles on the target session interface;

[0045] or,

[0046] On the target session interface, the target session message is displayed in the form of a variable bubble;

[0047] or,

[0048] On the target session interface, the target session messages are displayed as draggable bubbles.

[0049] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0050] The display module is also used to display a message countdown on the target session interface after responding to a message sending command for the target session message. The message countdown represents the difference between the display duration threshold and the displayed duration.

[0051] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0052] The display module is also used to display the message settings interface, which displays the duration setting area.

[0053] The acquisition module is also used to obtain the display duration threshold for the target session message through the duration setting area.

[0054] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0055] The display module is also used to display the message settings interface, which displays the timer settings area;

[0056] The acquisition module is also used to acquire the preset display time for the target session message by setting the area at regular intervals;

[0057] The display module is specifically used to respond to message sending instructions for the target session message. When the preset display time is reached, the target session message is displayed on the target session interface and the target session message is sent to the second terminal device.

[0058] In one possible design, in another implementation of another aspect of the embodiments of this application, the session message display device further includes a receiving module and a sending module;

[0059] The receiving module is used to receive a message interception instruction sent by the second terminal device after sending the target session message to the second terminal device.

[0060] The display module is also used to respond to message interception instructions by displaying message interception prompts, a first interception control, and a second interception control for the target session message;

[0061] The sending module is used to send a successful interception response to the second terminal device if a click command for the first interception control is detected, so that a prompt message indicating that the target session message has been intercepted is displayed based on the successful interception response;

[0062] The sending module is also configured to send an interception failure response to the second terminal device if a click instruction for the second interception control is detected, so that a prompt message indicating that the interception of the target session message has failed is displayed based on the interception failure response.

[0063] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0064] The receiving module is also used to receive a reply message from the second terminal device in response to the target session message after sending the target session message to the second terminal device.

[0065] The display module is also used to highlight reply messages on the target session interface.

[0066] Another aspect of this application provides a session message display device, which is applied to a second terminal device, and the session message display device includes:

[0067] The display module is used to display the session reminder interface, which displays the target session message;

[0068] The display module is also used to respond to message viewing commands for the target session messages and display the target session messages on the target session interface;

[0069] The display module is also used to cancel the display of the target session message on the target session interface when the displayed duration of the target session message reaches the display duration threshold.

[0070] In one possible design, in another implementation of another aspect of the embodiments of this application, the session message display device further includes a sending module;

[0071] The sending module is used to send a message interception instruction to the first terminal device after displaying the target session message on the target session interface and detecting a message interception instruction for the target session message, so that the first terminal device responds to the message interception instruction and displays a first interception control and a second interception control.

[0072] The display module is also configured to, in response to a message interception instruction, display a prompt message indicating that the target session message has been intercepted if the first terminal device detects a click instruction for the first interception control.

[0073] The display module is also configured to, in response to a message interception instruction, display a prompt message indicating that the target session message interception failed if the first terminal device detects a click instruction for the second interception control.

[0074] In one possible design, in another implementation of another aspect of the embodiments of this application,

[0075] The display module is specifically used to display target session messages in the form of bubbles on the target session interface;

[0076] Alternatively, highlight the target session message in the form of a dialog box on the target session interface;

[0077] Alternatively, the target session messages can be displayed in a scrolling manner on the target session interface.

[0078] In one possible design, in another implementation of another aspect of the embodiments of this application, the session message display device further includes an acquisition module;

[0079] The display module is also used to respond to message reply commands for the target session messages and display the message input area after displaying the target session messages on the target session interface;

[0080] The acquisition module is used to acquire a reply message for a target session message through the message input area;

[0081] The sending module is also used to send a reply message to the first terminal device so that the first terminal device highlights the reply message.

[0082] This application also provides a terminal device, including: a memory, a processor, and a bus system;

[0083] The memory is used to store programs;

[0084] The processor is used to execute programs in memory, and the processor is used to execute the methods mentioned above according to the instructions in the program code;

[0085] Bus systems are used to connect memory and processor to enable communication between them.

[0086] Another aspect of this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the methods described above.

[0087] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the above aspects.

[0088] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0089] This application provides a method for displaying conversation messages. A first terminal device responds to a message input command by displaying a floating input area and then obtains the target conversation message through the floating input area. The first terminal device also responds to a message sending command for the target conversation message by displaying the target conversation message on the target conversation interface and sending the target conversation message to a second terminal device. When the displayed duration reaches a display duration threshold, both the first and second terminal devices cancel the display of the target conversation message. Through this method, for both the message receiver and the message sender, the conversation message is only displayed within the display duration threshold. When the displayed duration of the conversation message reaches the threshold, the conversation message automatically disappears without manual operation by the message sender. This improves operational convenience and avoids the problem of irreversible conversation messages, thus enhancing the privacy of communication. Attached Figure Description

[0090] Figure 1 This is a schematic diagram of the architecture of the session message display system in the embodiments of this application;

[0091] Figure 2 This is an interactive schematic diagram of the session message display method in an embodiment of this application;

[0092] Figure 3 This is a flowchart illustrating a session message display method in an embodiment of this application;

[0093] Figure 4 This is a schematic diagram of an interface displaying a floating input area in an embodiment of this application;

[0094] Figure 5 This is a schematic diagram illustrating an interface change for displaying target session messages in an embodiment of this application;

[0095] Figure 6 This is a schematic diagram illustrating a UI change that triggers the first control in an embodiment of this application;

[0096] Figure 7 This is a schematic diagram illustrating a UI change triggered by the second control in an embodiment of this application;

[0097] Figure 8 This is a schematic diagram illustrating a UI change triggered by a third control in an embodiment of this application;

[0098] Figure 9 This is a schematic diagram of an interface for inputting target session messages in an embodiment of this application;

[0099] Figure 10 This is a schematic diagram of an interface for displaying text messages in an embodiment of this application;

[0100] Figure 11 This is a schematic diagram of an interface for displaying emoticon messages in an embodiment of this application;

[0101] Figure 12 This is a schematic diagram of an interface for displaying image messages in an embodiment of this application;

[0102] Figure 13 This is a schematic diagram of an interface in which the target session message is displayed in the form of a bubble in an embodiment of this application;

[0103] Figure 14 This is a schematic diagram of an interface in which the target conversation message is highlighted in the form of a conversation box in an embodiment of this application;

[0104] Figure 15 This is a schematic diagram of an interface in which target session messages are displayed in a scrolling manner in an embodiment of this application.

[0105] Figure 16 This is a schematic diagram of a changing interface in which target session messages are displayed in the form of variable bubbles in an embodiment of this application;

[0106] Figure 17 This is a schematic diagram of a modified interface in which target session messages are displayed in the form of draggable bubbles in an embodiment of this application.

[0107] Figure 18 This is a schematic diagram of an interface displaying a message countdown in an embodiment of this application;

[0108] Figure 19 This is a schematic diagram of a message setting interface for setting a display duration threshold in an embodiment of this application;

[0109] Figure 20 This is a schematic diagram of a message setting interface for setting a preset display time in an embodiment of this application;

[0110] Figure 21 This is a schematic diagram of an interface displaying message interception prompts in an embodiment of this application;

[0111] Figure 22 This is a schematic diagram of an interface that highlights the reply message in an embodiment of this application;

[0112] Figure 23 This is another flowchart illustrating the session message display method in this application embodiment;

[0113] Figure 24 This is a schematic diagram of an interface for viewing target session messages in an embodiment of this application;

[0114] Figure 25 This is a schematic diagram of an interface showing successful interception of target session messages in an embodiment of this application;

[0115] Figure 26 This is a schematic diagram of an interface where the target session message interception failed in an embodiment of this application;

[0116] Figure 27 This is a schematic diagram of an interface in which the target session message is displayed in the form of a bubble in an embodiment of this application;

[0117] Figure 28 This is a schematic diagram of an interface in which the target conversation message is highlighted in the form of a conversation box in an embodiment of this application;

[0118] Figure 29 This is a schematic diagram of an interface in which target session messages are displayed in a scrolling manner in an embodiment of this application.

[0119] Figure 30 This is a schematic diagram of an interface showing the message input area in an embodiment of this application;

[0120] Figure 31 This is a schematic diagram of a session message display device in an embodiment of this application;

[0121] Figure 32 This is another schematic diagram of the session message display device in the embodiments of this application;

[0122] Figure 33 This is a schematic diagram of the structure of a terminal device in an embodiment of this application. Detailed Implementation

[0123] This application provides a method, related apparatus, device, and storage medium for displaying conversation messages. When the displayed duration of a conversation message reaches a display duration threshold, the conversation message will automatically disappear. This improves operational convenience and avoids the problem of conversation messages being unrecoverable, thereby increasing the privacy of communication.

[0124] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “corresponding to,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0125] Instant Messaging (IM) refers to a system service on the internet used for real-time communication. It allows multiple users to exchange text, documents, voice, and video messages in real time. Users send a large number of messages through IM applications; however, not all messages are suitable for long-term storage. For example, conversation messages often involve private topics, making them unsuitable for long-term storage. Another example is if User A wants to confess their feelings to User B; if User B sees the message but doesn't reply or directly rejects the user, it can cause significant psychological pressure for User A and potentially damage the relationship. Yet another example is when a company sends employees conversation messages containing initial passwords for internal systems; if these messages are leaked, they could pose significant security risks.

[0126] To enhance the privacy of communication in the aforementioned scenarios, this application proposes a method for displaying conversational messages, which is applied to... Figure 1The session message display system shown in the figure includes a server and terminal devices, with the IM application deployed on the terminal devices. The server involved in this application can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Terminal devices can be smartphones, tablets, laptops, PDAs, personal computers, smart TVs, smartwatches, etc., but are not limited to these. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, which is not limited herein. The number of servers and terminal devices is also not limited.

[0127] based on Figure 1 The illustrated session message display system allows User A to communicate with User B, who uses terminal device B. First, terminal device A establishes a connection with the server, obtaining the Internet Protocol (IP) address and port number of terminal device B. Then, terminal device A sends a session message to terminal device B. Upon receiving the session message from terminal device A, terminal device B can establish a communication connection with it using its IP address and port number. It should be noted that the session message display method provided in this application can be applied to personal IM applications, business IM applications, enterprise IM applications, web IM applications, and industry IM applications, etc., and is not limited here.

[0128] For easier understanding, please refer to Figure 2 , Figure 2 This is an interactive schematic diagram of the conversation message display method in this application embodiment. As shown in the figure, it is assumed that the message sender uses terminal device A and the message receiver uses terminal device B. Both terminal device A and terminal device B are running IM clients. Specifically:

[0129] In step S1, the user can draw a circle with their finger on the screen of terminal device A to trigger a "bubble message" and enter the target session message in the "bubble message".

[0130] In step S2, a "bubble message" carrying the target session message is sent to terminal device B.

[0131] In step S3, "bubble messages" floating on top of the conversation interface are displayed on both the IM client of terminal device A and the IM client of terminal device B.

[0132] In step S4, a countdown begins after terminal device A sends a "bubble message".

[0133] In step S5, when the countdown is reached, the "bubble messages" displayed on the IM client of terminal device A and the IM client of terminal device B will automatically disappear.

[0134] Based on the above introduction, the following section will describe the method for displaying session messages in this application from the perspective of the message sender. Please refer to [link / reference needed]. Figure 3 One embodiment of the session message display method in this application includes:

[0135] 101. The first terminal device responds to the message input command and displays the floating input area;

[0136] In this embodiment, the message sender triggers a message input command through a first terminal device, thereby displaying a floating input area on the first terminal device. The first terminal device is the terminal device used by the message sender.

[0137] For easier understanding, please refer to Figure 4 , Figure 4 This is a schematic diagram of an interface displaying a floating input area in an embodiment of this application. As shown in the figure, A1 indicates the floating input area. When the message sender taps the screen with their finger, a "bubble" pattern will be generated. Tapping the "bubble" pattern will display a floating input area, where the message sender can enter content.

[0138] 102. The first terminal device obtains the target session message through the floating input area;

[0139] In this embodiment, the message sender inputs the content to be sent to the second terminal device through a floating input area. This content is the target session message to be sent. The target session message includes, but is not limited to, text, images, videos, and voice messages.

[0140] 103. The first terminal device responds to the message sending instruction for the target session message, displays the target session message on the target session interface, and sends the target session message to the second terminal device, so that the second terminal device cancels the display of the target session message when the displayed duration of the target session message reaches the display duration threshold;

[0141] In this embodiment, after the message sender finishes editing the target session message, a message sending command for the target session message is triggered. Figure 4Taking the interface shown as an example, after the message sender clicks "Complete," a message sending command is triggered. Consequently, the target session message is displayed on both the target session interface provided by the first terminal device and the target session interface provided by the second terminal device. The target session interface refers to the interface through which the message sender and message receiver conduct their conversation.

[0142] For easier understanding, please refer to Figure 5 , Figure 5 This is a schematic diagram illustrating an interface change for displaying target session messages in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as follows... Figure 5 As shown in Figure (A), after User A sends a target session message to User B, in one example, the target session message can be represented as a floating "bubble" icon. After User A clicks on the "bubble" icon, the following will be displayed: Figure 5 The target session message shown in Figure (B) is "I like you". In another example, after User A sends the target session message to User B, the target session message can be displayed directly on the target session interface.

[0143] Similarly, for User B, the target session message sent by User A is displayed on the target session interface of the second terminal device. In one example, the target session message may be represented as a floating "bubble" icon, which User B clicks to display. In another example, the target session message is displayed directly on the target session interface.

[0144] 104. When the displayed duration reaches the display duration threshold, the first terminal device cancels the display of the target session message on the target session interface.

[0145] In this embodiment, for both the message sender and the message receiver, when the displayed duration of the target session message reaches the display duration threshold, the target session message will disappear, that is, the target session message will no longer be displayed on the target session interface.

[0146] For better understanding, please refer to the following again. Figure 5 ,like Figure 5 As shown in Figure (B), assuming the target conversation message is "I like you", if the displayed duration of the target conversation message reaches the display duration threshold, then the message will be displayed as shown below. Figure 5 The target session interface is shown in (C). Similarly, for user B, if the displayed duration of the target session message reaches the display duration threshold, the target session message will not be displayed on the target session interface of the second terminal device. It is understood that the display duration threshold can be set to 1 hour, 30 minutes, etc., and is not limited here.

[0147] Therefore, after a target session message is successfully sent, the message recipient needs to check the target session message within a certain period of time; otherwise, the target session message or the "bubble" icon will disappear, and the message sender will not know whether the message recipient has read the target session message.

[0148] This application provides a method for displaying conversation messages. Through this method, conversation messages are only displayed within a display duration threshold for both the message recipient and the message sender. When the displayed duration of a conversation message reaches the threshold, the message automatically disappears without manual intervention from the message sender. This improves operational convenience and avoids the problem of irreversible conversation messages, thus enhancing the privacy of communication.

[0149] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, before the first terminal device displays the floating input area in response to a message input command, it may further include:

[0150] The first terminal device displays the first control on the target session interface;

[0151] The first terminal device responds to a click command on the first control and displays an operation prompt message, wherein the operation prompt message is used to prompt the operation method that triggers the display of the floating input area;

[0152] If the current triggering operation is detected to meet the triggering conditions, the first terminal device generates a message input command.

[0153] This embodiment describes a method for triggering message input commands. A first terminal device provides a target session interface, on which a first control is displayed. After the message sender clicks the first control, a relevant operation prompt message is displayed. Based on this, the message sender performs the corresponding operation according to the operation prompt message. If the operation triggering condition is met, a corresponding message input command can be generated.

[0154] Specifically, for ease of understanding, please refer to Figure 6 , Figure 6 This is a schematic diagram illustrating a UI change triggered by the first control in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 6 As shown in Figure (A), the first control indicated by B1, corresponding to the "bubble message," is displayed on the target session interface. When the message sender clicks the first control, a click command is triggered for that control. This leads to the following... Figure 6The interface shown in Figure (B) displays operation prompts, such as "Tap the screen to display bubbles." These prompts guide the user to trigger the operation of displaying the floating input area.

[0155] For example, if the message sender taps the screen, the operation trigger condition is met, thereby generating a message input command. For example, if the message sender swipes the screen, the operation trigger condition is met, thereby generating a message input command. For example, if the message sender double-taps the screen, the operation trigger condition is met, thereby generating a message input command. It should be noted that the above methods of meeting the operation trigger conditions are merely illustrative and should not be construed as limiting this application.

[0156] Secondly, this application provides a method for triggering message input commands. Through the above method, the process of triggering message input commands by the message sender is relatively simple, thereby increasing the convenience of the solution operation.

[0157] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the first terminal device responds to the click instruction for the first control, it may further include:

[0158] The first terminal device displays a second control and a third control, wherein the second control is used to cancel the display of the floating input area, and the third control is used to trigger the sending of a session message;

[0159] If a click command is detected for the second control, the first terminal device displays a message input area;

[0160] After the first terminal device obtains the target session message through the floating input area, it may also include:

[0161] If a click command is detected for a third control, the first terminal device generates a message sending command.

[0162] This embodiment describes a method for canceling a floating input area. The first terminal device can also provide a second control and a third control through its interface. The second control is used to cancel the floating input area, and the third control is used to send the entered conversation message. It should be noted that the second and third controls can be displayed on the same interface or on different interfaces; this application does not impose any limitations on this.

[0163] Specifically, for ease of understanding, please refer to Figure 7 , Figure 7 This is a schematic diagram illustrating a UI change triggered by the second control in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 7As shown in Figure (A), C1 indicates the second control, C2 indicates the floating input area, and C3 indicates the message input area. Conversation messages entered through the floating input area will automatically disappear after a period of time, while conversation messages entered through the message input area will not disappear automatically. When the message sender clicks the second control indicated by C1, a click command is triggered for the second control. This leads to the following... Figure 7 The interface shown in Figure (B) displays a message input area, which is now disabled when the floating input area is turned off.

[0164] For easier understanding, please refer to Figure 8 , Figure 8 This is a schematic diagram illustrating a UI change triggered by a third control in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 8 As shown in Figure (A), D1 indicates the third control. When the message sender clicks the third control, a click command is triggered for that control. This generates a message sending command and proceeds to the following... Figure 8 The interface shown in Figure (B) features floating "bubble" icons. Clicking on these "bubble" icons will display the target conversation message, "I like you".

[0165] Furthermore, this application embodiment provides a method for canceling the floating input area. Through the above method, the process of canceling the floating input area by the message sender is relatively simple, thereby increasing the convenience of the solution operation.

[0166] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, the target session message includes at least one of text message, emoticon message, image message, video message, audio message, and voice message;

[0167] The first terminal device obtains the target session message through the floating input area, which may specifically include:

[0168] The first terminal device responds to a text input operation targeting the floating input area and obtains the text message;

[0169] Alternatively, the first terminal device responds to an emoji input operation targeting the floating input area and obtains the emoji message;

[0170] Alternatively, the first terminal device responds to an image input operation targeting the floating input area and obtains the image message;

[0171] Alternatively, the first terminal device responds to a video input operation targeting the floating input area and obtains a video message;

[0172] Alternatively, the first terminal device responds to an audio input operation targeting the floating input area and obtains the audio message;

[0173] Alternatively, the first terminal device responds to a voice input operation targeting the floating input area and obtains a voice message.

[0174] This embodiment introduces a method for adding different types of conversation messages. The message sender can input at least one of the following: text messages, emoticon messages, image messages, video messages, audio messages, and voice messages through a floating input area. The following will combine... Figure 9 The methods for inputting each type of message will be described separately.

[0175] Specifically, for ease of understanding, please participate Figure 9 , Figure 9 This is a schematic diagram of an interface for inputting a target session message in an embodiment of this application. As shown in the figure, E1 indicates a text input control. After the message sender clicks the text input control, they can perform text input operations in the floating input area and obtain a text message after inputting. Typically, text content is entered in the floating input area by default. Text messages include, but are not limited to, numbers, Chinese, English, Japanese, and French.

[0176] E2 indicates the emoji input control. After clicking the emoji input control, the message sender can input an emoji in the floating input area and receive the emoji message. The emoji message includes, but is not limited to, custom emoji stickers created by the message sender, downloaded emoji stickers, and emoji stickers provided by the application.

[0177] E3 indicates an image input control. After clicking this control, the sender can input an image in the floating input area and receive an image message. Image messages can include, but are not limited to, photos taken directly by the sender, downloaded images, and images from their album.

[0178] E4 indicates the video input control. After clicking the video input control, the message sender can perform video input operations in the floating input area and receive a video message upon completion. The video message includes, but is not limited to, videos directly recorded by the message sender and downloaded videos.

[0179] E5 indicates the audio input control. After clicking the audio input control, the message sender can perform audio input operations in the floating input area and receive the audio message after completion. The audio message includes, but is not limited to, audio directly recorded by the message sender and downloaded audio.

[0180] E6 indicates a voice input control. After clicking the voice input control, the message sender can perform voice input in the floating input area and receive a voice message upon completion. The voice message is the voice content recorded by the message sender through the microphone of the first terminal device.

[0181] Secondly, this application provides a method for adding different types of conversation messages. Through this method, the message sender can input one or more of the following according to actual needs: text messages, emoticon messages, image messages, video messages, audio messages, and voice messages. This increases the diversity of conversation messages, enriches the content of communication between users, and helps to improve the user stickiness of IM applications.

[0182] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, the first terminal device displays the target session message on the target session interface, which may specifically include:

[0183] If the target session message is a text message, then on the target session interface, the first terminal device displays the first text message and the second text message, wherein the first text message and the second text message are contained within the text message;

[0184] If the target session message is an emoji message, then on the target session interface, the first terminal device displays the first emoji message and the second emoji message, wherein the first emoji message and the second emoji message are included in the emoji message;

[0185] If the target session message is an image message, then on the target session interface, the first terminal device displays the first image message and the second image message, wherein the first image message and the second image message are included in the image message.

[0186] This embodiment introduces a method for displaying target session messages based on message type. For target session messages that are text messages, emoticon messages, or image messages, to increase the interactivity, these types of messages can be split into multiple parts for display. In one scenario, the message recipient can view multiple split messages simultaneously. In another scenario, the message recipient can view multiple split messages at different times. The following will illustrate this with the example of the message recipient viewing multiple split messages at different times.

[0187] For example, the target session message is a text message. For easier understanding, please refer to [link / reference needed]. Figure 10 , Figure 10 This is a schematic diagram of an interface for displaying text messages in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 10As shown in Figure (A), after User A sends a target session message to User B, in one example, the target session message can be represented as a floating "bubble" icon. After User A clicks on the "bubble" icon, the following will be displayed: Figure 10 The first text message shown in Figure (B), namely "I like", will display as follows after N seconds: Figure 10 The second text message shown in Figure (C) is "Welcome". In another example, after User A sends a target session message to User B, the first text message can be displayed directly on the target session interface, followed by the second text message after N seconds. Here, N is a value greater than 0, and is not limited here.

[0188] Similarly, for the message recipient, in one example, a floating "bubble" icon will appear in the target session message. After user B clicks on the "bubble" icon, the first text message, "I like it," is displayed. After N seconds, the second text message, "I like you," is displayed. In another example, after user A sends the target session message to user B, the first text message can be displayed directly on the target session interface, followed by the second text message after N seconds.

[0189] For example, the target session message is an emoji message. For easier understanding, please refer to [link / reference]. Figure 11 , Figure 11 This is a schematic diagram of an interface for displaying emoticon messages in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 11 As shown in Figure (A), after User A sends a target session message to User B, in one example, the target session message can be represented as a floating "bubble" icon. After User A clicks on the "bubble" icon, the following will be displayed: Figure 11 The first emoticon message shown in Figure (B), which is the left half of the "sun" emoticon, will display as follows after N seconds: Figure 11 The second emoticon message shown in Figure (C) is the right half of the "sun" emoticon. In another example, after User A sends a target session message to User B, the first emoticon message can be displayed directly on the target session interface, followed by the second emoticon message after N seconds.

[0190] Similarly, for the message recipient, in one example, a floating "bubble" icon will appear in the target session message. After user B clicks on the "bubble" icon, the first emoji message (the left half of the "sun" emoji) is displayed. After N seconds, the second emoji message (the right half of the "sun" emoji) is displayed. In another example, after user A sends the target session message to user B, the first emoji message can be displayed directly on the target session interface, followed by the second emoji message after N seconds.

[0191] For example, the target session message is an image message. For easier understanding, please refer to [link / reference needed]. Figure 12 , Figure 12 This is a schematic diagram of an interface for displaying image messages in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 12 As shown in Figure (A), after User A sends a target session message to User B, in one example, the target session message can be represented as a floating "bubble" icon. After User A clicks on the "bubble" icon, the following will be displayed: Figure 12 The first image message shown in Figure (B), which is the "walking person" included in the left half of the original image, will display as follows after N seconds: Figure 12 The second image message shown in Figure (C) is the "person on horseback" included in the right half of the original image. In another example, after User A sends a target session message to User B, the first image message can be displayed directly on the target session interface, followed by the second image message after N seconds. Here, N is a value greater than 0, and is not limited here.

[0192] Similarly, for the message recipient, in one example, a floating "bubble" icon will appear in the target session message. After user B clicks on the "bubble" icon, the first image message is displayed, which is the "walking person" included in the left half of the original image. After N seconds, the second image message is displayed, which is the "riding person" included in the right half of the original image. In another example, after user A sends the target session message to user B, the first image message can be displayed directly on the target session interface, followed by the second image message after N seconds.

[0193] Furthermore, in this embodiment of the application, a method for displaying target conversation messages based on message type is provided. By using the above method, text messages, emoticon messages, or image messages are divided into multiple sub-messages for display, which can increase the diversity of conversation message display. If multiple sub-messages are displayed at different times, it can also prevent the message recipient from directly intercepting the message content, further increasing the privacy of communication.

[0194] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, the first terminal device displays the target session message on the target session interface, which may specifically include:

[0195] The first terminal device displays the target session message in the form of bubbles on the target session interface;

[0196] Alternatively, the first terminal device may highlight the target session message in the form of a session box on the target session interface;

[0197] Alternatively, the first terminal device may display the target session messages in a scrolling manner on the target session interface.

[0198] This embodiment introduces several ways to display target session messages. For the message sender, target session messages can be displayed in a format different from regular session messages, allowing the sender to more intuitively understand which session messages will disappear within a certain period. The following sections, with illustrations, will describe three methods for displaying target session messages.

[0199] 1. Display the target session message in bubble format;

[0200] Specifically, please refer to Figure 13 , Figure 13 This is a schematic diagram of an interface in this application embodiment that displays target session messages in the form of bubbles. Taking user A as the message sender and user B as the message receiver as an example, as follows: Figure 13 As shown in Figure (A), after User A sends a target session message to User B, the target session message can be represented as a floating "bubble" icon. After User A clicks on the "bubble" icon, the following will be displayed: Figure 13 As shown in Figure (B), the target session message is magnified so that the target session message can be adapted to the size of the bubble pattern and displayed in the bubble-shaped pattern.

[0201] It should be noted that the "bubble" pattern shown in this application can also be represented by other patterns. This is only for illustration and should not be construed as a limitation of this application.

[0202] 2. Display the target conversation message in the form of a dialog box;

[0203] Specifically, please refer to Figure 14 , Figure 14 This is a schematic diagram of an interface in which a target conversation message is highlighted in the form of a conversation box in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as shown in the figure, the target conversation message sent by user A to user B can be displayed in the conversation box of the target conversation interface. However, this conversation box is different from the conversation box of a regular conversation message, so as to highlight the target conversation message.

[0204] It should be noted that the difference between the highlighted dialog box shown in this application and the regular dialog box may be different in the shape of the outer frame, color, font shape, font size, etc., which are not limited here.

[0205] 3. Display the target session messages in a scrolling format;

[0206] Specifically, please refer to Figure 15 , Figure 15This is a schematic diagram of an interface for displaying target session messages in a scrolling manner, as shown in the embodiments of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 15 As shown in Figure (A), after User A sends a target session message to User B, the target session message, such as "I like you," can be displayed on the target session interface provided by the first terminal device. This target session message will be displayed in a scrolling manner within a designated area provided on the target session interface. Figure 15 As shown in Figure (B), the target session message scrolls to the next position within the specified area.

[0207] Secondly, this application provides multiple ways to display target session messages. Through these methods, target session messages can be presented to the message sender in different ways, thereby increasing the flexibility of message display. Diverse message display methods can better meet the needs of different users and improve the user stickiness of IM applications.

[0208] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, the first terminal device displays the target session message in the form of bubbles on the target session interface, which may specifically include:

[0209] The first terminal device displays the target session message in the form of a fixed bubble on the target session interface;

[0210] or,

[0211] The first terminal device displays the target session message in the form of a variable bubble on the target session interface;

[0212] or,

[0213] The first terminal device displays the target session messages in the form of draggable bubbles on the target session interface.

[0214] This embodiment describes several methods for displaying target session messages in a bubble format. For both the message sender and receiver, the target session message can be displayed using a fixed bubble format, a variable bubble format, or a draggable bubble format. The following description uses the target session interface provided by the first terminal device as an example. It should be noted that the target session interface provided by the second terminal device also displays the target session message in a similar manner.

[0215] 1. Display the target session message in a fixed bubble format;

[0216] Specifically, a fixed bubble format means that the bubble pattern is displayed at a fixed position on the target session interface, and the color, size, and shape of the bubble pattern do not change.

[0217] 2. Display the target session message in a fixed bubble format;

[0218] Specifically, please refer to Figure 16 , Figure 16 This is a schematic diagram of a changing interface in which target session messages are displayed in the form of variable bubbles in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as follows: Figure 16 As shown in Figure (A), the "bubble" pattern appears white. After a period of time, the color of the bubble pattern changes, displaying as shown in Figure (B). Figure 16 The gray area shown in Figure (B) is gray.

[0219] It should be noted that, Figure 16 The example used is the color change of the "bubble" pattern. In practical applications, the shape and size of the "bubble" pattern can also be changed. This is only for illustration and should not be construed as a limitation of this application.

[0220] 3. Display the target session message in a draggable bubble format;

[0221] Specifically, please refer to Figure 17 , Figure 17 This is a schematic diagram of a changing interface in this application embodiment, showing the target session message in the form of a draggable bubble. Taking user A as the message sender and user B as the message receiver as an example, as follows... Figure 17 As shown in Figure (A), the "bubble" icon is displayed in the center of the target session interface, and the message sender can also drag the "bubble" icon. Assuming the message sender drags the "bubble" icon to the right, the following will be displayed: Figure 17 The interface shown in Figure (B) is a "bubble" icon displayed on the right side of the target session interface.

[0222] Furthermore, this application provides multiple ways to display target conversation messages in the form of bubbles. Through these methods, target conversation messages can be presented to the message recipient in different bubble formats, thereby increasing the flexibility of message display. Diverse message display methods can better cater to the needs of different users and improve the user stickiness of IM applications.

[0223] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the first terminal device responds to the message sending instruction for the target session message, it may further include:

[0224] The first terminal device displays a message countdown on the target session interface, where the message countdown represents the difference between the display duration threshold and the displayed duration.

[0225] This embodiment describes a method for displaying a message countdown. For the message sender, after sending the target session message, they can also view the message countdown until the target session message disappears.

[0226] Specifically, for ease of understanding, please refer to Figure 18 , Figure 18 This is a schematic diagram of an interface for displaying a message countdown in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, after user A sends a target session message to user B, the message countdown of the target session message can be displayed. For example, "1:30:08" means that the target session message will automatically end in 1 hour, 30 minutes and 8 seconds.

[0227] The message countdown for the target session message is the difference between the display duration threshold and the displayed duration. For example, if the display duration threshold is 2 hours and the displayed duration is 30 minutes, then the message countdown is 1 hour and 30 minutes.

[0228] Secondly, this application embodiment provides a method for displaying a message countdown. In this way, since the target session message will disappear within a period of time, setting a message countdown allows the message sender to know when the target session message will disappear, thereby improving the flexibility of message display.

[0229] Optionally, in the above Figure 3 Based on the corresponding embodiments, another optional embodiment provided in this application may further include:

[0230] The first terminal device displays a message settings interface, which includes a duration setting area.

[0231] The first terminal device obtains the display duration threshold for the target session message through the duration setting area.

[0232] This embodiment introduces a method for setting a display duration threshold. The message sender can also customize the display duration threshold for the target session message, meaning that the target session message will automatically disappear when the display duration threshold is reached.

[0233] Specifically, for ease of understanding, please refer to Figure 19 , Figure 19 This is a schematic diagram of a message settings interface for setting a display duration threshold in an embodiment of this application, as shown below. Figure 19 As shown in Figure (A), F1 indicates a settings control for the target session message. When the message sender clicks this settings control, they will enter the following... Figure 19The interface shown in Figure (B) is displayed. On this interface, there is a duration setting area indicated by F2. The message sender enters the display duration threshold for the target session message in the duration setting area, for example, "2:00:00", which means that the display duration threshold is 2 hours.

[0234] Secondly, in this embodiment of the application, a method for setting a display duration threshold is provided. Through the above method, the message sender can also customize the display duration threshold, that is, flexibly adjust the display duration of the target session message, thereby improving the flexibility of message display.

[0235] Optionally, in the above Figure 3 Based on the corresponding embodiments, another optional embodiment provided in this application may further include:

[0236] The first terminal device displays a message settings interface, which includes a timer setting area.

[0237] The first terminal device obtains the preset display time for the target session message by setting a timer area;

[0238] The first terminal device responds to a message sending command for the target session message, displays the target session message on the target session interface, and sends the target session message to the second terminal device, which may specifically include:

[0239] The first terminal device responds to the message sending command for the target session message. When the preset display time is reached, it displays the target session message on the target session interface and sends the target session message to the second terminal device.

[0240] This embodiment introduces a method for setting a timed display of target session messages. The message sender can also customize the preset display time of the target session message, that is, the target session message will only be displayed on the target session interface provided by the first terminal device and the second terminal device when the preset display time is reached.

[0241] Specifically, for ease of understanding, please refer to Figure 20 , Figure 20 This is a schematic diagram of a message settings interface for setting a preset display time in an embodiment of this application, as shown below. Figure 20 As shown in Figure (A), G1 indicates a settings control for the target session message. When the message sender clicks this settings control, they will enter the following... Figure 20 The interface shown in Figure (B) is displayed. This interface displays the timing setting area indicated by G2. The message sender enters the preset display time for the target session message in the timing setting area, for example, "19:00:00", meaning the preset display time is 7 PM.

[0242] Secondly, this application provides a method for setting a timed display of target session messages. Through this method, the message sender can also customize a preset display time, so the message receiver will receive the target session message at the preset display time. This message display method is suitable for scenarios such as birthday wishes or anniversary greetings, thereby improving the flexibility of message display.

[0243] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the first terminal device sends the target session message to the second terminal device, it may further include:

[0244] The first terminal device receives a message interception instruction sent by the second terminal device;

[0245] In response to the message interception command, the first terminal device displays a message interception prompt, a first interception control, and a second interception control for the target session message;

[0246] If a click command is detected for the first interception control, the first terminal device sends an interception success response to the second terminal device so that a prompt message indicating that the target session message has been intercepted is displayed based on the interception success response.

[0247] If a click command is detected for the second interception control, the first terminal device sends an interception failure response to the second terminal device so that a prompt message indicating that the target session message interception failed is displayed based on the interception failure response.

[0248] This embodiment describes a response method for screenshot or copy operations. If the message recipient takes a screenshot of the interface displaying the target session message, or copies the target session message, a message interception command is triggered. The second terminal device then sends this message interception command to the first terminal device, and the first terminal device displays a message interception prompt, a first interception control, and a second interception control for the target session message.

[0249] Specifically, for ease of understanding, please refer to Figure 21 , Figure 21 This is a schematic diagram of an interface displaying a message interception prompt in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as shown in the figure, H1 indicates the message interception prompt, that is, user B requests to copy the "bubble message". H2 indicates the first interception control, and H3 indicates the second interception control.

[0250] When the message sender clicks the first interception control, a click command is triggered for the first interception control. Based on this, it means that the message sender allows the message receiver to intercept the target session message sent by the sender and sends an interception success response to the second terminal device. Then, the second terminal device displays a prompt message indicating that the target session message has been intercepted (i.e., copied or screenshotted) based on the interception success response.

[0251] When the message sender clicks the second interception control, a click command is triggered for the second interception control. Based on this, it means that the message sender refuses the message receiver's interception of the target session message it sent and sends an interception failure response to the second terminal device. Then, the second terminal device displays a prompt message indicating that the interception (i.e., copying or screenshotting, etc.) of the target session message failed based on the interception failure response.

[0252] Secondly, this application provides a response method for screenshot or copy operations. Using this method, if the message recipient wants to copy the target session message for screenshotting, they need to notify the message sender, who then decides whether to allow the message recipient to capture the corresponding target session message. This further increases the privacy of communication and, to some extent, prevents the leakage of session messages.

[0253] Optionally, in the above Figure 3 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the first terminal device sends the target session message to the second terminal device, it may further include:

[0254] The first terminal device receives a reply message from the second terminal device in response to the target session message;

[0255] The first terminal device highlights the reply message on the target session interface.

[0256] This embodiment describes a method for providing strong notifications based on the message recipient's reply. If the message recipient wants to reply after seeing the target session message, a message reply command for the target session message is triggered, and a message input area is displayed on the second terminal device used by the message recipient. The message recipient enters a reply message through this message input area and sends the reply message. Based on this, the message sender can view the highlighted reply message on the first terminal device.

[0257] Specifically, for ease of understanding, please refer to Figure 22 , Figure 22The figure shows a schematic diagram of an interface that highlights the reply message in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, if user B replies after user A sends the target session message, the reply message will be highlighted on the target session interface of the first terminal device. For example, the reply message is "Me too".

[0258] Secondly, this application provides a method for strong reminders based on the message recipient's reply. In this way, if the message recipient replies to the target session message, the message sender will be notified that the session message has been replied to, thereby increasing the interactivity between users.

[0259] Based on the above introduction, the following section will describe the method for displaying session messages in this application from the perspective of the message recipient. Please refer to [link / reference needed]. Figure 23 Another embodiment of the session message display method in this application includes:

[0260] 201. The second terminal device displays a session reminder interface, which is used to prompt unread session messages;

[0261] In this embodiment, the second terminal device displays a session reminder interface, which shows session messages that the message recipient has not viewed. The second terminal device is the terminal device used by the message recipient.

[0262] For easier understanding, please refer to Figure 24 , Figure 24 This is a schematic diagram of an interface for viewing target session messages in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 24 As shown in Figure (A), User B can view unread conversation messages through the conversation reminder interface provided by the second terminal device. For example, User A sent a conversation message at 3:17 pm. This conversation message is a "bubble message", which is the target conversation message.

[0263] 202. The second terminal device responds to the message viewing command for the target session message and displays the target session message on the target session interface;

[0264] In this embodiment, the message receiver triggers a message viewing command for the target session message, which allows them to enter the target session interface communicating with the message sender. For easier understanding, please refer to reference 24 again, such as... Figure 24 As shown in Figure (B), after User A sends a target session message to User B, in one example, the target session message can be represented as a floating "bubble" icon. After User B clicks on the "bubble" icon, the following will be displayed: Figure 24The target session message shown in Figure (C) is "I like you". In another example, the target session message can also be displayed directly on the target session interface.

[0265] 203. When the displayed duration of the target session message reaches the display duration threshold, the second terminal device cancels the display of the target session message on the target session interface.

[0266] In this embodiment, for both the message sender and the message receiver, when the displayed duration of the target session message reaches the display duration threshold, the target session message will disappear, that is, the target session message will no longer be displayed on the target session interface.

[0267] For better understanding, please refer to the following again. Figure 24 ,like Figure 24 As shown in Figure (C), assuming the target conversation message is "I like you", if the displayed duration of the target conversation message reaches the display duration threshold, then the message will be displayed as shown below. Figure 24 The target session interface is shown in (D). Similarly, for user A, if the displayed duration of the target session message reaches the display duration threshold, the target session message will not be displayed on the target session interface of the first terminal device. It is understood that the display duration threshold can be set to 1 hour, 30 minutes, etc., and is not limited here.

[0268] Therefore, after a target session message is successfully sent, the message recipient needs to check the target session message within a certain period of time; otherwise, the target session message or the "bubble" icon will disappear, and the message sender will not know whether the message recipient has read the target session message.

[0269] This application provides a method for displaying conversation messages. Through this method, conversation messages are only displayed within a display duration threshold for both the message recipient and the message sender. When the displayed duration of a conversation message reaches the threshold, the message automatically disappears without manual intervention from the message sender. This improves operational convenience and avoids the problem of irreversible conversation messages, thus enhancing the privacy of communication.

[0270] Optionally, in the above Figure 23 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the second terminal device displays the target session message on the target session interface, it may further include:

[0271] When a message interception instruction for a target session message is detected, the second terminal device sends a message interception instruction to the first terminal device, so that the first terminal device responds to the message interception instruction and displays a first interception control and a second interception control.

[0272] If the first terminal device detects a click command for the first interception control, it displays a prompt message indicating that the target session message has been intercepted.

[0273] If the first terminal device detects a click command for the second interception control, it displays a message indicating that the interception of the target session message failed.

[0274] This embodiment describes a method for triggering screenshot or copy operations. If the message recipient takes a screenshot of the interface displaying the target session message, or copies the target session message, a message interception command is triggered. Consequently, the second terminal device sends the message interception command to the first terminal device, and the first terminal device displays a message interception prompt, a first interception control, and a second interception control for the target session message.

[0275] Specifically, for ease of understanding, please refer to Figure 25 , Figure 25 This is a schematic diagram of an interface showing successful interception of the target session message in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as follows... Figure 25 As shown in Figure (A), User B requests to copy the target session message and clicks "Copy," triggering a message interception command. Consequently, User B displays a message interception prompt, a first interception control, and a second interception control in response to the message interception command, as shown below. Figure 25 As shown in Figure (B), assuming user A clicks "Agree," this triggers a click instruction on the first interception control, indicating that the message sender allows the message receiver to intercept the target session message sent by them. Therefore, user B can... Figure 25 The interface shown in Figure (C) displays a notification message indicating that the target session message has been captured, such as "Copied".

[0276] For easier understanding, please refer to Figure 26 , Figure 26 This is a schematic diagram of an interface where the target session message interception fails in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 26 As shown in Figure (A), User B requests to copy the target session message and clicks "Copy," triggering a message interception command. Consequently, User B displays a message interception prompt, a first interception control, and a second interception control in response to the message interception command, as shown below. Figure 26 As shown in Figure (B), assuming User A clicks "Reject," this triggers a click instruction on the second interception control, indicating that the message sender rejects the message receiver's interception of the target session message it sent. Therefore, User B can... Figure 26 The interface shown in Figure (C) displays a message indicating that the target session message capture failed, such as "Copy failed".

[0277] Secondly, this application provides a method for triggering screenshot or copy operations. Using this method, if the message recipient wants to copy the target session message for screenshotting, they need to notify the message sender, who then decides whether to allow the message recipient to capture the corresponding target session message. This further increases the privacy of communication and, to some extent, prevents the leakage of session messages.

[0278] Optionally, in the above Figure 23 Based on the corresponding embodiments, in another optional embodiment provided by this application, the second terminal device displays the target session message on the target session interface, which may specifically include:

[0279] The second terminal device displays the target session messages in the form of bubbles on the target session interface;

[0280] Alternatively, the second terminal device may highlight the target session message in the form of a session box on the target session interface;

[0281] Alternatively, the second terminal device may display the target session messages in a scrolling manner on the target session interface.

[0282] This embodiment introduces several ways to display target session messages. For the message sender, target session messages can be displayed in a form different from regular session messages, allowing the message receiver to more intuitively understand which session messages will disappear within a certain period. The following sections, with illustrations, will describe three methods for displaying target session messages.

[0283] 1. Display the target session message in bubble format;

[0284] Specifically, please refer to Figure 27 , Figure 27 This is a schematic diagram of an interface in this application embodiment that displays target session messages in the form of bubbles. Taking user A as the message sender and user B as the message receiver as an example, as follows: Figure 27 As shown in Figure (A), after User A sends a target session message to User B, the target session message can be represented as a floating "bubble" icon. After User B clicks on the "bubble" icon, the following will be displayed: Figure 27 As shown in Figure (B), the target session message is magnified so that the target session message can be adapted to the size of the bubble pattern and displayed in the bubble-shaped pattern.

[0285] It should be noted that the "bubble" pattern shown in this application can also be represented by other patterns. This is only for illustration and should not be construed as a limitation of this application.

[0286] 2. Display the target conversation message in the form of a dialog box;

[0287] Specifically, please refer to Figure 28 , Figure 28 This is a schematic diagram of an interface in which a target conversation message is highlighted in the form of a conversation box in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as shown in the figure, the target conversation message sent by user A to user B can be displayed in the conversation box of the target conversation interface. However, this conversation box is different from the conversation box of a regular conversation message, so as to highlight the target conversation message.

[0288] It should be noted that the difference between the highlighted dialog box shown in this application and the regular dialog box may be different in the shape of the outer frame, color, font shape, font size, etc., which are not limited here.

[0289] 3. Display the target session messages in a scrolling format;

[0290] Specifically, please refer to Figure 29 , Figure 29 This is a schematic diagram of an interface for displaying target session messages in a scrolling manner, as shown in the embodiments of this application. Taking user A as the message sender and user B as the message receiver as an example, ... Figure 29 As shown in Figure (A), after User A sends a target session message to User B, the target session message, such as "I like you," can be displayed on the target session interface provided by the second terminal device. This target session message will be displayed in a scrolling manner within a designated area provided on the target session interface. Figure 29 As shown in Figure (B), the target session message scrolls to the next position within the specified area.

[0291] Secondly, this application provides multiple ways to display target session messages. Through these methods, target session messages can be presented to the message recipient in different ways, thereby increasing the flexibility of message display. Diverse message display methods can better meet the needs of different users and improve the user stickiness of IM applications.

[0292] Optionally, in the above Figure 23 Based on the corresponding embodiments, in another optional embodiment provided by this application, after the second terminal device displays the target session message on the target session interface, it may further include:

[0293] The second terminal device responds to the message reply command for the target session message and displays the message input area;

[0294] The second terminal device obtains a reply message for the target session message through the message input area;

[0295] The second terminal device sends a reply message to the first terminal device so that the first terminal device highlights the reply message.

[0296] This embodiment describes a method for replying to session messages. If the message recipient wants to reply after seeing the target session message, a message reply command for the target session message is triggered, and a message input area is displayed on the second terminal device used by the message recipient. The message recipient enters a reply message through this message input area and sends the reply message. Based on this, the message sender can view the highlighted reply message on the first terminal device.

[0297] Specifically, for ease of understanding, please refer to Figure 30 , Figure 30 This is a schematic diagram of an interface displaying the message input area in an embodiment of this application. Taking user A as the message sender and user B as the message receiver as an example, as follows: Figure 30 As shown in Figure (A), User A sends a target conversation message to User B, for example, the target conversation message is "I like you". If User B wants to reply to this message, they can click on the target conversation message, which triggers the message reply command, thus displaying the following... Figure 30 The interface shown in Figure (B) includes a message input area. User B enters a reply message for the target conversation message through the message input area, for example, the reply message is "Me too".

[0298] Therefore, for User A, if User B replies, the reply message will be highlighted on the target session interface of User B's communication, i.e., it will be displayed as follows: Figure 30 The interface shown in Figure (C).

[0299] Secondly, this application provides a method for replying to session messages. Using this method, if the message receiver needs to reply to the target session message, it directly triggers a message reply command to input the corresponding reply message. The process of the message receiver triggering the message reply command is relatively simple, thus increasing the convenience of the solution operation. For the message sender, if the message receiver replies to the target session message, the sender will be notified that the session message has been replied to, thereby increasing the interactivity between users.

[0300] The session message display device in this application is described in detail below. Please refer to [link / reference]. Figure 31 , Figure 31 This is a schematic diagram of one embodiment of the conversation message display device in this application. The conversation message display device is applied to a first terminal device, and the conversation message display device 30 includes:

[0301] Display module 301 is used to display a floating input area in response to a message input command;

[0302] The acquisition module 302 is used to acquire session messages through the floating input area;

[0303] The display module 301 is also used to respond to a message sending command for a session message, display the session message on the target session interface, and send the session message to the second terminal device so that the second terminal device cancels the display of the session message when the displayed duration of the session message reaches the display duration threshold.

[0304] The display module 301 is also used to cancel the display of the session message on the target session interface when the displayed duration of the session message reaches the display duration threshold.

[0305] In this embodiment of the application, a conversation message display device is provided. With the above device, the conversation message is only displayed within the display duration threshold for both the message receiver and the message sender. When the displayed duration of the conversation message reaches the display duration threshold, the conversation message will automatically disappear without the need for manual operation by the message sender. This improves the convenience of operation and avoids the problem of conversation messages being unable to be recalled, which is conducive to increasing the privacy of communication.

[0306] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application, the conversation message display device 30 further includes a generation module 303;

[0307] The display module 301 is also used to display a first control on the target session interface before displaying the floating input area in response to a message input command;

[0308] The display module 301 is also used to respond to a click command for the first control and display an operation prompt message, wherein the operation prompt message is used to prompt the operation method that triggers the display of the floating input area;

[0309] The generation module 303 is used to generate a message input instruction if the current triggering operation is detected to meet the operation triggering conditions.

[0310] In this embodiment of the application, a conversation message display device is provided. Using the above device, the process of the message sender triggering the message input command is relatively simple, thereby increasing the convenience of the solution operation.

[0311] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0312] The display module 301 is also used to display a second control and a third control after responding to a click command on the first control. The second control is used to cancel the display of the floating input area, and the third control is used to trigger the sending of a session message.

[0313] The display module 301 is also used to display a message input area if a click command for the second control is detected;

[0314] The generation module 303 is also used to generate a message sending instruction if a click instruction for a third control is detected after obtaining the target session message through the floating input area.

[0315] In this embodiment of the application, a conversation message display device is provided. Using the above device, the process of the message sender canceling the floating input area is relatively simple, thereby increasing the convenience of the solution operation.

[0316] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application, the target conversation message includes at least one of text message, emoticon message, image message, video message, audio message and voice message;

[0317] The display module 301 is specifically used to respond to text input operations on the floating input area and obtain text messages;

[0318] Alternatively, it can respond to emoji input operations targeting the floating input area and retrieve emoji messages;

[0319] Alternatively, it can respond to image input operations targeting the floating input area and retrieve image messages;

[0320] Alternatively, it can respond to video input operations targeting the floating input area and retrieve video messages;

[0321] Alternatively, it can respond to audio input operations targeting the floating input area and retrieve audio messages;

[0322] Alternatively, it can respond to voice input operations targeting the floating input area and retrieve voice messages.

[0323] In this embodiment of the application, a conversation message display device is provided. Using the above device, the message sender can input one or more of the following according to actual needs: text message, emoticon message, image message, video message, audio message, and voice message, thereby increasing the diversity of conversation messages, making the communication content between users richer, and helping to improve the user stickiness of IM applications.

[0324] Optionally, in the above Figure 31Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0325] The display module 301 is specifically used to display a first text message and a second text message on the target session interface if the target session message is a text message, wherein the first text message and the second text message are included in the text message;

[0326] If the target session message is an emoji message, then the first emoji message and the second emoji message will be displayed on the target session interface, wherein the first emoji message and the second emoji message are included in the emoji message;

[0327] If the target session message is an image message, then the first image message and the second image message will be displayed on the target session interface, wherein the first image message and the second image message are included in the image message.

[0328] In this application embodiment, a conversation message display device is provided. Using the above device, text messages, emoticon messages, or image messages are divided into multiple sub-messages for display, which can increase the diversity of conversation message display. If multiple sub-messages are displayed at different times, it can also prevent the message recipient from directly intercepting the message content, further increasing the privacy of communication.

[0329] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0330] Display module 301 is specifically used to display target session messages in the form of bubbles on the target session interface;

[0331] Alternatively, highlight the target session message in the form of a dialog box on the target session interface;

[0332] Alternatively, the target session messages can be displayed in a scrolling manner on the target session interface.

[0333] In this application embodiment, a conversation message display device is provided. Using the above device, the target conversation message can be presented to the message sender in different ways, thereby increasing the flexibility of message display. The diversified message display methods can better meet the needs of different users and improve the user stickiness of IM applications.

[0334] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0335] Display module 301 is specifically used to display target session messages in the form of fixed bubbles on the target session interface;

[0336] or,

[0337] On the target session interface, the target session message is displayed in the form of a variable bubble;

[0338] or,

[0339] On the target session interface, the target session messages are displayed as draggable bubbles.

[0340] In this application embodiment, a conversation message display device is provided. Using the above device, the target conversation message can be presented to the message recipient in different bubble forms, thereby increasing the flexibility of message display. The diversified message display methods can better meet the needs of different users and improve the user stickiness of IM applications.

[0341] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0342] The display module 301 is also used to display a message countdown on the target session interface after responding to a message sending command for the target session message, wherein the message countdown represents the difference between the display duration threshold and the displayed duration.

[0343] In this application embodiment, a session message display device is provided. Using the above device, since the target session message will disappear within a period of time, setting a message countdown can enable the message sender to know when the target session message will disappear, thereby improving the flexibility of message display.

[0344] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0345] The display module 301 is also used to display a message settings interface, wherein the message settings interface displays a duration setting area;

[0346] The acquisition module 302 is also used to acquire the display duration threshold for the target session message through the duration setting area.

[0347] In this embodiment of the application, a conversation message display device is provided. Using the above device, the message sender can also customize the display duration threshold, that is, the display duration of the target conversation message can be flexibly adjusted, thereby improving the flexibility of message display.

[0348] Optionally, in the above Figure 31Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0349] The display module 301 is also used to display a message setting interface, wherein the message setting interface displays a timer setting area;

[0350] The acquisition module 302 is also used to acquire the preset display time for the target session message by setting the area at regular intervals;

[0351] The display module 301 is specifically used to respond to message sending instructions for the target session message. When the preset display time is reached, the target session message is displayed on the target session interface and the target session message is sent to the second terminal device.

[0352] This application provides a conversation message display device. Using this device, the message sender can customize a preset display time, so the message receiver will receive the target conversation message at the preset display time. This message display method is suitable for scenarios such as birthday wishes or anniversary greetings, thereby improving the flexibility of message display.

[0353] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application, the conversation message display device 30 further includes a receiving module 304 and a sending module 305;

[0354] The receiving module 304 is used to receive a message interception instruction sent by the second terminal device after sending a target session message to the second terminal device.

[0355] The display module 301 is also used to respond to the message interception instruction to display a message interception prompt, a first interception control and a second interception control for the target session message;

[0356] The sending module 305 is used to send a successful interception response to the second terminal device if a click command for the first interception control is detected, so that a prompt message indicating that the target session message has been intercepted is displayed based on the successful interception response.

[0357] The sending module 305 is further configured to send an interception failure response to the second terminal device if a click instruction for the second interception control is detected, so that a prompt message indicating that the target session message interception failed is displayed based on the interception failure response.

[0358] This application provides a conversation message display device. Using this device, if a message recipient wants to copy a target conversation message for screenshotting, they need to notify the message sender, who then decides whether to allow the message recipient to capture the corresponding target conversation message. This further increases the privacy of communication and, to some extent, prevents the leakage of conversation messages.

[0359] Optionally, in the above Figure 31 Based on the corresponding embodiments, in another embodiment of the conversation message display device 30 provided in this application,

[0360] The receiving module 304 is also configured to receive a reply message from the second terminal device for the target session message after sending the target session message to the second terminal device;

[0361] The display module 301 is also used to highlight the reply message on the target session interface.

[0362] In this embodiment of the application, a conversation message display device is provided. Using the above device, if the message receiver replies to the target conversation message, the message sender will be notified that the conversation message has been received, thereby increasing the interactivity between users.

[0363] The session message display device in this application is described in detail below. Please refer to [link / reference]. Figure 32 , Figure 32 This is a schematic diagram of one embodiment of the conversation message display device in this application. The conversation message display device is applied to a second terminal device, and the conversation message display device 40 includes:

[0364] Display module 401 is used to display a session reminder interface, wherein the session reminder interface displays the target session message;

[0365] The display module 401 is also used to respond to a message viewing command for the target session message and display the target session message on the target session interface;

[0366] The display module 401 is also used to cancel the display of the target session message on the target session interface when the displayed duration of the target session message reaches the display duration threshold.

[0367] In this embodiment of the application, a conversation message display device is provided. With the above device, the conversation message is only displayed within the display duration threshold for both the message receiver and the message sender. When the displayed duration of the conversation message reaches the display duration threshold, the conversation message will automatically disappear without the need for manual operation by the message sender. This improves the convenience of operation and avoids the problem of conversation messages being unable to be recalled, which is conducive to increasing the privacy of communication.

[0368] Optionally, in the above Figure 32 Based on the corresponding embodiments, in another embodiment of the conversation message display device 40 provided in this application, the conversation message display device 40 further includes a sending module 402;

[0369] The sending module 402 is used to send a message interception instruction to the first terminal device after displaying the target session message on the target session interface and detecting a message interception instruction for the target session message, so that the first terminal device responds to the message interception instruction and displays a first interception control and a second interception control.

[0370] The display module 401 is further configured to, in response to a message interception instruction, display a prompt message indicating that the target session message has been intercepted if the first terminal device detects a click instruction for the first interception control.

[0371] The display module 401 is further configured to, in response to the message interception instruction, display a prompt message indicating that the target session message interception failed if the first terminal device detects a click instruction for the second interception control.

[0372] This application provides a conversation message display device. Using this device, if a message recipient wants to copy a target conversation message for screenshotting, they need to notify the message sender, who then decides whether to allow the message recipient to capture the corresponding target conversation message. This further increases the privacy of communication and, to some extent, prevents the leakage of conversation messages.

[0373] Optionally, in the above Figure 32 Based on the corresponding embodiments, in another embodiment of the conversation message display device 40 provided in this application,

[0374] Display module 401 is specifically used to display target session messages in the form of bubbles on the target session interface;

[0375] Alternatively, highlight the target session message in the form of a dialog box on the target session interface;

[0376] Alternatively, the target session messages can be displayed in a scrolling manner on the target session interface.

[0377] In this application embodiment, a conversation message display device is provided. Using the above device, the target conversation message can be presented to the message recipient in different ways, thereby increasing the flexibility of message display. The diversified message display methods can better meet the needs of different users and improve the user stickiness of IM applications.

[0378] Optionally, in the above Figure 32Based on the corresponding embodiments, in another embodiment of the conversation message display device 40 provided in this application, the conversation message display device 40 further includes an acquisition module 403;

[0379] The display module 401 is also used to display a message input area in response to a message reply command for the target session message after displaying the target session message on the target session interface;

[0380] The acquisition module 403 is used to acquire a reply message for the target session message through the message input area;

[0381] The sending module 402 is also used to send a reply message to the first terminal device so that the first terminal device highlights the reply message.

[0382] This application provides a session message display device. Using this device, if the message receiver needs to reply to a target session message, they can directly trigger a message reply command to input the corresponding reply message. The process of the message receiver triggering the message reply command is relatively simple, thereby increasing the convenience of the solution operation. For the message sender, if the message receiver replies to the target session message, the sender will be notified that the session message has received a reply, thereby increasing the interactivity between users.

[0383] This application also provides another session message display device, such as... Figure 33 As shown, for ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of this application. The terminal device can be any terminal device including mobile phones, tablets, personal digital assistants (PDAs), point-of-sale (POS) terminals, in-vehicle computers, etc. Taking a mobile phone as an example:

[0384] Figure 33 This diagram illustrates a partial structural representation of a mobile phone related to the terminal device provided in this embodiment. (Reference) Figure 33 The mobile phone includes components such as a radio frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, a wireless fidelity (WiFi) module 570, a processor 580, and a power supply 590. Those skilled in the art will understand that... Figure 33 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0385] The following is combined with Figure 33 A detailed introduction to each component of a mobile phone:

[0386] RF circuit 510 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 580; additionally, it transmits uplink data to the base station. Typically, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, RF circuit 510 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0387] The memory 520 can be used to store software programs and modules. The processor 580 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 520 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0388] The input unit 530 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 531), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 531 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 580, and can also receive and execute commands sent by the processor 580. In addition, the touch panel 531 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 531, the input unit 530 may also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0389] Display unit 540 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. Display unit 540 may include display panel 541, optionally configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel 541. Further, touch panel 531 may cover display panel 541. When touch panel 531 detects a touch operation on or near it, it transmits the information to processor 580 to determine the type of touch event. Subsequently, processor 580 provides corresponding visual output on display panel 541 based on the type of touch event. Although in Figure 33 In this embodiment, the touch panel 531 and the display panel 541 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 531 and the display panel 541 can be integrated to realize the input and output functions of the mobile phone.

[0390] The mobile phone may also include at least one sensor 550, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 541 according to the ambient light level, and the proximity sensor can turn off the display panel 541 and / or backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0391] Audio circuit 560, speaker 561, and microphone 562 provide an audio interface between the user and the mobile phone. Audio circuit 560 converts received audio data into electrical signals and transmits them to speaker 561, where speaker 561 converts them into sound signals for output. On the other hand, microphone 562 converts collected sound signals into electrical signals, which are received by audio circuit 560, converted into audio data, and then output to processor 580 for processing. The audio data is then transmitted via RF circuit 510 to, for example, another mobile phone, or output to memory 520 for further processing.

[0392] WiFi is a short-range wireless transmission technology. Through the WiFi module 570, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 33 WiFi module 570 is shown, but it is understood that it is not an essential component of a mobile phone and can be omitted as needed without changing the essence of the invention.

[0393] The processor 580 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It performs various functions and processes data by running or executing software programs and / or modules stored in the memory 520, and by calling data stored in the memory 520, thereby providing overall monitoring of the phone. Optionally, the processor 580 may include one or more processing units; optionally, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the aforementioned modem processor may also not be integrated into the processor 580.

[0394] The phone also includes a power supply 590 (such as a battery) that supplies power to various components. Optionally, the power supply can be logically connected to the processor 580 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0395] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.

[0396] The steps performed by the terminal device in the above embodiments can be based on this Figure 33 The terminal device structure is shown.

[0397] This application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the methods described in the foregoing embodiments.

[0398] This application also provides a computer program product including a program, which, when run on a computer, causes the computer to perform the methods described in the foregoing embodiments.

[0399] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0400] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0401] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0402] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0403] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0404] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for displaying conversation messages, characterized in that, The display method is applied to a first terminal device, and the display method includes: In response to a message input command, a floating input area is displayed; The target session message is obtained through the floating input area; In response to a message sending command for the target session message, the target session message is displayed on the target session interface, and the target session message is sent to the second terminal device so that the second terminal device cancels the display of the target session message when the displayed duration of the target session message reaches a display duration threshold. When the displayed duration reaches the display duration threshold, the target session message is canceled from being displayed on the target session interface; The target session message is divided into multiple sub-messages. Before the target session message is canceled and after the target session message is clicked and triggered, the multiple sub-messages are displayed at different times and disappear after a certain period of time.

2. The display method according to claim 1, characterized in that, Before displaying the floating input area in response to a message input command, the method further includes: Display the first control on the target session interface; In response to a click command on the first control, an operation prompt message is displayed, wherein the operation prompt message is used to prompt the operation mode that triggers the display of the floating input area; If the current triggering operation is detected to meet the operation triggering conditions, the message input instruction is generated.

3. The display method according to claim 2, characterized in that, After responding to a click instruction on the first control, the method further includes: Display a second control and a third control, wherein the second control is used to cancel the display of the floating input area, and the third control is used to trigger the sending of a session message; If a click command is detected for the second control, the message input area is displayed; After obtaining the target session message through the floating input area, the method further includes: If a click command is detected for the third control, the message sending command is generated.

4. The display method according to claim 1, characterized in that, The target session message includes at least one of text messages, emoticon messages, and image messages; The step of obtaining the target session message through the floating input area includes: In response to a text input operation targeting the floating input area, the text message is obtained; Alternatively, in response to an emoji input operation targeting the floating input area, the emoji message can be obtained; Alternatively, in response to an image input operation targeting the floating input area, the image message can be obtained.

5. The display method according to claim 1, characterized in that, Displaying the target session message on the target session interface includes: The target session message is displayed in the form of bubbles on the target session interface; Alternatively, the target session message may be highlighted in the form of a session box on the target session interface; Alternatively, the target session messages may be displayed in a scrolling manner on the target session interface.

6. The display method according to claim 5, characterized in that, The step of displaying the target session message in bubble form on the target session interface includes: The target session message is displayed in a fixed bubble format on the target session interface; or, The target session message is displayed in the form of a variable bubble on the target session interface; or, The target session messages are displayed as draggable bubbles on the target session interface.

7. The display method according to claim 1, characterized in that, After responding to the message sending instruction for the target session message, the method further includes: A message countdown is displayed on the target session interface, wherein the message countdown represents the difference between the display duration threshold and the displayed duration.

8. The display method according to claim 1, characterized in that, The method further includes: Display message settings interface, wherein the message settings interface displays the duration setting area; The display duration threshold for the target session message is obtained through the duration setting area.

9. The display method according to claim 1, characterized in that, The method further includes: Display message settings interface, wherein the message settings interface displays a timer setting area; The preset display time for the target session message is obtained through the time setting area; The response to the message sending instruction for the target session message includes displaying the target session message on the target session interface and sending the target session message to the second terminal device, including: In response to a message sending command for the target session message, when the preset display time is reached, the target session message is displayed on the target session interface and sent to the second terminal device.

10. The display method according to claim 1, characterized in that, After sending the target session message to the second terminal device, the method further includes: Receive a message interception command sent by the second terminal device; In response to the message interception instruction, a message interception prompt, a first interception control, and a second interception control are displayed for the target session message; If a click command is detected for the first interception control, a successful interception response is sent to the second terminal device so that a prompt message indicating that the target session message has been intercepted is displayed based on the successful interception response. If a click command is detected for the second interception control, an interception failure response is sent to the second terminal device so that a prompt message indicating that the interception of the target session message has failed is displayed based on the interception failure response.

11. The display method according to claim 1, characterized in that, After sending the target session message to the second terminal device, the method further includes: Receive a reply message from the second terminal device in response to the target session message; The reply message is highlighted on the target session interface.

12. A method for displaying conversation messages, characterized in that, The display method is applied to a second terminal device, and the display method includes: Display a conversation reminder interface, wherein the conversation reminder interface is used to prompt unviewed conversation messages; Responding to a message viewing command for the target session message, display the target session message on the target session interface; When the displayed duration of the target session message reaches the display duration threshold, the target session message is canceled from being displayed on the target session interface; The target session message is divided into multiple sub-messages. Before the target session message is canceled and after the target session message is clicked and triggered, the multiple sub-messages are displayed at different times and disappear after a certain period of time.

13. The display method according to claim 12, characterized in that, After displaying the target session message on the target session interface, the method further includes: When a message interception instruction for the target session message is detected, the message interception instruction is sent to the first terminal device so that the first terminal device responds to the message interception instruction and displays a first interception control and a second interception control. If the first terminal device detects a click instruction for the first interception control, it responds to the message interception instruction by displaying a prompt message indicating that the target session message has been intercepted. If the first terminal device detects a click instruction for the second interception control, it responds to the message interception instruction by displaying a prompt message indicating that the target session message interception failed.

14. The display method according to claim 12, characterized in that, Displaying the target session message on the target session interface includes: The target session message is displayed in the form of bubbles on the target session interface; Alternatively, the target session message may be highlighted in the form of a session box on the target session interface; Alternatively, the target session messages may be displayed in a scrolling manner on the target session interface.

15. The display method according to claim 12, characterized in that, After displaying the target session message on the target session interface, the method further includes: In response to a message reply command for the target session message, the message input area is displayed; The reply message for the target session message is obtained through the message input area; The reply message is sent to the first terminal device so that the first terminal device highlights the reply message.

16. A conversation message display device, characterized in that, The session message display device is applied to a first terminal device, and the session message display device includes: The display module is used to display the floating input area in response to message input commands; The acquisition module is used to acquire session messages through the floating input area; The display module is further configured to respond to a message sending instruction for the session message, display the session message on the target session interface, and send the session message to the second terminal device, so that the second terminal device cancels the display of the session message when the displayed duration of the session message reaches a display duration threshold; The display module is further configured to cancel the display of the session message on the target session interface when the displayed duration of the session message reaches the display duration threshold; The target session message is divided into multiple sub-messages. Before the target session message is canceled and after the target session message is clicked and triggered, the multiple sub-messages are displayed at different times and disappear after a certain period of time.

17. A conversation message display device, characterized in that, The session message display device is applied to a second terminal device, and the session message display device includes: The display module is used to display a session reminder interface, wherein the session reminder interface displays the target session message; The display module is also used to respond to a message viewing command for the target session message and display the target session message on the target session interface; The display module is further configured to cancel the display of the target session message on the target session interface when the displayed duration of the target session message reaches the display duration threshold; The target session message is divided into multiple sub-messages. Before the target session message is canceled and after the target session message is clicked and triggered, the multiple sub-messages are displayed at different times and disappear after a certain period of time.

18. A terminal device, characterized in that, include: Memory, processor, and bus system; The memory is used to store programs; The processor is configured to execute a program in the memory, and the processor is configured to execute the display method according to any one of claims 1 to 11 according to the instructions in the program code, or to execute the display method according to any one of claims 12 to 15; The bus system is used to connect the memory and the processor to enable communication between the memory and the processor.

19. A computer-readable storage medium comprising instructions, when executed on a computer, causing the computer to perform the display method as claimed in any one of claims 1 to 11, or to perform the display method as claimed in any one of claims 12 to 15.

Citation Information

Patent Citations

  • Reply message display method and device

    CN111835616A

  • Reminding message pushing method and device, terminal and computer readable storage medium

    CN112448879A