Session message processing method, apparatus and electronic device

By displaying the text of the conversation message and showing a conversation reference message based on user input, the problem of low efficiency in the conversation message referencing method is solved, and more efficient conversation communication is achieved.

CN116471251BActive Publication Date: 2026-05-29VIVO MOBILE COMM CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2023-04-25
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

The existing method of referencing session messages is not very efficient for session communication.

Method used

This allows for referencing of the target session message by responding to input on the target session message, displaying the message text, and displaying session reference messages and input messages based on the input operation.

Benefits of technology

It improves the efficiency of conversational communication and highlights the key content of the quoted conversational messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116471251B_ABST
    Figure CN116471251B_ABST
Patent Text Reader

Abstract

The application provides a conversation message processing method and device and electronic equipment, and relates to the technical field of information processing. The method comprises the following steps: in response to a first input of at least one target conversation message of a target conversation, displaying message text corresponding to the at least one target conversation message; the at least one target conversation message comprises at least one of the following: a voice conversation message, a picture conversation message, and a video conversation message; in response to a second input of the message text, displaying a conversation reference message; in response to a third input of a conversation message editing area of the target conversation, displaying an input message; and sending the input message and the conversation reference message to a conversation member participating in the target conversation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information processing technology, and in particular to a method, apparatus and electronic device for processing conversational messages. Background Technology

[0002] Currently, when users use communication applications on electronic devices, they can reference conversation messages within the application when replying to messages. Specifically, users can view the desired conversation message in the application's conversation interface, edit the text in the message editing area after confirming the reference, and then send the reply. The user's reply, along with the referenced conversation message, will then appear on the conversation interface. However, this method of referencing conversation messages is not very efficient for communication. Summary of the Invention

[0003] This application provides a method, apparatus, and electronic device for processing conversation messages, which can solve the problem of low efficiency in conversation communication using existing conversation message referencing methods.

[0004] In a first aspect, embodiments of this application provide a session message processing method, the method comprising:

[0005] In response to a first input to at least one target session message of a target session, the message text corresponding to the at least one target session message is displayed; the at least one target session message includes at least one of the following: a voice session message, an image session message, and a video session message;

[0006] In response to a second input to the message text, a session reference message is displayed;

[0007] In response to a third input to the session message editing area of ​​the target session, the input message is displayed;

[0008] The input message and the session reference message are sent to the session members participating in the target session.

[0009] Secondly, embodiments of this application provide a session message processing apparatus, the apparatus comprising:

[0010] The first display module is configured to display a reference message editing area corresponding to the at least one target session message in response to a first input to the target session; the at least one target session message includes at least one of the following: text session message, voice session message, image session message, and video session message;

[0011] The second display module is configured to display a session reference message corresponding to the at least one target session message in response to a second input to the reference message editing area;

[0012] The third display module is used to display an input message in response to a third input to the session message editing area of ​​the target session;

[0013] The sending module is used to send the input message and the session reference message to the session members participating in the target session.

[0014] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps in the session message processing method as described in the first aspect.

[0015] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps in the session message processing method as described in the first aspect.

[0016] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0017] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0018] In this embodiment, in response to a first input to at least one target session message of the target session, the message text corresponding to the at least one target session message is displayed; the at least one target session message includes at least one of the following: voice session message, image session message, and video session message. In response to a second input to the message text, a session reference message is displayed. In response to a third input to the session message editing area of ​​the target session, an input message is displayed, and the input message and the session reference message are sent to the session members participating in the target session. That is, this embodiment can realize the reference of the target session message or the message text corresponding to the target session message based on the operation of the message text corresponding to the target session message, thereby highlighting the key content of the referenced session message and improving the efficiency of session communication. Attached Figure Description

[0019] Figure 1 This is a flowchart of a session message processing method provided in an embodiment of this application;

[0020] Figure 2This is a schematic diagram illustrating the conversion of voice conversation messages into text messages, provided in an embodiment of this application.

[0021] Figure 3 This is one of the schematic diagrams provided in this application for referencing a session message by manipulating the message text corresponding to the session message;

[0022] Figure 4a This is one of the schematic diagrams provided in this application embodiment showing the display of referenced messages below the conversation message editing area;

[0023] Figure 4b This is a second schematic diagram illustrating the display of referenced messages below the conversation message editing area provided in this application embodiment;

[0024] Figure 4c This is one of the schematic diagrams provided in the embodiments of this application for displaying reference messages in the target session;

[0025] Figure 5 This is one of the schematic diagrams illustrating the concatenation of multiple session messages provided in the embodiments of this application;

[0026] Figure 6a This is the second schematic diagram of multiple session messages concatenated and referenced in the embodiments of this application;

[0027] Figure 6b This is the third schematic diagram illustrating the concatenation of multiple session messages provided in the embodiments of this application;

[0028] Figure 7a This is one of the schematic diagrams illustrating the addition of fragment references provided in the embodiments of this application;

[0029] Figure 7b This is the second schematic diagram of adding fragment references provided in the embodiments of this application;

[0030] Figure 8 This is a schematic diagram illustrating the splicing of multiple segments provided in the embodiments of this application;

[0031] Figure 9 This is a schematic diagram illustrating the reference of multiple session messages provided in an embodiment of this application;

[0032] Figure 10a This is a second schematic diagram illustrating the display of a reference message in a target session, provided in an embodiment of this application.

[0033] Figure 10b This is the third illustration of displaying a reference message in the target session provided in the embodiments of this application;

[0034] Figure 10c This is the fourth illustration of displaying a reference message in the target session according to an embodiment of this application;

[0035] Figure 11 This is a schematic diagram showing the complete target session message corresponding to the referenced voice message segment, provided in an embodiment of this application.

[0036] Figure 12 This is a flowchart of another session message processing method provided in an embodiment of this application;

[0037] Figure 13 This is a schematic diagram of the structure of a session message processing device provided in an embodiment of this application;

[0038] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0039] Figure 15 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application. Detailed Implementation

[0040] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0041] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0042] The session message processing method, apparatus, and electronic device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0043] See Figure 1 , Figure 1 This is a flowchart of a session message processing method provided in an embodiment of this application, such as... Figure 1 As shown, it includes the following steps:

[0044] Step 101: In response to a first input to at least one target session message of the target session, display the message text corresponding to the at least one target session message; the at least one target session message includes at least one of the following: voice session message, image session message, and video session message.

[0045] The target session can be any session of any communication application. The at least one target session message can be at least one session message selected from the target session.

[0046] Wherein, the aforementioned at least one target session message may all be session messages of the same message type, for example, the aforementioned at least one session message may all be voice session messages, image session messages, or video session messages; or, the aforementioned at least one target session message may include session messages of different message types, for example, the aforementioned at least one target session message may include at least two types of session messages among voice session messages, image session messages, and video session messages.

[0047] For the message text corresponding to the target session message, for example, if the target session message is a voice session message, then the message text corresponding to the target session message is the voice text corresponding to the voice session message (i.e., the text obtained by converting speech); if the target session message is a video session message, then the message text corresponding to the target session message is the video text corresponding to the video session message (e.g., the subtitle text of the video or the text obtained by converting the audio of the video); if the target session message is an image session message, then the message text corresponding to the target session message is the image text corresponding to the image session message (i.e., the text on the image).

[0048] The aforementioned first input may include, but is not limited to, click input, swipe input, or press input on at least one message of the target session. For example, such as Figure 2 As shown, after the user selects a voice conversation message for the target session, a control for converting it to text is displayed. Upon receiving touch input to this control, the corresponding message text for that voice conversation message is displayed, such as... Figure 3 As shown.

[0049] Step 102: In response to a second input to the message text, display a session reference message.

[0050] The second input mentioned above may include, but is not limited to, at least one of the following: selection input, truncation input, and concatenation input of message text.

[0051] For example, the aforementioned selection input or truncation input may include a user's swiping input on the message text, and the text portion covered by the swiping trajectory is determined as the text segment the user wants to select or truncate; or the aforementioned selection input or truncation input may include dragging input on a text selection box displayed on the message text, and the text portion selected by the text selection box is determined as the text segment the user wants to select or truncate, for example, such as Figure 3 As shown.

[0052] For example, the above-mentioned concatenation input can be used to trigger the concatenation of multiple message texts or text fragments selected by the user, or the concatenation of target conversation messages corresponding to multiple selected message texts or voice message fragments corresponding to multiple text fragments. For instance, if the user selects text fragment A and text fragment B, and a touch input to the concatenation control is received, text fragment A and text fragment B can be concatenated to obtain concatenated message text; or, the voice message fragment corresponding to text fragment A and the voice message fragment corresponding to text fragment B can be concatenated to obtain a concatenated voice message.

[0053] The aforementioned session reference message may include one or more reference messages. Regarding determining the session reference message based on the aforementioned second input, for example, if the second input includes a selection input for text segment a of message text A, then text segment a or the session message segment corresponding to text segment a can be used as a reference message; if the second input includes a selection input for text segment a of message text A and a selection input for text segment b of message text B, then in response to the selection input, text segment a can be extracted from message text A, and text segment b can be extracted from message text B, and text segment a and text segment b can each be used as a reference message; alternatively, text segment a and text segment b can be concatenated to obtain concatenated message text, and the concatenated message text can be used as a reference message; alternatively, the voice message segment corresponding to text segment a and the voice message segment corresponding to text segment b can each be used as a reference message; alternatively, the voice message segment corresponding to text segment a and the voice message segment corresponding to text segment b can be concatenated to obtain concatenated voice message, and the concatenated voice message can be used as a reference message, etc.

[0054] Step 103: In response to a third input to the session message editing area of ​​the target session, display the input message.

[0055] In this embodiment, the input message may include at least one of text input message, voice input message, image input message, and video input message.

[0056] For example, after determining the session reference message, it can be imported into the session message editing area. For instance, if the session reference message is a voice message, it can be edited as follows: Figure 4a As shown; when the above session reference message is a text message, it can be done as follows: Figure 4b As shown.

[0057] Step 104: Send the input message and the session reference message to the session members participating in the target session.

[0058] In this embodiment, after the input message and the session reference message are sent to the session members participating in the target session, the input message and the session reference message can be displayed in the target session according to a preset reference format. For example, the session reference message can be displayed below the input message, and the name of the referenced object (i.e., the contact) corresponding to each session reference message can be displayed, for example, such as... Figure 4c As shown.

[0059] The conversation message processing method provided in this application embodiment, in response to a first input to at least one target conversation message of a target conversation, displays the message text corresponding to the at least one target conversation message; the at least one target conversation message includes at least one of the following: voice conversation message, image conversation message, and video conversation message; in response to a second input to the message text, displays a conversation reference message; in response to a third input to the conversation message editing area of ​​the target conversation, displays an input message, and sends the input message and the conversation reference message to the conversation members participating in the target conversation. That is, this application embodiment can realize the reference of the target conversation message or the message text corresponding to the target conversation message based on the operation of the message text corresponding to the target conversation message, thereby highlighting the key content of the referenced conversation message and improving the efficiency of conversation communication.

[0060] Optionally, the at least one target session message includes a first session message;

[0061] The step of displaying a session reference message in response to a second input to the message text includes:

[0062] In response to a second input of the message text corresponding to the first session message, the first message text is determined;

[0063] The session reference message is displayed based on the first message text.

[0064] In this embodiment, the first session message can be any session message from at least one target session message. The first message text can include a text fragment or the entire text of the message text corresponding to the first session message. The following description uses the example of the first message text including a text fragment of the message text corresponding to the first session message.

[0065] The above-mentioned display of the session reference message based on the first message text can be, for example, using the first message text as a reference message, or using the session message corresponding to the first message text as a reference message, or using the concatenation result of the first message text and other message texts as a reference message, or using the concatenation result of the session message corresponding to the first message text and other message texts as a reference message.

[0066] In this embodiment, in response to a second input of the message text corresponding to the first session message, the first message text is determined, and the session reference message is displayed according to the first message text. That is, it supports obtaining text fragments from the message text corresponding to the session message and determining the session reference message based on the obtained text fragments. This not only improves the flexibility of session message references, but also improves the targeting of session message references.

[0067] Optionally, the first conversation message is a voice conversation message, and the message text corresponding to the first conversation message is the voice text corresponding to the voice conversation message;

[0068] Determining the first message text in response to a second input of the message text corresponding to the first session message includes:

[0069] In response to a second input of voice text corresponding to the voice conversation message, a target voice text is determined, wherein the first message text is the target voice text;

[0070] The step of displaying the session reference message based on the first message text includes:

[0071] The session reference message is displayed based on the target speech text;

[0072] or,

[0073] The session reference message is displayed based on the audio segment corresponding to the target audio text.

[0074] In this embodiment, the target speech text may include a text segment or the entire text of the speech text corresponding to the speech session message. The following description takes the example of the target speech text including a text segment of the speech text corresponding to the speech session message.

[0075] The aforementioned second input may include, but is not limited to, swiping input of the voice text corresponding to the voice conversation message or dragging input of a text selection control (e.g., a text selection box) on the voice text corresponding to the voice conversation message. For example, such as... Figure 3 As shown, the system receives drag input from the user on a text selection box corresponding to the voice text of the voice conversation message, and in response to the drag input, determines the text portion selected by the text selection box as the target voice text.

[0076] When the target speech text is determined, the session reference message can be displayed based on the target speech text. For example, the target speech text can be used as a reference message, or the result of concatenating the target speech text with other speech texts can be used as a reference message. Alternatively, the session reference message can be displayed based on the speech segment corresponding to the target speech text. For example, the speech segment corresponding to the target speech text can be used as a reference message, or the result of concatenating the speech segment corresponding to the target speech text with other speech segments or other speech session messages can be used as a reference message.

[0077] In this embodiment, in response to a second input of voice text corresponding to the voice conversation message, a target voice text is determined, and the conversation reference message is displayed based on the target voice text. This can improve the flexibility and relevance of voice conversation message citation. Alternatively, the conversation reference message can be displayed based on the voice segment corresponding to the target voice text. This helps users quickly and accurately determine the voice segment to be referenced, thus improving the efficiency and relevance of voice conversation message citation.

[0078] Optionally, the first session message is an image session message, and the message text corresponding to the first session message is the image text of the first image corresponding to the image session message;

[0079] Determining the first message text in response to a second input of the message text corresponding to the first session message includes:

[0080] In response to a second input of image text for the first image, a target image text is determined, wherein the first message text is the target image text;

[0081] The step of displaying the session reference message based on the first message text includes:

[0082] The session reference message is displayed based on the target image text.

[0083] or,

[0084] The target image text in the first image is annotated to obtain a second image, and the session reference message is displayed based on the second image.

[0085] In this embodiment, the image text corresponding to the first image is also the text on the first image. The target image text may include part or all of the image text of the first image.

[0086] The second input mentioned above may include, but is not limited to, swiping input on the image text corresponding to the first image or dragging input on a text selection control (e.g., a text selection box) on the image text corresponding to the first image.

[0087] When the target image text is determined, the session reference message can be displayed based on the target image text. For example, the target image text can be used as a reference message, or the image area in the first image corresponding to the target image text can be used as a reference message. Alternatively, the target image text in the first image can be annotated to obtain a second image, and the session reference message can be displayed based on the second image. For example, the target image text in the first image can be highlighted to obtain the second image, and the second image can be used as a reference message.

[0088] In this embodiment, in response to a second input of image text in the first image, a target image text is determined, and the session reference message is displayed based on the target image text. This can improve the flexibility and relevance of image session message citation. Alternatively, the target image text in the first image is annotated to obtain a second image, and the session reference message is displayed based on the second image. This can improve the relevance of image session messages and help members participating in the target session quickly obtain key information about the referenced image.

[0089] Optionally, the first session message is a video session message, and the message text corresponding to the first session message is the video text of the first video corresponding to the video session message;

[0090] Determining the first message text in response to a second input of the message text corresponding to the first session message includes:

[0091] In response to a second input of video text of the first video, a target video text is determined, wherein the first message text is the target video text;

[0092] The step of displaying the session reference message based on the first message text includes:

[0093] The session reference message is displayed based on the target video text;

[0094] or,

[0095] The session reference message is displayed based on the video segment corresponding to the target video text.

[0096] In this embodiment, the video text of the first video may include subtitle text of the first video or text converted from the audio of the first video. The target video text may include a text fragment or all of the video text of the first video. The following description uses the example of the target video text including a text fragment of the video text of the first video.

[0097] If the target video text is determined, the session reference message can be displayed based on the target video text, for example, the target video text can be used as a reference message; or, the session reference message can be displayed based on the video segment corresponding to the target video text, for example, the video segment corresponding to the target video text can be used as a reference message.

[0098] In this embodiment, in response to a second input of video text from the first video, a target video text is determined, and the session reference message is displayed based on the target video text. This improves the flexibility and relevance of video session message referencing. Alternatively, the session reference message can be displayed based on the video segment corresponding to the target video text, which helps users quickly and accurately determine the required video segment, thus improving the efficiency and relevance of video session message referencing.

[0099] Optionally, the at least one target session message may further include a second session message;

[0100] Before displaying the session reference message based on the first message text, the method further includes:

[0101] In response to a third input to the message text corresponding to the second session message, the second message text is determined;

[0102] The step of displaying the session reference message based on the first message text includes:

[0103] The session reference message is displayed based on the first message text and the second message text.

[0104] In this embodiment, the second message text may include part or all of the message text corresponding to the second session message. It should be noted that the processing method for determining the second message text in response to the third input to the message text corresponding to the second session message can be found in the aforementioned description of determining the first message text in response to the second input to the message text corresponding to the first session message, and will not be repeated here.

[0105] For example, given the first message text and the second message text, the first message text and the second message text can each be used as a reference message; or, the conversation message (e.g., voice conversation message, video conversation message, or image conversation message, etc.) or conversation message fragment corresponding to the first message text and the conversation message or conversation message fragment corresponding to the second message text can each be used as a reference message; or, the first message text and the second message text can be concatenated, and the concatenation result can be used as a reference message; or, the conversation message or conversation message fragment corresponding to the first message text and the conversation message or conversation message fragment corresponding to the second message text can be concatenated, and the concatenation result can be used as a reference message.

[0106] Taking the example where both the first and second session messages are voice session messages, such as... Figure 5 As shown, after selecting text segments of message text corresponding to two voice conversation messages, upon receiving touch input to the concatenation and referencing control, the two selected text segments are concatenated and referenced, or the voice message segments corresponding to the two selected text segments are concatenated and referenced.

[0107] This embodiment supports referencing multiple session messages based on the message text corresponding to multiple session messages, which can improve the efficiency of session message referencing.

[0108] Optionally, displaying the session reference message based on the first message text and the second message text includes:

[0109] The session reference message is displayed based on the concatenation result of the first message text and the second message text.

[0110] For example, the concatenation result of the first message text and the second message text can be used as a reference message and displayed. Alternatively, the session message corresponding to the concatenation result of the first message text and the second message text can be used as a reference message and displayed. For instance, if the first message text is a text fragment of the message text corresponding to the first voice session message and the second message text is a text fragment of the message text corresponding to the second voice session message, then the session message corresponding to the concatenation result of the first message text and the second message text is the concatenation result of the voice message fragment corresponding to the first message text and the voice message fragment corresponding to the second message text.

[0111] It should be noted that the concatenation order of message text corresponding to different session messages can be determined by the position of each session message in the target session; or, by the selection order of the aforementioned different session messages, for example, as Figures 6a to 6bAs shown, after determining the text fragments of the message text corresponding to each conversation message, you can select each conversation message in sequence and concatenate the text fragments corresponding to the message text of each conversation message based on the order in which they are selected, or concatenate the voice message fragments of each conversation message based on the order in which they are selected.

[0112] Optionally, a sequence number can be displayed on the selection boxes of each selected conversation message to indicate the selection order or concatenation order of the conversation messages. If a conversation message is deselected, the selected conversation messages after the deselected message will be updated sequentially backwards, such as... Figure 9 As shown.

[0113] In practical applications, due to limitations in the length of session messages, some related session messages are often split into multiple session messages for transmission. In this embodiment, a reference message is generated based on part or all of the text of the message text corresponding to multiple session messages, or a reference message is generated based on multiple session messages or multiple session message fragments. This not only further improves the flexibility of session message references, but also further improves the integrity and readability of session message references.

[0114] Optionally, before displaying the session reference message based on the first message text, the method further includes:

[0115] In response to a fourth input to the message text corresponding to the first session message, a third message text is determined;

[0116] The step of displaying the session reference message based on the first message text includes:

[0117] The session reference message is displayed based on the first message text and the third message text.

[0118] In this embodiment, the aforementioned third message text may be a text fragment that is different from the first message text in the message text corresponding to the first session message.

[0119] For example, after a user selects a text segment of the message text corresponding to the first session message, the user can choose the option to add more segments to select multiple text segments, thereby obtaining multiple text segments of the message text corresponding to the same session message for citation. For example, as Figures 7a to 7bAs shown, after a user selects a text segment of the message text corresponding to the first conversation message, they can click or long-press the "Add Segment" option. This will display a text selection box in the unselected text range of the message text corresponding to the first conversation message. The selection box receives drag input from the user and, in response to the drag input, determines the text portion selected within the text selection box as the selected text segment.

[0120] For example, given the first message text and the third message text, the first message text and the third message text can each be used as a reference message; or, the conversation message (e.g., voice conversation message, video conversation message, or image conversation message, etc.) or conversation message fragment corresponding to the first message text and the conversation message or conversation message fragment corresponding to the third message text can each be used as a reference message; or, the first message text and the third message text can be concatenated, and the concatenated result can be used as a reference message, for example, as shown in the example. Figure 8 As shown, after determining two text fragments, a touch input to the control referenced by the concatenation is received, and in response to the touch input, the two text fragments are concatenated and referenced; or, the session message or session message fragment corresponding to the first message text and the session message or session message fragment corresponding to the third message text can be concatenated, and the concatenation result is used as a reference message.

[0121] This embodiment supports cropping the message text corresponding to the same session message into multiple text fragments, and displaying the session reference message based on multiple text fragments, which can further improve the targeting and flexibility of session message reference.

[0122] Optionally, displaying the session reference message based on the first message text and the third message text includes:

[0123] The session reference message is displayed based on the concatenation result of the first message text and the third message text.

