CN111835623A - Unread message display method and device and electronic equipment - Google Patents

Unread message display method and device and electronic equipment Download PDF

Info

Publication number
CN111835623A
CN111835623A CN202010718964.5A CN202010718964A CN111835623A CN 111835623 A CN111835623 A CN 111835623A CN 202010718964 A CN202010718964 A CN 202010718964A CN 111835623 A CN111835623 A CN 111835623A
Authority
CN
China
Prior art keywords
message
unread
chat
messages
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010718964.5A
Other languages
Chinese (zh)
Other versions
CN111835623B (en
Inventor
宋文珺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010718964.5A priority Critical patent/CN111835623B/en
Publication of CN111835623A publication Critical patent/CN111835623A/en
Application granted granted Critical
Publication of CN111835623B publication Critical patent/CN111835623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method and a device for displaying unread messages and electronic equipment, wherein a chat interface is displayed through the electronic equipment, the chat interface comprises a chat control corresponding to a chat object, when a first operation aiming at the chat control is responded, a message window of the chat object is displayed on the chat interface, and a message transmission control for indicating the existence of the unread messages is provided; displaying a message starting from a breakpoint message of the chat object in the message window in response to a second operation directed to the messaging control; and responding to the message reading operation aiming at the message window, switching the messages in the message window, and updating the breakpoint message of the chat object according to the read messages. The invention can quickly trace back the position of the first unread message when the message window is closed last time by using the message transmission control and the breakpoint message, thereby greatly reducing the complicated operation of the user and improving the reading efficiency.

Description

Unread message display method and device and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for displaying an unread message, and an electronic device.
Background
Along with the development of terminal technology, the popularization rate of intelligent terminals such as smart phones and tablet computers is higher and higher, and people have higher and higher requirements on the intelligent terminals, so that the processing speed is higher, and the operation is more and more convenient. In order to facilitate communication between users, a chat tool (also called a chat application or a chat app, or a chat plug-in, etc.) can be installed on the intelligent terminal, and the chat tool can transmit not only text information but also information such as voice, video, or files.
Usually, because the user does not read the information on the chat tool in real time, a large amount of unread messages are often generated in the chat tool, and the user opens the chat interface to directly view the unread messages. When the user quits the chat interface in the process of viewing unread messages, the residual unread messages directly become read messages, so that when the user opens the chat interface again, the corresponding messages in the last quitting can be manually turned over only by means of memory, and the searching efficiency is low.
Disclosure of Invention
The application aims to provide a method and a device for displaying unread messages and electronic equipment, so as to improve the viewing efficiency of the unread messages.
The embodiment of the application provides a method for displaying unread messages, wherein a chat interface is displayed through electronic equipment, the chat interface comprises a chat control corresponding to a chat object, and the method for displaying the unread messages comprises the following steps: responding to a first operation aiming at the chat control, displaying a message window of the chat object on the chat interface, and providing a message transmission control indicating that an unread message exists; displaying a message starting from a breakpoint message of the chat object in the message window in response to a second operation directed to the messaging control; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages; responding to message reading operation aiming at the message window, and switching messages in the message window; wherein, the message displayed by the message window is a read message; and updating the breakpoint message of the chat object according to the read message.
The message reading operation comprises reading operation and page turning reading operation one by one; wherein the stripe-wise read operation comprises at least one of: a sliding operation in a first designated direction on the screen of the electronic equipment; the mouse roller of the electronic equipment is operated in a rolling mode in a second designated direction; selecting a message downlink control in the message window; the page-turning reading operation comprises at least one of the following: a sliding operation in a third designated direction on the screen of the electronic equipment; selecting a page turning control in the message window; and clicking the appointed mouse button of the electronic equipment.
The step of switching the message in the message window includes: if the message reading operation is one-by-one reading operation, reading first target unread messages from the unread message set according to the receiving time sequence of the unread messages, and switching the read messages in the message window by applying the read target unread messages according to the first-in first-out principle; and if the message reading operation is a page turning reading operation, reading second target unread messages from the unread message set according to the receiving time sequence of the unread messages, and replacing the read messages in the message window with the read second target unread messages as new message pages.
The step of updating the breakpoint message of the chat object according to the read message includes at least one of the following steps: in the process of opening the message window, updating the breakpoint message of the chat object in real time according to the read message displayed in the message window; responding to closing operation aiming at the message window, and updating breakpoint messages of the chat object according to read messages displayed in the message window during the closing operation; and responding to closing operation aiming at the message window, and updating the breakpoint message by applying the unread message with the earliest receiving time in the unread message set when the closing operation is applied.
The step of updating the breakpoint message of the chat object according to the read message displayed in the message window during the closing operation includes: searching the last message in the message window during the closing operation; and searching the next message of the last message on a message time axis, and updating the breakpoint message by applying the next message.
The method further comprises the following steps: and if the chat object does not have unread messages currently during the closing operation, setting the breakpoint message to be null.
After the step of responding to the closing operation for the message window, the method further includes: responding to a third operation aiming at the chat control, displaying the message window on the chat interface, and providing a message transmission control corresponding to the updated breakpoint message; displaying, in the message window, a message starting from the updated breakpoint message in response to a fourth operation for the messaging control.
The method further comprises the following steps: removing the read messages displayed via the message window from the set of unread messages.
Following the step of responding to the second operation directed to the messaging control, the method further comprises: hiding the messaging control.
After the step of responding to the first operation on the chat control, the method further includes: monitoring whether a second operation aiming at the message transmission control is received within a specified time length; if not, hiding the message transmission control and setting the message in the unread message set of the chat object as the read message.
The step of displaying a message window of the chat object on the chat interface in response to the first operation directed to the chat control and providing a messaging control indicating the presence of an unread message includes: checking whether the chat object has an unread message in response to a first operation directed to the chat control; and if so, displaying a message window of the chat object on the chat interface and providing a message transmission control for indicating that the unread message exists.
The electronic equipment is touch equipment; the second operation includes one of: a point touch operation, a double click operation, a long press operation, or a drag operation in a set direction.
The chat object is a single chat object or a group chat object.
In a second aspect, an embodiment of the present application further provides an apparatus for displaying unread messages, where a chat interface is displayed through an electronic device, the chat interface includes a chat control corresponding to a chat object, and the apparatus for displaying unread messages includes: a first response module, configured to, in response to a first operation on the chat control, display a message window of the chat object on the chat interface, and provide a messaging control indicating that an unread message exists; a second response module, configured to respond to a second operation directed to the messaging control, and display, in the message window, a message starting from the breakpoint message of the chat object; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages; a third response module, configured to switch messages in the message window in response to a message read operation for the message window; wherein, the message displayed by the message window is a read message; and the breakpoint updating module is used for updating the breakpoint message of the chat object according to the read message.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method for presenting the unread message.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the method for presenting the unread message.
The embodiment of the application provides a method and a device for displaying unread messages and electronic equipment, wherein a chat interface is displayed through the electronic equipment, a message window of a chat object is displayed on the chat interface, and an icon indicating a message transmission control with the unread messages is provided, so that a user can display a message with a breakpoint message of the chat object as a starting point on the message window by simply operating the icon of the message transmission control, and the breakpoint message is a first message in a set of unread messages when the message window is closed last time. Meanwhile, in the process of displaying the messages through the message window, only the messages displayed through the message window are changed into read messages, so that all the messages which are not displayed through the message window still belong to the unread messages and are still kept in the unread message set, and all the messages in the unread message set are not regarded as the read messages due to the fact that the message transmission control is operated once. The operation mode can facilitate the user to search the unread messages, even close the message window in the process of reading the unread messages, can also ensure that the messages displayed by the unread message window are still in the unread message set and are continuously stored as the unread messages, the embodiment of the invention takes the first message in the unread message set as the breakpoint message, further provides a favorable means for fast backtracking to the unread message, when the message window of the chat object is opened again, through the second operation of the message transmission control, the position of the breakpoint message can be quickly switched to, the subsequent unread messages can be directly checked from the breakpoint message, the mode does not need the user to memorize the historical message reading information of each chat object, the method can check the unread messages left last time, greatly reduces the complicated operation of the user, and improves the checking efficiency of the unread messages.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a chat interface provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for displaying an unread message according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a message window according to an embodiment of the present application;
fig. 4 is a flowchart of another unread message presentation method according to an embodiment of the present application;
fig. 5 is a flowchart of another unread message presentation method according to an embodiment of the present application;
fig. 6 is a flowchart of another unread message presentation method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for displaying an unread message according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another unread message display apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to improve the viewing efficiency of an unread message, embodiments of the present application provide a method and an apparatus for displaying an unread message, and an electronic device, where the electronic device may be a device installed with a chat application or a chat plug-in, such as an intelligent terminal, a portable terminal, or a wearable device, and in the embodiments of the present application, a breakpoint message may be set to quickly return to a first message of a last unread message, so that the operation is simple and efficient. The following is described by way of example.
Example 1
The embodiment provides a method for displaying unread messages, wherein a chat interface is displayed through electronic equipment, and the chat interface comprises a chat control corresponding to a chat object.
The electronic device may be a touch device, for example, a smart phone with a touch screen, and a user may implement a corresponding function in a corresponding touch manner on the touch screen. Of course, for a non-touch device, the method and apparatus provided in the embodiments of the present invention are still used, and for a non-touch device, the related operations may be completed through a mouse or a keyboard.
In this embodiment, the electronic device is installed with a chat application having a communication function or another application having a chat function, when a user enters the chat interface, the electronic device displays the chat interface, and for convenience of understanding, fig. 1 shows a schematic diagram of a chat interface, as shown in fig. 1, a chat control 10 corresponding to a chat object may be displayed on the chat interface, 3 different chat objects are shown in fig. 1, a chat control 10 is set at a position where each chat object is located, so that the user enters a message window through a touch operation on the chat control 10 to realize information interaction with the chat object, and the chat object may be a single chat object or a group chat object.
In addition to the chat interface shown in fig. 1, in some applications such as games, live broadcast or shopping platforms, a chat function is also provided, and in this scenario, the chat interface may further include a game display interface or a video content display interface, in addition to the chat control 10 corresponding to the chat object. Or, the chat interface is displayed in parallel with other interfaces. The chat interface in the embodiment of the present invention is not limited to the interface in the chat application, and may also include a program or other interface in the application with a chat interaction function.
Referring to a flowchart of a method for displaying unread messages shown in fig. 2, the method is applied to the electronic device, a graphical user interface of the electronic device includes a chat control corresponding to a chat object, and the method specifically includes the following steps:
step S202, responding to the first operation aiming at the chat control, displaying a message window of the chat object on the chat interface, and providing a message transmission control indicating that unread messages exist;
when any one of the chat controls 10 in fig. 1 is touch-operated by a first operation (e.g., a touch operation), the electronic device displays a message window corresponding to the chat control.
Referring to fig. 3, a message window is shown, wherein the message window is used to display chat messages between a user and a chat object, and if there are unread messages in the chat object, a messaging control indicating that there are unread messages may be displayed on the message window. Of course, if the chat object does not have an unread message, no messaging control is displayed on the message window.
Fig. 3 illustrates the existence of an unread message as an example, the area where the dashed line box is located is the above message window, the upper side of the message window is the chat object identification bar, for example, "zhang san" in fig. 3 is the chat object, and the area where zhang san "is located is the chat object identification bar. The lower side of the message window is a message display area, the message window can receive touch operation of a user, such as dragging operation or point touch operation, and message browsing is achieved based on the touch operation.
The message transmission control may be displayed at a designated position of the message window, and the message transmission control may be a rectangular frame, in which the number of the current unread messages is identified. The message transmission control can also be an arrow icon or a line icon or the like, or a combination of the arrow icon and a text icon, and the message transmission control can be set according to the preference of the user or provide a plurality of icon styles for the user to select in specific implementation.
In fig. 3, the message transmission control is illustrated as being located on the right side, and the location of the message transmission control may also be flexibly set, and is not limited to the location shown in fig. 3.
Step S204, responding to the second operation aiming at the message transmission control, and displaying a message taking the breakpoint message of the chat object as a starting point on a message window; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
typically, the second operation comprises one of the following operations acting on the messaging control: the present invention is not limited to the above-mentioned operation modes, and may be flexibly adjusted according to a specific application scenario, and is not limited herein.
The message transmission control is used for reading the unread messages, the unread messages are stored in the unread message set in advance, the message transmission control is associated with the breakpoint messages in order to facilitate orderly reading of the unread messages, and when a user performs a second operation on the message transmission control, the current message window can be quickly traced back to the message position with the breakpoint messages as the starting point, so that the user can conveniently look up the unread messages.
For example, when a message window of a group chat object displays a message transmission control, it is assumed that 300 unread messages are identified on the message transmission control, when a user touches the message transmission control, the current window traces back to the position of the first message of the 300 unread messages, and the user can look up the unread messages through the sliding operation of the message window. The messages displayed via the message window are read messages, which are to be removed from the set of unread messages, which can be placed in the set of read messages or the queue of read messages.
When the user consults that the 150 th unread message closes the chat interface (i.e. exits the chat interface with the group), the first message in the set of unread messages when the chat interface is closed, i.e. the 151 th message, is taken as the breakpoint message.
When the user enters the chat interface of the group again, a message transmission control is displayed, and when the user touches the message transmission control, the message window can be directly traced back to the breakpoint message, namely the position of the 151 th unread message.
As a practical implementation manner, a word "history message above" is displayed on the upper part of the message window, for example, on the 151 th message, and is used for prompting the user.
Of course, if the chat group has new messages on the basis of the remaining 150 messages, the set of unread messages includes subsequent new messages in addition to the remaining 150 unread messages. The number of unread message pieces identified on the messaging control will also change accordingly.
Step S206, responding to the message reading operation aiming at the message window, and switching the message in the message window; wherein, the message displayed through the message window is a read message.
The message reading operation comprises reading operation and page turning reading operation one by one;
wherein the reading operation comprises at least one of the following operations: sliding operation in a first designated direction on the screen of the electronic equipment; the rolling operation of the mouse wheel of the electronic equipment in a second designated direction; selecting a message downlink control in the message window;
the page-turning reading operation includes at least one of: a sliding operation in a third designated direction on the screen of the electronic equipment; selecting a page turning control in the message window; the clicking operation of a designated mouse button (e.g., left mouse button) of the electronic device described above.
The first designated direction may be a direction from bottom to top, and when the electronic device screen (the screen region corresponding to the message window) is operated to slide from bottom to top, the messages in the message window may be switched according to the strength and/or the track length of the sliding operation. The second designated direction may be a rolling operation of the wheel in the palm direction by the finger. The third direction may be a sliding operation from right to left on an electronic screen (a screen region corresponding to the message window).
The step of switching messages in the message window includes: (1) if the message reading operation is one-by-one reading operation, reading the first target unread message from the unread message set according to the receiving time sequence of the unread message, and switching the read message in the message window by applying the read target unread message according to the first-in first-out principle; (2) and if the message reading operation is a page turning reading operation, reading the second target unread message from the unread message set according to the receiving time sequence of the unread message, and taking the read second target unread message as a new message page to replace the read message in the message window.
The message in the switching message window can be the whole message switching, and can also be switched according to the number of parts of the message content.
The message reading operation is a sliding operation or a dragging operation, and is not limited herein. When a user traces back to a message window where an unread message is located when a chat interface is closed last time through a touch message transmission control, the user can perform message reading operation on the message window to switch the message in the message window, so as to realize message browsing, wherein a message displayed through the message window is marked as a read message, for example, a message mark corresponding to the unread message is 0, and a message mark corresponding to the read message is 1, during the message reading operation, the unread message passing through the message window is changed from the message mark 0 to the message mark 1, wherein the message mark can be set according to actual needs, and is not limited herein.
Or, the unread messages are placed in an unread message queue or an unread message pool, and when the unread messages are displayed in the message window, the unread messages are transferred from the unread message queue to the read message queue, or the unread messages are transferred from the unread message pool to the read message pool.
Step S208, updating the breakpoint message of the chat object according to the read message.
In this embodiment, the updating of the breakpoint message may specifically include at least one of the following:
(1) in the process of opening the message window (namely, the message window is in an open state), updating the breakpoint message of the chat object in real time according to the read message displayed in the message window; for example: the breakpoint message is updated once per switching of messages in the message window. Or, the breakpoint message is updated once every preset time length.
(2) Responding to the closing operation aiming at the message window, and updating the breakpoint message of the chat object according to the read message displayed in the message window during the closing operation;
(3) and responding to the closing operation aiming at the message window, and updating the breakpoint message by applying the unread message with the earliest receiving time in the unread message set during the closing operation.
Generally, each message has a corresponding receiving time, and in the process of updating the breakpoint message, the message with the earliest receiving time in the remaining unread messages can be updated to the breakpoint message, for example, there are 300 messages in the set of unread messages, and when a message window closing operation is performed when browsing to the 150 th message, the receiving time of the 151 th unread message is earlier than that of the remaining unread messages, so the 151 th unread message is updated to the breakpoint message.
The embodiment of the application provides a method for displaying unread messages, which comprises the steps of displaying a chat interface through electronic equipment, displaying a message window of a chat object on the chat interface, and providing an icon of a message transmission control indicating that the unread messages exist, so that a user can display a message with a breakpoint message of the chat object as a starting point on the message window by simply operating the icon of the message transmission control, wherein the breakpoint message is a first message in a set of unread messages when the message window is closed last time. Meanwhile, in the process of displaying the messages through the message window, only the messages displayed through the message window are changed into read messages, so that all the messages which are not displayed through the message window still belong to the unread messages and are still kept in the unread message set, and all the messages in the unread message set are not regarded as the read messages due to the fact that the message transmission control is operated once. The operation mode can facilitate the user to search the unread messages, even close the message window in the process of reading the unread messages, can also ensure that the messages displayed by the unread message window are still in the unread message set and are continuously stored as the unread messages, the embodiment of the invention takes the first message in the unread message set as the breakpoint message, further provides a favorable means for fast backtracking to the unread message, when the message window of the chat object is opened again, through the second operation of the message transmission control, the position of the breakpoint message can be quickly switched to, the subsequent unread messages can be directly checked from the breakpoint message, the mode does not need the user to memorize the historical message reading information of each chat object, the method can check the unread messages left last time, greatly reduces the complicated operation of the user, and improves the checking efficiency of the unread messages.
Example 2
The embodiment provides another unread message display method, which is implemented on the basis of the embodiment; this embodiment focuses on a specific implementation of the chat interface that displays the chat object in response to the first operation directed to the chat control. As shown in fig. 4, another flow chart of a method for displaying an unread message, in this embodiment, the method for displaying an unread message includes the following steps:
step S402, responding to the first operation aiming at the chat control, and checking whether the chat object has unread messages; if yes, go to step S404; if not, step S414 is performed.
The chat object is the chat object corresponding to the chat control, whether the chat object has unread messages or not can be checked, if the unread message set is empty, the chat object does not have unread messages, and if the unread message set is not empty, the chat object has unread messages.
Step S404, displaying the message window of the chat object on the chat interface, and providing a message transmission control for indicating the existence of unread messages;
when the chat object is touched by the first operation, when the chat object is detected to have unread messages, the message transmission control is displayed on a current message window entered by a user, and if the chat object is detected to have no unread messages, the message transmission control does not need to be displayed.
Step S406, responding to the second operation aiming at the message transmission control, and displaying a message taking the breakpoint message of the chat object as a starting point on a message window; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
here, closing the message window may be implemented by clicking a closing control of the message window, or may be implemented by closing the chat interface through a main control key of the electronic device. When the electronic equipment monitors that the message window is closed or the chat interface is closed, the message window is considered to be closed.
Step S408, responding to the message reading operation aiming at the message window, and switching the message in the message window;
when the position of the first message in the unread message set is traced back through the message transmission control when the message window is closed last time, the user can switch the messages in the message window through message reading operation to browse and look up.
Step S410, the message displayed by the message window is removed from the unread message set, and the message displayed by the message window is marked as a read message;
in the process of performing message review, the messages displayed through the message window can be removed from the unread message set, and it is understood that the first 150 unread messages that have been reviewed are removed from the unread message set in the 300 unread message sets stored above, the remaining 150 unread messages that have not been reviewed are stored in the unread message set, and the previous 150 messages that have been reviewed are marked with read messages, specifically, the message mark of each message that has been reviewed is changed from 0 to 1, which indicates that the unread message has been reviewed by the user and does not need to be reviewed again.
Step S412, responding to the closing operation aiming at the message window, and updating the breakpoint message of the chat object according to the read message displayed in the message window during the closing operation;
in this embodiment, the example that the user quits the chat, that is, closes the message window is taken as an example to explain, when the message window is closed, the breakpoint message of the chat object may be updated to generate a new breakpoint message, where the new breakpoint message is the first message in the unread message set corresponding to the chat interface when the message window is currently closed.
Specifically, the step of updating the breakpoint message of the chat object according to the read message displayed in the message window when the operation is closed may be performed through step B1-step B2:
step B1, searching the last message in the message window when closing operation;
step B2, searching the next message of the last message on the message time axis, and updating the breakpoint message by using the next message;
the message timeline is a message time recording axis, and the message timeline can record the receiving time of each message in the chat object, and for understanding, a message timeline is shown in table 1;
TABLE 1
Message content Receiving time
First message 2020/5/30 11:10:15
Second message 2020/5/30 11:11:00
Third message 2020/5/30 14:10:05
As can be seen from table 1, each message has a corresponding receiving time, and the message time axis is formed by sorting the messages according to the receiving times, so that any one message in the message window can be searched through the message time axis.
When a user closes a message window, the receiving time corresponding to the next message of the last message can be found on the message time axis through the receiving time of the last message in the message window, the message content of the next message can be obtained based on the receiving time of the next message, and the next message is the first unread message when the user closes the message window, namely, the updated breakpoint message. Based on this, after the step of responding to the closing operation for the message window, the method further includes the following steps (1) and (2):
(1) responding to a third operation aiming at the chat control (namely the chat control corresponding to the chat object), displaying a message window corresponding to the chat object on a chat interface, and providing a message transmission control corresponding to the updated breakpoint message (namely the message transmission control is associated with the updated breakpoint message);
the third operation here may be the same as or different from the first operation described above.
(2) And responding to a fourth operation aiming at the message transmission control, and displaying a message which takes the updated breakpoint message as a starting point in the message window.
The fourth operation here may be the same as or different from the second operation described above.
After the message window displays the message starting from the updated breakpoint message, the user may continue browsing the message, and the related operations and processing procedures are similar to those in the above embodiment and are not described here again.
By updating the breakpoint message, when the user reenters the message window, the user can quickly trace back the position of the updated breakpoint message by performing the operation on the message transmission control, so that the user can conveniently continue to look up the last message, and the user does not need to browse the message again from the current chat interface to the unread chat interface when the user quits last time by means of self memory.
And if the chat object has no unread message when the chat window is closed, the breakpoint message is set to be null. When a message is subsequently received again, and the message window of the chat object is not opened during this period, the breakpoint message is updated based on the received message. Continuing to continue the previous example, after the user browses all the 300 unread messages, all the 300 unread messages are marked as read messages, and at this time, the original stored breakpoint messages need to be emptied. If a new message of the chat object exists after the message window is closed, the new message is an unread message and is marked as a breakpoint message, so that when the message window of the chat object is opened again by a user, the unread message with the breakpoint message as a starting point can be checked based on the message transmission control.
Step S414, displaying the message window of the chat object on the chat interface.
If the chat object does not have unread messages, after the first operation, only a message window without the messaging control can be displayed for the user to send messages or view read messages.
The another method for displaying the unread messages provided by the embodiment of the invention can update the breakpoint messages based on the read messages when the message window is closed when the user closes the message window, so that when the user enters the message window of the chat object again, the updated breakpoint messages and the message transmission control are applied to quickly switch to the positions of the breakpoint messages, so that the user can continue to check the unread messages last time, the checking process of the unread messages is greatly simplified, and the message checking efficiency is improved.
Example 3
The embodiment provides another unread message display method, which is implemented on the basis of the embodiment; this embodiment focuses on a specific implementation after responding to a first operation directed to a chat control. As shown in fig. 5, another flow chart of a method for displaying an unread message in this embodiment includes the following steps:
step S502, responding to the first operation aiming at the chat control, displaying a message window of a chat object (namely the chat object corresponding to the chat control) on a chat interface, and providing a message transmission control for indicating that unread messages exist;
step S504, monitoring whether a second operation aiming at the message transmission control is received within a specified time length; if yes, go to step S508; if not, step S506 is performed.
In response to the first operation directed to the chat control, checking that an unread message exists in the chat object, displaying the message transmission control on the chat interface of the chat object, and if it is not monitored that the user performs a second operation on the message transmission control within a preset specified time (for example, any time between 5 seconds and 10 seconds), which indicates that the user does not care about the unread message any more and possibly sends a message currently, executing step S506; if a second operation directed to the messaging control is received within the specified duration, illustrating the user focusing on a previous unread message, step S508 may be performed.
In practical application, the specified duration is flexibly set by a developer according to experiments or experiences, or is self-set by a user according to preferences and habits, and is not limited herein.
Step S506, hiding the message transmission control, and setting the message in the unread message set of the chat object as a read message;
if the user does not perform the second operation on the message transmission control within the specified time length, it indicates that the user is not interested in the chat message sent by the chat object, the message transmission control is hidden, and all the unread messages in the unread message set are removed, further, all the unread messages are marked as read messages, for example: the message mark of each message in the unread messages is changed from 0 to 1.
Step S508, responding to the second operation aiming at the message transmission control, and displaying a message taking the breakpoint message of the chat object as a starting point on a message window; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
step S510, responding to the message reading operation aiming at the message window, and switching the message in the message window; wherein, the message displayed through the message window is a read message.
According to the method for displaying the unread messages, whether the second operation aiming at the message transmission control is received or not is monitored within the specified time, the message transmission control is hidden or the message with the breakpoint message of the chat object as the starting point is displayed, the message transmission control can be hidden and the message window is optimized when the user does not need to read the unread messages, and when the user needs to read the unread messages, the position where the breakpoint message is located is quickly switched, so that the display efficiency of the unread messages is improved, and the experience of the user is further improved.
Example 4
The embodiment provides another unread message display method, which is implemented on the basis of the embodiment; the present embodiment focuses on a specific implementation following a response to the second operation directed to the messaging control. As shown in fig. 6, another flow chart of a method for displaying an unread message in this embodiment includes the following steps:
step S602, responding to the first operation aiming at the chat control, displaying a message window of a chat object (namely the chat object corresponding to the chat control) on a chat interface, and providing a message transmission control indicating that unread messages exist;
when the chat object corresponding to the chat control is checked to have the unread messages, the message transmission control of the unread messages can be displayed on the chat interface, so that a user can know that the chat object has the unread messages and needs to look up the unread messages.
Step S604, responding to the second operation aiming at the message transmission control, and displaying a message taking the breakpoint message of the chat object as a starting point on a message window; the breakpoint message is a first message in the unread message set when the chat interface is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
when the user needs to look up the unread messages sent in the chat object, the position of the first message in the unread message set when the user closes the chat interface last time can be traced back through the touch message transmission control to browse the messages.
Step S606, hiding the message transmission control;
after the user performs touch operation, i.e., performs the second operation, on the messaging control, the messaging control can be hidden, when the user exits the chat interface or the message window without completely viewing the unread message and then re-enters the message window, the breakpoint message is updated by the first message in the set of unread messages when the message window is closed due to the unread message, when the user re-enters the message window and touches the messaging control, the message window displays the position of the updated breakpoint message, and then the messaging control is hidden again, which is not described herein again.
Step S608, responding to the message reading operation aiming at the message window, and switching the message in the message window; wherein, the message displayed through the message window is a read message.
According to the unread message display method provided by the embodiment of the application, the message window of the chat object can be displayed when the first operation aiming at the chat control is responded; and responding to the second operation aiming at the message transmission control, displaying the message with the breakpoint message of the chat object as the starting point in the message window, and hiding the message transmission control. According to the embodiment, the message transmission control displayed through the message window is quickly switched to the position of the breakpoint message, and the message transmission control can be hidden in time on the basis of directly viewing the subsequent unread message from the breakpoint message, so that the message window is prevented from being occupied by the message transmission control, the message content viewed by a user is prevented from being influenced, and the message window is optimized. The method not only simplifies the operation mode of viewing the last residual unread messages and improves the viewing efficiency of the unread messages, but also facilitates the message presentation of the message window as much as possible and improves the visibility of the message window.
It should be noted that the above method embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
Example 5
Corresponding to the above method embodiment, an embodiment of the present invention provides an unread message display apparatus, where a chat interface is displayed through an electronic device, the chat interface includes a chat control corresponding to a chat object, fig. 7 shows a schematic structural diagram of the unread message display apparatus, and as shown in fig. 7, the unread message display apparatus includes:
a first response module 702, configured to, in response to a first operation directed to a chat control, display a message window of a chat object (i.e., a chat object corresponding to the chat control) on the chat interface, and provide a messaging control indicating that an unread message exists;
a second response module 704, configured to, in response to the second operation directed to the messaging control, display a message starting from the breakpoint message of the chat object in the message window; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
a third response module 706, configured to respond to a message reading operation for a message window, and switch a message in the message window; wherein, the message displayed by the message window is a read message;
and a breakpoint updating module 708, configured to update the breakpoint message of the chat object according to the read message.
The unread message presentation device provided by the embodiment of the application displays the chat interface through the electronic equipment, displays the message window of the chat object on the chat interface, and provides the icon of the message transmission control indicating the existence of the unread message, so that a user can display the message with the breakpoint message of the chat object as the starting point on the message window by simply operating the icon of the message transmission control, and the breakpoint message is the first message in the unread message set when the message window is closed last time. Meanwhile, in the process of displaying the messages through the message window, only the messages displayed through the message window are changed into read messages, so that all the messages which are not displayed through the message window still belong to the unread messages and are still kept in the unread message set, and all the messages in the unread message set are not regarded as the read messages due to the fact that the message transmission control is operated once. The operation mode can facilitate the user to search the unread messages, even close the message window in the process of reading the unread messages, can also ensure that the messages displayed by the unread message window are still in the unread message set and are continuously stored as the unread messages, the embodiment of the invention takes the first message in the unread message set as the breakpoint message, further provides a favorable means for fast backtracking to the unread message, when the message window of the chat object is opened again, through the second operation of the message transmission control, the position of the breakpoint message can be quickly switched to, the subsequent unread messages can be directly checked from the breakpoint message, the mode does not need the user to memorize the historical message reading information of each chat object, the method can check the unread messages left last time, greatly reduces the complicated operation of the user, and improves the checking efficiency of the unread messages.
The message reading operation comprises reading operation and page turning reading operation one by one; wherein the stripe-wise read operation comprises at least one of: a sliding operation in a first designated direction on the screen of the electronic equipment; the mouse roller of the electronic equipment is operated in a rolling mode in a second designated direction; selecting a message downlink control in the message window; the page-turning reading operation comprises at least one of the following: a sliding operation in a third designated direction on the screen of the electronic equipment; selecting a page turning control in the message window; and clicking the appointed mouse button of the electronic equipment.
The third responding module 706 is further configured to: if the message reading operation is one-by-one reading operation, reading first target unread messages from the unread message set according to the receiving time sequence of the unread messages, and switching the read messages in the message window by applying the read target unread messages according to the first-in first-out principle; and if the message reading operation is a page turning reading operation, reading second target unread messages from the unread message set according to the receiving time sequence of the unread messages, and replacing the read messages in the message window with the read second target unread messages as new message pages.
The breakpoint update module 708 can update the breakpoint message in at least one of the following manners:
the first method is as follows: in the process of opening the message window, updating the breakpoint message of the chat object in real time according to the read message displayed in the message window;
the second method comprises the following steps: responding to closing operation aiming at the message window, and updating breakpoint messages of the chat object according to read messages displayed in the message window during the closing operation;
the third method comprises the following steps: and responding to closing operation aiming at the message window, and updating the breakpoint message by applying the unread message with the earliest receiving time in the unread message set when the closing operation is applied.
Based on the updated breakpoint message, the first response module 702 in the foregoing apparatus is further configured to respond to a third operation directed to the chat control, display the message window on the chat interface, and provide a messaging control corresponding to the updated breakpoint message; the second responding module 704 is further configured to respond to a fourth operation directed to the messaging control, and display a message starting from the updated breakpoint message in the message window.
Based on the above-mentioned display apparatus, another display apparatus for unread messages is further provided in the embodiments of the present invention, referring to the schematic structural diagram of the display apparatus for unread messages shown in fig. 8, the display apparatus processes the structure shown in fig. 7, where the breakpoint update module 708 is configured to respond to a closing operation for a chat interface, and update the breakpoint message of a chat object according to the read message in the message window during the closing operation.
The breakpoint updating module 708 is further configured to search a last message in the message window during closing operation; and searching the next message of the last message on the message time axis, and updating the breakpoint message by applying the next message.
The apparatus for displaying unread messages further comprises a setting module 710 connected to the breakpoint updating module 708, configured to set the breakpoint message to null if the chat object does not currently have an unread message.
The device for displaying unread messages further comprises a removal marking module 712 connected to the third response module 706, for removing the messages displayed in the message window from the unread messages collectively and marking the messages displayed in the message window as read messages.
The apparatus for presenting unread messages further comprises a hiding module 714 connected to the second responding module 704 for hiding the messaging control.
The device for displaying the unread messages further comprises a monitoring module 716 connected to the first response module 702, configured to monitor whether a second operation directed to the messaging control is received within a specified time period; the hiding module 714 is further connected to the monitoring module 716, and is further configured to hide the messaging control and set the message in the unread message set of the chat object as the read message if the second operation for the messaging control is not received within the specified duration.
The first response module 702 is further configured to respond to the first operation directed to the chat control, and check whether the chat object has an unread message; and if so, displaying a message window of the chat object on the chat interface and providing a message transmission control for indicating that the unread message exists.
The electronic equipment is touch equipment; the second operation includes one of: a point touch operation, a double click operation, a long press operation, or a drag operation in a set direction.
The chat object is a single chat object or a group chat object.
The implementing principle and the generated technical effect of the display device of the unread messages provided by the embodiment of the application are the same as those of the embodiment of the method, and for brief description, reference may be made to the corresponding content in the embodiment of the display method of the unread messages.
Example 6
The embodiment of the invention also provides electronic equipment, which is used for operating the unread message display method; referring to fig. 9, a schematic structural diagram of an electronic device includes a memory 100 and a processor 101, where the memory 100 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the method for presenting an unread message.
Further, the electronic device shown in fig. 9 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The Memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the method for displaying the unread message, and specific implementation may refer to the foregoing method embodiment, and details are not described herein again.
The method and apparatus for displaying an unread message and the computer program product of an electronic device provided in the embodiments of the present application include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. The method for displaying the unread messages is characterized in that a chat interface is displayed through electronic equipment, the chat interface comprises a chat control corresponding to a chat object, and the method for displaying the unread messages comprises the following steps:
responding to a first operation aiming at the chat control, displaying a message window of the chat object on the chat interface, and providing a message transmission control indicating that an unread message exists;
displaying a message starting from a breakpoint message of the chat object in the message window in response to a second operation directed to the messaging control; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
responding to message reading operation aiming at the message window, and switching messages in the message window; wherein, the message displayed by the message window is a read message;
and updating the breakpoint message of the chat object according to the read message.
2. The method for displaying unread messages according to claim 1, wherein the message reading operations include a bar-by-bar reading operation and a page-turning reading operation;
wherein the stripe-wise read operation comprises at least one of: a sliding operation in a first designated direction on the screen of the electronic equipment; the mouse roller of the electronic equipment is operated in a rolling mode in a second designated direction; selecting a message downlink control in the message window;
the page-turning reading operation comprises at least one of the following: a sliding operation in a third designated direction on the screen of the electronic equipment; selecting a page turning control in the message window; and clicking the appointed mouse button of the electronic equipment.
3. The method for presenting unread messages according to claim 2, wherein the step of switching the messages in the message window comprises:
if the message reading operation is one-by-one reading operation, reading first target unread messages from the unread message set according to the receiving time sequence of the unread messages, and switching the read messages in the message window by applying the read target unread messages according to the first-in first-out principle;
and if the message reading operation is a page turning reading operation, reading second target unread messages from the unread message set according to the receiving time sequence of the unread messages, and replacing the read messages in the message window with the read second target unread messages as new message pages.
4. The method for presenting unread messages according to claim 1, wherein the step of updating the breakpoint message of the chat object according to the read message comprises at least one of the following steps:
in the process of opening the message window, updating the breakpoint message of the chat object in real time according to the read message displayed in the message window;
responding to closing operation aiming at the message window, and updating breakpoint messages of the chat object according to read messages displayed in the message window during the closing operation;
and responding to closing operation aiming at the message window, and updating the breakpoint message by applying the unread message with the earliest receiving time in the unread message set when the closing operation is applied.
5. The method for displaying unread messages according to claim 4, wherein the step of updating the breakpoint message of the chat object according to the read message displayed in the message window during the closing operation comprises:
searching the last message in the message window during the closing operation;
and searching the next message of the last message on a message time axis, and updating the breakpoint message by applying the next message.
6. The method of claim 4, wherein the method further comprises:
and if the chat object does not have unread messages currently during the closing operation, setting the breakpoint message to be null.
7. The method of claim 4, wherein after the step of responding to the closing operation for the message window, the method further comprises:
responding to a third operation aiming at the chat control, displaying the message window on the chat interface, and providing a message transmission control corresponding to the updated breakpoint message;
displaying, in the message window, a message starting from the updated breakpoint message in response to a fourth operation for the messaging control.
8. The method for presenting unread messages according to claim 1, further comprising:
removing the read messages displayed via the message window from the set of unread messages.
9. The method of claim 1, wherein after the step of responding to the second operation directed to the messaging control, the method further comprises: hiding the messaging control.
10. The method of claim 1, wherein after the step of responding to the first operation directed to the chat control, the method further comprises:
monitoring whether a second operation aiming at the message transmission control is received within a specified time length;
if not, hiding the message transmission control and setting the message in the unread message set of the chat object as a read message.
11. The method of claim 1, wherein the step of displaying a message window of the chat object in the chat interface and providing a messaging control indicating the existence of the unread message in response to the first operation directed to the chat control comprises:
checking whether the chat object has an unread message in response to a first operation directed to the chat control;
and if so, displaying a message window of the chat object on the chat interface and providing a message transmission control for indicating that the unread message exists.
12. The method for displaying unread messages according to claim 1, wherein the electronic device is a touch device; the second operation comprises one of: a point touch operation, a double click operation, a long press operation, or a drag operation in a set direction.
13. The method for displaying an unread message according to claim 1, wherein the chat object is a single-person chat object or a group chat object.
14. The device for displaying the unread messages is characterized in that a chat interface is displayed through electronic equipment, the chat interface comprises a chat control corresponding to a chat object, and the device for displaying the unread messages comprises:
a first response module, configured to, in response to a first operation on the chat control, display a message window of the chat object on the chat interface, and provide a messaging control indicating that an unread message exists;
a second response module, configured to respond to a second operation directed to the messaging control, and display, in the message window, a message starting from the breakpoint message of the chat object; the breakpoint message is the first message in the unread message set when the message window is closed last time; the receiving time of the first message is earlier than the receiving time of other unread messages;
a third response module, configured to switch messages in the message window in response to a message read operation for the message window; wherein, the message displayed by the message window is a read message;
and the breakpoint updating module is used for updating the breakpoint message of the chat object according to the read message.
15. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of presenting an unread message according to any of claims 1 to 13.
16. A computer-readable storage medium having stored thereon computer-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of presenting an unread message according to any of claims 1 to 13.
CN202010718964.5A 2020-07-23 2020-07-23 Unread message display method and device and electronic equipment Active CN111835623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010718964.5A CN111835623B (en) 2020-07-23 2020-07-23 Unread message display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010718964.5A CN111835623B (en) 2020-07-23 2020-07-23 Unread message display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111835623A true CN111835623A (en) 2020-10-27
CN111835623B CN111835623B (en) 2022-09-30

Family

ID=72925999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010718964.5A Active CN111835623B (en) 2020-07-23 2020-07-23 Unread message display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111835623B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114443203A (en) * 2022-02-10 2022-05-06 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN115065652A (en) * 2022-06-27 2022-09-16 壹沓科技(上海)有限公司 Message reply method, device, storage medium and computer equipment
EP4228273A4 (en) * 2020-11-05 2024-03-27 Beijing Bytedance Network Technology Co., Ltd. Information display method and apparatus, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090714A (en) * 2014-07-17 2014-10-08 广东欧珀移动通信有限公司 Method and system for viewing chatting records on mobile terminal
CN105049594A (en) * 2015-05-28 2015-11-11 腾讯科技(深圳)有限公司 Unread message playing method and unread message playing device
CN105988674A (en) * 2015-02-06 2016-10-05 腾讯科技(深圳)有限公司 Message display method and related device
CN106230692A (en) * 2016-07-28 2016-12-14 珠海市魅族科技有限公司 A kind of method for information display and terminal
CN111158542A (en) * 2019-12-18 2020-05-15 维沃移动通信有限公司 Message viewing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090714A (en) * 2014-07-17 2014-10-08 广东欧珀移动通信有限公司 Method and system for viewing chatting records on mobile terminal
CN105988674A (en) * 2015-02-06 2016-10-05 腾讯科技(深圳)有限公司 Message display method and related device
CN105049594A (en) * 2015-05-28 2015-11-11 腾讯科技(深圳)有限公司 Unread message playing method and unread message playing device
CN106230692A (en) * 2016-07-28 2016-12-14 珠海市魅族科技有限公司 A kind of method for information display and terminal
CN111158542A (en) * 2019-12-18 2020-05-15 维沃移动通信有限公司 Message viewing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4228273A4 (en) * 2020-11-05 2024-03-27 Beijing Bytedance Network Technology Co., Ltd. Information display method and apparatus, and device and storage medium
US11997322B2 (en) 2020-11-05 2024-05-28 Beijing Bytedance Network Technology Co., Ltd. Information display method and apparatus, and device and storage medium
CN114443203A (en) * 2022-02-10 2022-05-06 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN115065652A (en) * 2022-06-27 2022-09-16 壹沓科技(上海)有限公司 Message reply method, device, storage medium and computer equipment
CN115065652B (en) * 2022-06-27 2024-03-19 壹沓科技(上海)有限公司 Message reply method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN111835623B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN111835623B (en) Unread message display method and device and electronic equipment
US10499109B2 (en) Method and apparatus for providing combined barrage information
CN106095453B (en) Information display method and device and electronic equipment
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
CN103886025B (en) The display methods and device of picture in webpage
WO2014134938A1 (en) View mode switch of graphical user interface
US10346021B2 (en) Automatic list scrolling apparatus, method and program based on a selected item
WO2018113065A1 (en) Information display method, device and terminal device
CN104778226A (en) Webpage content item shielding method and webpage content item shielding device
CN112306256B (en) Application program switching processing method and device and electronic equipment
CN106685851A (en) Data traffic control method and terminal
CN112817676A (en) Information processing method and electronic device
CN112445970A (en) Information recommendation method and device, electronic equipment and storage medium
CN112527434A (en) Page display method, terminal, server, system and electronic equipment
CN106657653A (en) Information processing method and device
CN110740373A (en) audio/video file buffering method and related device
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN110275741B (en) Content display method and electronic equipment
CN110874165A (en) Information display method, information determination method and system
CN105589570A (en) Input error processing method and apparatus
CN107102797A (en) A kind of method and terminal that search operation is performed to selected contents of object
CN110737371A (en) information display method, device and computer readable medium
US11775736B2 (en) Method and system for providing mini-map in chatroom
CN112578962A (en) Information flow display method, device, equipment and medium
CN104571812A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant