Session message processing method and apparatus, and electronic device
By providing a session message processing method and device in an electronic device, the editing of session messages in the reference message editing area is supported, the problem of low conversation communication efficiency is solved, and efficient referencing and sending of session messages are realized.
Patent Information
- Application Number
- PCT/CN2024/088804
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-25
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-31
AI Technical Summary
The existing conversation message quoting method is not efficient in conversation communication in electronic devices, and it is difficult for users to effectively edit and send the referenced conversation messages when replying to messages.
A session message processing method and device are provided, which allows users to crop, splice and reorder target session messages by displaying a reference message editing area, generate session reference messages, and send input messages and session reference messages to session members.
The efficiency of conversation communication is improved. Users can edit and send the key content of referenced conversation messages more intuitively, which enhances the pertinence and flexibility of message references.
Smart Images

Figure CN2024088804_31102024_PF_FP_ABST
Abstract
Description
Conversation message processing method, device and electronic device
[0001] Cross-references
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on April 25, 2023, with application number 202310457721.4 and application name “Conversation Message Processing Method, Device and Electronic Device”. The entire contents of the application are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of message 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 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;
[0009] In response to a second input into the reference message editing area, displaying a conversation reference message corresponding to the at least one target conversation 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 into at least one target conversation message of a target conversation, a reference message editing area 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 text conversation message, a voice conversation message, a picture conversation message, and a video conversation message; in response to a second input into the reference message editing area, a session reference message corresponding to the at least one target conversation message is displayed; in response to a third input into the session message editing area of the target conversation, the input message is displayed; and the input message and the session reference message are sent to conversation members participating in the target conversation. That is, when it is necessary to quote at least one target conversation message of the target conversation, the present application supports displaying a reference message editing area, and editing the at least one target conversation message in the reference message editing area to generate a session reference message corresponding to the at least one target conversation message. This can highlight the key content of the referenced conversation message and improve 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] FIG2a is a schematic diagram of triggering reference editing of selected historical conversation messages provided by an embodiment of the present application;
[0024] FIG2 b is a second schematic diagram of triggering reference editing of selected historical conversation messages provided by an embodiment of the present application;
[0025] FIG3a is a schematic diagram of a reference message editing area provided in an embodiment of the present application;
[0026] FIG3 b is a schematic diagram of trimming historical conversation messages according to an embodiment of the present application;
[0027] FIG4a is a second schematic diagram of a reference message editing area provided in an embodiment of the present application;
[0028] FIG4b is a third schematic diagram of a reference message editing area provided in an embodiment of the present application;
[0029] FIG4c is a fourth schematic diagram of a reference message editing area provided in an embodiment of the present application;
[0030] FIG5a is a schematic diagram of an input voice message provided in an embodiment of the present application;
[0031] FIG5 b is a schematic diagram of an input video message provided in an embodiment of the present application;
[0032] FIG6a is a schematic diagram showing an input message and a session reference message displayed in a target session according to an embodiment of the present application;
[0033] FIG6 b is a second schematic diagram of displaying an input message and a session reference message in a target session provided by an embodiment of the present application;
[0034] FIG7a is a schematic diagram of a method for cropping a video message based on a video time range according to an embodiment of the present application;
[0035] FIG7 b is a second schematic diagram of video message cropping based on video time range provided in an embodiment of the present application;
[0036] FIG8 is a schematic diagram of quoting a cropped message segment provided in an embodiment of the present application;
[0037] FIG9a is a schematic diagram of one embodiment of the present application for splicing multiple conversation message segments located on the same editing page;
[0038] FIG9 b is a second schematic diagram of splicing multiple conversation message segments located on the same editing page provided by an embodiment of the present application;
[0039] FIG9c is a schematic diagram of a splicing result of multiple message segments provided in an embodiment of the present application;
[0040] FIG9 d is a schematic diagram of triggering the reordering of multiple conversation messages located on the same editing page according to an embodiment of the present application;
[0041] FIG9e is a schematic diagram of dragging conversation messages for reordering according to an embodiment of the present application;
[0042] FIG9f is a second schematic diagram of triggering the reordering of multiple conversation messages located on the same editing page provided by an embodiment of the present application;
[0043] FIG9g is a second schematic diagram of dragging conversation messages for reordering according to an embodiment of the present application;
[0044] FIG10a is a schematic diagram of adding voice message segment clipping according to an embodiment of the present application;
[0045] FIG10b is a second schematic diagram of adding voice message segment clipping according to an embodiment of the present application;
[0046] FIG10c is a third schematic diagram of adding voice message segment clipping according to an embodiment of the present application;
[0047] FIG10d is a fourth schematic diagram of adding voice message segment clipping according to an embodiment of the present application;
[0048] FIG10e is a fifth schematic diagram of adding voice message segment clipping according to an embodiment of the present application;
[0049] FIG11a is a schematic diagram of adding a video message segment clip according to an embodiment of the present application;
[0050] FIG11b is a second schematic diagram of adding video message segment cropping according to an embodiment of the present application;
[0051] FIG11c is a third schematic diagram of adding video message segment cropping according to an embodiment of the present application;
[0052] FIG11d is a schematic diagram of switching the first image preview of a video message segment provided by an embodiment of the present application;
[0053] FIG11e is a second schematic diagram of switching the first image preview of a video message segment provided in an embodiment of the present application;
[0054] FIG12a is a schematic diagram of splicing multiple voice message segments according to an embodiment of the present application;
[0055] FIG12b is a second schematic diagram of splicing multiple voice message segments provided in an embodiment of the present application;
[0056] FIG12c is a schematic diagram of splicing multiple video message segments provided by an embodiment of the present application;
[0057] FIG13a is a schematic diagram showing multiple voice conversation messages located on different editing pages according to an embodiment of the present application;
[0058] FIG13b is a second schematic diagram of multiple voice conversation messages located on different editing pages provided by an embodiment of the present application;
[0059] FIG13c is a third schematic diagram of multiple voice conversation messages located on different editing pages provided by an embodiment of the present application;
[0060] FIG13d is a schematic diagram showing multiple video conversation messages located on different editing pages according to an embodiment of the present application;
[0061] FIG13e is a second schematic diagram of multiple video conversation messages located on different editing pages provided by an embodiment of the present application;
[0062] FIG14 is a schematic diagram of a complete conversation message corresponding to a referenced message fragment provided in an embodiment of the present application;
[0063] FIG15 is a flowchart of a method for quoting a voice message provided in an embodiment of the present application;
[0064] FIG16 is a flowchart of a method for quoting a video message provided in an embodiment of the present application;
[0065] FIG17 is a structural diagram of a session message processing device provided in an embodiment of the present application;
[0066] FIG18 is a schematic diagram of a structure of an electronic device provided in an embodiment of the present application;
[0067] FIG19 is a second structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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:
[0072] Step 101: 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 is displayed.
[0073] 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.
[0074] 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.
[0075] 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 text conversation message, 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 text conversation messages, voice conversation messages, picture conversation messages, and video conversation messages.
[0076] 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 of the target conversation.
[0077] The reference message editing area supports editing operations (eg, cropping, splicing, etc.) on the at least one target conversation message to generate a conversation reference message.
[0078] Exemplarily, when a first input to at least one target session message on the target session is received, a reference control can be displayed on the target session; when a touch input to the reference control on the target session is received, a reference message editing area can be displayed, and the at least one target session message can be added to the reference message editing area.
[0079] For example, as shown in Figure 2a or Figure 2b, after the user selects one or more target conversation messages in the target conversation for quoting, a quoting mode entry is displayed on the target conversation to trigger entry into the quoting mode. After the user touches the quoting mode entry (for example, clicks, long presses, or slides the above-mentioned quoting mode entry), a quoting message editing area is displayed, as shown in Figure 3a.
[0080] Step 102: 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.
[0081] The second input may include editing input of at least one target conversation message displayed in the quote message editing area, such as cropping input, splicing input, etc. The conversation quote message may include one or more quote messages.
[0082] Exemplarily, when the number of the target conversation messages is 1, the target conversation message can be cropped in the reference message editing area to obtain at least one message segment. For example, as shown in FIG3b , a voice frame sequence of a voice conversation message is displayed in the reference message editing area, and a cropping box is displayed on the voice frame sequence. The user can drag the cropping box on the voice frame sequence of the voice conversation message to crop the voice conversation message. After the user touches the control to confirm the cropping, a 50-second voice conversation message is cropped into a 39-second voice message segment. Alternatively, as shown in FIG4a to FIG4c , a video frame sequence of a video conversation message is displayed in the reference message editing area, and a cropping box is displayed on the video frame sequence. The user can drag the cropping box on the video frame sequence of the video conversation message to crop the video conversation message. After the user touches the control to confirm the cropping, the cropped video message segment can be obtained. It should be noted that, when multiple message segments are obtained by cutting, each of the multiple message segments can be used as a reference message, or multiple conversation message segments can be spliced and the spliced result can be used as a reference message.
[0083] If the number of target conversation messages is greater than one, at least a portion of the at least one target conversation message may be cropped in the reference message editing area, and the cropped message segments may be used as the reference message; alternatively, at least a portion of the at least one target conversation message may be spliced together, and the spliced message segments may be used as the reference message; alternatively, at least a portion of the at least one target conversation message may be cropped, and the resulting message segments may be spliced together, or the cropped message segments may be spliced together with an uncropped target conversation message, and the spliced message segments may be used as the reference message. Splicing together the resulting message segments may include splicing together message segments cropped from the same conversation message or splicing together message segments cropped from different conversation messages.
[0084] It should be noted that for some conversation messages that do not need to be cropped or spliced, you can directly confirm the reference to the conversation message in the reference message editing area. For example, as shown in Figure 3a, when the user receives touch input on the reference control in the reference message editing area, the currently edited voice conversation message can be directly determined as a reference message.
[0085] It should also be noted that, when the number of the target conversation messages is greater than one, the at least two target conversation messages may be located on different editing pages in the reference message editing area, and editing operations may be performed on the corresponding target conversation messages on the different editing pages. For example, the first target conversation message may be edited on the first editing page, the second target conversation message may be edited on the second editing page, and so on. Alternatively, the at least two target conversation messages may be located on the same editing page in the reference message editing area, and editing operations may be performed on each target conversation message on the same editing page.
[0086] It should also be noted that, in some optional embodiments, when the currently edited conversation message is a voice conversation message or a video conversation message, the currently edited conversation message can also be played in the above-mentioned reference message editing area. For example, as shown in Figures 4a to 4c, the video conversation message can be played when the user touches the play control corresponding to the video conversation message; as shown in Figures 3a to 3b, the voice conversation message can be played when the user touches the play control corresponding to the voice conversation message.
[0087] Step 103: In response to a third input into the conversation message editing area of the target conversation, display the input message.
[0088] 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.
[0089] Exemplarily, after determining the conversation reference message, the conversation reference message can be brought into the conversation message editing area. For example, as shown in FIG5a , the conversation reference message can be displayed in the conversation message editing area, and the user can choose to input a voice message in the conversation message editing area. After the user completes editing the voice input message, the voice input message and the conversation reference message can be sent together to the conversation members participating in the target conversation. Alternatively, as shown in FIG5b , the conversation reference message can be displayed in the conversation message editing area, and the user can choose to input a video message in the conversation message editing area. After the user completes editing the video input message, the video input message and the conversation reference message can be sent together to the conversation members participating in the target conversation.
[0090] Step 104: Send the input message and the session reference message to session members participating in the target session.
[0091] 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 Figures 6a and 6b, for example.
[0092] A conversation message processing method provided in an embodiment of the present application includes, in response to a first input into at least one target conversation message of a target conversation, displaying 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, an image conversation message, or a video conversation message; in response to a second input into the reference message editing area, displaying a conversation reference message corresponding to the at least one target conversation message; in response to a third input into the conversation message editing area of the target conversation, displaying the input message; and sending the input message and the conversation reference message to conversation members participating in the target conversation. That is, when it is necessary to reference at least one target conversation message of the target conversation, the present application supports displaying a reference message editing area, and editing the at least one target conversation message in the reference message editing area to generate a conversation reference message corresponding to the at least one target conversation message. This can highlight the key content of the referenced conversation message and improve conversation communication efficiency.
[0093] Optionally, before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input into the reference message editing area, the method further includes:
[0094] Displaying the at least one target conversation message in the quoted message editing area;
[0095] Receiving a second input of a first conversation message in the at least one target conversation message; the first conversation message is a voice conversation message or a video conversation message;
[0096] The displaying, in response to the second input into the reference message editing area, of the conversation reference message corresponding to the at least one target conversation message comprises:
[0097] In response to the second input, displaying a first message segment of the first conversation message;
[0098] A session reference message corresponding to the at least one target session message is displayed according to the first message segment.
[0099] Exemplarily, when the first conversation message is a voice conversation message or a video conversation message, a frame sequence of the first conversation message may be displayed in the reference message editing area, with a cropping frame displayed on the frame sequence. The first input may be a touch input on the cropping frame displayed on the frame sequence, such as a sliding input or a dragging input. In response to the first input, the first conversation message may be cropped to obtain a first message segment, as shown in FIG3b or FIG4a. Alternatively, a time range of the first conversation message may be displayed in the reference message editing area, and the first input may be an adjustment input for the time range. Based on the time range adjusted by the first input, the first conversation message may be cropped to obtain a first message segment, as shown in FIG7a and FIG7b. Alternatively, when the first conversation message is a picture conversation message, the first input may be a selection input or a sliding input on the picture conversation message, and the selected area or the area enclosed by the sliding input may be cropped from the picture conversation message.
[0100] It should be noted that after the first message fragment is cropped, the cropped first message fragment can be referenced, for example, as shown in Figure 8; or the cropping box can be continued to be dragged to crop; or the cropped first message fragment can be initialized and restored, and after restoration, the operation shown in Figure 3a can be repeated.
[0101] The above-mentioned display of the conversation reference message corresponding to the at least one target conversation message based on the first message fragment, for example, can directly use the first message fragment as a reference message and display it, or can splice the first message fragment with other conversation messages or other message fragments, and the splicing result can be used as a reference message and displayed, etc.
[0102] In this embodiment of the present application, the at least one target conversation message is displayed in the reference message editing area, a second input for a first conversation message in the at least one target conversation message is received, and in response to the second input, a first message segment of the first conversation message is displayed. Furthermore, a conversation reference message corresponding to the at least one target conversation message is displayed based on the first message segment. In other words, this embodiment of the present application supports clipping of the first conversation message to be referenced in the reference message editing area, and can generate a reference conversation message based on the clipped first message segment. This facilitates simplifying the content of the reference message and improving the targeted nature of the conversation message reference.
[0103] Optionally, the method further includes:
[0104] When the first message segment is displayed, preview information of the first message segment is displayed, where the preview information is voice text information or video frame information.
[0105] In this embodiment, if the first conversation message is a voice conversation message, the voice text information of the first message segment can be displayed; if the first conversation message is a video conversation message, the video frame information of the first message segment can be displayed, which facilitates the user to quickly and accurately crop the desired message segment.
[0106] For example, as shown in FIG4a, before editing the video conversation message, the reference message editing area displays information such as a video frame sequence of the video conversation message, a preview image of the first video frame of the video conversation message, and the video duration of the video conversation message. The user can crop the video conversation message by dragging a cropping box on the video frame sequence, and the duration of the cropped video changes with the range of the cropping box. After confirming the cropping, the reference message editing area displays information such as a video frame sequence of the cropped video message segment, a preview image of the first video frame, and the video duration of the video message segment.
[0107] In some optional embodiments, when the reference message editing area displays the at least one target conversation message, if preview information of the at least one target conversation message is also displayed in the reference message editing area, the preview information of the first message segment may be highlighted while the first message segment is displayed. This highlighting of the preview information of the first message segment may include, but is not limited to, selecting the preview information of the first message segment by framing it or displaying the preview information of the first message segment in a different display format (e.g., using a different font, a different color, adding a shadow, increasing the display brightness, etc.). For example, as shown in FIG3b , during the voice conversation message cropping process, the voice text information of the cropped message segment is highlighted.
[0108] Optionally, before displaying the session reference message corresponding to the at least one target session message according to the first message segment, the method further includes:
[0109] receiving a fourth input of a second session message in the at least one target session message; the second session message being of the same message type as the first session message;
[0110] In response to the fourth input, displaying a second message segment of the second conversation message;
[0111] The displaying, according to the first message segment, a session reference message corresponding to the at least one target session message includes:
[0112] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the second message segment.
[0113] The second conversation message has the same message type as the first conversation message. For example, if the first conversation message is a voice conversation message, the second conversation message is also a voice conversation message; if the first conversation message is a video conversation message, the second conversation message is also a video conversation message.
[0114] The above-mentioned display of the conversation reference message corresponding to the at least one target conversation message based on the first message segment and the second message segment may, for example, be respectively using the above-mentioned first message segment and the second message segment as a conversation reference message, that is, directly quoting the above-mentioned first message segment and the second message segment; or, the above-mentioned first message segment and the second message segment may be spliced, and the splicing result may be used as the reference message, that is, the splicing of the above-mentioned first message segment and the second message segment is cited, for example, as shown in Figures 9a to 9b, the user selects multiple message segments to be spliced, and splices the selected multiple message segments. The splicing result may be as shown in Figure 9c, and the splicing result is used as the reference message.
[0115] The embodiment of the present application supports clipping the first conversation message and the second conversation message separately to obtain the first message segment and the second message segment, and can display the conversation reference message corresponding to the at least one target conversation message based on the first message segment and the second message segment. This not only improves the pertinence of the conversation message reference, but also improves the efficiency of multiple conversation message references.
[0116] Optionally, the displaying, according to the first message segment and the second message segment, a session reference message corresponding to the at least one target session message includes:
[0117] According to the splicing result of the first message segment and the second message segment, a session reference message corresponding to the at least one target session message is displayed.
[0118] In this embodiment, the splicing order of the first message segment and the second message segment can be determined based on user input, or the splicing order of the first message segment and the second message segment can be determined according to the position of the first message segment and the second message segment in the target session.
[0119] For example, as shown in FIG9d , multiple voice conversation messages and the voice text information corresponding to each voice conversation message are all located on the same editing page of the reference message editing area. If a touch input for a sorting option is received, the multiple voice conversation messages in the reference message editing area are placed in a draggable state. In this state, the user can drag the voice conversation messages in the reference message editing area to adjust the order of the multiple voice conversation messages, for example, as shown in FIG9e , and then the voice message segments corresponding to the multiple voice conversation messages can be spliced together based on the adjusted order. Alternatively, as shown in FIG9f , multiple video conversation messages and the video frame information corresponding to each video conversation message are all located on the same editing page of the reference message editing area. If a touch input for a sorting option is received, the multiple video conversation messages in the reference message editing area are placed in a draggable state. In this state, the user can drag the video conversation messages in the reference message editing area to adjust the order of the multiple video conversation messages, for example, as shown in FIG9g , and then the video message segments corresponding to the multiple video conversation messages can be spliced together based on the adjusted order.
[0120] It should be noted that, the above-mentioned display of the conversation reference message corresponding to the at least one target conversation message based on the splicing result of the first message fragment and the second message fragment can be directly using the splicing result of the first message fragment and the second message fragment as a reference message, or can be further splicing the splicing result of the first message fragment and the second message fragment with other conversation messages or message fragments to obtain a reference message.
[0121] In actual applications, due to limitations on the length of session messages, some related session messages are often split into multiple session messages for transmission. In this embodiment, the first message fragment and the second message fragment are concatenated and the concatenated result is used as a reference message. This supports concatenating and quoting message fragments from multiple session messages. This not only further improves the flexibility and pertinence of session message quoting, but also further enhances the integrity and readability of the referenced message.
[0122] Optionally, before displaying the session reference message corresponding to the at least one target session message according to the first message segment, the method further includes:
[0123] receiving a fifth input to the first conversation message;
[0124] In response to the fifth input, displaying a third message segment of the first conversation message;
[0125] The displaying, according to the first message segment, a session reference message corresponding to the at least one target session message includes:
[0126] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the third message segment.
[0127] Exemplarily, in the case where the first conversation message is a voice conversation message or a video conversation message, a frame sequence of the first conversation message may be displayed in the quoted message editing area, and a cropping frame may be displayed on the frame sequence. The fifth input may be a touch input on the cropping frame displayed on the frame sequence, such as a sliding input, a dragging input, etc. Alternatively, the time range of the first conversation message may be displayed in the quoted message editing area, and the fifth input may be an adjustment input for the time range, etc. Alternatively, in the case where the first conversation message is a picture conversation message, the fifth input may be a frame selection input or a sliding input on the picture conversation message, and the framed area or the area enclosed by the sliding input may be cropped from the picture conversation message.
[0128] For example, as shown in Figures 10a to 10d, the user clicks the add segment function and selects a voice message segment that is not within the cropping frame range, and a cropping frame corresponding to the voice frame sequence of the added voice message segment may appear, and the added voice message segment may be cropped by pulling the cropping frame. After confirming the cropping, as shown in Figure 10e, the above-mentioned quoted message editing area may display multiple cropped voice message segments, and the user may choose to directly quote or continue to drag the cropping frame for cropping. If the user chooses to continue to drag the cropping frame for cropping, the operations shown in Figures 10c to 10d may be repeated; or, as shown in Figures 11a to 11c, the user clicks the add segment function and selects a video frame sequence of a video message segment that is not within the cropping frame range, and a cropping frame corresponding to the video frame sequence of the added video message segment may appear, and the added video message segment may be cropped by pulling the cropping frame. After confirming the cropping, the above-mentioned quoted message editing area may display multiple cropped video message segments.
[0129] In some optional embodiments, when a video message segment is obtained by cropping, a preview image of the first video frame of the video message segment can be displayed in the above-mentioned reference message editing area. Optionally, a quick switching entrance can be provided on the first image preview (i.e., the preview image of the first video frame) of the video message segment displayed in the above-mentioned reference message editing area, as shown in Figures 11d to 11e. The user can switch the first image preview of different video message segments through the above-mentioned quick switching entrance to realize the selection operation of different video message segments, and then crop and quote the selected video message segment.
[0130] The above-mentioned display of the conversation reference message corresponding to the at least one target conversation message based on the first message segment and the third message segment, for example, can be the first message segment and the third message segment respectively as reference messages, that is, directly quoting the above-mentioned first message segment and the third message segment; or, the above-mentioned first message segment and the third message segment can be spliced, and the splicing result can be used as the reference message, that is, the above-mentioned first message segment and the third message segment are spliced and then quoted.
[0131] The embodiment of the present application supports multiple clipping of the same conversation message in the at least one target conversation message to obtain multiple message fragments, and displays the conversation reference message corresponding to the at least one target conversation message based on the multiple message fragments clipped from the same conversation message, which can further improve the pertinence and flexibility of message reference.
[0132] Optionally, the displaying, according to the first message segment and the third message segment, a session reference message corresponding to the at least one target session message includes:
[0133] According to the splicing result of the first message segment and the third message segment, a session reference message corresponding to the at least one target session message is displayed.
[0134] The concatenation order of the first message segment and the third message segment may be selected by the user, or may be determined based on their positions in the first conversation message.
[0135] It should be noted that, the above-mentioned display of the conversation reference message corresponding to the at least one target conversation message based on the splicing result of the first message fragment and the third message fragment can be directly using the splicing result of the first message fragment and the third message fragment as a reference message, or can be further splicing the splicing result of the first message fragment and the third message fragment with other message fragments cut from the first conversation message to obtain a reference message.
[0136] For example, as shown in Figures 12a to 12c, the quoted message editing area provides a "join" option for joining message segments. When a user clicks the "join" option, multiple message segments are joined to form a joined result. When a user clicks the "quote" option in the quoted message editing area, the joined result is determined as a quoted message. Optionally, if preview information for each message segment is displayed in the quoted message editing area, a preview of the joined result can be displayed when multiple message segments are joined to form a joined result.
[0137] In this embodiment, a result of splicing multiple message segments obtained by cutting out the same conversation message can be cited as a reference message, which can ensure the correspondence between the reference message and the conversation message and facilitate user viewing.
[0138] Optionally, if the user needs to quote multiple conversation messages, the user can process the multiple conversation messages one by one, for example, after cutting, splicing, etc., the multiple conversation messages one by one, and then confirm the reference one by one, as shown in Figures 13a to 13c, or as shown in Figures 13d to 13e.
[0139] Optionally, the method further includes:
[0140] receiving a sixth input to the first conversation message;
[0141] In response to the sixth input, displaying a fourth message segment of the first conversation message;
[0142] receiving a seventh input to a backoff control in the reference message editing area;
[0143] In response to the seventh input, a first message segment of the first conversation message is displayed.
[0144] In this embodiment, after displaying the first message segment of the first conversation message in response to the second input, a sixth input for the first conversation message is received, and in response to the sixth input, the fourth message segment of the first conversation message is displayed. If a seventh input (e.g., a click input, a long press input, or a slide input) is received on the backoff control, the display may revert to the previous operation result, i.e., displaying the first message segment of the first conversation message, and abandoning cropping of the fourth message segment.
[0145] This embodiment supports rolling back the cropping operation on the conversation message, so that if the user is not satisfied with the current cropping result, the user can roll back to the previous cropping result, thereby improving the flexibility of the cropping operation on the conversation message.
[0146] Optionally, before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input into the reference message editing area, the method further includes:
[0147] Displaying the at least one target conversation message in the quoted message editing area;
[0148] receiving a second input of a third session message in the at least one target session message; the third session message being a video session message;
[0149] The displaying, in response to the second input into the reference message editing area, of the conversation reference message corresponding to the at least one target conversation message comprises:
[0150] In response to the second input, displaying a fifth message segment based on the third conversation message and search information corresponding to the second input;
[0151] The session reference message corresponding to the at least one target session message is displayed according to the fifth message segment.
[0152] The search information corresponding to the second input may include, but is not limited to, a search term or a search image. Exemplarily, if the search information includes a search term, video frames whose text information includes the search term may be searched for from the third conversation message based on the text information (e.g., subtitles) on each video frame of the third conversation message. Alternatively, video frames including the object or element indicated by the search term may be searched for from the third conversation message. For example, if the search term is kitten, video frames including kitten images may be searched for from the third conversation message. If the search information includes a search image, video frames including the same object or element as the search image may be searched for from the third conversation message. For example, if the search image is a kitten image, video frames including kitten images may be searched for from the third conversation message.
[0153] This embodiment supports clipping video message segments from video conversation messages according to search information, which can improve the flexibility of video conversation message clipping.
[0154] Optionally, before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input into the reference message editing area, the method further includes:
[0155] Displaying the at least one target conversation message in the quoted message editing area;
[0156] receiving a second input of a fourth conversation message in the at least one target conversation message; the fourth conversation message being a picture conversation message;
[0157] The displaying, in response to the second input into the reference message editing area, of the conversation reference message corresponding to the at least one target conversation message comprises:
[0158] In response to the second input, displaying a sixth message segment according to the fourth conversation message and the image element corresponding to the second input;
[0159] The session reference message corresponding to the at least one target session message is displayed according to the sixth message segment.
[0160] In this embodiment, the image element is used to describe an object or element in an image, such as a person, animal, or scenery in the image. Exemplarily, in response to the second input, a picture region including the image element may be captured from the fourth conversation message based on the image element corresponding to the second input. For example, if the image element is a person, the picture region including the person may be captured from the fourth conversation message.
[0161] This embodiment supports cropping a picture area from a picture conversation message according to image elements, which can improve the flexibility of cropping the picture conversation message.
[0162] Optionally, after sending the input message and the session reference message to session members participating in the target session, the method further includes:
[0163] The input message, the session reference message, and preview information corresponding to the session reference message are displayed in the target session.
[0164] 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.
[0165] 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.
[0166] Optionally, after sending the input message and the session reference message to session members participating in the target session, the method further includes:
[0167] displaying the input message and the session reference message in the target session;
[0168] receiving an eighth input of a target reference message in the session reference message;
[0169] In response to the eighth input, a fifth conversation message in the at least one target conversation message is displayed, wherein the target reference message includes a message segment in the fifth conversation message.
[0170] In this embodiment, the target reference message can be any reference message that includes a session message fragment. The fifth 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 fifth 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 fifth session message includes both session message a and session message b.
[0171] For example, as shown in Figure 6a or Figure 6b, the target conversation displays the input message and the conversation reference message. When a click input is received on a reference message (e.g., a 39-second voice clip) in the conversation reference message, the original conversation message corresponding to the reference message can be displayed, such as the original voice clip shown in Figure 14. Optionally, preview information corresponding to the original conversation message can also be displayed, such as the voice text information of the original voice clip shown in Figure 14.
[0172] The embodiment of the present application supports the user to further view the original conversation message corresponding to the referenced conversation message fragment based on the referenced conversation message fragment, which can improve the readability of the referenced message and facilitate user understanding.
[0173] 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.
[0174] The input message in this embodiment may include at least one of a text input message, a voice input message, a picture input message, and a video input message. This can increase the types of conversation messages supported for reply when the conversation message is referenced, thereby increasing the flexibility of message replies when the conversation message is referenced.
[0175] The following examples illustrate the embodiments of the present application:
[0176] Example 1: Voice message quote.
[0177] As shown in FIG15 , the voice message quoting method provided in the embodiment of the present application may include the following steps:
[0178] Step 1501: Receive an instruction to reference a voice conversation message in a historical chat record.
[0179] The user can scroll through the chat history interface and select a voice message. The user can trigger the selection of a voice message for quoting by long-pressing, swiping left, or similar actions. After selection, the voice message quoting mode entry appears. Optionally, as shown in Figure 2a, the user can select multiple voice messages for quoting.
[0180] Step 1502: In response to the instruction, enter a voice message reference mode, and reference the intercepted segments, the spliced segments, or the batches of the voice conversation messages in the voice message reference mode.
[0181] In this step, after entering the voice message reference mode, as shown in Figure 3a, the user can listen to the selected voice conversation message and see the voice text information of the voice conversation message. The user can directly quote the voice conversation message or crop the voice conversation message by pulling the cropping box. As shown in Figure 3b, during the voice message cropping process, the user can see the length of the cropped voice segment and the length of the original voice message. At the same time, when pulling the cropping box, the user can see the changes in the corresponding voice text information cropping. The user can cancel the cropping operation or confirm and save the cropping operation. After the user selects to confirm the cropping, as shown in Figure 8, the user can quote the cropped voice message segment, continue to crop by pulling the cropping box, or initialize and restore the cropped voice message segment.
[0182] Optionally, the above-mentioned quoted message editing area may also support adding segment clipping. For specific implementation, please refer to the relevant description of the above-mentioned embodiment, which will not be described in detail here.
[0183] Optionally, the quoted message editing area can also support deleting clipped segments. If a user has multiple clipped segments of the same voice conversation message (i.e., multiple clipped voice message segments), they can delete a clip by clicking the Delete Clip option and selecting a clipped segment. The quoted message editing area can also be provided with a Restore option. Clicking this option restores the clipped voice message segment to the original voice conversation message, invalidating any unconfirmed clipping actions.
[0184] Optionally, when multiple voice message segments are obtained by cropping, the above-mentioned quoted message editing area may also provide an option to splice voice segments. When the user clicks the splicing option, multiple voice message segments can be combined into the same voice message for quotation. The corresponding voice text message preview is also combined from multiple text message segments into one text message, as shown in Figures 12a to 12b.
[0185] Optionally, if the user needs to quote multiple voice conversation messages, the user can process the multiple voice conversation messages one by one, for example, after cutting, splicing, etc., the multiple voice conversation messages one by one, and then confirm the reference one by one, as shown in Figures 13a to 13c, or as shown in Figures 13d to 13e.
[0186] Optionally, as shown in Figures 9d to 9e, the user can also drag and sort multiple voice conversation messages, and multiple voice conversation messages can also be displayed on the same editing page of the above-mentioned reference message editing area, supporting the addition and deletion of segments for each voice conversation message, and the user can drag the order of voice messages across messages.
[0187] Optionally, as shown in Figures 9a to 9c, the user can also splice multiple voice conversation messages or voice message fragments. After clicking the splicing option, select the voice message fragments or the entire voice conversation message to be spliced. After completing the selection, the splicing will be performed immediately, and the spliced voice messages and corresponding voice text information will be displayed in the above-mentioned reference message editing area.
[0188] Step 1503: Add the quoted voice message to the newly edited reply message, and send the reply message and the quoted voice message.
[0189] In this step, the user can directly edit the new message in the input box, and the quoted voice message or voice message fragment (i.e., the quoted voice message) is displayed below the input box. The user can also quote multiple voice conversation messages or multiple voice message fragments. Multiple quoted voice messages should be displayed one by one in the order of citation, and can be aggregated with the newly edited message into one message and sent uniformly. Optionally, the user can delete any quoted voice message or voice fragment below the input box. If all quoted voice messages are deleted, the user's quoting operation is considered invalid, and the new message being edited does not quote any voice conversation message.
[0190] It's important to note that all message recipients receive a notification in the communication-related quoting app and can view the latest quoted replies by entering the target conversation interface. As shown in Figures 6a and 6b, after the message sender sends a reply message, the message recipient receives a message receipt notification. The received reply message is displayed on the target conversation interface. Depending on the number of quoted voice messages, one or more quoted voice messages will be displayed below the reply message by default.
[0191] It's also worth noting that the above voice message citation method works not only in one-on-one chats, but also in group chats. Furthermore, both parties in a one-on-one chat, or all members in a group chat, can click on a referenced voice message to listen to the corresponding audio content. If a voice message segment is clicked, the audio content of the segment can be heard, along with the audio content of the corresponding voice conversation message.
[0192] Example 2: Video message quote.
[0193] As shown in FIG16 , the voice message quoting method provided in the embodiment of the present application may include the following steps:
[0194] Step 1601: Receive an instruction to reference a video conversation message in a historical chat record.
[0195] The user can scroll through the chat history interface and select a video message. The user can trigger the selection of a video message for quoting by long-pressing, swiping left, or similar actions. After selection, the video message quoting mode entry appears. Optionally, as shown in Figure 2b, the user can select multiple video messages for quoting.
[0196] Step 1602: In response to the instruction, enter a video message reference mode, and reference the intercepted segments, the spliced segments, or the batches of the video session messages in the video message reference mode.
[0197] In this step, after entering the video message reference mode, as shown in Figures 4a to 4c, the reference message editing area displays the first image preview, video cropping frame and video duration of the video conversation message. The user can directly quote the video conversation message or crop the video conversation message by pulling the cropping frame. The cropped video duration changes with the range of the cropping frame. After confirming the cropping, the first image preview and corresponding cropping frame of the cropped video message segment will appear in the reference message editing area. The user can also initialize and restore the cropped video message segment. Alternatively, as shown in Figures 7a to 7b, the maximum time range of the video conversation message is displayed in the reference message editing area. The user can adjust the value of the video time selection box. The video message segment corresponding to the final time range after the adjustment is the cropped video message segment, and the user can quote the cropped video message segment.
[0198] Optionally, as shown in Figures 11a to 11c, the quote message editing area can also support adding clips for cropping. If the user clicks the "Add Crop" function and selects a video message clip that is not within the cropping frame, a corresponding video clip cropping frame will appear, allowing for further cropping. The user can switch cropping frames to crop different video ranges. Alternatively, if the user clicks the "Add Crop" function, a new video time range selection box will appear, allowing the user to manually enter a video time range not included in the cropped video message clip.
[0199] Optionally, the quoted message editing area also supports deletion and cropping. If a user crops multiple video message segments from the same video conversation message, they can delete a specific video message segment by clicking the Delete Crop option and selecting a cropping box. Alternatively, they can delete the video message segment corresponding to a specific time range by clicking the Delete Crop option and selecting a time range.
[0200] Optionally, after confirming the cropping, the above-mentioned quoted message editing area can display multiple video message segments obtained by cropping, and the user can choose to directly quote or continue to pull the cropping box to crop, such as choosing to continue to pull the cropping box. Optionally, a quick switching entrance can also be provided on the first picture preview (i.e., the preview image of the first video frame) of the video message segment displayed on the above-mentioned quoted message editing area, as shown in Figures 11d to 11e. The user can switch the first picture preview of different video message segments through the above-mentioned quick switching entrance to realize the selection operation of different video message segments, and then the selected video message segment can be cropped and quoted. Among them, the quoted video message can include one or more video message segments of the same video session message.
[0201] Optionally, multiple clips can be joined together to create a single video message. Clicking the Join option will combine the clips into a single video message, with the duration of the combined message being the same as the duration of the video message. The Quote Message Editing area also includes a Restore option, which restores the video message clip to the original video conversation message.
[0202] Optionally, if the user needs to quote multiple video conversation messages, the user can process the multiple video conversation messages one by one, for example, after performing processing such as cropping and splicing on the multiple video conversation messages one by one, and then confirm the quotes one by one.
[0203] Optionally, users can also drag and sort multiple video conversation messages of others. Multiple video conversation messages can be displayed on the same editing page of the above-mentioned reference message editing area, supporting the addition, deletion or restoration of each video conversation message. At the same time, users can drag the order of video conversation messages up and down across the bars.
[0204] Optionally, the user can also splice multiple video conversation messages or video message fragments. After clicking the splicing option, select the video message fragments or video conversation messages to be spliced. After completing the selection, the splicing will be performed immediately, and the spliced video message and the corresponding video length will be displayed in the above-mentioned quoted message editing area. The above-mentioned spliced video message can be directly quoted.
[0205] Step 1603: The video message confirming the reference is brought into the newly edited reply message, and the reply message and the video message confirming the reference are sent.
[0206] In this step, users can edit new messages directly in the input box. The referenced video conversation messages and video message clips are displayed below the input box. If multiple video conversation messages or video message clips are spliced, the splicing results are displayed in sequence, and the video duration is displayed in the reference box. Users can also batch quote multiple video conversation messages or multiple video message clips. The selected video conversation messages will be displayed one by one in the order of citation and can be aggregated with the reply message and sent as a single message. Optionally, users can delete any referenced video message below the input box. If all referenced video messages are deleted, the user's reference operation is considered invalid, and the new message they are editing does not reference any video conversation messages.
[0207] Optionally, as shown in FIG5b , in addition to editing a text message in the input box, the user can also choose to enter a new video message, which supports editing and uploading one or more videos as a new reply message being edited.
[0208] It should be noted that all message recipients will receive a notification in the communication quoting program and can view the latest quoted replies by entering the target conversation interface. The quoted content can display only the text description of the quoted video message, or the quoted video message can be displayed and played and previewed.
[0209] It should also be noted that the above video message reference method can be used not only in single chat scenarios, but also in group chat scenarios. In group chat scenarios, the target conversation interface will display the name of the specific referenced object and the corresponding applied video message.
[0210] 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 provided in the embodiment of the present application is described by taking the method for executing session message processing by the session message processing device as an example.
[0211] Referring to FIG. 17 , FIG. 17 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. 17 , the session message processing device 1700 includes:
[0212] A first display module 1701 is 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 the 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, or a video conversation message;
[0213] A second display module 1702 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;
[0214] A third display module 1703 is configured to display an input message in response to a third input to the conversation message editing area of the target conversation;
[0215] The sending module 1704 is configured to send the input message and the session reference message to the session members participating in the target session.
[0216] Optionally, the device further includes:
[0217] a fourth display module configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0218] A first receiving module is configured to receive a second input of a first conversation message in the at least one target conversation message; the first conversation message is a voice conversation message or a video conversation message;
[0219] The second display module is specifically used for:
[0220] In response to the second input, displaying a first message segment of the first conversation message;
[0221] A session reference message corresponding to the at least one target session message is displayed according to the first message segment.
[0222] Optionally, the device further includes:
[0223] The fifth display module is used to display preview information of the first message segment when displaying the first message segment, where the preview information is voice text information or video frame information.
[0224] Optionally, the device further includes:
[0225] a second receiving module configured to receive a fourth input of a second conversation message in the at least one target conversation message before displaying the conversation reference message corresponding to the at least one target conversation message according to the first message segment; the second conversation message being of the same message type as the first conversation message;
[0226] a sixth display module, configured to display a second message segment of the second conversation message in response to the fourth input;
[0227] The second display module is specifically used for:
[0228] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the second message segment.
[0229] Optionally, the second display module is specifically used to:
[0230] According to the splicing result of the first message segment and the second message segment, a session reference message corresponding to the at least one target session message is displayed.
[0231] Optionally, the device further includes:
[0232] a third receiving module, configured to receive a fifth input on the first conversation message before displaying the conversation reference message corresponding to the at least one target conversation message according to the first message segment;
[0233] a seventh display module, configured to display a third message segment of the first conversation message in response to the fifth input;
[0234] The second display module is specifically used for:
[0235] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the third message segment.
[0236] Optionally, the second display module is specifically used to:
[0237] According to the splicing result of the first message segment and the third message segment, a session reference message corresponding to the at least one target session message is displayed.
[0238] Optionally, the device further includes:
[0239] a fourth receiving module, configured to receive a sixth input of the first conversation message;
[0240] an eighth display module, configured to display a fourth message segment of the first conversation message in response to the sixth input;
[0241] a fifth receiving module, configured to receive a seventh input to a rollback control in the reference message editing area;
[0242] A ninth display module is configured to display the first message segment of the first conversation message in response to the seventh input.
[0243] Optionally, the device further includes:
[0244] a tenth display module, configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0245] a sixth receiving module, configured to receive a second input of a third session message in the at least one target session message; the third session message being a video session message;
[0246] The second display module is specifically used for:
[0247] In response to the second input, displaying a fifth message segment based on the third conversation message and search information corresponding to the second input;
[0248] The session reference message corresponding to the at least one target session message is displayed according to the fifth message segment.
[0249] Optionally, the device further includes:
[0250] an eleventh display module, configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0251] a seventh receiving module, configured to receive a second input of a fourth conversation message in the at least one target conversation message; the fourth conversation message being a picture conversation message;
[0252] The second display module is specifically used for:
[0253] In response to the second input, displaying a sixth message segment according to the fourth conversation message and the image element corresponding to the second input;
[0254] The session reference message corresponding to the at least one target session message is displayed according to the sixth message segment.
[0255] Optionally, the device further includes:
[0256] A twelfth 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.
[0257] Optionally, the device further includes:
[0258] a thirteenth 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;
[0259] an eighth receiving module, configured to receive an eighth input of a target reference message in the session reference message;
[0260] A fourteenth display module is configured to display a fifth conversation message in the at least one target conversation message in response to the eighth input, wherein the target reference message includes a message segment in the fifth conversation message.
[0261] 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.
[0262] The conversation message processing device in the embodiments of the present application can be an electronic device or a component in 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.
[0263] 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.
[0264] 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.
[0265] Optionally, as shown in Figure 18, an embodiment of the present application also provides an electronic device 1800, including a processor 1801 and a memory 1802, and the memory 1802 stores a program or instruction that can be run on the processor 1801. When the program or instruction is executed by the processor 1801, 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.
[0266] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0267] FIG19 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0268] The electronic device 1900 includes but is not limited to components such as a radio frequency unit 1901 , a network module 1902 , an audio output unit 1903 , an input unit 1904 , a sensor 1905 , a display unit 1906 , a user input unit 1907 , an interface unit 1908 , a memory 1909 , and a processor 1910 .
[0269] Those skilled in the art will appreciate that the electronic device 1900 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 1910 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG19 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.
[0270] Display unit 1906 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.
[0271] The radio frequency unit 1901 is configured to send the input message and the session reference message to session members participating in the target session.
[0272] In an embodiment of the present application, when it is necessary to reference at least one target conversation message of a target conversation, a reference message editing area is displayed, and the at least one target conversation message is edited in the reference message editing area to generate a conversation reference message corresponding to the at least one target conversation message. This can highlight the key content of the referenced conversation message and improve conversation communication efficiency.
[0273] Optionally, the display unit 1906 is further configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0274] The user input unit 1907 is configured to receive a second input of a first conversation message in the at least one target conversation message; the first conversation message is a voice conversation message or a video conversation message;
[0275] The display unit 1906 is specifically used for:
[0276] In response to the second input, displaying a first message segment of the first conversation message;
[0277] A session reference message corresponding to the at least one target session message is displayed according to the first message segment.
[0278] Optionally, the display unit 1906 is further configured to display preview information of the first message segment when displaying the first message segment, where the preview information is voice text information or video frame information.
[0279] Optionally, the user input unit 1907 is further configured to receive a fourth input for a second conversation message in the at least one target conversation message before displaying the conversation reference message corresponding to the at least one target conversation message according to the first message segment; the second conversation message is of the same message type as the first conversation message.
[0280] The display unit 1906 is further configured to display a second message segment of the second conversation message in response to the fourth input;
[0281] The display unit 1906 is specifically used for:
[0282] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the second message segment.
[0283] Optionally, the display unit 1906 is specifically configured to:
[0284] According to the splicing result of the first message segment and the second message segment, a session reference message corresponding to the at least one target session message is displayed.
[0285] Optionally, the user input unit 1907 is further configured to receive a fifth input on the first conversation message before displaying the conversation reference message corresponding to the at least one target conversation message according to the first message segment;
[0286] The display unit 1906 is further configured to display a third message segment of the first conversation message in response to the fifth input;
[0287] The display unit 1906 is specifically used for:
[0288] A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the third message segment.
[0289] Optionally, the display unit 1906 is specifically configured to:
[0290] According to the splicing result of the first message segment and the third message segment, a session reference message corresponding to the at least one target session message is displayed.
[0291] Optionally, the user input unit 1907 is further configured to receive a sixth input for the first conversation message;
[0292] The display unit 1906 is further configured to display a fourth message segment of the first conversation message in response to the sixth input;
[0293] The user input unit 1907 is further configured to receive a seventh input to the backoff control in the reference message editing area;
[0294] The display unit 1906 is further configured to display the first message segment of the first conversation message in response to the seventh input.
[0295] Optionally, the display unit 1906 is further configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0296] The user input unit 1907 is further configured to receive a second input of a third conversation message in the at least one target conversation message; the third conversation message is a video conversation message;
[0297] The display unit 1906 is specifically used for:
[0298] In response to the second input, displaying a fifth message segment based on the third conversation message and search information corresponding to the second input;
[0299] The session reference message corresponding to the at least one target session message is displayed according to the fifth message segment.
[0300] Optionally, the display unit 1906 is further configured to display the at least one target conversation message in the reference message editing area before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area;
[0301] The user input unit 1907 is further configured to receive a second input for a fourth conversation message in the at least one target conversation message; the fourth conversation message is a picture conversation message;
[0302] The display unit 1906 is specifically used for:
[0303] In response to the second input, displaying a sixth message segment according to the fourth conversation message and the image element corresponding to the second input;
[0304] The session reference message corresponding to the at least one target session message is displayed according to the sixth message segment.
[0305] Optionally, the display unit 1906 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.
[0306] Optionally, the display unit 1906 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;
[0307] The user input unit 1907 is further configured to receive an eighth input of a target reference message in the session reference message;
[0308] The display unit 1906 is further configured to display a fifth conversation message in the at least one target conversation message in response to the eighth input, wherein the target reference message includes a message segment in the fifth conversation message.
[0309] 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.
[0310] It should be understood that in an embodiment of the present application, the input unit 1904 may include a graphics processing unit (GPU) 19041 and a microphone 19042, and the graphics processor 19041 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 1906 may include a display panel 19061, and the display panel 19061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1907 includes a touch panel 19071 and at least one of the other input devices 19072. The touch panel 19071 is also called a touch screen. The touch panel 19071 may include two parts: a touch detection device and a touch controller. Other input devices 19072 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.
[0311] The memory 1909 can be used to store software programs and various data. The memory 1909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. 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 1909 may include a volatile memory or a non-volatile memory, or the memory 1909 may include both volatile and non-volatile memory. 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 1909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0312] Processor 1910 may include one or more processing units. Optionally, processor 1910 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 1910.
[0313] 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.
[0314] 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.
[0315] 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.
[0316] 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.
[0317] 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.
[0318] 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.
[0319] 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.
[0320] 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 include: In response to a first input of at least one target conversation message of a target conversation, displaying 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, and a video conversation message; In response to a second input to the reference message editing area, displaying a conversation reference message corresponding to the at least one target conversation 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, in, Before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area, the method further includes: Displaying the at least one target conversation message in the reference message editing area; Receiving a second input of a first conversation message in the at least one target conversation message; the first conversation message is a voice conversation message or a video conversation message; The step of displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area comprises: In response to the second input, displaying a first message segment of the first conversation message; A session reference message corresponding to the at least one target session message is displayed according to the first message segment.
3. The method according to claim 2, in, The method further comprises: When the first message segment is displayed, preview information of the first message segment is displayed, where the preview information is voice text information or video frame information.
4. The method according to claim 2, in, Before displaying the session reference message corresponding to the at least one target session message according to the first message segment, the method further includes: Receiving a fourth input of a second session message in the at least one target session message; the second session message is consistent with the message type of the first session message; In response to the fourth input, displaying a second message segment of the second conversation message; The displaying, according to the first message segment, a session reference message corresponding to the at least one target session message includes: A session reference message corresponding to the at least one target session message is displayed according to the first message segment and the second message segment.
5. The method according to claim 4, in, The displaying, according to the first message segment and the second message segment, a session reference message corresponding to the at least one target session message includes: According to the splicing result of the first message segment and the second message segment, a session reference message corresponding to the at least one target session message is displayed.
6. The method according to claim 2, in, Before displaying the session reference message corresponding to the at least one target session message according to the first message segment, the method further includes: receiving a fifth input to the first conversation message; In response to the fifth input, displaying a third message segment of the first conversation message; The displaying, according to the first message segment, a session reference message corresponding to the at least one target session message includes: The session reference message corresponding to the at least one target session message is displayed according to the first message segment and the third message segment.
7. The method according to claim 6, in, The displaying, according to the first message segment and the third message segment, of a session reference message corresponding to the at least one target session message includes: According to the splicing result of the first message segment and the third message segment, a session reference message corresponding to the at least one target session message is displayed.
8. The method according to claim 2, in, The method further comprises: receiving a sixth input to the first conversation message; In response to the sixth input, displaying a fourth message segment of the first conversation message; receiving a seventh input to a backoff control in the reference message editing area; In response to the seventh input, a first message segment of the first conversation message is displayed.
9. The method according to claim 1, in, Before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area, the method further includes: Displaying the at least one target conversation message in the reference message editing area; Receiving a second input of a third session message in the at least one target session message; the third session message is a video session message; The step of displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area comprises: In response to the second input, displaying a fifth message segment according to the third conversation message and the search information corresponding to the second input; The session reference message corresponding to the at least one target session message is displayed according to the fifth message segment.
10. The method according to claim 1, in, Before displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area, the method further includes: Displaying the at least one target conversation message in the reference message editing area; Receiving a second input of a fourth conversation message in the at least one target conversation message; the fourth conversation message is a picture conversation message; The step of displaying the conversation reference message corresponding to the at least one target conversation message in response to the second input to the reference message editing area comprises: In response to the second input, displaying a sixth message segment according to the fourth conversation message and the image element corresponding to the second input; The session reference message corresponding to the at least one target session message is displayed according to the sixth message segment.
11. The method according to any one of claims 1 to 10, in, 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.
12. The method according to any one of claims 1 to 10, in, 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 an eighth input of a target reference message in the session reference message; In response to the eighth input, a fifth conversation message in the at least one target conversation message is displayed, wherein the target reference message includes a message fragment in the fifth conversation message.
13. The method according to any one of claims 1 to 10, in, 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.
14. A conversation message processing device, the device include: 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.
15. 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 13 are implemented.
16. 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 13.
17. A chip, It is characterized in that The chip includes a processor and a communication interface, 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 13.
18. A computer program product, It is characterized in that The computer program product is stored in a non-transitory storage medium, and the computer 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 13.
Citation Information
Patent Citations
Message reply method and apparatus
CN106020595A
Reply message display method and device
CN111835616A
Message processing method and device and electronic equipment
CN113259222A
Message sending control method and device
CN114615220A
Message reference method and device, electronic equipment and storage medium
CN115378899A
