A message processing method and apparatus

By receiving user input and displaying the target reference path in group chats, the problem of users having difficulty viewing the context of multi-level reference relationships is solved, enabling a quick and intuitive view of reference relationships and understanding of the discussion.

CN114579240BActive Publication Date: 2025-10-17VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210201914.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2025-10-17
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

In a group chat with a large number of unread messages and multiple layers of reference relationships, users cannot easily and quickly view the context and reference relationships of the referenced information.

Method used

By receiving user input on the first message in the session interface, the target reference path associated with that message is determined and displayed, including at least two messages with references and referenced messages. Different display methods are used to distinguish different target reference paths or to form a reference path diagram, making it convenient for users to view the reference relationship and context.

Benefits of technology

Users can intuitively view the discussion of topics related to the first message, quickly understand the reference relationships and context, and improve reading efficiency and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114579240B_ABST
    Figure CN114579240B_ABST
Patent Text Reader

Abstract

The application discloses a message processing method and device, and belongs to the technical field of information processing. The message processing method comprises the following steps: receiving a first input of a user on a first message in a conversation interface; in response to the first input, determining a target reference path associated with the first message, wherein each target reference path comprises at least two messages, the at least two messages have a reference and referenced relationship, and one message in each target reference path is the first message; and displaying the messages in the target reference path.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of information processing, and particularly relates to a message processing method and device. BACKGROUND

[0002] At present, in the process that a mobile terminal user uses a chat software to carry out group chatting, when wanting to explain, interpret or reply to the information published by other users in the group chatting, the prior art provides a function of quoting, that is, the information can be quoted by long pressing a message to pull out a menu, and the user can additionally input own content to be displayed to other users in the group chatting.

[0003] However, when there are many unread information and content with multi-layer quoting relationship, the user cannot conveniently and quickly view the context content and quoting relationship of the quoted information. SUMMARY

[0004] Embodiments of the present application provide a message processing method and device, which can solve the problem that in the prior art, when there are many unread information and content with multi-layer quoting relationship, the user cannot conveniently and quickly view the context content and quoting relationship of the quoted information.

[0005] In a first aspect, the embodiments of the present application provide a message processing method, which comprises:

[0006] receiving a first input of a user on a first message in a conversation interface;

[0007] determining a target quoting path associated with the first message in response to the first input, wherein each target quoting path comprises at least two messages, the at least two messages have a quoting and quoted relationship, and one message in each target quoting path is the first message;

[0008] displaying the messages in the target quoting path.

[0009] In a second aspect, the embodiments of the present application provide a message processing device, which comprises:

[0010] a first receiving module configured to receive a first input of a user on a first message in a conversation interface;

[0011] a determining module configured to determine a target quoting path associated with the first message in response to the first input, wherein each target quoting path comprises at least two messages, the at least two messages have a quoting and quoted relationship, and one message in each target quoting path is the first message;

[0012] a first display module configured to display the messages in the target quoting path.

[0013] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.

[0014] In a fourth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method according to the first aspect.

[0015] In a fifth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.

[0016] In the embodiments of the present application, by receiving the first input of the first message referenced by other messages in the conversation interface, all target reference paths containing the first message can be automatically found out and the messages in the target reference paths can be displayed, so that the user can conveniently and intuitively view the reference relationship corresponding to the first message and the context content having the reference relationship with the first message, and the user can quickly understand the discussion situation of the topic related to the first message. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 A flowchart of a message processing method provided by the embodiments of the present application;

[0018] Figure 2 A schematic diagram of an option list provided by the embodiments of the present application;

[0019] Figure 3 A schematic diagram of a reference path graph provided by the embodiments of the present application;

[0020] Figure 4 A schematic diagram of the messages in the first target reference path provided by the embodiments of the present application;

[0021] Figure 5 A schematic diagram of the second message and the first reference content provided by the embodiments of the present application;

[0022] Figure 6 A structural schematic diagram of a message processing device provided by the embodiments of the present application;

[0023] Figure 7 A structural schematic diagram of an electronic device provided by the embodiments of the present application;

[0024] Figure 8 A hardware structural schematic diagram of an electronic device for implementing the embodiments of the present application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art are within the scope of protection of the present application.

[0026] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a particular order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0027] The message processing method, device, electronic equipment and readable storage medium provided by the embodiments of the present application will be described in detail below with reference to the drawings, through specific embodiments and application scenarios.

[0028] Please refer to Figure 1 , Figure 1 The flowchart of a message processing method provided by the embodiments of the present application is shown in FIG. 1. As shown in FIG. 1, the embodiments of the present application provide a message processing method, which includes the following steps: Figure 1

[0029] Step 101: receiving a first input of a user to a first message in a conversation interface;

