Session message processing method and apparatus, and electronic device

By responding to the input of target conversation messages and generating conversation reference messages in communication applications of electronic devices, the problem of low conversation communication efficiency is solved and more efficient message reference and communication are achieved.

WO2024222618A1PCT designated stage expired Publication Date: 2024-10-31VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/089074
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-25
Filing Date
2024-04-22
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

The existing session message reference method is not efficient in session communication in communication applications in electronic devices.

Method used

By responding to the input of the target conversation message, the message text is displayed, and the user is allowed to select, intercept or splice text fragments to generate conversation reference messages, and then enter and send messages and reference messages in the conversation message editing area to improve communication efficiency.

Benefits of technology

It realizes the highlighting of the key content of the referenced conversation messages, improves the efficiency of conversation communication, and enhances the flexibility and pertinence of message references.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089074_31102024_PF_FP_ABST
    Figure CN2024089074_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of information processing. Provided are a session message processing method and apparatus, and an electronic device. The method comprises: in response to a first input for at least one target session message of a target session, displaying message text corresponding to the at least one target session message, wherein the at least one target session message comprises 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 for the message text, displaying a session quotation message; in response to a third input for a session message editing area of the target session, displaying an input message; and sending the input message and the session quotation message to a session member participating in the target session.
Need to check novelty before this filing date? Find Prior Art

Description

Conversation message processing method, device and electronic device

[0001] Cross-references

[0002] This invention claims priority to a Chinese patent application filed with the Patent Office of China on April 25, 2023, with application number 202310457820.2 and invention name “Conversational Message Processing Method, Device and Electronic Device”. The entire contents of this application are incorporated herein by reference. Technical Field

[0003] The present application relates to the field of information processing technology, and in particular to a conversation message processing method, device and electronic device. Background Art

[0004] Currently, when using communication applications on electronic devices, users can reference conversation messages within the communication application when replying to messages. Specifically, the user can browse the conversation message they want to reference within the communication application's conversation interface. After confirming the conversation message they wish to reference, they can enter the conversation message editing area to edit the text message. After completing the edit and sending the message, the user's reply text message and the referenced conversation message can be viewed on the conversation interface. However, this method of quoting conversation messages is inefficient for conversational communication.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method, device, and electronic device for processing a conversation message, which can solve the problem of low conversation communication efficiency in the existing conversation message reference method.

[0007] In a first aspect, an embodiment of the present application provides a method for processing a session message, the method comprising:

[0008] In response to a first input of at least one target conversation message of a target conversation, displaying a 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: a voice conversation message, a picture conversation message, or a video conversation message;

[0009] In response to a second input of the message text, displaying a conversation reference message;

[0010] In response to a third input to the conversation message editing area of ​​the target conversation, displaying the input message;

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

[0012] In a second aspect, an embodiment of the present application provides a session message processing device, the device comprising:

[0013] A first display module, configured to display, in response to a first input of at least one target conversation message of a target conversation, a reference message editing area corresponding to the at least one target conversation message; the at least one target conversation message includes at least one of the following: a text conversation message, a voice conversation message, a picture conversation message, or a video conversation message;

[0014] a second display module, configured to display a conversation reference message corresponding to the at least one target conversation message in response to a second input to the reference message editing area;

[0015] a third display module, configured to display an input message in response to a third input to the conversation message editing area of ​​the target conversation;

[0016] A sending module is configured to send the input message and the session reference message to session members participating in the target session.

[0017] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps in the conversation message processing method described in the first aspect are implemented.

[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the conversation message processing method described in the first aspect are implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

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

[0021] In an embodiment of the present application, in response to a first input of at least one target conversation message of a target conversation, a message text corresponding to the at least one target conversation message is displayed; the at least one target conversation message includes 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, a conversation reference message is displayed; in response to a third input into a conversation message editing area of ​​the target conversation, the input message is displayed, and the input message and the conversation reference message are sent to conversation members participating in the target conversation. That is, in an embodiment of the present application, based on an operation on the message text corresponding to the target conversation message, a reference to the target conversation message or the message text corresponding to the target conversation message can be implemented, thereby highlighting the key content of the referenced conversation message and improving conversation communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a flowchart of a method for processing a session message provided by an embodiment of the present application;

[0023] FIG2 is a schematic diagram of converting a voice conversation message into a text message according to an embodiment of the present application;

[0024] FIG3 is a schematic diagram of one embodiment of the present application providing a method for quoting a conversation message by operating a message text corresponding to the conversation message;

[0025] FIG4a is a schematic diagram showing a reference message displayed below a conversation message editing area according to an embodiment of the present application;

[0026] FIG4 b is a second schematic diagram of displaying a reference message below a conversation message editing area according to an embodiment of the present application;

[0027] FIG4c is a schematic diagram of displaying a reference message in a target session according to an embodiment of the present application;

[0028] FIG5 is a schematic diagram of a plurality of conversation messages provided in an embodiment of the present application after being spliced ​​and referenced;

[0029] FIG6a is a second schematic diagram of a plurality of conversation messages referenced after being spliced ​​together, provided by an embodiment of the present application;

[0030] FIG6 b is a third schematic diagram of a plurality of conversation messages referenced after being spliced ​​together, provided by an embodiment of the present application;

[0031] FIG7a is a schematic diagram of adding a fragment reference according to an embodiment of the present application;

[0032] FIG7 b is a second schematic diagram of adding a fragment reference according to an embodiment of the present application;

[0033] FIG8 is a schematic diagram of a plurality of fragments spliced ​​and referenced according to an embodiment of the present application;

[0034] FIG9 is a schematic diagram of multiple conversation message references provided in an embodiment of the present application;

[0035] FIG10a is a second schematic diagram of displaying a reference message in a target session according to an embodiment of the present application;

[0036] FIG10b is a third schematic diagram of displaying a reference message in a target session according to an embodiment of the present application;

[0037] FIG10c is a fourth schematic diagram of displaying a reference message in a target session according to an embodiment of the present application;

[0038] FIG11 is a schematic diagram showing a complete target conversation message corresponding to a referenced voice message segment provided by an embodiment of the present application;

[0039] FIG12 is a flowchart of another method for processing a conversation message provided in an embodiment of the present application;

[0040] FIG13 is a structural diagram of a session message processing device provided in an embodiment of the present application;

[0041] FIG14 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0042] FIG15 is a schematic structural diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0044] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0045] The following describes in detail the conversation message processing method, device, and electronic device provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0046] Referring to FIG. 1 , FIG. 1 is a flowchart of a method for processing a session message provided in an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:

[0047] Step 101: In response to a first input of at least one target conversation message of a target conversation, display a 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: a voice conversation message, a picture conversation message, or a video conversation message.

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

[0049] The at least one target conversation message may be a conversation message of the same message type, for example, the at least one conversation message may be a voice conversation message, a picture conversation message, or a video conversation message; or, the at least one target conversation message may include conversation messages of different message types, for example, the at least one target conversation message may include at least two types of conversation messages among voice conversation messages, picture conversation messages, and video conversation messages.

[0050] For the message text corresponding to the target conversation message, for example, if the target conversation message is a voice conversation message, the message text corresponding to the target conversation message is the voice text corresponding to the voice conversation message (i.e., text converted from the voice); if the target conversation message is a video conversation message, the message text corresponding to the target conversation message is the video text corresponding to the video conversation message (e.g., subtitle text of the video or text converted from the audio of the video); if the target conversation message is a picture conversation message, the message text corresponding to the target conversation message is the picture text corresponding to the picture conversation message (i.e., text on the picture).

[0051] The first input may include, but is not limited to, a click input, a slide input, or a press input on at least one target conversation message in the target conversation. For example, as shown in FIG2 , after the user selects a voice conversation message in the target conversation, a control for converting to text is displayed. Upon receiving a touch input on the control for converting to text, the message text corresponding to the voice conversation message is displayed, as shown in FIG3 .

[0052] Step 102: In response to a second input of the message text, display a conversation reference message.

[0053] The second input may include but is not limited to at least one of a selection input, a capture input, and a splicing input of the message text.

[0054] Exemplarily, the above-mentioned selection input or interception input may include a sliding input by the user on the message text, and determining the text portion covered by the sliding track as the text fragment that the user needs to select or intercept; or the above-mentioned selection input or interception input may include a drag input for a text selection box displayed on the message text, and determining the text portion selected by the text selection box as the text fragment that the user needs to select or intercept, for example, as shown in Figure 3.

[0055] Exemplarily, the above-mentioned splicing input can be used to trigger the splicing of multiple message texts or text fragments selected by the user, or the splicing of target conversation messages corresponding to multiple message texts selected by the user, or the splicing of voice message fragments corresponding to multiple text fragments. For example, if the user selects text fragment A and text fragment B, if a touch input to the splicing control is received, the above-mentioned text fragments A and text fragment B can be spliced ​​together to obtain a spliced ​​message text, or the voice message fragment corresponding to the above-mentioned text fragment A can be spliced ​​together with the voice message fragment corresponding to the above-mentioned text fragment B to obtain a spliced ​​voice message.

[0056] The conversation reference message may include one or more reference messages. For determining the conversation reference message based on the 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 conversation message segment corresponding to text segment a may 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 may be intercepted from message text A and text segment b may be intercepted from message text B, and text segment a and text segment b may be used as a reference message respectively; alternatively, text segment a and text segment b may be concatenated to obtain a concatenated message text, and the concatenated message text may 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 may be used as a reference message respectively; alternatively, the voice message segment corresponding to text segment a and the voice message segment corresponding to text segment b may be concatenated to obtain a concatenated voice message, and the concatenated voice message may be used as a reference message, etc.

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

[0058] In this embodiment, the above-mentioned input message may include at least one of a text input message, a voice input message, a picture input message, a video input message, and the like.

[0059] Exemplarily, after determining the conversation reference message, the conversation reference message may be brought into the conversation message editing area. For example, if the conversation reference message is a voice message, it may be as shown in FIG4a ; if the conversation reference message is a text message, it may be as shown in FIG4b .

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

[0061] In this embodiment, after the input message and the conversation reference message are sent to the conversation members participating in the target conversation, the input message and conversation reference message may be displayed in the target conversation according to a preset reference format. For example, the conversation reference message may be displayed below the input message, and the name of the referenced party (i.e., contact) corresponding to each conversation reference message may be displayed, as shown in FIG4c .

[0062] The conversation message processing method provided in an embodiment of the present application displays, in response to a first input of at least one target conversation message of a target conversation, a 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: a voice conversation message, a picture conversation message, or a video conversation message; in response to a second input of the message text, a conversation reference message is displayed; in response to a third input into a conversation message editing area of ​​the target conversation, the input message is displayed, and the input message and the conversation reference message are sent to conversation members participating in the target conversation. That is, the embodiment of the present application can implement a reference to the target conversation message or the message text corresponding to the target conversation message based on an operation on the message text corresponding to the target conversation message, thereby highlighting the key content of the referenced conversation message and improving conversation communication efficiency.

[0063] Optionally, the at least one target conversation message includes a first conversation message;

[0064] The displaying of the conversation reference message in response to the second input of the message text comprises:

[0065] determining a first message text in response to a second input of a message text corresponding to the first conversation message;

[0066] The conversation reference message is displayed according to the first message text.

[0067] In this embodiment, the first conversation message may be any conversation message in the at least one target conversation message. The first message text may include a text segment or the entire text of the message text corresponding to the first conversation message. The following description uses the example where the first message text includes a text segment of the message text corresponding to the first conversation message.

[0068] The above-mentioned display of the conversation reference message based on the first message text may, for example, be to use the first message text as a reference message, or to use the conversation message corresponding to the first message text as a reference message, or to use the concatenation result of the first message text and other message texts as a reference message, or to use the concatenation result of the conversation message corresponding to the first message text and the conversation messages corresponding to the other message texts as a reference message.

[0069] This embodiment determines the first message text in response to the second input of the message text corresponding to the first conversation message, and displays the conversation reference message based on the first message text. That is, it supports obtaining a text fragment from the message text corresponding to the conversation message, and determining the conversation reference message based on the obtained text fragment. This not only improves the flexibility of conversation message references, but also improves the specificity of conversation message references.

[0070] 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;

[0071] The determining the first message text in response to the second input of the message text corresponding to the first conversation message includes:

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

[0073] The displaying of the conversation reference message according to the first message text includes:

[0074] Displaying the conversation reference message according to the target voice text;

[0075] or,

[0076] The conversation reference message is displayed according to the voice segment corresponding to the target voice text.

[0077] In this embodiment, the target voice text may include a text segment or the entire text of the voice text corresponding to the voice conversation message. The following description will be made by taking the case where the target voice text includes a text segment of the voice text corresponding to the voice conversation message as an example.

[0078] The second input may include, but is not limited to, sliding input on the voice text corresponding to the voice conversation message or dragging input on a text selection control (e.g., a text selection box) on the voice text corresponding to the voice conversation message. For example, as shown in FIG3 , a user drags the text selection box on the voice text corresponding to the voice conversation message. In response to the dragging input, the text portion selected by the text selection box is determined as the target voice text.

[0079] When the target voice text is determined, the conversation reference message can be displayed according to the target voice text, for example, the target voice text is used as a reference message, or the result of splicing the target voice text and other voice texts is used as a reference message; or, the conversation reference message can be displayed according to the voice segment corresponding to the target voice text, for example, the voice segment corresponding to the target voice text is used as a reference message, or the result of splicing the voice segment corresponding to the target voice text with other voice segments or other voice conversation messages is used as a reference message.

[0080] In this embodiment, in response to the second input of the voice text corresponding to the voice conversation message, the target voice text is determined, and the conversation reference message is displayed based on the target voice text, which can improve the flexibility and pertinence of the voice conversation message reference; alternatively, the conversation reference message is displayed based on the voice segment corresponding to the target voice text, which helps the user quickly and accurately determine the voice segment to be referenced, thereby improving the efficiency and pertinence of the voice conversation message reference.

[0081] Optionally, the first conversation message is a picture conversation message, and the message text corresponding to the first conversation message is the picture text of the first picture corresponding to the picture conversation message;

[0082] The determining the first message text in response to the second input of the message text corresponding to the first conversation message includes:

[0083] In response to a second input of the picture text of the first picture, determining a target picture text, wherein the first message text is the target picture text;

[0084] The displaying of the conversation reference message according to the first message text includes:

[0085] Displaying the conversation reference message according to the target picture text;

[0086] Alternatively, the target image text in the first image is annotated to obtain a second image, and the conversation reference message is displayed according to the second image.

[0087] 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.

[0088] The second input may include but is not limited to a sliding input on the picture text corresponding to the first picture or a dragging input on a text selection control (eg, a text selection box, etc.) on the picture text corresponding to the first picture.

[0089] When the target picture text is determined, the conversation reference message can be displayed based on the target picture text. For example, the target picture text can be used as a reference message, or the picture area corresponding to the target picture text in the first picture can be used as a reference message; or, the target picture text in the first picture can be marked to obtain a second picture, and the conversation reference message can be displayed based on the second picture. For example, the target picture text in the first picture can be highlighted to obtain a second picture, and the second picture can be used as a reference message.

[0090] In this embodiment, in response to the second input of the picture text of the first picture, the target picture text is determined, and the conversation reference message is displayed according to the target picture text, which can improve the flexibility and pertinence of the picture conversation message reference; or, the target picture text in the first picture is annotated to obtain a second picture, and the conversation reference message is displayed according to the second picture, which can improve the pertinence of the picture conversation message and facilitate members participating in the target conversation to quickly know the key information of the referenced picture.

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

[0092] The determining the first message text in response to the second input of the message text corresponding to the first conversation message includes:

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

[0094] The displaying of the conversation reference message according to the first message text includes:

[0095] Displaying the conversation reference message according to the target video text;

[0096] Alternatively, the conversation reference message is displayed according to the video segment corresponding to the target video text.

