Message display method and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-31
- Publication Date
- 2026-08-11
AI Technical Summary
查阅过程中需要进行多次界面的切换,当需要查阅的消息数量较多时,操作繁琐且费时
[0020]上述实施例中,电子设备可以将用户发送的被回复消息进行集中显示,该被回复消息可以来自各个频道,例如群聊、可以集中讨论的页面,例如朋友圈等。这样,可以避免被回复消息分散的显示在不同的频道,查找困难。任一被回复消息在显示的同时,还可以显示该被回复消息的一条最优消息,这样可以提高显示更多信息,方便用户查找消息同时提高用户回复消息的效率。
Smart Images

Figure CN113641430B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal and communication technology, and in particular to a message display method and electronic device. Background Technology
[0002] Currently, smartphones and other electronic devices have become indispensable tools in daily life. Users can use these devices to send messages and communicate with other contacts via instant messaging applications. Sometimes, a single message can receive replies from several contacts. To allow users to easily view multiple replies to the same message, electronic devices need to display these replies centrally.
[0003] However, current electronic devices still display replies to different messages sent by users on separate screens. When a user needs to view all the replies to their sent messages, they still need to navigate between different screens multiple times. For example, if a user sends a message through a friend's social media feed and another through a group chat within an instant messaging app, they need to view the replies to both messages on one screen, then exit that screen and view the replies to the other. This requires switching between screens multiple times, which is cumbersome and time-consuming when viewing a large number of messages. Therefore, current electronic devices suffer from low message retrieval efficiency due to their cumbersome and time-consuming process of displaying all the replies to a user's sent messages. Summary of the Invention
[0004] This application provides a message display method and an electronic device. The electronic device can centrally display the reply messages sent by the user. The reply messages can come from various channels, such as group chats or pages where discussions can be held, such as Moments.
[0005] In a first aspect, this application provides a message display method, the method comprising: the electronic device displaying a first user interface, the first user interface including a replied message menu item; the electronic device displaying a first replied message and an optimal reply message corresponding to the first replied message in the replied message menu item of the first user interface; the optimal reply message being the message with the latest timestamp among all reply messages of the first replied message; the timestamp referring to the time when the electronic device acquired the reply message; and in response to an operation on the replied message menu item, the electronic device displaying all reply messages corresponding to the first replied message in a second user interface.
[0006] Implementing the first approach, electronic devices can centrally display user-sent replies from various channels, such as group chats or centralized discussion pages like Moments. This avoids the problem of replies being scattered across different channels, making them difficult to find. Simultaneously, for each reply, the device can also display its most relevant and relevant message, providing more information, facilitating message retrieval, and improving reply efficiency.
[0007] In conjunction with the first aspect, in one embodiment, before the electronic device displays the first user interface, the method further includes: the electronic device detecting a user's operation on a lookup control; searching for a reply message from all sent messages, including a first reply message; obtaining all reply messages for the first reply message; and determining the optimal reply message corresponding to the first reply message among all reply messages.
[0008] In the above embodiments, clicking on any replied message will display all the replied messages on one page, eliminating the need to search for the replied messages on different pages.
[0009] In conjunction with the first aspect, in one embodiment, the method further includes: the first user interface also includes an optimal chat message between the user and the contact; the optimal chat message is the chat message with the latest timestamp among the chat messages between the user and the contact; the timestamp refers to the time when the electronic device acquires the chat message.
[0010] In the above embodiments, displaying messages from frequently used contacts and the replied message in the same user interface makes it easier to find the replied message and the contact's messages.
[0011] In conjunction with the first aspect, in one embodiment, before the electronic device displays a first user interface, the method further includes: the electronic device displaying a third user interface, the third user interface including: one or more servers and channels in a server currently selected by the user; the servers are organized based on one or more channels; the channels are used for quick access to messages related to a category.
[0012] In the above embodiments, the electronic device can display all channels in a single user interface for easy searching, and all replied messages in each channel can be displayed centrally.
[0013] In conjunction with the first aspect, in one embodiment, the method further includes: the electronic device displaying the lookup control in the third user interface.
[0014] In the above embodiment, the lookup control is displayed on the third user interface, making it convenient to view all replied messages through the lookup control.
[0015] In conjunction with the first aspect, in one embodiment, the method further includes: the electronic device determining that the sent or received message is a quickly replyable message; in response to a user's click operation on the quickly replyable message, the electronic device displaying a reply message control; and in response to a user's operation on the reply message control, the electronic device quickly replying to the quickly replyable message.
[0016] In the above embodiments, the electronic device can quickly reply to received or sent messages, which can save the processing time for replying to messages.
[0017] In conjunction with the first aspect, in one implementation, the electronic device determines that the sent or received message is a message that can be quickly replied to, specifically including: the electronic device setting text messages to be messages that can be quickly replied to; the electronic device setting image messages, voice messages, and messages that have already been replied to to be messages that cannot be quickly replied to; when the electronic device determines that the sent or received message is a text message, then the electronic device determines that the sent or received message is a message that can be quickly replied to; when the electronic device determines that the sent or received message is one of image messages, voice messages, and messages that have already been replied to, then the electronic device determines that the sent or received message is not a message that can be quickly replied to.
[0018] In the above embodiments, the electronic device can determine whether the received or sent message is a message that can be quickly replied to. This can retain some functions other than quick reply messages. For example, clicking on an image does not result in a quick reply to the image message, but instead enlarges the image display.
[0019] In a second aspect, embodiments of this application provide an electronic device comprising: one or more processors and a memory; the memory is coupled to the one or more processors and is used to store computer program code, the computer program code including computer instructions, wherein the one or more processors invoke the computer instructions to cause the electronic device to perform the method as described in the first aspect or any embodiment of the first aspect.
[0020] In the above embodiments, the electronic device can centrally display the replies sent by the user. These replies can come from various channels, such as group chats or pages where discussions can be held together, such as Moments. This avoids the problem of replies being scattered across different channels, making them difficult to find. Simultaneously with displaying any reply, the device can also show the most relevant and optimal message associated with that reply, thus increasing the amount of information displayed, facilitating message retrieval, and improving the efficiency of replying.
[0021] Thirdly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect or any embodiment of the first aspect.
[0022] In the above embodiments, the electronic device can centrally display the replies sent by the user. These replies can come from various channels, such as group chats or pages where discussions can be held together, such as Moments. This avoids the problem of replies being scattered across different channels, making them difficult to find. Simultaneously with displaying any reply, the device can also show the most relevant and optimal message associated with that reply, thus increasing the amount of information displayed, facilitating message retrieval, and improving the efficiency of replying.
[0023] Fourthly, embodiments of this application provide a computer-readable storage medium that, when the instructions are executed on an electronic device, causes the electronic device to perform the method described in the first aspect or any embodiment of the first aspect.
[0024] In the above embodiments, the electronic device can centrally display the replies sent by the user. These replies can come from various channels, such as group chats or pages where discussions can be held together, such as Moments. This avoids the problem of replies being scattered across different channels, making them difficult to find. Simultaneously with displaying any reply, the device can also show the most relevant and optimal message associated with that reply, thus increasing the amount of information displayed, facilitating message retrieval, and improving the efficiency of replying. Attached Figure Description
[0025] Figure 1a , Figure 1b In the prior art, electronic devices use a set of user interfaces for message display;
[0026] Figure 2a , Figure 2b This is a set of user interfaces for the message display method provided in the embodiments of this application;
[0027] Figures 3a-3d This is a set of exemplary user interfaces for the message display method provided in the embodiments of this application;
[0028] Figures 4a-4e This application provides a set of exemplary user interfaces for electronic devices to reply to messages using the message quick reply function;
[0029] Figure 5 This is an exemplary flowchart of message display on an electronic device provided in this application embodiment;
[0030] Figure 6This is an exemplary flowchart of a message quick reply function provided in an embodiment of this application;
[0031] Figure 7 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0032] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to and includes any or all possible combinations of one or more of the listed items.
[0033] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0034] The term "user interface" in the specification, claims, and drawings of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0035] In existing technology, when a user sends messages using an electronic device, these messages can be replied to by other electronic devices. However, the display of these replies across different interfaces on the electronic devices is rather scattered. If a user wants to view the replies to two or more sent messages, they need to first view the reply to one message on one interface, and then view the reply to another message on a different interface.
[0036] like Figure 1a as well as Figure 1bAn example is shown of a set of user interfaces used by an electronic device for message display in the prior art.
[0037] like Figure 1a As shown, user interface 11 can be a social media feed interface of an instant messaging application displayed on an electronic device. Area 110 of user interface 11 displays the first message sent by user A: “11XXXX…”. The corresponding reply message can be displayed in area 111.
[0038] like Figure 1b As shown, user interface 12 is a chat group interface of an instant messaging application displayed on an electronic device. Area 120 of user interface 12 displays the second message sent by user A: “1X…”. The corresponding reply messages can be displayed in areas 121, 122, 123, and 124 respectively. Understandably, these reply messages are relatively scattered, making it time-consuming for the user to find the reply messages corresponding to the second message using the electronic device.
[0039] When a user needs to view the reply message corresponding to the first message, the user needs to use the electronic device to view the reply message corresponding to the first message in user interface 11. When a user needs to view the reply message corresponding to the second message, the user needs to use the electronic device to view the reply message corresponding to the second message in user interface 12. It should be understood that the electronic device will also switch through several other user interfaces (not shown) during the process of switching from user interface 11 to user interface 12.
[0040] Thus, when a user is looking for the replies to two or more messages, the electronic device does not display these replies in a centralized manner, resulting in low message retrieval efficiency due to the cumbersome and time-consuming operation when the number of messages to be viewed is large.
[0041] Using the message display method provided in this application embodiment, the electronic device can centrally display the first message, the second message, and their corresponding reply messages, making it convenient for users to view the sent messages and the corresponding reply messages.
[0042] like Figure 2a As shown, user interface 21 is a user interface used by an electronic device to centrally display messages sent by the user and their corresponding optimal reply messages. User interface 21 can display the aforementioned first message, second message, and their corresponding optimal reply messages. The optimal reply message is the reply message with the latest timestamp among all the reply messages corresponding to the first message. This timestamp refers to the time when the electronic device acquired the reply message.
[0043] The user interface 21 may include area 210 and area 211. Area 210 may display the first message and its corresponding optimal response message, and area 211 may display the second message and its corresponding optimal response message.
[0044] In response to a user's action on area 211 (e.g., a click), the electronic device can display, as shown below. Figure 2b The user interface 22 shown can display all reply messages corresponding to the second message. Specifically, area 220 can display the second message, and area 221 can display all reply messages corresponding to that second message.
[0045] In this way, users can view all the messages they have sent and their corresponding best reply messages in user interface 21. Users only need to operate the electronic device within this user interface to display the next level of the user interface, which shows all the reply messages corresponding to a specific message sent by the user.
[0046] In the following text, for ease of description, the message sent by the aforementioned electronic device and responded to by other electronic devices will be referred to as the replied message.
[0047] In this way, electronic devices can centrally display the replied messages and their corresponding reply messages. When users view these replied messages and their corresponding reply messages, the electronic devices do not need to switch user interfaces multiple times, which is convenient for users and allows users to quickly view the replied messages they sent and their corresponding reply messages.
[0048] The following is for reference. Figure 2a as well as Figure 2b The user interface shown, combined with a specific scenario, provides an exemplary description of the message display method provided in the embodiments of this application:
[0049] In this embodiment of the application, the electronic device can use a user interface to centrally display all replied messages and their corresponding optimal reply messages. The user only needs to operate the electronic device in this user interface, and the electronic device can switch the user interface once to display other user interfaces. In this user interface, all reply messages corresponding to a certain message sent by the user can be displayed.
[0050] Figures 3a-3d A set of exemplary user interfaces for the message display method provided in embodiments of this application are shown.
[0051] The message display method provided in this application relates to a user interface that can display at least one server added by the user and a channel within the server currently selected by the user. This server can be shared by the user and other contacts. The server can be organized based on one or more channels. Each channel is used for quick access to messages related to a category (e.g., text messages, voice messages, live messages, video messages, and linked messages). Based on the message types that can be quickly accessed, the multiple channels can be divided into text channels, voice channels, live channels, video channels, and linked channels.
[0052] The reply messages sent by the electronic device in the channel involved in this user interface can all be displayed using the message display method involved in the embodiments of this application.
[0053] Understandably, there can be one or more channels related to the same category. Specifically: Text channels provide quick access to text messages for electronic devices, allowing them to send text messages, which may include image messages, text messages, etc. Voice channels provide quick access to voice messages for electronic devices, enabling them to send voice messages and make voice calls. Live channels provide quick access to live broadcasts for electronic devices, allowing them to watch live streams and related content. Video channels provide quick access to video messages for electronic devices, enabling them to watch videos and upload / download videos. Link channels provide quick access to links for electronic devices, allowing them to search for related links and access their content.
[0054] For example, the user interface can be like... Figure 3a The user interface 31 shown may include a first server icon 310 and a second server icon 311. It is understood that the user interface 31 may include more than... Figure 3a The user can add more or fewer server icons as shown in the user interface 31, and can also add new servers to the user interface 31 through the add icon 312 displayed in the user interface 31. This application embodiment does not limit this.
[0055] The first server icon 310 is used for electronic devices to access channels included in the server. The second server icon 311 is also used for electronic devices to access channels included in the server.
[0056] The user interface 31 can also display channels from the currently selected server. For example, if the user selects the first server, the user interface 31 can display some or all of the icons for that first server. The electronic device can manage one or more channels by grouping them together.
[0057] For example, the user interface 31 displays a group 313 consisting of multiple channels, named "One". This group 313 may include a text channel icon 313B, a link channel icon 313C, an audio channel icon 313D, a video channel icon 313E, and a live channel icon 313F. It may also include a channel display management icon 313A and a channel add icon 313G.
[0058] Among them, the text channel icon 313B, link channel icon 313C, voice channel icon 313D, video channel icon 313E, and live channel icon 313F are used by electronic devices to quickly access text messages, link messages, voice messages, video messages, and live messages; the channel display management icon 313A is used by electronic devices to manage the display and hiding of the above channels; electronic devices can add new channels to the user interface 31 through the channel addition icon 313G.
[0059] The user interface can also provide users with a lookup control that triggers the electronic device to display the replied message and its corresponding reply message.
[0060] As shown in user interface 31, the lookup control can be a contact icon 314. In response to a user's action on the contact icon (such as a click), the electronic device can display... Figure 3b The user interface 32 shown.
[0061] In some embodiments, the user interface 32 may display the replied message and its corresponding optimal reply message. Each replied message and its corresponding optimal reply message may be displayed in a replied message menu item.
[0062] The user interface 32 may include a reply message menu item 320 and a reply message menu item 321. The reply message menu item 320 can be used to display the first message and its corresponding optimal reply message, and the reply message menu item 321 can be used to display the second message and its corresponding optimal reply message.
[0063] In other embodiments, the user interface 32 may also display message menu items between the user and other contacts. For example, message menu item 322 may display the best chat message between the user and a particular contact, which is the chat message with the latest timestamp among the user's chat messages with that contact. The timestamp refers to the time when the electronic device acquired the chat message.
[0064] In response to a user's action (e.g., a click) on a message menu item 320 in the user interface 32, the electronic device can display, for example... Figure 3c The user interface 33 shown can display all reply messages corresponding to the first message.
[0065] At this point, if the user wants to continue viewing all the replies to other replied messages, the user can exit user interface 33 using the electronic device and return to the previously displayed user interface 32, then select the other replied messages they wish to view. For example, in response to the user's action on the return control 330 (e.g., a click), the electronic device can exit user interface 33 and display user interface 32.
[0066] In response to a user's action (e.g., a click) on the reply message menu item 321 in the user interface 33, the electronic device can display, as follows: Figure 3d The user interface 34 shown can display all reply messages corresponding to the second message.
[0067] In the message display method provided in this application embodiment, the electronic device may display a list of all replies to a particular replied message, including replies from the user to themselves. These replies can be sent via a quick reply function. This quick reply function means that the electronic device can reply to a message in response to a user's click action (rather than a long press in existing reply functions). The message can be a message sent or received by the electronic device.
[0068] For example, a reply message 340 to the second message displayed in user interface 34 is a response from the electronic device to the second message. The process by which the electronic device responds to the second message using the quick message reply function can be found in [reference needed]. Figures 4a-4e .
[0069] Figures 4a-4e An exemplary set of user interfaces for replying to messages using the quick message reply function of an electronic device is shown.
[0070] like Figure 4aAs shown, this is a user interface 41 for an electronic device to send messages through a chat group. In this user interface 41, the user uses the electronic device to send message 410 in the chat group. Message 410 is the second message mentioned above.
[0071] In response to a user's click on message 410, the electronic device can display, as follows: Figure 4b The user interface 42 shown is shown. This user interface 42 can display a reply TA control 420, which can be used by the electronic device to quickly reply to message 410.
[0072] In response to a user's action on the reply TA control 420 (e.g., a click), the electronic device can reply to the message 410. The electronic device can display, for example... Figure 4c The user interface shown is 43.
[0073] The user interface 43 can display user information 430, which can be displayed in a message editing box 431. The user information 430 is the user information of the user associated with the electronic device that sent the message 410; in some embodiments, the electronic device can delete the user information 430, for example, in response to the user's operation on the delete control 432 (e.g., a click operation), the electronic device can delete the user information 430.
[0074] A user interface involved in the electronic device's response to message 410 may display, for example... Figure 4d User interface 44.
[0075] The user interface 44 can display a reply message 440 that the user is editing. In response to the user's click on the send control 441, the electronic device can send the reply message 440 to other electronic devices. Simultaneously, the electronic device can display, for example... Figure 4e User interface 45.
[0076] It should be understood that, in addition to clicks, there can also be other touch operations with relatively short durations, such as double clicks. The touch duration refers to the time it takes for the user to touch the screen.
[0077] The user interface 45 can display a reply message 440, which is the same as the reply message 340 included in the aforementioned user interface 34.
[0078] It is understandable that a reply message sent by an electronic device to a specific message can include not only the reply message generated when the electronic device itself replies, but also reply messages generated when other electronic devices reply to the same message. It should also be understood that other users can use the aforementioned quick message reply function when replying to a message using other electronic devices.
[0079] The message display method involved in the embodiments of this application will be specifically described below with reference to the description of the exemplary user interface above:
[0080] The electronic device can locate the reply message from all sent messages and then display that reply message and its corresponding optimal reply message in a first user interface. Each reply message and its corresponding optimal reply message are displayed in a "Reply Messages" menu item. In response to a user's action of viewing all reply messages corresponding to a particular reply message in that menu item, the electronic device can display all reply messages corresponding to that reply message in a second user interface.
[0081] Figure 5 An exemplary flowchart of an electronic device displaying messages is shown.
[0082] like Figure 5 As shown, the method may include steps S101-S102:
[0083] S101. The electronic device detects the user's operation on the browsing control and searches for the first message to be replied to from all the messages sent;
[0084] The first message to be replied to is any one of the messages sent that is replied to.
[0085] A replied message refers to a message sent by an electronic device to another electronic device that is replied to by that other electronic device. This replied message can originate from any of the channels described above, and at least one replied message can be included in all the messages sent by the electronic device.
[0086] In some embodiments, the first response message may be as described above. Figure 3b The content displayed in the replied message menu item 320 and replied message menu item 321.
[0087] This lookup control is used to trigger the electronic device to retrieve the first replied message and its corresponding reply message. Specifically, when the electronic device detects a user action on the lookup control (such as a click), the electronic device can search for the first replied message from all the messages sent.
[0088] The lookup control can be the contact icon 314 mentioned above.
[0089] S102. The electronic device obtains the reply message to the first replied message;
[0090] For example, the first message to be replied to could be the aforementioned Figure 3b The first replied message displayed in the replied message menu item 320 shown can be a reply message for... Figure 3d The user interface 34 shown displays N reply messages, such as reply message 340. The replied message can be one of the aforementioned... Figure 3b The first replied message is displayed in the first replied message menu item 321 shown.
[0091] A response message to a first responded message can include a direct response message and an indirect response message. A direct response message is a reply to the first responded message. An indirect response message is a reply message from an electronic device to the direct response message.
[0092] The electronic device can obtain all reply messages corresponding to the first replied message.
[0093] Among them, at least one reply message to a certain first replied message can be replied by an electronic device through the message quick reply function.
[0094] Figure 6 An exemplary flowchart of a quick message reply function on an electronic device is shown.
[0095] like Figure 6 As shown, the process of a fast message reply by an electronic device may include steps S201-S205. This process can be referred to the aforementioned... Figures 4a-4e The description of user interface 41-45 is provided.
[0096] S201. In response to a user's click on a message, the electronic device determines whether the message is one that can be quickly replied to;
[0097] An electronic device can only use the quick reply function to quickly reply to a message if the message is a quick replyable message. Whether a message is a quick replyable message can be preset. In some embodiments, the electronic device can be set to allow quick reply to text messages, etc.; image messages, voice messages, and messages that have already been replied to are not quick replyable messages. In other embodiments, other messages can also be set to allow quick reply, which is not limited in this application.
[0098] In response to a user's action on a message (such as a click), an electronic device can determine whether the message is one that can be quickly replied to.
[0099] When the message is a message that can be quickly replied to, the electronic device can execute steps S202-S206.
[0100] When the message is not a message that can be replied to quickly, the electronic device can execute step S207.
[0101] For example, the aforementioned Figure 4a The message 410 shown in the user interface 41 is a message that can be quickly replied to.
[0102] S202. Electronic device display reply message control;
[0103] This message reply control is used by electronic devices to quickly reply to a message.
[0104] For example, Figure 4b The reply TA control 420 shown in the user interface 42 can serve as a reply message control.
[0105] In some embodiments, step S202 is optional, and the user can skip step S202 and directly execute step S203.
[0106] S203. The electronic device obtains the user information of the user associated with the electronic device that sent the message;
[0107] The user associated with an electronic device refers to the user's identity document (ID) used when sending messages through the electronic device within the instant messaging application. This user information is used to indicate which user the reply message is addressed to. This user information can be the user's nickname, the name of the chat group, or other user information; this application does not limit this.
[0108] In response to a user's action on the reply message control (such as a click), the electronic device can obtain user information of the user associated with the electronic device that sent the message.
[0109] For example, Figure 4c The user information 430 in the user interface 43 shown can be used as a type of user information in the embodiments of this application.
[0110] S204. In response to a user’s first operation on a reply message control, the electronic device displays a message editing box, which can display the user’s information;
[0111] A message edit box is a control used to display the message being edited. For example, Figure 4c The message editing box 431 is shown in the user interface 43.
[0112] The electronic device can display the user information in the message editing box. In some embodiments, the user information displayed in the message editing box can be deleted. This process can be referred to the foregoing description of the user interface 43, and will not be repeated here.
[0113] In some embodiments, steps S203 and S204 are optional, and the electronic device may omit steps S203 and S204. Instead, the message editing box is displayed directly, and then step S205 is executed.
[0114] S205. The electronic device edits the reply message for this message in the message editing box.
[0115] In response to a user's edit of the message's reply, the electronic device can display the reply message in the message editing box. This process can be referenced as described above. Figure 4c The description of the user interface 43 is as follows.
[0116] S206. The electronic device sends the reply message to other electronic devices.
[0117] In response to the user's action of sending the reply message, the electronic device can forward the reply message to other electronic devices. This process can be referred to the preceding section. Figure 4d The description of the user interface 44 in the text.
[0118] S207. The electronic device performs other operations.
[0119] For messages that cannot be responded to quickly, the electronic device can perform other actions in response to the user's action on the message (such as a click), and these actions cannot be quick replies. For example, when the electronic device responds to a user's action on a voice message (such as a click), the electronic device can play the voice message.
[0120] S103. In response to the operation, the electronic device displays the first replied message and the optimal reply message corresponding to the first replied message in a first user interface;
[0121] For example, the first user interface could be as follows: Figure 3b The user interface 32 shown is included. The first replied message menu and the optimal reply message corresponding to the first replied message can be displayed as follows: Figure 3b The content displayed in the replied message menu item 320 and replied message menu item 321 shown. The first user interface can also be as follows: Figure 2a The user interface 21 shown.
[0122] The electronic device determines the optimal reply message corresponding to the first replied message in the reply messages. This optimal reply message is the reply message with the latest timestamp among all the reply messages corresponding to that message. This timestamp refers to the time when the electronic device obtained the reply message.
[0123] In some embodiments, the first user interface is used to display all first replied messages sent by the electronic device and the optimal reply message. Each first replied message and each optimal reply message are displayed in a first replied message menu item.
[0124] In other embodiments, the first user interface may further include a message menu item. This message menu item is used to display the user's best chat messages with other contacts. The best chat message refers to the chat message with the user and that contact whose timestamp is latest. The timestamp refers to the time the electronic device acquired the chat message.
[0125] For example, the message menu item could be like this Figure 3b The message menu item 322 is shown.
[0126] S104. In response to the user's operation in the first replied message menu item, the electronic device displays all reply messages corresponding to the first replied message in the second user interface.
[0127] For example, the second user interface can be as described above. Figure 3c The user interface 33 shown displays all the reply messages for the first replied message in the replied message menu item 320.
[0128] The second user interface is used to display all reply messages corresponding to a first replied message. In response to a user's operation (e.g., a click) on a menu item of a first replied message, the electronic device can display all reply messages corresponding to that first replied message in the second user interface.
[0129] This process can be referred to the foregoing description of user interface 32 and user interface 33. Refer also to the foregoing description of user interface 32 and user interface 34. Both user interface 33 and user interface 34 can serve as the second user interface involved in the embodiments of this application.
[0130] In summary, by utilizing the message display method provided in this application, electronic devices can centrally display the replied messages among the messages sent by the electronic device, making it convenient for users to view the replied messages and all corresponding reply messages. This process is simple for users, eliminating the need for frequent switching of user interfaces. Users do not need to search for reply messages in various channels; they can view all replied messages from a single user interface, saving them time.
[0131] The following describes an exemplary electronic device provided in the embodiments of this application.
[0132] Figure 7 This is a schematic diagram of the hardware structure of an exemplary electronic device in an embodiment of the present invention.
[0133] It should be understood that electronic devices may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0134] Input device 1001, output device 1002, processor 1003, and memory 1004 (wherein the number of processors 1003 in the electronic device may be one or more). Figure 7 (Taking a processor 1003 as an example). In some embodiments of this application, the input device 1001, output device 1002, processor 1003, and memory 1004 can be connected via a bus or other means, wherein... Figure 7 Taking the example of a connection between China and Israel via a bus.
[0135] The processor 1003 invokes the operation instructions stored in the memory 1004 to cause the electronic device to execute the message display method in this embodiment.
[0136] The memory 1004 can also be used to provide stored data, such as data required for message display, such as the replied message and all its corresponding reply messages.
[0137] The input device 1001 can be a device for inputting data and information into an electronic device.
[0138] The output device 1002 can be a device that outputs data and information to an electronic device. For example, a display screen can be used to display the user interface involved in the message display method.
[0139] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0140] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0141] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0142] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A message display method, characterized in that, Electronic devices used for communication applications, including: The electronic device starts the communication application; The electronic device detects an operation on the browsing control and searches for a reply message from all the messages sent, the reply message including a first reply message; Obtain all reply messages to the first replied message, and the optimal reply message corresponding to the first replied message; wherein, the reply messages to the first replied message may include direct reply messages and indirect reply messages, the direct reply message refers to the reply message that replies to the first replied message, and the indirect reply message refers to the reply message that the electronic device replies to the direct reply message; The electronic device displays a first user interface, which includes a first replied message menu item. The electronic device displays the first replied message and the optimal reply message corresponding to the first replied message in the first replied message menu item; the optimal reply message corresponding to the first replied message is the message with the latest timestamp among all the reply messages of the first replied message; the timestamp refers to the time when the electronic device obtains the reply message; wherein, the first replied message is a message sent by the electronic device in different channels; each channel is used to access messages of a certain category; In response to an operation on the first replied message menu item, the electronic device displays the first replied message and all the reply messages corresponding to the first replied message in a second user interface, the second user interface being the next level user interface of the first user interface.
2. The method according to claim 1, characterized in that, The method further includes: The first user interface also includes the optimal chat message between the user and the contact; the optimal chat message is the chat message with the latest timestamp among the chat messages between the user and the contact; the timestamp refers to the time when the electronic device acquires the chat message.
3. The method according to claim 1, characterized in that, Before the electronic device displays the first user interface, the method further includes: The electronic device displays a third user interface, which includes one or more servers and channels of the server currently selected by the user; the servers are organized based on one or more channels.
4. The method according to claim 3, characterized in that, The method further includes: The electronic device displays the lookup controls in the third user interface.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: The electronic device determines that the message it sends or receives is a message that can be quickly replied to; In response to a user's click on the quick-response message, the electronic device displays a reply message control; In response to the user's operation on the reply message control, the electronic device quickly replies to the quick-reply message.
6. The method according to claim 5, characterized in that, The electronic device determines that the message sent or received is a message that can be quickly replied to, specifically including: The electronic device is configured to send text messages that can be quickly replied to. The electronic device is configured to not allow quick replies to image messages, voice messages, and messages that have already been replied to. When the electronic device determines that the message being sent or received is a text message, then the electronic device determines that the message being sent or received is a message that can be quickly replied to. When the electronic device determines that the message sent or received is one of the following: image message, voice message, or message that has already been replied to, then the electronic device determines that the message sent or received is not a message that can be quickly replied to.
7. An electronic device, characterized in that, The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1-6.
8. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Instant messaging method and device
CN107222632A