[0030] In the embodiments of the present application, the conversation interface can be the conversation interface of various instant messaging software, in which messages sent by the user and other users can be viewed. Optionally, the user can edit and input in the conversation interface, for example, the conversation interface has an editing box, the user can edit message text in the editing box and the like and send.

[0031] ​Optionally, the first message can be a message sent by the electronic device itself, or a message sent by another user via another electronic device. In some embodiments, the first message can be a message referenced by another message. In this case, the first message is usually displayed below the message that references the first message. The first message can be referenced by only one message or by multiple messages. If the message that references the first message is also referenced by other messages, a multi-layer reference relationship will exist between these messages.

[0032] In an embodiment of the present application, optionally, the above-mentioned first input can be an input of long pressing the first message in the conversation interface, or an input of long pressing the first message in the conversation interface and selecting the "Filter Messages" option in the displayed option list, or other pre-set input, which is not specifically limited in the embodiment of the present application.

[0033] Please refer to Figure 2 , Figure 2 Schematic diagram of the option list provided in the embodiment of this application. Figure 2 As shown, in some embodiments of the present application, the electronic device displays a conversation interface, and multiple messages are displayed in the conversation interface. If a first input from the user for a first message is received, for example, the first input includes a first sub-input and a second sub-input, wherein the first sub-input is an input of long pressing the first message, then the electronic device will respond to the first sub-input and display an option list, which includes three options, namely "Jump to reference location", "View this user's recent speeches" and "Expand reference relationship", and the second sub-input is an input of clicking the "Expand reference relationship" option, then the electronic device will respond to the second sub-input, determine the target reference path associated with the first message and display it.

[0034] Step 102: In response to the first input, determine a target reference path associated with the first message, wherein each target reference path includes at least two messages, the at least two messages have a reference-reference relationship, and one message in each target reference path is the first message;

[0035] In this step, the electronic device finds out the target reference path associated with the first message in response to the first input after receiving the first input; wherein, the reference path is a representation of the reference relationship constituted by the reference message and the referenced message, at least two messages are included in a reference path, and the adjacent two messages in the reference path have the reference and the referenced relationship, for example, when three messages are included in a reference path, the three messages have the reference relationship in turn, such as message A references message B, and message B references message C; and the target reference path associated with the first message is a reference path including the first message, for example, a reference path constituted by the first message, other messages referencing the first message, or a reference path constituted by the first message, other messages referencing the first message, and other messages referenced by the first message. It can be known that the target reference path can be only one, or two or more than two.

[0036] Step 103: display the messages in the target reference path.

[0037] In the embodiment of the present application, after determining all the target reference paths associated with the first message, the messages in all the target reference paths can be displayed to facilitate the user to quickly obtain the discussion of the topic corresponding to the first message or the specific content of the context corresponding to the first message, and the time required by the user to review all the messages in the time period is saved. Optionally, when the messages in the target reference path are displayed, the display can be performed in the original conversation interface, or an independent window can be expanded and the display can be performed in the window, wherein, for the display in the original conversation interface, the same color can be used to identify and display the messages on the same target reference path, or the same annotation can be used to identify and display the messages on the same target reference path, and the embodiment of the present application is not limited specifically.

[0038] Therefore, in the embodiment of the present application, by receiving the first input of the first message referenced by other messages in the conversation interface, all the target reference paths including the first message can be automatically found out and displayed, so that the user can conveniently and intuitively view the reference relationship corresponding to the first message and the context content having the reference relationship with the first message, and the user can quickly understand the discussion of the topic related to the first message.

[0039] In some embodiments of the present application, when the target reference path includes at least two, after determining the target reference path associated with the first message, the method further includes:

[0040] displaying the target reference path.

[0041] The display of the target reference path includes:

[0042] distinguish and display the messages in different target reference paths in different display manners; or

[0043] display a reference path graph composed of all the target reference paths; or

[0044] display the messages in the same target reference path in the same thumbnail.

[0045] Exemplarily, after the target reference paths are found, in order to facilitate the user to intuitively view the specific content of each message in the target reference paths, the messages in different target reference paths can be distinguished and displayed in different display manners, or all the target reference paths can be composed into a reference path graph, such as a tree graph or the like, or the messages in the same target reference path can be displayed in the same thumbnail, different target reference paths correspond to different thumbnails, and if there are multiple target reference paths, multiple thumbnails are displayed. In this embodiment, optionally, the different display manners include but are not limited to the following manners: the font of the messages in different target reference paths is marked in different colors, of course, the messages in the same target reference path are marked in the same color, or the font of the messages in different target reference paths is marked in different font sizes.

[0046] In some embodiments of the present application, before the target reference paths are displayed, the method further includes: receiving an input of the user for triggering the display of the target reference paths. That is, when the messages in the target reference paths are displayed, if there are multiple target reference paths, the displayed messages will be too many, in order to facilitate the viewing, the user can input in the conversation interface to trigger the display of the target reference paths, so as to classify the displayed messages into the target reference paths, thereby enabling the user to clearly distinguish the messages in different target reference paths.

[0047] Please refer to Figure 2 , Figure 2 The schematic diagram of the option list provided by the embodiments of the present application. As shown in Figure 2 some embodiments of the present application, the electronic device displays a conversation interface, and the conversation interface displays a plurality of messages. If an input of the user for triggering the display of the target reference paths is received, for example, the input includes a sub-input of long pressing a first message, the electronic device will respond to the sub-input to display an option list, the option list includes three options, which are "jump to the reference position", "view recent speech of this user" and "expand reference relationship", and the input of the user for triggering the display of the target reference paths further includes a sub-input of clicking the option of "expand reference relationship", the electronic device will respond to the sub-input to display all the target reference paths.

[0048] Please refer toFigure 3 , Figure 3 The schematic diagram of the reference path graph is provided for the embodiments of the present application. Alternatively, in some embodiments of the present application, the reference path graph composed of all the target reference paths can be displayed, and the user can conveniently view other messages associated with the first message. The reference path graph can be displayed in the form of a thumbnail in the original session interface, or can be displayed in a new window. As shown in FIG. 2, in the reference path graph, three target reference paths are included, which are message A→message B→message D, message A→message C→message E and message A→message C→message F. The direction of the arrow indicates the reference relationship. For example, in message A→message B, the arrow points to message B, which means that message B references message A, i.e., the arrow points to the reference party. By displaying the reference path graph, all messages associated with the first message can be summarized in the reference path graph, and the user can intuitively view the reference relationship between the messages and the specific content of each message. Figure 3

[0049] In some embodiments of the present application, when the target reference path is displayed, the messages in the same target reference path can also be displayed in the form of a thumbnail. If there are multiple target reference paths, the corresponding number of thumbnails can be displayed, and these thumbnails can be displayed side by side. Thus, the user can select any one thumbnail to expand to view the specific content of all messages in the corresponding target reference path.

[0050] In some embodiments of the present application, before the message in the target reference path is displayed, the method further includes:

[0051] receiving a second input of the user configuring the display number of the messages in the target reference path;

[0052] The display of the message in the target reference path includes:

[0053] displaying a first target message in the target reference path, the first target message being a first number of continuous messages starting from the first message, and the first number being determined according to the second input.

[0054] ​That is, in the embodiments of the present application, the number of messages in the displayed target reference path can be a default value or can be set by the user. When the number of messages in the displayed target reference path is set by the user, before displaying the messages in the target reference path, the user can manually configure the display number of messages in the target reference path through a second input. After the configuration, when displaying the messages in the target reference path, only the first target message in the target reference path is displayed, which is the first number of messages in the target reference path starting from the first message, that is, the first number is determined by the second input. For example, the target reference path is message A→message B→message C→message D, the first message corresponding to the first input of the user is message A, and if the user configures the display number to be 3, then starting from message A, 2 messages are selected in sequence, that is, message A, message B and message C are displayed as the first target message, wherein the first number plus 1 (the first message itself is counted as one) is the display number configured by the user.

[0055] In some embodiments of the present application, when the target reference path includes at least two, after displaying the target reference path, the method further includes:

[0056] receiving a third input of the user on the first target reference path;

[0057] displaying the messages in the first target reference path in response to the third input.

[0058] In the embodiments of the present application, after displaying all target reference paths, since there are at least two target reference paths, the interleaved reference relationship will increase the reading difficulty of the user. In order to facilitate the user to view the messages in a certain target reference path, the user can only select a certain target reference path for viewing. Specifically, the electronic device receives a third input of the user on the first target reference path, for example, the third input is an input of a message in the first target reference path with a certain color identification, or the third input is an input of clicking the thumbnail corresponding to the first target reference path, and the present application does not make specific limitation, then the electronic device will filter out all messages in the first target reference path in response to the third input, and only display all messages in the first target reference path, for example, in the form of a pop-up window in a new window. Thus, by filtering out all messages except the first target reference path, the user can only view the messages in the first target reference path, thereby improving the reading efficiency.

[0059] Please refer to Figure 4 , Figure 4 a schematic diagram of the messages in the first target reference path provided by the embodiments of the present application. As Figure 4As shown, other information in the conversation interface has been filtered out, and only the messages in the first target reference path are displayed, so that the user can quickly view and understand the discussion of the relevant topic.

[0060] In some embodiments of the present application, after displaying the target reference path, the method further includes:

[0061] receiving a fourth input of a user on a second target message in a second target reference path;

[0062] in response to the fourth input, adding comment information to the target message, and saving the second target reference path and the comment information.