[0097] In this embodiment, the video text of the first video may include subtitles of the first video or text converted from the audio of the first video. The target video text may include a text segment or the entire text of the video text of the first video. The following description takes the case where the target video text includes a text segment of the video text of the first video as an example.

[0098] When the target video text is determined, the conversation reference message can be displayed according to the target video text, for example, the target video text is used as a reference message; or the conversation reference message can be displayed according to the video clip corresponding to the target video text, for example, the video clip corresponding to the target video text is used as a reference message.

[0099] In this embodiment, in response to the second input of the video text of the first video, the target video text is determined, and the conversation reference message is displayed according to the target video text. This can improve the flexibility and pertinence of the video conversation message reference. Alternatively, the conversation reference message is displayed according to the video clip corresponding to the target video text. This helps the user quickly and accurately determine the video clip to be referenced, thereby improving the efficiency and pertinence of the video conversation message reference.

[0100] Optionally, the at least one target session message further includes a second session message;

[0101] Before displaying the conversation reference message according to the first message text, the method further includes:

[0102] determining a second message text in response to a third input of a message text corresponding to the second conversation message;

[0103] The displaying of the conversation reference message according to the first message text includes:

[0104] The conversation reference message is displayed according to the first message text and the second message text.

[0105] In this embodiment, the second message text may include partial or full text of the message text corresponding to the second conversation message. It should be noted that the processing method for determining the second message text in response to the third input corresponding to the message text of the second conversation message can be found in the aforementioned description of determining the first message text in response to the second input corresponding to the message text of the first conversation message, and is not further described here.

[0106] Exemplarily, when the first message text and the second message text are determined, the first message text and the second message text can be respectively used as a quoted message; or, the conversation message (for example, a voice conversation message, a video conversation message or a picture conversation message, etc.) or the conversation message fragment corresponding to the first message text and the conversation message or the conversation message fragment corresponding to the second message text can be respectively used as a quoted message; or, the first message text and the second message text can be spliced, and the splicing result can be used as a quoted message; or, the conversation message or the conversation message fragment corresponding to the first message text and the conversation message or the conversation message fragment corresponding to the second message text can be spliced, and the splicing result can be used as a quoted message.

[0107] Taking the above-mentioned first conversation message and second conversation message as an example, both are voice conversation messages. As shown in Figure 5, after selecting the text segments of the message text corresponding to the two voice conversation messages, when a touch input to the splicing reference control is received, the two selected text segments are spliced ​​and referenced, or the voice message segments corresponding to the two selected text segments are spliced ​​and referenced.

[0108] This embodiment supports quoting multiple session messages based on the message texts corresponding to the multiple session messages, which can improve the efficiency of quoting session messages.

[0109] Optionally, displaying the conversation reference message according to the first message text and the second message text includes:

[0110] The conversation reference message is displayed according to a result of splicing the first message text and the second message text.

[0111] Exemplarily, the concatenation result of the first message text and the second message text can be used as a quoted message and displayed, or the conversation message corresponding to the concatenation result of the first message text and the second message text can be used as a quoted message and displayed. For example, if the first message text is a text fragment of the message text corresponding to the first voice conversation message, and the second message text is a text fragment of the message text corresponding to the second voice conversation message, then the conversation 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.

[0112] It should be noted that the order in which the message texts corresponding to different conversation messages are spliced ​​together can be determined by the position of each conversation message in the target conversation; or, it can be determined by the order in which the above-mentioned different conversation messages are selected. For example, as shown in Figures 6a and 6b, after determining the text segments of the message text corresponding to each conversation message, each conversation message can be selected in sequence, and the text segments corresponding to the message texts corresponding to each conversation message can be spliced ​​together based on the order in which the conversation messages are selected, or the voice message segments of each conversation message can be spliced ​​together based on the order in which the conversation messages are selected.

[0113] Optionally, a corresponding sequence identifier may be displayed on the selection box of each selected conversation message to indicate the selection order or splicing order of each conversation message. If a conversation message is deselected, the order of the selected conversation messages after the deselected conversation message will be increased in sequence, as shown in Figure 9.

[0114] In actual applications, due to the limitation of the length of conversation messages, some related conversation messages are often divided into multiple conversation messages for transmission. In this embodiment, a reference message is generated based on partial or full text of the message texts corresponding to multiple conversation messages, or a reference message is generated based on multiple conversation messages or multiple conversation message fragments. This not only further improves the flexibility of conversation message quoting, but also further improves the integrity and readability of conversation message quoting.

[0115] Optionally, before displaying the conversation reference message according to the first message text, the method further includes:

[0116] determining a third message text in response to a fourth input of a message text corresponding to the first conversation message;

[0117] The displaying of the conversation reference message according to the first message text includes:

[0118] The conversation reference message is displayed according to the first message text and the third message text.

[0119] In this embodiment, the third message text may be a text segment in the message text corresponding to the first conversation message that is different from the first message text.

[0120] Exemplarily, after a user selects a text segment of the message text corresponding to a first conversation message, the user can select the Add Segment option to select multiple text segments, thereby obtaining multiple text segments of the message text corresponding to the same conversation message for reference. For example, as shown in Figures 7a and 7b, after selecting a text segment of the message text corresponding to the first conversation message, the user can click or long press the Add Segment option, which will then display a text selection box within the unselected text range of the message text corresponding to the first conversation message. The user can then drag the text selection box to receive a drag input from the user, and in response to the drag input, the text portion selected within the text selection box is determined as the selected text segment.