[0124] For example, the concatenation result of the first message text and the third message text can be used as a reference message and displayed; or, the conversation message fragment corresponding to the concatenation result of the first message text and the third message text can be used as a reference message and displayed. For example, if the first message text and the third message text are text fragments of message text corresponding to voice conversation messages, then the conversation message fragment corresponding to the concatenation result of the first message text and the third message text is the concatenation result of the voice message fragment corresponding to the first message text and the voice message fragment corresponding to the third message text.

[0125] It should be noted that the concatenation order of different text segments in the message text corresponding to the same session message can be determined by the position of each different text segment in the message text corresponding to that session message; or, it can be determined by the selection order of the above-mentioned different text segments.

[0126] This embodiment can determine a reference message based on the concatenation result of multiple text fragments of the message text corresponding to the same session message. This can improve the relevance of session message references while ensuring the correspondence between the reference message and the session message, which is beneficial to improving the readability of the reference message.

[0127] In some optional embodiments, the same referenced message can be determined based on one or more text fragments obtained by trimming the message text corresponding to the same session message, and different referenced messages can be determined based on text fragments obtained by trimming the message text corresponding to different session messages. This helps improve the correspondence between referenced messages and session messages and facilitates user viewing. For example, as Figure 9 As shown, after selecting the text segments of the message text corresponding to the two conversation messages, a touch input to the reference control is received. In response to the touch input, the voice message segments corresponding to the text segments of the message text corresponding to the two conversation messages are respectively used as a reference message, resulting in two reference messages.

[0128] Optionally, after sending the input message and the session reference message to the session members participating in the target session, the method further includes:

[0129] The target session displays the input message, the session reference message, and the preview information corresponding to the session reference message.

[0130] In this embodiment, when the session reference message includes a voice reference message, the preview information corresponding to the voice reference message can be the voice-text information of the voice reference message; when the session reference message includes a video reference message, the preview information corresponding to the video reference message can be the video frame information of the video reference message, for example, the video frame sequence of the video reference message; when the session reference message includes an image reference message, the preview information corresponding to the image reference message can be the text information or preview image of the image reference message, etc.

[0131] For example, such as Figure 10a As shown, when the session reference message is a voice reference message, the input message, voice reference information, and the message text corresponding to the voice reference message are displayed in the target session.

[0132] This embodiment displays a session reference message and a preview of the corresponding session reference message in the target session, which helps session members participating in the target session to quickly learn the content of the session reference message.

[0133] In some optional embodiments, when the session reference message is a text reference message, the input message and the text reference message can be directly displayed in the target session, for example, such as... Figure 10b As shown. Furthermore, in group chat scenarios, the input message, text citation information, and the name of the referenced object (e.g., contact) for each text citation message can be displayed in the target session. For example, as shown... Figure 10c As shown.

[0134] Optionally, after sending the input message and the session reference message to the session members participating in the target session, the method further includes:

[0135] The input message and the session reference message are displayed in the target session;

[0136] Receive a fifth input for the target reference message in the session reference message;

[0137] In response to the fifth input, a third session message is displayed, wherein the target reference message includes a message fragment of the third session message or a text fragment of the message text corresponding to the third session message, and the third session message is a session message in the at least one target session message.

[0138] In this embodiment, the target reference message can be any reference message that includes a session message fragment. The third session message can include one or more session messages. For example, if the target reference message is a message fragment of session message a, then the third session message is session message a; if the target reference message is obtained by concatenating a message fragment of session message a and a message fragment of session message b, then the third session message includes session message a and session message b.

[0139] For example, such as Figure 4c As shown, the target session displays input messages and session reference messages. Upon receiving a click input on a specific reference message (e.g., a 33-second audio clip) within the session reference message, the original session message corresponding to that reference message can be displayed, such as... Figure 11 The original audio is shown. Optionally, if the above-mentioned reference message is not a text reference message, preview information corresponding to the reference message can also be displayed, such as... Figure 11 As shown, the message text corresponding to the voice quote message is displayed.

[0140] This application embodiment allows users to further view the original session message corresponding to the referenced session message fragment or the message text corresponding to the session message fragment, based on the referenced session message fragment or the message text corresponding to the session message fragment. This can improve the readability of the referenced message and make it easier for users to understand.

[0141] It should be noted that after a session member participating in the target session receives the input message and the session reference message, for example, after a session member participating in the target session receives the input message and the session reference message through a communication application, the input message and the session reference message can be displayed on the target session of the session member participating in the target session.

[0142] Optionally, if the session reference message includes a voice reference message, a video reference message, or an image reference message, the input message, the session reference message, and the preview information corresponding to the session reference message can be displayed on the target session of the session member participating in the target session.

[0143] Optionally, after displaying the input message and the session reference message on the target session of the session member participating in the target session, a sixth input is received for the first reference message in the session reference message; in response to the sixth input, a fourth session message is displayed, wherein the first reference message includes a message fragment of the first session message or a text fragment of the message text corresponding to the fourth session message, and the fourth session message is a session message in the at least one target session message.

[0144] The following uses voice conversation messages as an example to illustrate the embodiments of this application:

[0145] like Figure 12 As shown, the session message processing method provided in this application includes the following steps:

[0146] Step 1201: Select the voice conversation message and convert it to text.

[0147] like Figure 2 As shown, after the user selects a voice message in the target session, a control for converting it to text is displayed. Upon receiving touch input to this control, the corresponding message text is displayed, such as... Figure 3 As shown.

[0148] Step 1202: Extract or concatenate the voice conversation messages directly based on the results of the text conversion, and quote the voice messages individually or in batches.

[0149] In this step, such as Figure 3As shown, users can directly select the entire transcribed voice message, or drag the text selection box to extract the corresponding voice message segment for quoting. If the dragging process does not cover any text portion, it is considered that no voice message segment is selected, and therefore cannot be quoted.