[0063] In an embodiment of the present application, the user can operate the messages in any target reference path to add comment information and tags and the like, to facilitate subsequent browsing and viewing or quick reference. For example, the electronic device receives a fourth input of a user on a second target message in a second target reference path, for example, the fourth input is an input of editing comment information after long pressing the target message, or the fourth input is an input of editing comment information after double-clicking the target message, and the like, which are not limited in the embodiment of the present application. In response to the fourth input, the electronic device adds comment information to the second target message, and saves the second target reference path and the comment information. The comment information is used to explain and describe the second target message, and the tags are used to mark the second target message, so that subsequent reference to the second target message can be realized directly through the tags. These tags can be displayed in the edit box of the conversation interface for the user to select, so as to realize the reference of the corresponding message.

[0064] In another embodiment of the present application, after adding comment information to the second target message in response to the fourth input, and saving the second target reference path and the comment information, the method further includes:

[0065] receiving a fifth input of a user searching the comment information in a search bar of the conversation interface;

[0066] in response to the fifth input, displaying the messages in the second target reference path.

[0067] In the embodiment, after adding comment information to the second target message, if a fifth input of a user searching the comment information in a search bar of the conversation interface is received, for example, the fifth input is an input of inputting a keyword corresponding to the comment information in the search bar, the electronic device will respond to the fifth input to display the messages in the second target reference path, so as to facilitate the user to quickly find the corresponding target reference path and the related messages through the comment information, and realize quick browsing or quick reference.

[0068] In some embodiments of the present application, after the messages in the first target reference path are filtered and displayed, the method further comprises:

[0069] receiving a sixth input of the user, the sixth input comprising a first sub-input of any message in the first target reference path and a second sub-input of editing and sending a second message in the input box of the session interface;

[0070] sending the second message in response to the sixth input, wherein the second message references first reference content composed of all the messages in the first target path. That is, after displaying the messages in the first target reference path, the user can simultaneously reference all the messages in the first target reference path. Specifically, the electronic device receives a sixth input of the user, the sixth input comprising a first sub-input of any message in the first target reference path, for example, the first sub-input can be an input of long pressing any message in the first target reference path, or the first sub-input is an input of clicking a reference control displayed together with the message in the first target reference path, and the like, which is not limited in the embodiments of the present application. The electronic device will add all the messages in the first target reference path as the first reference content to the reference area of the input box of the session interface in response to the first sub-input. The sixth input further comprises a second sub-input of editing and sending a second message in the input box of the session interface. The electronic device will send the second message in response to the second sub-input, and the second message references the first reference content composed of all the messages in the first target reference path, thereby quickly realizing the second message referencing the first reference content.

[0071] For reference Figure 5 , Figure 5 The second message and the first reference content provided by the embodiments of the present application are shown in the schematic diagram. As Figure 5 shown, the user can long press a message in the first target reference path and click the reference button, so that after editing and sending the second message, all the messages in the first target reference path constitute the first reference content and are referenced by the second message. Optionally, when the content of the first reference content is relatively large, part of the content can be folded, which can be operated by the user to be unfolded and displayed subsequently.

[0072] In some embodiments of the present application, the method further comprises:

[0073] receiving a seventh input of the user, the seventh input comprising a third sub-input of a target text segment in at least one message in the session interface and a fourth sub-input of editing and sending a third message in the input box of the session interface;

[0074] In response to the seventh input, the third message is sent, wherein the third message references second reference content, and the second reference content is composed of the target text segments in the at least one message.

[0075] Exemplarily, the reference mode can be triggered in the conversation interface, in which the reference of partial content is realized by selecting the target text segments in the at least one message in the conversation interface. Specifically, the electronic device receives a seventh input of the user, which can include a third sub-input of selecting the target text segments in the at least one message in the conversation interface, for example, the third sub-input is an input of dragging the cursor to select the target text segments in the message, the selected target text segments are highlighted or marked with a certain color, or the third sub-input is an input of dragging the target text segments in the message to a preset area after selecting the target text segments, and the preset area can be a reference area in the conversation interface. Then, the electronic device will add the target text segments in the at least one message as the second reference content to the reference area in response to the third sub-input, and the second reference content is composed of the target text segments in the at least one message arranged in the time sequence of the messages corresponding to the target text segments. The seventh input further includes a fourth sub-input of the user editing and sending a third message in an input box, and the electronic device will send the third message in response to the fourth sub-input, and the third message references the second reference content composed of the target text segments in the at least one message selected by the user, thereby quickly realizing the reference of the second reference content by the third message, and the second reference content is only partial content of the message. Therefore, when the content of the message corresponding to the referenced target text segments is relatively large, the core content of the referenced message can be quickly understood by the receiver through the partial reference.

[0076] In some embodiments of the present application, after the third message is sent, the method further includes:

[0077] In the conversation interface, the part of the target text segments in the second reference content and the third message that have been sent are displayed.

[0078] The eleventh input of the user on the part of the target text segments in the second reference content is received.

[0079] In response to the eleventh input, all the target text segments in the second reference content are displayed.

[0080] That is, if the target text segments in the second quoted content are more, some of the target text segments can be folded, for example, only the target text segments at the head and tail positions are displayed, and a folding control can be displayed beside the second quoted content. The user can click the folding control to expand to display all the target text segments in the second quoted content, or click the folding control again to fold some of the target text segments.

[0081] In some embodiments of the present application, the method further comprises:

[0082] receiving an eighth input of the user dragging a fourth message in the conversation interface to a position where a fifth message has been sent;

[0083] re-sending the fifth message and the third quoted content in response to the eighth input.

[0084] In the embodiments of the present application, for a message that has been sent and does not quote other messages, the user can supplement the quotation for the message by dragging and the like. Specifically, for a fifth message that has been sent and is displayed in the conversation interface, if the electronic device receives an eighth input of the user dragging a fourth message in the conversation interface to a position where the fifth message has been sent, the eighth input can be an input of at least partially overlapping the fourth message and the fifth message, the electronic device will respond to the eighth input to take the fourth message as third quoted content of the fifth message, and re-send the fifth message and the third quoted content. Thus, the user does not need to perform the cumbersome process of withdrawing the fifth message, re-editing the fifth message, and adding the fourth message as a quoted message, and for the receiving party, only the third quoted content is refreshed and displayed below the originally received fifth message.

[0085] In some embodiments of the present application, the method further comprises:

[0086] receiving a ninth input of the user on the first message;

[0087] jumping to display to an original position of the first message in response to the ninth input.

[0088] In this embodiment, the user can operate the first message to directly switch the content in the conversation interface to the content of the context of the first message. For example, the electronic device receives a ninth input of the user on the first message, such as a long press on the first message and an input of selecting the option of jumping to the reference position in the displayed option list, or other preset inputs, which are not limited in the embodiment of the application. The electronic device will jump to the original position of the first message in response to the ninth input, so that the user can quickly view the context content of the first message and then master the discussion of the related topic.

[0089] As shown in Figure 2 In some embodiments of the application, the electronic device displays a conversation interface, and the conversation interface displays a plurality of messages. If a ninth input of the user on the first message is received, such as a fifth sub-input and a sixth sub-input, wherein the fifth sub-input is a long press on the first message, the electronic device will display an option list in response to the fifth sub-input, and the option list includes three options, namely, “jump to the reference position”, “view recent utterances of this user”, and “expand the reference relationship”. The sixth sub-input is an input of clicking the option of “jump to the reference position”, and the electronic device will locate to the original position of the first message to display the first message and its context content in response to the sixth sub-input.

[0090] In some embodiments of the application, the method further includes:

[0091] receiving a tenth input of the user on the first message;

[0092] displaying at least part of all messages sent by the sender of the first message in response to the tenth input.

[0093] That is, in the embodiment of the application, all message records recently sent by the sender of a certain message can also be filtered and displayed. For example, the electronic device receives a tenth input of the user on the first message, such as a long press on the first message and an input of selecting the option of viewing recent utterances of this user in the displayed option list, or other preset inputs, which are not limited in the embodiment of the application. The electronic device will display part or all of all messages sent by the sender of the first message in response to the tenth input, so that the user can quickly view the explanation of the first message by the sender of the first message. When displaying at least part of all messages sent by the sender of the first message, it can be displayed in a new interface, and the user can exit the interface by clicking the back button and return to the current conversation interface.

[0094] As shown in Figure 2As shown, in some embodiments of the present application, the electronic device displays a conversation interface, and the conversation interface displays a plurality of messages. If a tenth input of the user to the first message is received, for example, the tenth input includes a seventh sub-input and an eighth sub-input, where the seventh sub-input is an input of long pressing the first message, the electronic device displays a list of options in response to the seventh sub-input, and the list of options includes three options, namely, "jump to the cited position", "view recent utterances of this user", and "expand the citation relationship". The eighth sub-input is an input of clicking the option "view recent utterances of this user", and the electronic device displays part or all of the messages sent by the sender of the first message in response to the eighth sub-input.

[0095] In still some embodiments of the present application, the method further includes:

[0096] identifying the message in the conversation interface that is cited more than a preset threshold number of times.

[0097] For example, for the message that is cited more than the preset threshold number of times, the discussion degree of the topic corresponding to the message is high. Therefore, by identifying the message in the conversation interface, the user can quickly understand the important topic from the plurality of messages. When identifying the message in the conversation interface that is cited more than the preset threshold number of times, the message can be highlighted, the font size of the message can be increased, and the like. The embodiments of the present application are not limited in this regard.