[0121] Exemplarily, when the first message text and the third message text are determined, the first message text and the third message text can be respectively used as a quoted message; or, the conversation message (for example, a voice conversation message, a video conversation message or a picture 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 be respectively used as a quoted message; or, the first message text and the third message text can be spliced, and the splicing result can be used as a quoted message. For example, as shown in Figure 8, after determining the two text fragments, a touch input of a control referenced after splicing is received, and in response to the touch input, the two text fragments are spliced ​​and quoted; 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 third message text can be spliced, and the splicing result can be used as a quoted message.

[0122] This embodiment supports clipping the message text corresponding to the same conversation message to obtain multiple text segments, and displays the conversation reference message based on the multiple text segments, which can further improve the pertinence and flexibility of the conversation message reference.

[0123] Optionally, displaying the conversation reference message according to the first message text and the third message text includes:

[0124] The conversation reference message is displayed according to a result of splicing the first message text and the third message text.

[0125] Exemplarily, the concatenation result of the first message text and the third message text can be used as a quoted message, and the quoted message can be displayed; alternatively, the conversation message segment corresponding to the concatenation result of the first message text and the third message text can be used as a quoted message, and the quoted message can be displayed. For example, if the first message text and the third message text are text segments of message text corresponding to a voice conversation message, then the conversation message segment corresponding to the concatenation result of the first message text and the third message text is the concatenation result of the voice message segment corresponding to the first message text and the voice message segment corresponding to the third message text.

[0126] It should be noted that the order of splicing different text segments of the message text corresponding to the same conversation message can be determined by the position of each different text segment in the message text corresponding to the conversation message; or, it can be determined according to the order of selecting the above different text segments.

[0127] This embodiment can determine a reference message based on the splicing results of multiple text fragments of the message text corresponding to the same conversation message. This can improve the pertinence of the conversation message reference while ensuring the correspondence between the reference message and the conversation message, which is conducive to improving the readability of the reference message.

[0128] In some optional embodiments, a single reference message can be determined based on one or more text segments clipped from the message text corresponding to the same conversation message, and different reference messages can be determined based on text segments clipped from the message text corresponding to different conversation messages. This helps improve the correspondence between reference messages and conversation messages and facilitates user viewing. For example, as shown in Figure 9, after selecting text segments of message text corresponding to two conversation messages, a touch input is received on the reference control. 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 single reference message, resulting in two reference messages.

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

[0130] The input message, the session reference message, and preview information corresponding to the session reference message are displayed in the target session.

[0131] In this embodiment, when the conversation reference message includes a voice reference message, the preview information corresponding to the voice reference message may be the voice text information of the voice reference message; when the conversation reference message includes a video reference message, the preview information corresponding to the video reference message may be the video frame information of the video reference message, for example, the video frame sequence of the video reference message; when the conversation reference message includes an image reference message, the preview information corresponding to the image reference message may be the text information or preview image of the image reference message.

[0132] For example, as shown in FIG10 a , in the case where the conversation reference message is a voice reference message, the input message, the voice reference information, and the message text corresponding to the voice reference message are displayed in the target conversation.

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

[0134] In some optional embodiments, when the conversation reference message is a text reference message, the input message and the text reference message can be directly displayed in the target conversation, for example, as shown in Figure 10b. In addition, in a group chat scenario, the input message, text reference information, and the name of the referenced object (e.g., contact) corresponding to each text reference message can be displayed in the target conversation, for example, as shown in Figure 10c.

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

[0136] displaying the input message and the session reference message in the target session;

[0137] receiving a fifth input of a target reference message in the session reference message;

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

[0139] 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 a concatenation of message fragments of session message a and session message b, then the third session message includes both session message a and session message b.

[0140] For example, as shown in Figure 4c, the target conversation displays input messages and conversation reference messages. When a click input is received on a reference message (e.g., a 33-second voice clip) in the conversation reference messages, the original conversation message corresponding to the reference message can be displayed, such as the original voice clip shown in Figure 11. Optionally, if the reference message is not a text reference message, preview information corresponding to the reference message can also be displayed, such as the message text corresponding to the voice reference message shown in Figure 11.

[0141] The embodiment of the present application supports users to further view the original conversation message corresponding to the referenced conversation message fragment or the message text corresponding to the conversation message fragment based on the referenced conversation message fragment or the message text corresponding to the conversation message fragment, which can improve the readability of the referenced message and facilitate user understanding.

[0142] It should be noted that after the session members participating in the target session receive the input message and the session reference message, for example, after the session members participating in the target session receive the above-mentioned input message and session reference message through a communication application, the input message and session reference message can be displayed on the target session of the session members participating in the target session.

[0143] Optionally, when the session reference message includes a voice reference message, a video reference message, or a picture reference message, the input message, the session reference message, and preview information corresponding to the session reference message may be displayed on the target session of the session members participating in the target session.

[0144] Optionally, after displaying the input message and the session reference message on the target session of the session members participating in the target session, a sixth input is received for the first reference message in the session reference messages; 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.

[0145] The following uses a voice conversation message as an example to illustrate the embodiment of the present application:

[0146] As shown in FIG12 , the session message processing method provided in the embodiment of the present application includes the following steps:

[0147] Step 1201: Select a voice conversation message to convert to text.

[0148] As shown in FIG2 , after the user selects a voice conversation message in the target conversation, a control for converting to text is displayed. When a touch input is received on the control for converting to text, the message text corresponding to the voice conversation message is displayed, as shown in FIG3 .

[0149] Step 1202: The voice conversation messages are directly intercepted or spliced ​​according to the text-to-text results, and the voice messages can be quoted individually or in batches.

[0150] In this step, as shown in Figure 3, users can directly select the entire text of a single voice conversation, or drag the text selection box to capture the voice message segment corresponding to the text segment and then reference it. If the dragging process does not cover any text, it is considered that no voice message segment is selected and cannot be referenced.

[0151] Optionally, as shown in FIG. 7 a and FIG. 7 b , the user may select the Add Segment option to select multiple text segments to obtain multiple voice message segments of the same voice conversation message for reference.

[0152] Optionally, as shown in FIG8 , the user may also concatenate and quote the voice message segments corresponding to multiple text segments. In this case, the multiple voice message segments will be combined into one quoted message.

[0153] Optionally, the user may also use the direct quotation option. Direct quotation is regarded as multiple voice message segments that are not spliced ​​together but quoted separately, that is, each voice message segment is regarded as a quoted message.

[0154] Optionally, as shown in FIG9 , the user may also select all of the multiple voice conversation messages that have been converted into text, or perform a capture operation on each of them individually, and reference the voice message segment corresponding to the finally captured and selected text segment.

[0155] Optionally, as shown in FIG5 , the user may also splice and quote multiple voice conversation messages that have been converted into text. After the splicing and quoting, the voice message segments of the multiple voice conversation messages and their corresponding text segments are combined into one quoted message.

[0156] Optionally, as shown in Figures 6a and 6b, users can sequentially select different voice message segments that have been dragged and trimmed when referencing them after splicing. The order of selection will be considered the order in which the voice message segments are spliced. Optionally, the selection order can be indicated in the selection box. If a voice message is deselected, the remaining voice message segments will be selected in the order in which they are selected.

[0157] Step 1203: After completing the reference operation, return to the chat sending box to edit a new message. After the new message is sent, the referenced voice conversation message is displayed synchronously.

[0158] In this step, as shown in Figure 4a, the user can edit a new message directly in the input box, and the referenced voice conversation message or voice message fragment is displayed below the input box. The selected voice conversation messages should be displayed one by one in the order of reference, and can be summarized into one message with the newly edited reply message and sent together.

[0159] Optionally, as shown in FIG4 b , the voice conversation message or voice message segment may also be directly brought into the lower portion of the input box in text form, and the user may directly preview the text content.

[0160] It should be noted that all receiving terminals can receive the above-mentioned reply messages and quoted messages in the chat software (i.e., the aforementioned communication application), and the latest quoted replies (i.e., the above-mentioned reply messages and quoted messages) can be viewed upon entering the chat interface. As shown in Figure 4c, after the sending terminal sends the above-mentioned reply message and quoted message, the receiving terminal can receive the above-mentioned reply message and quoted message and display them on the conversation interface. Depending on the number of quoted messages, one or more quoted voice conversation messages or voice message fragments will be displayed below the reply message by default.

[0161] Optionally, as shown in FIG10a , after the sending terminal sends a new message (ie, the first target message mentioned above), if the voice is quoted by converting the voice message into text, the quoted voice conversation message will expand the text content by default and display it on the conversation interface.

[0162] Optionally, as shown in FIG10 b , after the sending terminal sends a new message, the referenced voice conversation message may be directly displayed in text form on the conversation interface.

[0163] Optionally, as shown in FIG10c , in a group chat scenario, when multiple voice conversation messages are referenced, the name of the referenced object and the message text corresponding to the referenced voice conversation message may be displayed on the conversation interface.

[0164] Optionally, as shown in Figure 11, each member of the conversation can click on a referenced voice message to listen to the corresponding audio content. If a voice message segment is clicked, the user can listen to the segment and the corresponding voice message of the voice conversation. In addition to listening to the audio content, the user can also directly view the corresponding message text.

[0165] The session message processing method provided in the embodiment of the present application can be executed by a session message processing device. In the embodiment of the present application, the session message processing device performing the session message processing method is taken as an example to illustrate the session message processing device provided in the embodiment of the present application.

[0166] Referring to FIG. 13 , FIG. 13 is a schematic diagram of the structure of a session message processing device provided in an embodiment of the present application. As shown in FIG. 13 , the session message processing device 1300 includes:

[0167] A first display module 1301 is configured to, in response to a first input of at least one target conversation message of a target conversation, display a reference message editing area corresponding to the at least one target conversation message; the at least one target conversation message includes at least one of the following: a text conversation message, a voice conversation message, a picture conversation message, or a video conversation message;

[0168] A second display module 1302 is configured to display a conversation reference message corresponding to the at least one target conversation message in response to a second input to the reference message editing area;

[0169] A third display module 1303 is configured to display an input message in response to a third input to the conversation message editing area of ​​the target conversation;

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

[0171] Optionally, the at least one target conversation message includes a first conversation message;

[0172] The second display module includes:

[0173] a first determining unit, configured to determine a first message text in response to a second input of a message text corresponding to the first conversation message;

[0174] A first display unit is configured to display the conversation reference message according to the first message text.

[0175] 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;

[0176] The first determining unit is specifically configured to:

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

[0178] The first display unit is specifically configured to:

[0179] Displaying the conversation reference message according to the target voice text;

[0180] Alternatively, the conversation reference message is displayed according to the voice segment corresponding to the target voice text.

[0181] Optionally, the first conversation message is a picture conversation message, and the message text corresponding to the first conversation message is the picture text of the first picture corresponding to the picture conversation message;

[0182] The first determining unit is specifically configured to:

[0183] In response to a second input of the picture text of the first picture, determining a target picture text, wherein the first message text is the target picture text;

[0184] The first display unit is specifically configured to:

[0185] Displaying the conversation reference message according to the target picture text;

[0186] Alternatively, the target image text in the first image is annotated to obtain a second image, and the conversation reference message is displayed according to the second image.

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

[0188] The first determining unit is specifically configured to:

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

[0190] The first display unit is specifically configured to:

[0191] Displaying the conversation reference message according to the target video text;

[0192] Alternatively, the conversation reference message is displayed according to the video segment corresponding to the target video text.

[0193] Optionally, the at least one target session message further includes a second session message;

[0194] The device further comprises:

[0195] a first determining module configured to determine a second message text in response to a third input of a message text corresponding to the second conversation message before displaying the conversation reference message according to the first message text;

[0196] The first display unit is specifically configured to:

[0197] The conversation reference message is displayed according to the first message text and the second message text.

[0198] Optionally, the first display unit is specifically configured to:

[0199] The conversation reference message is displayed according to a result of splicing the first message text and the second message text.

[0200] Optionally, the device further includes:

[0201] a second determining module configured to determine a third message text in response to a fourth input of a message text corresponding to the first conversation message before displaying the conversation reference message according to the first message text;

[0202] The first display unit is specifically configured to:

[0203] The conversation reference message is displayed according to the first message text and the third message text.

[0204] Optionally, the first display unit is specifically configured to:

[0205] The conversation reference message is displayed according to a result of splicing the first message text and the third message text.

[0206] Optionally, the device further includes:

[0207] A fourth display module is configured to display the input message, the session reference message, and preview information corresponding to 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.

[0208] Optionally, the device further includes:

[0209] a fifth display module, 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;

[0210] A first receiving module, configured to receive a fifth input of a target reference message in the session reference message;

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

[0212] Optionally, the input message includes at least one of the following: a text input message, a voice input message, a picture input message, and a video input message.

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

[0214] The conversation message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0215] The session message processing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 1. To avoid repetition, they are not described here.

[0216] Optionally, as shown in Figure 14, an embodiment of the present application also provides an electronic device 1400, including a processor 1401 and a memory 1402, and the memory 1402 stores a program or instruction that can be run on the processor 1401. When the program or instruction is executed by the processor 1401, the various steps of the above-mentioned session message processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0218] FIG15 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

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

[0220] Those skilled in the art will appreciate that the electronic device 1500 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 1510 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG15 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0221] Display unit 1506 is configured to, in response to a first input into at least one target conversation message of a target conversation, display a reference message editing area corresponding to the at least one target conversation message; the at least one target conversation message includes at least one of the following: a text conversation message, a voice conversation message, a picture conversation message, or a video conversation message; in response to a second input into the reference message editing area, display a conversation reference message corresponding to the at least one target conversation message; and in response to a third input into the conversation message editing area of ​​the target conversation, display the input message.

[0222] The radio frequency unit 1501 sends the input message and the session reference message to the session members participating in the target session.

[0223] The embodiment of the present application can reference 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.

[0224] Optionally, the at least one target conversation message includes a first conversation message;

[0225] 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 conversation message;

[0226] The display unit 1506 is specifically configured to display the conversation reference message according to the first message text.

[0227] 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;

[0228] The processor 1510 is specifically configured to:

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

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

[0231] Displaying the conversation reference message according to the target voice text;

[0232] Alternatively, the conversation reference message is displayed according to the voice segment corresponding to the target voice text.

[0233] Optionally, the first conversation message is a picture conversation message, and the message text corresponding to the first conversation message is the picture text of the first picture corresponding to the picture conversation message;

[0234] The processor 1510 is specifically configured to:

[0235] In response to a second input of the picture text of the first picture, determining a target picture text, wherein the first message text is the target picture text;

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

[0237] Displaying the conversation reference message according to the target picture text;

[0238] Alternatively, the target image text in the first image is annotated to obtain a second image, and the conversation reference message is displayed according to the second image.

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

[0240] The processor 1510 is specifically configured to:

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

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

[0243] Displaying the conversation reference message according to the target video text;

[0244] Alternatively, the conversation reference message is displayed according to the video segment corresponding to the target video text.

[0245] Optionally, the at least one target session message further includes a second session message;

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

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

[0248] The conversation reference message is displayed according to the first message text and the second message text.

[0249] Optionally, the display unit 1506 is specifically configured to:

[0250] The conversation reference message is displayed according to a result of splicing the first message text and the second message text.

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

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

[0253] The conversation reference message is displayed according to the first message text and the third message text.

[0254] Optionally, the display unit 1506 is specifically configured to:

[0255] The conversation reference message is displayed according to a result of splicing the first message text and the third message text.

[0256] Optionally, the display unit 1506 is further configured to display the input message, the session reference message, and preview information corresponding to 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.

[0257] 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;

[0258] The user input unit 1507 is configured to receive a fifth input of a target reference message in the session reference message;

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