[0150] Optional, such as Figures 7a to 7b As shown, users can choose to add a segment option to select multiple text segments, thereby obtaining multiple voice message segments of the same voice conversation message for reference.

[0151] Optional, such as Figure 8 As shown, users can also concatenate and reference multiple text fragments corresponding to voice message fragments. In this case, multiple voice message fragments will be combined into a single reference message.

[0152] Optionally, users can also use the direct quote option. Direct quotes treat multiple voice message segments as separate quotes instead of splicing them together, meaning each voice message segment is treated as a separate quote message.

[0153] Optional, such as Figure 9 As shown, users can also select all of multiple voice conversation messages that have been transcribed into text, or extract each message individually, and then quote the voice message segment corresponding to the final selected text segment.

[0154] Optional, such as Figure 5 As shown, users can also concatenate multiple voice conversation messages that have been transcribed into text and then reference them. After being concatenated and referenced, the voice message segments of multiple voice conversation messages and their corresponding text segments are combined into a single reference message.

[0155] Optional, such as Figures 6a to 6b As shown, when referencing the concatenated audio messages, users can sequentially select different drag-and-drop clipped audio conversation messages. The order of selection is considered the order in which the audio message segments are concatenated. Optionally, the selection order can be marked in the selection box. If a certain audio conversation message is deselected, other audio conversation messages will be selected sequentially.

[0156] Step 1203: After completing the referencing operation, return to the chat sending box to edit a new message. After the new message is sent, the referenced voice conversation message will be displayed simultaneously.

[0157] In this step, such as Figure 4a As shown, users can directly edit new messages in the input box. The referenced voice conversation messages or voice message segments are displayed below the input box. The selected voice conversation messages should be displayed one by one in the order of reference and can be combined with the newly edited reply message into a single message for unified sending.

[0158] Optional, such as Figure 4b As shown, voice conversation messages or voice message snippets can also be directly displayed as text below the input box, allowing users to preview the text content directly.

[0159] It should be noted that all receiving terminals can receive the aforementioned reply messages and reference messages in chat software (i.e., the aforementioned communication applications), and can see the latest referenced reply (i.e., the aforementioned reply messages and reference messages) upon entering the chat interface. Figure 4c As shown, after the sending terminal sends the above reply message and reference message, the receiving terminal can receive the above reply message and reference message and display them on the conversation interface. Depending on the number of reference messages, one or more referenced voice conversation messages or voice message segments are displayed below the reply message by default.

[0160] Optional, such as Figure 10a As shown, after the sending terminal sends a new message (i.e., the first target message mentioned above), if the voice is quoted by means of text conversion, the quoted voice conversation message will expand the text content by default and display it on the conversation interface.

[0161] Optional, such as Figure 10b As shown, after the sending terminal sends a new message, the referenced voice conversation message can be directly displayed in text form on the conversation interface.

[0162] Optional, such as Figure 10c As shown, in a group chat scenario, when referencing multiple voice conversation messages, the name of the referenced object and the corresponding message text of the referenced voice conversation message can be displayed on the conversation interface.

[0163] Optional, such as Figure 11 As shown, in a conversation scenario, each member can click on a referenced voice conversation message to listen to the corresponding voice content. If a voice message segment is clicked, the member can listen to the content of that segment, as well as the voice content of the corresponding voice conversation message. In addition to listening to the voice content, members can also directly view the message text corresponding to that voice message segment.

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

[0165] See Figure 13 , Figure 13 This is a schematic diagram of the structure of a session message processing device provided in an embodiment of this application, as shown below. Figure 13 As shown, the session message processing device 1300 includes:

[0166] The first display module 1301 is configured to display a reference message editing area corresponding to the at least one target session message in response to a first input to the target session message; the at least one target session message includes at least one of the following: text session message, voice session message, image session message, and video session message;

[0167] The second display module 1302 is used to display a session reference message corresponding to the at least one target session message in response to a second input to the reference message editing area;

[0168] The third display module 1303 is used to display an input message in response to a third input to the session message editing area of ​​the target session;

[0169] The sending module 1304 is used to send the input message and the session reference message to the session members participating in the target session.

[0170] Optionally, the at least one target session message includes a first session message;

[0171] The second display module includes:

[0172] The first determining unit is configured to determine the first message text in response to a second input of the message text corresponding to the first session message;

[0173] The first display unit is used to display the session reference message according to the first message text.

[0174] Optionally, the first conversation message is a voice conversation message, and the message text corresponding to the first conversation message is the voice text corresponding to the voice conversation message;

[0175] The first determining unit is specifically used for:

[0176] In response to a second input of voice text corresponding to the voice conversation message, a target voice text is determined, wherein the first message text is the target voice text;

[0177] The first display unit is specifically used for:

[0178] The session reference message is displayed based on the target speech text;

[0179] or,

[0180] The session reference message is displayed based on the audio segment corresponding to the target audio text.

[0181] Optionally, the first session message is an image session message, and the message text corresponding to the first session message is the image text of the first image corresponding to the image session message;

[0182] The first determining unit is specifically used for:

[0183] In response to a second input of image text for the first image, a target image text is determined, wherein the first message text is the target image text;

[0184] The first display unit is specifically used for:

[0185] The session reference message is displayed based on the target image text.

[0186] or,

[0187] The target image text in the first image is annotated to obtain a second image, and the session reference message is displayed based on the second image.

[0188] Optionally, the first session message is a video session message, and the message text corresponding to the first session message is the video text of the first video corresponding to the video session message;

[0189] The first determining unit is specifically used for:

[0190] In response to a second input of video text of the first video, a target video text is determined, wherein the first message text is the target video text;