[0098] In summary, in the embodiments of the present application, by receiving the first input of the user to the first message cited by other messages in the conversation interface, all target citation paths containing the first message can be automatically found and displayed, so that the user can conveniently and intuitively view the citation relationship corresponding to the first message and the context content having the citation relationship with the first message, and the user can quickly understand the discussion of the topic related to the first message.

[0099] It should be noted that the message processing method provided by the embodiments of the present application can be executed by a message processing device or a control module in the message processing device for executing the message processing method. In the embodiments of the present application, the message processing device executing the message processing method is taken as an example to illustrate the message processing device provided by the embodiments of the present application.

[0100] For example, Figure 6 , Figure 6 FIG. 1 is a structural schematic diagram of a message processing device provided by an embodiment of the present application. As shown in Figure 6 Another aspect of the embodiments of the present application further provides a message processing device. The device 600 includes:

[0101] A first receiving module 601 is configured to receive a first input of a user to a first message in a conversation interface.

[0102] determining module 602, configured to determine target reference paths associated with the first message in response to the first input, wherein each of the target reference paths comprises at least two messages having a reference and referenced relationship, and one of the messages in each of the target reference paths is the first message;

[0103] a first display module 603, configured to display the messages in the target reference paths.

[0104] Optionally, in the case where the target reference paths comprise at least two, the apparatus further comprises:

[0105] a second display module, configured to display the target reference paths.

[0106] The second display module comprises:

[0107] a first display unit, configured to display the messages in different target reference paths in different display manners; or

[0108] a second display unit, configured to display a reference path graph formed by all the target reference paths; or

[0109] a third display unit, configured to display the messages in the same target reference path in a same thumbnail.

[0110] Optionally, the apparatus further comprises:

[0111] a second receiving module, configured to receive a second input of a user configuring a display quantity of the messages in the target reference paths;

[0112] The first display module comprises:

[0113] a fourth display unit, configured to display a first target message in the target reference paths, the first target message being a first quantity of continuous messages starting from the first message, and the first quantity being determined according to the second input.

[0114] Optionally, in the case where the target reference paths comprise at least two, the apparatus further comprises:

[0115] a third receiving module, configured to receive a third input of a user to a first target reference path;

[0116] a third display module, configured to display the messages in the first target reference path in response to the third input.

[0117] Optionally, the apparatus further comprises:

[0118] a fourth receiving module, configured to receive a fourth input from a user regarding a second target message in a second target reference path;

[0119] An adding module is used to add remark information to the second target message in response to the fourth input, and save the second target reference path and the remark information.

[0120] Optionally, the device further comprises:

[0121] a fifth receiving module, configured to receive a fifth input from a user searching for the remark information in the search bar of the conversation interface;

[0122] A fourth display module is configured to display a message in the second target reference path in response to the fifth input.

[0123] Optionally, the device further comprises:

[0124] a sixth receiving module, configured to receive a sixth input from the user, the sixth input comprising a first sub-input for any message in the first target reference path and a second sub-input for editing and sending a second message in the input box of the conversation interface;

[0125] The first sending module is configured to send the second message in response to the sixth input, wherein the second message references first reference content, and the first reference content is composed of all messages in the first target path.

[0126] Optionally, the device further comprises:

[0127] a seventh receiving module, configured to receive a seventh input from the user, the seventh input comprising a third sub-input for a target text segment in at least one message in the conversation interface and a fourth sub-input for editing and sending a third message in the input box of the conversation interface;

[0128] The second sending module is configured to send the third message in response to the seventh input, wherein the third message quotes second reference content, and the second reference content is composed of a target text segment in the at least one message.

[0129] Optionally, the device further comprises:

[0130] an eighth receiving module, configured to receive an eighth input of the user dragging the fourth message in the conversation interface to a location where the sent fifth message is located;

[0131] The third sending module is configured to, in response to the eighth input, use the fourth message as the third reference content of the fifth message and resend the fifth message and the third reference content.

[0132] Optionally, the apparatus further comprises:

[0133] a ninth receiving module, configured to receive a ninth input of the user on the first message;

[0134] a fifth displaying module, configured to display, in response to the ninth input, the original position of the first message.

[0135] Optionally, the apparatus further comprises:

[0136] a tenth receiving module, configured to receive a tenth input of the user on the first message;

[0137] a sixth displaying module, configured to display, in response to the tenth input, at least part of all messages sent by the sender of the first message.

[0138] In the embodiments of the present application, by receiving the first input on the first message referenced by other messages in the conversation interface, all target reference paths containing the first message can be automatically found out and displayed, so that the user can conveniently and intuitively view the reference relationship corresponding to the first message and the context content having the reference relationship with the first message, and the user can quickly understand the discussion situation of the topic related to the first message.

[0139] The message processing apparatus in the embodiments of the present application can be an apparatus, or a component, an integrated circuit or a chip in a terminal. The apparatus can be a mobile electronic device, or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a personal computer (PC), etc., and the embodiments of the present application are not limited in this regard.

[0140] The message processing apparatus in the embodiments of the present application can be an apparatus having an operating system. The operating system can be an Android operating system, an iOS operating system or other possible operating system, and the embodiments of the present application are not limited in this regard.

[0141] The message processing apparatus provided in the embodiments of the present application can implement the method embodiments Figures 1 to 5 The message processing apparatus provided in the embodiments of the present application can implement the method embodiments

[0142] Optionally, as described above, Figure 7As shown, the electronic device 700 in the embodiments of the present application further comprises a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. The program or instruction is executed by the processor 701 to implement the processes of the message processing method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.

[0143] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device described above.

[0144] Figure 8 A hardware structure schematic diagram of an electronic device according to an embodiment of the present application is shown.

[0145] The electronic device 800 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 8010, etc.

[0146] Those skilled in the art can understand that the electronic device 800 can further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 8010 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device can include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components, which is not described herein.

[0147] The user input unit 807 is configured to receive a first input of a first message in a conversation interface.

[0148] The processor 8010 is configured to determine a target reference path associated with the first message in response to the first input. Each target reference path includes at least two messages having a reference and referenced relationship between them. One message in each target reference path is the first message.

[0149] The display unit 806 is configured to display the messages in the target reference path.

[0150] In the embodiments of the present application, by receiving the first input of the first message referenced by other messages in the conversation interface, all target reference paths containing the first message can be automatically found and displayed, so that the user can conveniently and intuitively view the reference relationship corresponding to the first message and the context content having the reference relationship with the first message, and quickly understand the discussion of the topic related to the first message.

[0151] Optionally, in the case where the target reference path includes at least two, the display unit 806 is further configured to:

[0152] display the target reference path, the display of the target reference path including:

[0153] displaying the messages in different target reference paths in different display manners; or,

[0154] displaying a reference path graph formed by all the target reference paths; or,

[0155] displaying the messages in the same target reference path in the same thumbnail.

[0156] Optionally, the user input unit 807 is further configured to receive a second input of a user configuring a display quantity of the messages in the target reference path before displaying the messages in the target reference path.

[0157] The display unit 806 is further configured to display a first target message in the target reference path, the first target message being a first quantity of continuous messages starting from the first message, the first quantity being determined according to the second input.

[0158] Optionally, in the case where the target reference path includes at least two, the user input unit 807 is further configured to receive a third input of a user to a first target reference path.

[0159] The display unit 806 is further configured to display the messages in the first target reference path in response to the third input.

[0160] Optionally, the user input unit 807 is further configured to receive a fourth input of a user to a second target message in a second target reference path.

[0161] The processor 8010 is further configured to add remark information to the second target message in response to the fourth input.

[0162] The memory 809 is configured to save the second target reference path and the remark information.

[0163] Optionally, the user input unit 807 is further configured to receive a fifth input of a user searching the remark information in a search bar of the session interface.

[0164] The display unit 806 is further configured to display the messages in the second target reference path in response to the fifth input.

[0165] Optionally, the user input unit 807 is further configured to receive a sixth input of the user, the sixth input comprising a first sub-input of any message in the first target reference path and a second sub-input of editing and sending a second message in an input box of the session interface;

[0166] The network module 802 is configured to send the second message in response to the sixth input, wherein the second message references the first reference content, and the first reference content is composed of all messages in the first target path.

[0167] Optionally, the user input unit 807 is further configured to receive a seventh input of the user, the seventh input comprising a third sub-input of a target text segment in at least one message in the session interface and a fourth sub-input of editing and sending a third message in an input box of the session interface;

[0168] The network module 802 is further configured to send the third message in response to the seventh input, wherein the third message references the second reference content, and the second reference content is composed of the target text segment in the at least one message.

[0169] Optionally, the user input unit 807 is further configured to receive an eighth input of the user dragging a fourth message in the session interface to a position where a fifth message has been sent;

[0170] The network module 802 is further configured to resend the fifth message and the third reference content as the fourth message being the third reference content of the fifth message in response to the eighth input.

[0171] Optionally, the user input unit 807 is further configured to receive a ninth input of the user on the first message;

[0172] Optionally, the display unit 806 is further configured to jump to display to an original position of the first message in response to the ninth input.

[0173] It should be understood that in the embodiments of the present application, the input unit 804 can include a graphics processor (GPU) 8041 and a microphone 8042. The graphics processor 8041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 can include a display panel 8061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 can include two parts of a touch detection device and a touch controller. The other input devices 8072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here. The memory 809 can be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 8010 can integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 8010.