[0260] Optionally, the input message includes at least one of the following: a text input message, a voice input message, a picture input message, and a video input message.

[0261] It should be understood that in an embodiment of the present application, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. 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 two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0262] The memory 1509 can be used to store software programs and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1509 may include a volatile memory or a non-volatile memory, or the memory 1509 may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a 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 RAM bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0263] Processor 1510 may include one or more processing units. Optionally, processor 1510 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1510.

[0264] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned embodiment of the session message processing method are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0266] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned session message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0267] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0268] An embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-mentioned session message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0269] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0270] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course 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 the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0271] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for processing a session message, the method comprising: In response to a first input of at least one target conversation message of a target conversation, displaying a 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: 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 to the conversation message editing area of ​​the target conversation, displaying the input message; The input message and the session reference message are sent to session members participating in the target session.

2. The method according to claim 1, wherein: The at least one target session message comprises a first session message; The step of displaying a conversation reference message in response to a second input of the message text comprises: In response to a second input of a message text corresponding to the first conversation message, determining a first message text; The conversation reference message is displayed according to the first message text.

3. The method according to claim 2, wherein: 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; The determining of the first message text in response to the second input of the message text corresponding to the first conversation message includes: In response to a second input of a voice text corresponding to the voice conversation message, determining a target voice text, wherein the first message text is the target voice text; The step of displaying the conversation reference message according to the first message text includes: Displaying the conversation reference message according to the target voice text; or, The conversation reference message is displayed according to the voice segment corresponding to the target voice text.

4. The method according to claim 2, wherein: The first conversation message is a picture conversation message, and the message text corresponding to the first conversation message is the picture text of the first picture corresponding to the picture conversation message; The determining of the first message text in response to the second input of the message text corresponding to the first conversation message includes: In response to a second input of the picture text of the first picture, determining a target picture text, wherein the first message text is the target picture text; The step of displaying the conversation reference message according to the first message text includes: Displaying the conversation reference message according to the target picture text; or, The target picture text in the first picture is annotated to obtain a second picture, and the conversation reference message is displayed according to the second picture.

5. The method according to claim 2, wherein: The first conversation message is a video conversation message, and the message text corresponding to the first conversation message is the video text of the first video corresponding to the video conversation message; The determining of the first message text in response to the second input of the message text corresponding to the first conversation message includes: In response to a second input of a video text of the first video, determining a target video text, wherein the first message text is the target video text; The step of displaying the conversation reference message according to the first message text includes: Displaying the conversation reference message according to the target video text; or, The conversation reference message is displayed according to the video segment corresponding to the target video text.

6. The method according to claim 2, wherein: The at least one target session message further includes a second session message; Before displaying the conversation reference message according to the first message text, the method further includes: In response to a third input of a message text corresponding to the second conversation message, determining a second message text; The step of displaying the conversation reference message according to the first message text includes: The conversation reference message is displayed according to the first message text and the second message text.

7. The method according to claim 6, wherein: The displaying the conversation reference message according to the first message text and the second message text includes: The conversation reference message is displayed according to a concatenation result of the first message text and the second message text.

8. The method according to claim 2, wherein: Before displaying the conversation reference message according to the first message text, the method further includes: In response to a fourth input of a message text corresponding to the first conversation message, determining a third message text; The step of displaying the conversation reference message according to the first message text includes: The conversation reference message is displayed according to the first message text and the third message text.

9. The method according to claim 8, wherein: The displaying the conversation reference message according to the first message text and the third message text includes: The conversation reference message is displayed according to a concatenation result of the first message text and the third message text.

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

11. The method according to any one of claims 1 to 9, wherein: After sending the input message and the session reference message to the session members participating in the target session, the method further includes: Displaying the input message and the session reference message in the target session; receiving a fifth input of a target reference message in the session reference message; In response to the fifth input, a third conversation message is displayed, wherein the target reference message includes a message segment of the third conversation message or a text segment of a message text corresponding to the third conversation message, and the third conversation message is a conversation message in the at least one target conversation message.

12. The method according to any one of claims 1 to 9, wherein: The input message includes at least one of the following: a text input message, a voice input message, a picture input message, and a video input message.

13. A conversation message processing device, the device comprising: A first display module, configured to display a reference message editing area corresponding to at least one target conversation message of a target conversation in response to a first input of at least one target conversation message of the target conversation; the at least one target conversation message includes at least one of the following: a text conversation message, a voice conversation message, a picture conversation message, and a video conversation message; A second display module, configured to display a conversation reference message corresponding to the at least one target conversation message in response to a second input to the reference message editing area; a third display module, configured to display an input message in response to a third input to the conversation message editing area of ​​the target conversation; The sending module is used to send the input message and the session reference message to the session members participating in the target session.

14. An electronic device comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the conversation message processing method according to any one of claims 1 to 12 are implemented.

15. A readable storage medium storing a program or an instruction, wherein the program or the instruction, when executed by a processor, implements the steps of the session message processing method according to any one of claims 1 to 12.

16. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the steps of the session message processing method according to any one of claims 1 to 12.

17. A computer program / program product, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the steps of the session message processing method according to any one of claims 1 to 12.

Citation Information

Patent Citations

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

    CN115002056A

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

    CN115079884A

  • Session message processing method and device and electronic equipment

    CN116471251A

  • Multimedia data processing method, apparatus, and device, computer-readable storage medium, and computer program product

    US20230059637A1