[0191] The first display unit is specifically used for:

[0192] The session reference message is displayed based on the target video text;

[0193] or,

[0194] The session reference message is displayed based on the video segment corresponding to the target video text.

[0195] Optionally, the at least one target session message may further include a second session message;

[0196] The device further includes:

[0197] The first determining module is used to determine the second message text in response to a third input of the message text corresponding to the second session message before displaying the session reference message based on the first message text;

[0198] The first display unit is specifically used for:

[0199] The session reference message is displayed based on the first message text and the second message text.

[0200] Optionally, the first display unit is specifically used for:

[0201] The session reference message is displayed based on the concatenation result of the first message text and the second message text.

[0202] Optionally, the device further includes:

[0203] The second determining module is used to determine the third message text in response to a fourth input of the message text corresponding to the first session message before displaying the session reference message based on the first message text;

[0204] The first display unit is specifically used for:

[0205] The session reference message is displayed based on the first message text and the third message text.

[0206] Optionally, the first display unit is specifically used for:

[0207] The session reference message is displayed based on the concatenation result of the first message text and the third message text.

[0208] Optionally, the device further includes:

[0209] The fourth display module is used to display the input message, the session reference message, and the preview information corresponding to the session reference message in the target session after the input message and the session reference message are sent to the session members participating in the target session.

[0210] Optionally, the device further includes:

[0211] The fifth display module is used to display the input message and the session reference message in the target session after sending the input message and the session reference message to the session members participating in the target session;

[0212] The first receiving module is used to receive a fifth input to the target reference message in the session reference message;

[0213] The sixth display module is configured to display a third session message in response to the fifth input, wherein the target reference message includes a message fragment of the third session message or a text fragment of the message text corresponding to the third session message, and the third session message is a session message in the at least one target session message.

[0214] Optionally, the input message includes at least one of the following: text input message, voice input message, image input message, and video input message.

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

[0216] The session message processing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0217] The session message processing device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0218] Optional, such as Figure 14 As shown, this application embodiment also provides an electronic device 1400, including a processor 1401 and a memory 1402. The memory 1402 stores a program or instructions that can run on the processor 1401. When the program or instructions are executed by the processor 1401, they implement the various steps of the above-described session message processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

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

[0220] Figure 15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0221] The electronic device 1500 includes, but is not limited to, components such as: radio frequency unit 1501, network module 1502, audio output unit 1503, input unit 1504, sensor 1505, display unit 1506, user input unit 1507, interface unit 1508, memory 1509, and processor 1510.

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

[0223] The display unit 1506 is configured to, in response to a first input to at least one target session message of the target session, display a reference message editing area corresponding to the at least one target session message; the at least one target session message includes at least one of the following: text session message, voice session message, image session message, and video session message; in response to a second input to the reference message editing area, display a session reference message corresponding to the at least one target session message; and in response to a third input to the session message editing area of ​​the target session, display an input message.

[0224] Radio frequency unit 1501 sends the input message and the session reference message to the session members participating in the target session.

[0225] This application embodiment can reference the target session message or the message text corresponding to the target session message based on operations on the message text corresponding to the target session message, thereby highlighting the key content of the referenced session message and improving session communication efficiency.

[0226] Optionally, the at least one target session message includes a first session message;

[0227] The processor 1510 is configured to determine the first message text in response to a second input of the message text corresponding to the first session message;

[0228] The display unit 1506 is specifically used to display the session reference message according to the first message text.

[0229] Optionally, the first conversation message is a voice conversation message, and the message text corresponding to the first conversation message is the voice text corresponding to the voice conversation message;

[0230] The processor 1510 is specifically used for:

[0231] In response to a second input of voice text corresponding to the voice conversation message, a target voice text is determined, wherein the first message text is the target voice text;

[0232] The display unit 1506 is specifically used for:

[0233] The session reference message is displayed based on the target speech text;

[0234] or,

[0235] The session reference message is displayed based on the audio segment corresponding to the target audio text.

[0236] Optionally, the first session message is an image session message, and the message text corresponding to the first session message is the image text of the first image corresponding to the image session message;

[0237] The processor 1510 is specifically used for:

[0238] In response to a second input of image text for the first image, a target image text is determined, wherein the first message text is the target image text;

[0239] The display unit 1506 is specifically used for:

[0240] The session reference message is displayed based on the target image text.

[0241] or,

[0242] The target image text in the first image is annotated to obtain a second image, and the session reference message is displayed based on the second image.

[0243] Optionally, the first session message is a video session message, and the message text corresponding to the first session message is the video text of the first video corresponding to the video session message;

[0244] The processor 1510 is specifically used for:

[0245] In response to a second input of video text of the first video, a target video text is determined, wherein the first message text is the target video text;

[0246] The display unit 1506 is specifically used for:

[0247] The session reference message is displayed based on the target video text;

[0248] or,

[0249] The session reference message is displayed based on the video segment corresponding to the target video text.

[0250] Optionally, the at least one target session message may further include a second session message;

[0251] The processor 1510 is further configured to determine the second message text in response to a third input of the message text corresponding to the second session message before displaying the session reference message according to the first message text;

[0252] The display unit 1506 is specifically used for:

[0253] The session reference message is displayed based on the first message text and the second message text.

[0254] Optionally, the display unit 1506 is specifically used for:

[0255] The session reference message is displayed based on the concatenation result of the first message text and the second message text.

[0256] Optionally, the processor 1510 is further configured to determine a third message text in response to a fourth input of the message text corresponding to the first session message before displaying the session reference message according to the first message text;

[0257] The display unit 1506 is specifically used for:

[0258] The session reference message is displayed based on the first message text and the third message text.

[0259] Optionally, the display unit 1506 is specifically used for:

[0260] The session reference message is displayed based on the concatenation result of the first message text and the third message text.

[0261] Optionally, the display unit 1506 is further configured to display the input message, the session reference message, and the preview information corresponding to the session reference message in the target session after the input message and the session reference message are sent to the session members participating in the target session.

[0262] Optionally, the display unit 1506 is further configured to display the input message and the session reference message in the target session after sending the input message and the session reference message to the session members participating in the target session;

[0263] The user input unit 1507 is used to receive a fifth input regarding the target reference message in the session reference message;

[0264] The display unit 1506 is further configured to display a third session message in response to the fifth input, wherein the target reference message includes a message fragment of the third session message or a text fragment of the message text corresponding to the third session message, and the third session message is a session message in the at least one target session message.

[0265] Optionally, the input message includes at least one of the following: text input message, voice input message, image input message, and video input message.

[0266] It should be understood that, in this embodiment, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042. The GPU 15041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1506 may include a display panel 15061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

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

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

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

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

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

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

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

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

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

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

Claims

1. A method for processing session messages, characterized in that, The method includes: In response to a first input to at least one target session message of a target session, the message text corresponding to the at least one target session message is displayed; the at least one target session message includes at least one of the following: a voice session message, an image session message, and a video session message; In response to a second input to the message text, a session reference message is displayed; In response to a third input to the session message editing area of ​​the target session, the input message is displayed; The input message and the session reference message are sent to the session members participating in the target session; The input message and the session reference message are displayed in the target session; Receive a fifth input for the target reference message in the session reference message; In response to the fifth input, a third session message is displayed, wherein the target reference message includes a message fragment of the third session message or a text fragment of the message text corresponding to the third session message, and the third session message is a session message in the at least one target session message.

2. The method according to claim 1, characterized in that, The at least one target session message includes a first session message; The step of displaying a session reference message in response to a second input to the message text includes: In response to a second input of the message text corresponding to the first session message, the first message text is determined; The session reference message is displayed based on the first message text.

3. The method according to claim 2, characterized in that, The first conversation message is a voice conversation message, and the message text corresponding to the first conversation message is the voice text corresponding to the voice conversation message; Determining the first message text in response to a second input of the message text corresponding to the first session message includes: In response to a second input of voice text corresponding to the voice conversation message, a target voice text is determined, wherein the first message text is the target voice text; The step of displaying the session reference message based on the first message text includes: The session reference message is displayed based on the target speech text; or, The session reference message is displayed based on the audio segment corresponding to the target audio text.

4. The method according to claim 2, characterized in that, The first session message is an image session message, and the message text corresponding to the first session message is the image text of the first image corresponding to the image session message; Determining the first message text in response to a second input of the message text corresponding to the first session message includes: In response to a second input of image text for the first image, a target image text is determined, wherein the first message text is the target image text; The step of displaying the session reference message based on the first message text includes: The session reference message is displayed based on the target image text. or, The target image text in the first image is annotated to obtain a second image, and the session reference message is displayed based on the second image.

5. The method according to claim 2, characterized in that, The first session message is a video session message, and the message text corresponding to the first session message is the video text of the first video corresponding to the video session message; Determining the first message text in response to a second input of the message text corresponding to the first session message includes: In response to a second input of video text of the first video, a target video text is determined, wherein the first message text is the target video text; The step of displaying the session reference message based on the first message text includes: The session reference message is displayed based on the target video text; or, The session reference message is displayed based on the video segment corresponding to the target video text.

6. The method according to claim 2, characterized in that, The at least one target session message also includes a second session message; Before displaying the session reference message based on the first message text, the method further includes: In response to a third input to the message text corresponding to the second session message, the second message text is determined; The step of displaying the session reference message based on the first message text includes: The session reference message is displayed based on the first message text and the second message text.

7. The method according to claim 6, characterized in that, The step of displaying the session reference message based on the first message text and the second message text includes: The session reference message is displayed based on the concatenation result of the first message text and the second message text.

8. The method according to claim 2, characterized in that, Before displaying the session reference message based on the first message text, the method further includes: In response to a fourth input to the message text corresponding to the first session message, a third message text is determined; The step of displaying the session reference message based on the first message text includes: The session reference message is displayed based on the first message text and the third message text.

9. The method according to claim 8, characterized in that, The step of displaying the session reference message based on the first message text and the third message text includes: The session reference message is displayed based on the concatenation result of the first message text and the third message text.

10. The method according to any one of claims 1 to 9, characterized in that, After sending the input message and the session reference message to the session members participating in the target session, the method further includes: The target session displays the input message, the session reference message, and the preview information corresponding to the session reference message.

11. The method according to any one of claims 1 to 9, characterized in that, The input message includes at least one of the following: text input message, voice input message, image input message, and video input message.

12. A session message processing apparatus, characterized in that, The device includes: The first display module is configured to display a reference message editing area corresponding to the at least one target session message in response to a first input to the target session; the at least one target session message includes at least one of the following: text session message, voice session message, image session message, and video session message; The second display module is configured to display a session reference message corresponding to the at least one target session message in response to a second input to the reference message editing area; The third display module is used to display an input message in response to a third input to the session message editing area of ​​the target session; The sending module is used to send the input message and the session reference message to the session members participating in the target session; The fifth display module is used to display the input message and the session reference message in the target session after sending the input message and the session reference message to the session members participating in the target session; The first receiving module is used to receive a fifth input to the target reference message in the session reference message; The sixth display module is configured to display a third session message in response to the fifth input, wherein the target reference message includes a message fragment of the third session message or a text fragment of the message text corresponding to the third session message, and the third session message is a session message in the at least one target session message.

13. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the session message processing method as described in any one of claims 1-11.

14. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the session message processing method as described in any one of claims 1-11.