[0174] The embodiments of the present application also provide a readable storage medium, which stores programs or instructions, and the programs or instructions are executed by a processor to realize the processes of the above message processing method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.

[0175] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.

[0176] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is configured to execute programs or instructions to realize the processes of the above message processing method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.

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

[0178] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.

[0179] From the above description of the embodiments, it is apparent that the above-mentioned method can be realized by means of software and necessary universal hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solution of the present application can be embodied in the form of computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network equipment, etc.) execute the method described in various embodiments of the present application.

[0180] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, rather than limiting, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A message processing method, characterized in that: include: receiving a first input of a user for a first message in the conversation interface; In response to the first input, determining a target reference path associated with the first message, wherein each target reference path includes at least two messages, the at least two messages have a reference-reference relationship, and one message in each target reference path is the first message; Display the message in the target reference path; In a case where the target reference paths include at least two, after determining the target reference path associated with the first message, the method further includes: Display the target reference path; After displaying the target reference path, the method further includes: receiving a fourth input from the user regarding a second target message in the second target reference path; In response to the fourth input, adding remark information to the second target message, and saving the second target reference path and the remark information; The method further comprises: receiving a ninth input from the user in response to the first message; In response to the ninth input, jumping to the original location of the first message; The method further comprises: Messages in the conversation interface that have been cited a number of times greater than a preset threshold are marked.

2. The method according to claim 1, characterized in that The displaying of the target reference path includes: Different display modes are used to distinguish and display messages in different target reference paths; or, Display a reference path graph consisting of all target reference paths; or, Messages in the same target reference path are displayed in the same thumbnail.

3. The method according to claim 1, characterized in that Before displaying the message in the target reference path, the method further includes: receiving a second input of a user configuring a display quantity of messages of the target reference path; The displaying of the message in the target reference path includes: The first target message in the target reference path is displayed, where the first target message is a first number of consecutive messages starting from the first message, and the first number is determined according to the second input.

4. The method according to claim 2, characterized in that In the case where the target reference paths include at least two, after displaying the target reference paths, the method further includes: receiving a third input from the user regarding the first target reference path; In response to the third input, a message in the first target reference path is displayed.

5. The method according to claim 1, wherein After adding remark information to the second target message in response to the fourth input and saving the second target reference path and the remark information, the method further includes: receiving a fifth input of the user searching for the remark information in the search bar of the conversation interface; In response to the fifth input, a message in the second target reference path is displayed.

6. The method according to claim 4, characterized in that After displaying the message in the first target reference path, the method further includes: receiving a sixth input from the user, the sixth input including a first sub-input for any message in the first target reference path and a second sub-input for editing and sending a second message in the input box of the conversation interface; In response to the sixth input, the second message is sent, wherein the second message references first reference content, and the first reference content consists of all messages in the first target path.

7. The method according to claim 1, characterized in that Also includes: receiving a seventh input from the user, the seventh input including a third sub-input for a target text segment in at least one message in the conversation interface and a fourth sub-input for editing and sending a third message in an input box in the conversation interface; In response to the seventh input, the third message is sent, wherein the third message quotes second reference content, and the second reference content is composed of the target text segment in the at least one message.

8. The method according to claim 1, characterized in that Also includes: receiving an eighth input from the user dragging the fourth message in the conversation interface to a location where the sent fifth message is located; In response to the eighth input, the fourth message is used as the third reference content of the fifth message, and the fifth message and the third reference content are resent.

9. A message processing device, characterized in that: include: A first receiving module is configured to receive a first input from a user regarding a first message in the conversation interface; a determination module, configured to determine, in response to the first input, a target reference path associated with the first message, wherein each target reference path includes at least two messages, the at least two messages having a reference-reference relationship, and one message in each target reference path is the first message; A first display module, configured to display the message in the target reference path; In the case where the target reference paths include at least two, the apparatus further includes: A second display module, configured to display the target reference path; The device further comprises: a fourth receiving module, configured to receive a fourth input from a user regarding a second target message in a second target reference path; an adding module, configured to add remark information to the second target message in response to the fourth input, and save the second target reference path and the remark information; The device further comprises: a ninth receiving module, configured to receive a ninth input from the user regarding the first message; a fifth display module, configured to jump to display an original position of the first message in response to the ninth input; The device further comprises: The identification module is used to identify messages in the conversation interface that have been cited a number of times greater than a preset threshold.

Citation Information

Patent Citations

  • Chatting record fast identification method and device thereof

    CN105812231A

  • Message reply method and apparatus

    CN106020595A

  • Message display processing method device and medium and electronic device

    CN109324861A

  • Group message reply method and device and storage medium

    CN111130818A