CN111083039B - Message unread mark processing method and device, storage medium and terminal - Google Patents

Message unread mark processing method and device, storage medium and terminal Download PDF

Info

Publication number
CN111083039B
CN111083039B CN201911141957.7A CN201911141957A CN111083039B CN 111083039 B CN111083039 B CN 111083039B CN 201911141957 A CN201911141957 A CN 201911141957A CN 111083039 B CN111083039 B CN 111083039B
Authority
CN
China
Prior art keywords
unread
session
conversation
list
key
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.)
Active
Application number
CN201911141957.7A
Other languages
Chinese (zh)
Other versions
CN111083039A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911141957.7A priority Critical patent/CN111083039B/en
Publication of CN111083039A publication Critical patent/CN111083039A/en
Application granted granted Critical
Publication of CN111083039B publication Critical patent/CN111083039B/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/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received 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 present disclosure relates to a method, an apparatus, a storage medium and a terminal for processing an unread message, which belong to the technical field of terminals, and include: displaying a conversation list of a target application program, wherein the conversation list comprises at least one conversation with unread messages, and each conversation in the at least one conversation is correspondingly displayed with an unread mark; when a selected instruction of any one of at least one conversation is received, displaying a function menu page, wherein the function menu page comprises a first-type marking key, and the first-type marking key is used for clearing an unread mark of the conversation with a part of unread messages; when a selection instruction of the first type mark key is received, the unread marks of the conversations with unread messages in the conversation list are removed by taking the selected conversation as a reference point. The processing mode realizes batch clearing of the unread marks of partial sessions in the session list, obviously improves the processing efficiency of the unread marks, and realizes effective processing of the unread marks of the messages.

Description

Message unread mark processing method and device, storage medium and terminal
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for processing an unread message, a storage medium, and a terminal.
Background
An application having an IM (Instant Messaging) function installed on a terminal generally supports Messaging. In order to effectively remind the user of reading the message, the application program of the type generally reminds the user of the existence of the unread message in an unread mark mode. For example, in a conversation list displayed by the application program, if there is an unread message currently in a certain conversation, an unread mark such as a number or a red dot or a combination of the two is displayed at a specific position (such as the upper right corner) of the conversation, wherein the number is usually used for indicating the total number of the unread messages currently in the conversation.
In the related art, the unread flag processing for a message generally takes the following forms: the user enters the session (abbreviated as unread session) with unread messages in the session list one by one through clicking operation, and then exits the corresponding session, and the unread marks on the corresponding session are cleared by the terminal. For the above mode, the operation is too complicated, and when the number of unread sessions is large, the processing mode brings great workload to the user; even if the user approximately browses the unread messages which are briefly shown in the display area of the unread session only by sliding the session list up and down without entering the session, the problem that unread marks on the browsed part of the sessions still exist exists, and the user experience is greatly influenced. Therefore, how to effectively process the unread message marks becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a storage medium, and a terminal for processing an unread message, so as to at least solve the problem in the related art that the unread message cannot be effectively processed. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for processing an unread flag of a message, the method including:
displaying a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark;
when a selected instruction of any one of the at least one conversation is received, displaying a function menu page, wherein the function menu page comprises a first-type mark key, and the first-type mark key is used for removing the unread mark of the conversation with the unread message;
and when a selection instruction of the first type mark key is received, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point.
In one possible implementation, the first type of mark key includes a first direction mark key;
when receiving a selection instruction of the first type mark key, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point, including:
when a click instruction of the first direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the first part of conversations with unread messages in the conversation list are removed;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
In one possible implementation, the first type of mark key includes a second direction mark key;
when receiving a selection instruction of the first type mark key, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point, including:
when a click instruction of the second direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the second part of conversations with unread messages in the conversation list are removed;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
In one possible implementation, the displaying the session list of the target application includes:
after the login operation of the user logging in the target application program is detected, a session list matched with the login user is obtained from a server;
displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time;
wherein the update time refers to an update time of a latest unread message in a corresponding session.
In a possible implementation manner, when receiving a selection instruction of the first type marker key, the removing, with the selected conversation as a reference point, an unread marker of a part of conversations in which unread messages exist in the conversation list includes:
when receiving a selection instruction of the first type mark key, sending a message processing request to the server;
the message processing request comprises a user identifier of the login user, a session identifier of the selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal;
and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
In a possible implementation manner, when a selected instruction for any one of the at least one session is received, displaying a function menu page, where the function menu page includes a first-type tab key, and the method includes:
when a long-press instruction for any one of the at least one conversation is received, displaying the function menu page, wherein the function menu page comprises the first-type mark key, a delete key and a second-type mark key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for processing an unread mark of a message, the apparatus including:
the first display unit is configured to display a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark;
the second display unit is configured to display a function menu page when a selected instruction of any one of the at least one conversation is received, wherein the function menu page comprises a first type mark key used for clearing an unread mark of the conversation with a part of unread messages;
and the processing unit is configured to remove the unread marks of the conversations of which the unread messages partially exist in the conversation list by taking the selected conversations as reference points when receiving a selection instruction of the first type mark key.
In one possible implementation, the first type of mark key includes a first direction mark key;
the processing unit is further configured to, when a click instruction for the first direction marking key is received, remove the unread marks of the first part of sessions in the session list, in which unread messages exist, with the selected sessions as a reference point;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
In one possible implementation, the first type of mark key includes a second direction mark key;
the processing unit is further configured to, when a click instruction for the second direction marker key is received, remove the unread marks of the second part of conversations in which the unread messages exist in the conversation list by taking the selected conversation as a reference point;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
In a possible implementation manner, the first display unit is further configured to obtain a session list matched with a login user from a server after a user login operation of logging in the target application program is detected; displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time;
wherein the update time refers to an update time of a latest unread message in a corresponding session.
In a possible implementation manner, the processing unit is further configured to send a message processing request to the server when receiving a selection instruction of the first type mark key; the message processing request comprises a user identifier of the login user, a session identifier of the selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal; and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
In a possible implementation manner, the second display unit is further configured to display the function menu page when a long-press instruction for any one of the at least one session is received, where the function menu page includes the first-type flag key, the delete key, and the second-type flag key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of unread mark processing of messages as described in the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, a storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform the unread markup processing method of messages as described in the above first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of a terminal, enable the terminal to execute the method for processing an unread mark of a message according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the terminal can display a session list of the target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark; in the embodiment of the disclosure, when the terminal receives a selected instruction of any one of at least one session, a function menu page is additionally displayed, wherein the function menu page comprises a first-type marking key, and the first-type marking key is used for clearing an unread mark of the session with a part of unread messages; when the terminal receives a selection instruction of the first type mark key, the selected conversation is taken as a reference point, and the unread marks of the conversations with unread messages in the conversation list are removed.
Based on the above description, it can be known that, in the embodiment of the present disclosure, based on the newly added first-type mark key, batch removal of the unread marks of part of sessions in the session list is implemented, and in this processing manner, on one hand, the removal of the unread marks can be implemented without requiring a user to enter the sessions with unread messages one by one and then exit the sessions, and on the other hand, even if the user does not enter the sessions and roughly browses the unread messages only in a manner of sliding the session list up and down, the unread marks on the browsed part of sessions can be removed in batch at one time through this processing manner, so that the unread marks on the browsed part of sessions can be quickly removed. In short, even if the number of unread sessions is large, the processing mode can not bring large workload to the user, the user only needs to execute simple selection operation, the user experience is greatly improved, the processing mode obviously improves the processing efficiency of the unread marks, and the effective processing of the unread marks of the messages is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating a session list according to an example embodiment.
Fig. 2 is a schematic diagram illustrating an implementation environment related to a method for unread markup processing of a message, according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of unread flag processing for a message, according to an example embodiment.
Fig. 4 is a flow chart illustrating a method of unread flag processing for a message, according to an example embodiment.
Fig. 5 is a diagram illustrating another session list in accordance with an illustrative embodiment.
Fig. 6 is a diagram illustrating another session list in accordance with an illustrative embodiment.
Fig. 7 is a diagram illustrating another session list in accordance with an illustrative embodiment.
Fig. 8 is a diagram illustrating another session list in accordance with an illustrative embodiment.
Fig. 9 is a block diagram illustrating an unread flag processing apparatus of a message, according to an example embodiment.
Fig. 10 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The user information to which the present disclosure relates may be information authorized by the user or sufficiently authorized by each party.
Before explaining the embodiments of the present disclosure in detail, some terms related to the embodiments of the present disclosure will be introduced.
The target application program: in the disclosed embodiment, the target application program generally refers to any application program with an IM function. As one example, the target application includes, but is not limited to: an instant messaging application, a social application, a video application, a short message application, and the like, which are not specifically limited in this disclosure.
Conversation: in the disclosed embodiment, a session refers to a communication process between a local user and one or more other users or interactive systems. Taking the social application program as an example, the communication process between the home terminal user and any friend on the user relationship chain may be referred to as a session.
For example, the interactive system may refer to a server that provides an application service for a target application, that is, the home terminal user may also establish a session with the interactive system, for example, the interactive system may actively push a message to the home terminal user periodically or randomly or whenever there is a message update, so as to form a session, which is not specifically limited in this embodiment of the present disclosure.
In addition, a session may include multiple messages, which may include read messages or unread messages. And multiple sessions are typically presented in the form of a list of sessions. The sessions in the same session list may be arranged in descending order according to the update time of the message, that is, the session updated by the latest message is arranged at the top, which is not specifically limited in this embodiment of the disclosure.
Illustratively, as shown in fig. 1, each session occupies one information entry in the session list, i.e., each session has a respective display area. Part or all of the content of the message may also be presented, illustratively, on the information item on which each session resides. And particularly, whether to display part of the content or the whole content may depend on how much content is included in the message and the size of the display area. For example, a part of the content of the latest unread message may be displayed, for example, a title text or a starting part text of the message may be displayed, which is not particularly limited in the embodiment of the present disclosure.
Illustratively, referring to fig. 1, after clicking on an information item of a session, a details page of the session is entered, and the details page of the session shows messages included in the session, wherein the details page generally supports a user to view messages through a sliding up and down operation. The messages included in each session may be arranged in descending order according to the update time of the messages, that is, the latest message is arranged at the top, which is not specifically limited in this embodiment of the disclosure.
In a possible implementation manner, the message may be a text, a picture, a combination of the text and the picture, and the like, which is also not specifically limited by the embodiment of the present disclosure.
Unread marks: in the disclosed embodiments, the unread tags are used to identify unread messages. For example, whenever there is an unread message for a conversation, an unread flag is displayed at a particular location of the conversation (e.g., the upper right corner).
As an example, the unread flag may be simply one red dot, or simply one number (representing the total number of unread messages), or a combination of both red dots and numbers. In this case, for a combination of the red dot and the number, the number may be displayed inside the red dot, which is not specifically limited in the embodiment of the present disclosure.
The following describes an implementation environment related to a method for processing an unread flag of a message provided by an embodiment of the present disclosure.
Referring to fig. 2, the implementation environment includes a terminal 201 and a server 202. As one example, the types of terminals 201 include, but are not limited to, smart phones, tablets, and the like. In addition, the terminal 201 has a target application having an IM function installed thereon, and the server 202 may be used to provide an application service for the target application.
In the disclosed embodiment, the target application installed in the terminal may present a list of sessions dedicated to displaying messages to the user. Wherein the session list may include a plurality of sessions. These sessions may include, for example, sessions in which unread messages exist, or sessions in which all messages are read. Alternatively, only the sessions in which the unread message exists are included in the sessions, which is not specifically limited in this embodiment of the present disclosure. Wherein, for each unread session in which an unread message exists, an unread mark is correspondingly displayed.
The message may be a message that the server 202 actively pushes the terminal 201, or may be a message that the server 202 forwards from another terminal, which is not specifically limited in this embodiment of the present disclosure.
In the embodiment of the present disclosure, the terminal 201 may bulk clear the unread flag of a part of the unread sessions in the session list. That is, the embodiment of the present disclosure provides a scheme for clearing the unread marks of partial unread sessions in batches based on directions, and the unread marks of all unread sessions arranged and displayed before or after a session in a session list can be cleared at one time by using the session as a reference point. The processing method can solve at least the following problems:
firstly, a user clears the unread marks on the corresponding unread sessions by entering the sessions one by one and then exiting the sessions, so that the problem of excessively complicated operation is caused, particularly when the number of the unread sessions is large. For example, in a general situation, there is only one unread message contained in an unread session, and part or all of the content of the message is generally directly displayed on the display area of the session, in this case, if the user clears the unread mark by entering the session and exiting the session one by one, the operation is very cumbersome. In addition, even if there is a situation that a plurality of unread messages are included in an unread session, since part or all of the content of the latest unread message is directly displayed on the display area of the session, the user can already roughly know the content of the unread message through the displayed part, and other unread messages may be associated with the content of the latest unread message or have expired, so that it is not necessary to enter the corresponding session for viewing, and the unread marks are cleared in a tedious way of entering the session and exiting the session.
Secondly, the target application program in the related art can also provide a key which is completely cleared, and when the user clicks the key, the terminal can put all unread messages into a read state, namely, the unread marks on all unread sessions in the session list are directly cleared at one time. For the above manner, if the user does not perform any check and directly clears all the unread marks at one time by clicking the key, the important message may be missed.
In addition, assuming that there are 100 unread sessions in the current session list, taking the example that each session in the 100 unread sessions includes one unread message, if the user does not want to miss any unread message, the unread message cannot be completely placed in the read message by directly clicking the corresponding button, so that the user is required to roughly browse the unread message by sliding the session list up and down without entering the session. In this case, the unread marks of the browsed sessions still exist, for example, if the user exits the target application program when browsing to the 40 th session through the sliding session list, the unread marks of the 40 browsed sessions still exist when the user opens the target application program again.
According to the processing method provided by the embodiment of the disclosure, on one hand, the unread marks can be cleared without the need of entering the unread sessions one by one and exiting the unread sessions, on the other hand, even if the user does not enter the sessions and roughly browses the unread messages only in a mode of sliding the session list up and down, the unread marks on the browsed partial sessions can be cleared in batch at one time through the processing method, that is, the unread marks on the browsed partial sessions can be quickly cleared, and the unread marks can be partially deleted in all the unread marks at one time. In short, even if the number of unread sessions is large, the processing mode can not bring large workload to the user, the user only needs to execute simple selection operation, the operation is simple and convenient, the user experience is greatly improved, the user does not have learning cost, the processing mode obviously improves the processing efficiency of the unread marks, and the effective processing of the unread marks of the messages is realized.
The method for processing the unread flag of a message provided by the embodiments of the present disclosure is explained in detail below.
Fig. 3 is a flowchart illustrating a method for processing an unread flag of a message, as shown in fig. 3, which is used in a terminal, according to an exemplary embodiment, and includes the following steps.
In step 301, a session list of the target application is displayed, where the session list includes at least one session in which an unread message exists, and each session in the at least one session is correspondingly displayed with an unread flag.
In step 302, when a selected instruction for any one of at least one conversation is received, a function menu page is displayed, and the function menu page comprises a first type mark key, wherein the first type mark key is used for clearing an unread mark of a part of the conversation with unread messages.
In step 303, when a selection instruction for the first type mark key is received, the unread mark of the session in which the unread message partially exists in the session list is removed with the selected session as a reference point.
According to the method provided by the embodiment of the disclosure, a terminal can display a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark; in the embodiment of the disclosure, when the terminal receives a selected instruction of any one of at least one session, a function menu page is additionally displayed, wherein the function menu page comprises a first-type marking key, and the first-type marking key is used for clearing an unread mark of the session with a part of unread messages; when the terminal receives a selection instruction of the first type mark key, the selected conversation is taken as a reference point, and the unread marks of the conversations with unread messages in the conversation list are removed.
Based on the above description, it can be known that, in the embodiment of the present disclosure, based on the newly added first-type mark key, batch removal of the unread marks of part of sessions in the session list is implemented, and in this processing manner, on one hand, the removal of the unread marks can be implemented without requiring a user to enter the sessions with unread messages one by one and then exit the sessions, and on the other hand, even if the user does not enter the sessions and roughly browses the unread messages only in a manner of sliding the session list up and down, the unread marks on the browsed part of sessions can be removed in batch at one time through this processing manner, so that the unread marks on the browsed part of sessions can be quickly removed. In short, even if the number of unread sessions is large, the processing mode can not bring large workload to the user, the user only needs to execute simple selection operation, the user experience is greatly improved, the processing mode obviously improves the processing efficiency of the unread marks, and the effective processing of the unread marks of the messages is realized.
In one possible implementation, the first type of mark key includes a first direction mark key;
when receiving a selection instruction of the first type mark key, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point, including:
when a click instruction of the first direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the first part of conversations with unread messages in the conversation list are removed;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
In one possible implementation, the first type of mark key includes a second direction mark key;
when receiving a selection instruction of the first type mark key, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point, including:
when a click instruction of the second direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the second part of conversations with unread messages in the conversation list are removed;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
In one possible implementation, the displaying the session list of the target application includes:
after the login operation of the user logging in the target application program is detected, a session list matched with the login user is obtained from a server;
displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time;
wherein the update time refers to an update time of a latest unread message in a corresponding session.
In a possible implementation manner, when receiving a selection instruction of the first type marker key, the removing, with the selected conversation as a reference point, an unread marker of a part of conversations in which unread messages exist in the conversation list includes:
when receiving a selection instruction of the first type mark key, sending a message processing request to the server;
the message processing request comprises a user identifier of the login user, a session identifier of the selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal;
and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
In a possible implementation manner, when a selected instruction for any one of the at least one session is received, displaying a function menu page, where the function menu page includes a first-type tab key, and the method includes:
when a long-press instruction for any one of the at least one conversation is received, displaying the function menu page, wherein the function menu page comprises the first-type mark key, a delete key and a second-type mark key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 4 is a flowchart illustrating a method for processing an unread flag of a message, as shown in fig. 3, which is used in a terminal, according to an exemplary embodiment, and includes the following steps.
In step 401, the terminal displays a session list of the target application, where the session list includes at least one session in which an unread message exists, and each session in the at least one session is correspondingly displayed with an unread mark.
As previously mentioned, a target application in the embodiments of the present disclosure generally refers to any application having IM functionality. For example, the target application may be an instant messaging application, a social application, a video application, a short message application, and the like, which is not specifically limited in this disclosure.
In one possible implementation, the terminal may pull the session list from the server. Illustratively, after detecting the user login operation of the login target application program, the terminal acquires the session list matched with the login user from the server. That is, when a user logs in to a target application, the terminal may pull a session list matching the logged-in user from the server based on login information input by the user.
As an example, the session list pulled by the terminal from the server may include only sessions in which an unread message exists. Alternatively, the session list may include sessions in which unread messages exist, or sessions in which all messages are read, which is not specifically limited in this embodiment of the present disclosure. For example, the embodiment of the present disclosure is merely illustrated in a case that the session list pulled by the terminal from the server only includes sessions in which unread messages exist.
In a possible implementation manner, taking the session list pulled by the terminal from the server only includes the unread sessions as an example, after the terminal pulls the session list matched with the current login user, the unread sessions in the session list may be shown in the following manner: at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time, namely, the conversation with the latest unread message is arranged at the top of the conversation list; wherein the update time refers to an update time of a latest unread message in a corresponding session. Wherein fig. 5 shows the session list in descending order of update time. And the numbers following the update time refer to the unread marks.
In addition, if the session list pulled by the terminal from the server includes both sessions in which unread messages exist and sessions in which all messages are read, each session in the session list may also be arranged in a descending order according to the update time, which is not specifically limited in this embodiment of the present disclosure.
In step 402, when receiving a selected instruction for any one of the at least one session, the terminal displays a function menu page, where the function menu page includes a first type flag key, and the first type flag key is used to clear an unread flag of a session in which a part of unread messages exist.
In the embodiment of the present disclosure, for sessions in which an unread message exists in the displayed session list, when the terminal receives a selection instruction of a login user currently logging in the target application program for any one of the sessions, a function menu page as shown in the left diagram in fig. 6 is displayed.
As an example, the selected instruction may be a long-press instruction, that is, the login user performs a long-press operation on any unread session, and the terminal pops up a function menu page through the target application program. Illustratively, the function menu page is displayed at the forefront of the page in a top-level display manner, which is not particularly limited in the embodiments of the present disclosure.
In one possible implementation manner, the function menu page includes a first type mark key, a delete key, and a second type mark key. The first type of mark key can be used for clearing the unread marks of partial sessions with unread messages, the second type of mark key can be used for clearing the unread marks of selected sessions, and the delete key can be used for deleting the selected sessions.
It should be noted that the first type mark key also indicates a clearing direction for clearing the partial unread marks, that is, the embodiment of the present disclosure implements batch clearing of the partial unread marks based on the direction through the first type mark key. In another expression, the first type of marking key can realize that part of unread messages are put in a read state in batch based on direction.
Illustratively, the first type of indicia keys include a first direction indicia key and a second direction indicia key. The first direction marking key can be used for marking the unread sessions arranged and displayed before the selected session as read, namely clearing the unread sessions arranged and displayed before the selected session. The second direction flag key may be used to mark unread sessions arranged to be displayed after the selected session as read, i.e., to clear unread sessions arranged to be displayed after the selected session.
As an example, referring to the left diagram in fig. 6, the first direction mark key may be shaped like "mark upper unread session is read", or simply "mark upper read", the second direction mark key may be shaped like "mark lower unread session is read", or simply "mark lower read", the second type mark key may be shaped like "mark lower read", and the delete key may be shaped like "delete session", which is not specifically limited in this embodiment of the present disclosure.
In the embodiment of the present disclosure, the terminal can implement, according to two keys, such as "mark read above" and "mark read below" shown in the left diagram in fig. 6, that the unread conversations meeting the condition in a certain direction in the displayed conversation list are cleared of the unread marks based on one mark position (corresponding to the selected conversation in the conversation list). See steps 403 and 404, described in more detail below.
In step 403, when a click instruction for a first direction mark key in a first type mark key is received, the terminal removes unread marks of a first part of sessions in which unread messages exist in the session list by using the selected session as a reference point; wherein the first part of the conversations refer to the conversations arranged and displayed in the conversation list before the selected conversation.
This step is to clear the unread flag of the unread session arranged to be displayed before the selected session, based on a "flag read above" button such as that shown in the left diagram of fig. 6. The direction of the pointing is the unread session above the selected session.
In a possible implementation manner, when a selection instruction for a first type marker key is received, taking the selected conversation as a reference point, and clearing an unread marker of a part of conversations in which unread messages exist in the conversation list, the method may include the following steps:
4031. and when the terminal receives a selection instruction of the current login user on the first type mark key, sending a message processing request to the server.
For example, the instruction for selecting the first type mark key may be a click operation on a "mark read above" key, such as the one shown in the left diagram in fig. 6, which is not particularly limited by the embodiment of the present disclosure.
In a possible implementation manner, the message processing request sent by the terminal may include a User Identification (UID) of the login User, a session Identification of the selected session, and mark direction information indicated by the first-type mark key. The message processing request can carry the user identifier, the session identifier and the marking direction information through the request parameter. For example, for the mark direction information, the mark direction information may be indicated by assigning the direction parameter asc. For example, asc true indicates that the mark has been read above, and asc false indicates that the mark has been read below, which is not particularly limited in the embodiments of the present disclosure.
4032. After receiving a message processing request sent by the terminal, the server clears the unread number of the sessions with unread messages in the session list matched with the login user according to the update time and the marking direction information of the selected sessions, and returns a response message (response) to the terminal.
Aiming at the step, after receiving a message processing request, a server firstly searches a session list matched with the current login user through a user identifier carried by the message processing request, and positions a mark position in the session list through the session identifier carried by the message processing request; and then, clearing the unread number of the sessions with the unread messages in the session list according to the update time and the marking direction information of the selected sessions, and returning a response message to the terminal.
Illustratively, since the flag direction information carried by the message processing request indicates to be cleared upwards, taking the unread sessions in the session list as an example in descending order of update time, the server also needs to zero the unread numbers of all unread sessions in the session list that are later than or equal to the update time of the selected session.
4033. And after receiving the response message, the terminal clears the unread marks of the sessions with unread messages in the currently displayed session list based on the response message.
For this step, after receiving the response message returned by the server through the target application program, the terminal clears the unread marks of all the unread sessions arranged and displayed before the selected session, and the clearing effect is as shown in the right diagram in fig. 6.
In step 404, when a click instruction for a second direction mark key in the first type mark key is received, the terminal takes the selected conversation as a reference point, and removes unread marks of a second part of conversations in which unread messages exist in the conversation list; wherein the second part of the conversations refer to the conversations arranged and displayed in the conversation list after the selected conversation.
This step is to clear the unread flag of the unread session arranged to be displayed after the selected session, based on a "read under flag" button such as that shown in fig. 7. The targeted direction is the unread session that follows the selected session.
In a possible implementation manner, when a selection instruction for a first type marker key is received, taking the selected conversation as a reference point, clearing an unread marker of a conversation in which an unread message exists in a part of the conversation list may include the following steps:
4041. and when the terminal receives a selection instruction of the current login user on the second type mark key, sending a message processing request to the server.
For example, the instruction for selecting the second type mark key may be a click operation on a "mark read below" key, such as shown in fig. 7, which is not specifically limited by the embodiment of the present disclosure.
The message processing request comprises a user identification of a login user, a session identification of a selected session and marking direction information indicated by a first type marking key.
4042. After receiving the message processing request, the server clears the unread number of the sessions with the unread messages in the session list matched with the login user according to the update time and the marking direction information of the selected sessions, and returns a response message to the terminal.
Aiming at the step, after receiving a message processing request, a server firstly searches a session list matched with a current login user through a user identifier carried by the message processing request, and positions a mark position in the session list through the session identifier carried by the message processing request; and then, clearing the unread number of the sessions with the unread messages in the session list according to the update time and the marking direction information of the selected sessions, and returning a response message to the terminal.
Illustratively, since the flag direction information carried by the message processing request indicates to be cleared downwards, taking the unread sessions in the session list as an example in descending order of update time, the server also needs to zero out the unread numbers of all unread sessions in the session list that are earlier than or equal to the update time of the selected session.
4043. And after receiving the response message, the terminal clears the unread marks of the sessions with unread messages in the currently displayed session list based on the response message.
For this step, after receiving the response message returned by the server through the target application program, the terminal clears the unread marks of all the unread sessions arranged and displayed after the selected session, and the clearing effect is as shown in fig. 8.
The method provided by the embodiment of the disclosure has at least the following beneficial effects:
the embodiment of the disclosure realizes batch removal of unread marks of partial sessions in a session list based on a newly added first-class mark key, and the processing mode can realize the removal of the unread marks without requiring a user to enter the sessions with unread messages one by one and then exit the sessions, and on the other hand, even if the user does not enter the sessions and roughly browses the unread messages only in a mode of sliding the session list up and down, the unread marks on the browsed partial sessions can be removed in batch at one time through the processing mode, so that the unread marks on the browsed partial sessions of the user can be quickly removed. It is realized that some unread marks can be deleted at one time among all unread marks.
In short, the embodiment of the present disclosure can implement batch clearing of unread marks at one time for unread sessions whose part in a certain direction in the displayed session list meets the condition, based on one mark position (corresponding to the selected session in the session list). Therefore, even if the number of unread sessions is large, the processing mode can not bring large workload to the user, the user only needs to execute simple selection operation, the operation is simple and convenient, the user experience is greatly improved, the user does not have learning cost, the processing mode obviously improves the processing efficiency of the unread marks, and the effective processing of the unread marks of the messages is realized.
In another embodiment, if the session list pulled by the terminal from the server includes both the unread sessions in which the unread messages exist and the normal sessions in which all the messages are read, a function menu page may also be provided for these normal sessions, for example, after the terminal detects a long-press operation on any one of the normal sessions, a function menu page is displayed, and the function menu page may include keys to delete the selected session, mark the unread sessions arranged and displayed before the selected session as read, mark the unread sessions arranged and displayed after the selected session as read, and the like, which is not specifically limited in the embodiment of the present disclosure.
Fig. 9 is a block diagram illustrating an unread flag processing apparatus of a message, according to an example embodiment. Referring to fig. 9, the apparatus includes a first display unit 901, a second display unit 902, and a processing unit 903.
A first display unit 901, configured to display a session list of a target application, where the session list includes at least one session in which an unread message exists, and each session in the at least one session is correspondingly displayed with an unread mark;
a second display unit 902, configured to, when receiving a selected instruction for any one of the at least one session, display a function menu page, where the function menu page includes a first type flag key, and the first type flag key is used to clear an unread flag of a part of sessions in which an unread message exists;
a processing unit 903, configured to, when receiving a selection instruction for the first type mark key, remove the unread mark of a session in which an unread message exists in the session list with the selected session as a reference point.
According to the device provided by the embodiment of the disclosure, a terminal can display a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark; in the embodiment of the disclosure, when the terminal receives a selected instruction of any one of at least one session, a function menu page is additionally displayed, wherein the function menu page comprises a first-type marking key, and the first-type marking key is used for clearing an unread mark of the session with a part of unread messages; when the terminal receives a selection instruction of the first type mark key, the selected conversation is taken as a reference point, and the unread marks of the conversations with unread messages in the conversation list are removed.
Based on the above description, it can be known that, in the embodiment of the present disclosure, based on the newly added first-type mark key, batch removal of the unread marks of part of sessions in the session list is implemented, and in this processing manner, on one hand, the removal of the unread marks can be implemented without requiring a user to enter the sessions with unread messages one by one and then exit the sessions, and on the other hand, even if the user does not enter the sessions and roughly browses the unread messages only in a manner of sliding the session list up and down, the unread marks on the browsed part of sessions can be removed in batch at one time through this processing manner, so that the unread marks on the browsed part of sessions can be quickly removed. In short, even if the number of unread sessions is large, the processing mode can not bring large workload to the user, the user only needs to execute simple selection operation, the user experience is greatly improved, the processing mode obviously improves the processing efficiency of the unread marks, and the effective processing of the unread marks of the messages is realized.
In one possible implementation, the first type of mark key includes a first direction mark key;
the processing unit 903 is further configured to, when receiving a click instruction of the first direction marker key, remove the unread marks of the first part of sessions in the session list, where the unread messages exist, with the selected sessions as a reference point;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
In one possible implementation, the first type of mark key includes a second direction mark key;
the processing unit 903 is further configured to, when receiving a click instruction on the second direction marker key, remove the unread marks of the second part of sessions in the session list, where the unread messages exist, with the selected sessions as a reference point;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
In a possible implementation manner, the first display unit 901 is further configured to, after detecting a user login operation of logging in the target application program, obtain a session list matching a login user from a server; displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time; wherein the update time refers to an update time of a latest unread message in a corresponding session.
In a possible implementation manner, the processing unit 903 is further configured to send a message processing request to the server when receiving a selection instruction of the first type mark key; the message processing request comprises a user identifier of the login user, a session identifier of the selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal; and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
In a possible implementation manner, the second display unit 902 is further configured to display the function menu page when a long-press instruction for any one of the at least one session is received, where the function menu page includes the first-type flag key, the delete key, and the second-type flag key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 shows a block diagram of a terminal 1000 according to an exemplary embodiment of the disclosure. The terminal 1000 can be a mobile terminal.
In general, terminal 1000 can include: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is used to store at least one instruction for execution by processor 1001 to implement the unread markup processing methods for messages provided by method embodiments in the present disclosure.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera 1006, audio circuitry 1007, positioning components 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1004 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A Location component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). The Positioning component 1008 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 can be disposed on a side frame of terminal 1000 and/or underneath display screen 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 is gradually reduced, processor 1001 controls display screen 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for processing unread tags for messages, the method comprising:
displaying a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark;
when a selected instruction of any one of the at least one conversation is received, displaying a function menu page, wherein the function menu page comprises a first type mark key, the first type mark key is used for removing an unread mark of the conversation with a part of unread messages, and the first type mark key comprises a second direction mark key;
when a selection instruction of the first type mark key is received, the selected conversation is taken as a reference point, and unread marks of the conversations with unread messages in the conversation list are removed;
when receiving a selection instruction of the first type mark key, removing the unread marks of the conversations with unread messages in the conversation list by taking the selected conversation as a reference point, including:
when a click instruction of the second direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the second part of conversations with unread messages in the conversation list are removed;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
2. The method for processing unread messages according to claim 1, wherein the first type of markup keys further includes a first direction markup key;
when receiving a selection instruction of the first type mark key, the method removes the unread marks of the conversations in the conversation list, in which the unread messages exist, by using the selected conversation as a reference point, and further comprises the following steps:
when a click instruction of the first direction mark key is received, the selected conversation is taken as a reference point, and unread marks of the first part of conversations with unread messages in the conversation list are removed;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
3. The method for processing unread marks of messages according to any of the claims 1 to 2, wherein the displaying of the session list of the target application comprises:
after the login operation of the user logging in the target application program is detected, a session list matched with the login user is obtained from a server;
displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time;
wherein the update time refers to an update time of a latest unread message in a corresponding session.
4. The method according to claim 1, wherein when receiving the instruction for selecting the first type mark button, the method removes the unread mark of the session in which the unread message exists in the session list with the selected session as a reference point, further comprising:
when receiving a selection instruction of the first type mark key, sending a message processing request to a server;
the message processing request comprises a user identifier of a login user, a session identifier of a selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal;
and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
5. The method according to claim 1, wherein when receiving a selected command for any one of the at least one session, displaying a function menu page, the function menu page including a first type of mark key, comprises:
when a long-press instruction for any one of the at least one conversation is received, displaying the function menu page, wherein the function menu page comprises the first-type mark key, a delete key and a second-type mark key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
6. An apparatus for unread markup processing of a message, the apparatus comprising:
the first display unit is configured to display a session list of a target application program, wherein the session list comprises at least one session with unread messages, and each session in the at least one session is correspondingly displayed with an unread mark;
the second display unit is configured to display a function menu page when a selected instruction of any one of the at least one conversation is received, wherein the function menu page comprises a first type mark key, the first type mark key is used for clearing an unread mark of the conversation with a part of unread messages, and the first type mark key comprises a second direction mark key;
the processing unit is configured to remove the unread marks of the conversations with unread messages in the conversation list by taking the selected conversations as reference points when receiving a selection instruction of the first type mark key;
the processing unit is further configured to, when a click instruction for the second direction marker key is received, remove the unread marks of the second part of conversations in which the unread messages exist in the conversation list by taking the selected conversation as a reference point;
wherein the second part of the conversations refer to conversations arranged and displayed in the conversation list after the selected conversation.
7. The apparatus for processing unread messages according to claim 6, wherein the first type of markup keys further comprises a first direction markup key;
the processing unit is further configured to, when a click instruction for the first direction marking key is received, remove the unread marks of the first part of sessions in the session list, in which unread messages exist, with the selected sessions as a reference point;
wherein the first part of the conversations refer to conversations arranged and displayed in the conversation list before the selected conversation.
8. The apparatus according to any one of claims 6 to 7, wherein the first display unit is further configured to obtain a session list matching a logged-in user from a server after detecting a user login operation for logging in the target application; displaying the conversation list matched with the login user, wherein at least one conversation with unread messages in the conversation list is arranged according to the descending order of the updating time;
wherein the update time refers to an update time of a latest unread message in a corresponding session.
9. The apparatus according to claim 6, wherein the processing unit is further configured to send a message processing request to a server when receiving a selected instruction for the first type tag key; the message processing request comprises a user identifier of a login user, a session identifier of a selected session and marking direction information indicated by the first type marking key, so that after the server receives the message processing request, according to the updating time of the selected session and the marking direction information, the unread number of the sessions with unread messages in a session list matched with the login user is cleared, and a response message is returned to the terminal; and clearing the unread marks of the sessions in which the unread messages partially exist in the session list based on the response message.
10. The apparatus according to claim 6, wherein the second display unit is further configured to display the function menu page when receiving a long-press instruction for any one of the at least one session, the function menu page including the first-type mark key, the delete key, and the second-type mark key;
and the second type mark key is used for clearing the unread mark of the selected conversation.
11. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the unread mark processing method of a message according to any of claims 1 to 5.
12. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the unread mark processing method of a message according to any of claims 1 to 5.
CN201911141957.7A 2019-11-20 2019-11-20 Message unread mark processing method and device, storage medium and terminal Active CN111083039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911141957.7A CN111083039B (en) 2019-11-20 2019-11-20 Message unread mark processing method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911141957.7A CN111083039B (en) 2019-11-20 2019-11-20 Message unread mark processing method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN111083039A CN111083039A (en) 2020-04-28
CN111083039B true CN111083039B (en) 2022-01-25

Family

ID=70311287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911141957.7A Active CN111083039B (en) 2019-11-20 2019-11-20 Message unread mark processing method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111083039B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816601A (en) * 2021-01-27 2022-07-29 北京达佳互联信息技术有限公司 Session entrance display method, device, terminal and storage medium
CN113342223B (en) * 2021-05-28 2023-08-01 维沃移动通信(杭州)有限公司 Unread message identifier display method and device and electronic equipment
CN114143280B (en) * 2021-10-29 2023-11-14 北京达佳互联信息技术有限公司 Session display method and device, electronic equipment and storage medium
CN114024785B (en) * 2021-11-03 2022-11-08 腾讯科技(深圳)有限公司 Method and device for reporting messages in batch, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883289A (en) * 2012-09-19 2013-01-16 北京小米科技有限责任公司 Communication processing method, client and mobile terminal
CN103220413A (en) * 2013-03-25 2013-07-24 深圳市金立通信设备有限公司 Communication device and communication information state identifying method in same
CN104158978A (en) * 2014-08-27 2014-11-19 北京数字天域科技股份有限公司 Method and device for automatically deleting information
CN105120098A (en) * 2015-08-31 2015-12-02 昆山龙腾光电有限公司 Reminding method and device for unhandled event of mobile terminal
CN108182024A (en) * 2017-12-27 2018-06-19 上海传英信息技术有限公司 The treating method and apparatus of unread message
CN110430124A (en) * 2019-08-05 2019-11-08 腾讯科技(深圳)有限公司 Non- read flag processing method, device, system, storage medium and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870464A (en) * 2012-12-10 2014-06-18 腾讯科技(北京)有限公司 Unread message processing method, display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883289A (en) * 2012-09-19 2013-01-16 北京小米科技有限责任公司 Communication processing method, client and mobile terminal
CN103220413A (en) * 2013-03-25 2013-07-24 深圳市金立通信设备有限公司 Communication device and communication information state identifying method in same
CN104158978A (en) * 2014-08-27 2014-11-19 北京数字天域科技股份有限公司 Method and device for automatically deleting information
CN105120098A (en) * 2015-08-31 2015-12-02 昆山龙腾光电有限公司 Reminding method and device for unhandled event of mobile terminal
CN108182024A (en) * 2017-12-27 2018-06-19 上海传英信息技术有限公司 The treating method and apparatus of unread message
CN110430124A (en) * 2019-08-05 2019-11-08 腾讯科技(深圳)有限公司 Non- read flag processing method, device, system, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Marking unread deleted emails in Outlook as read";oneminuteofficemagic;《https://oneminuteofficemagic.com/2019/05/07/marking-unread-deleted-emails-in-outlook-as-read/》;20190507;全文 *
"一种未读信息的标记方法及移动终端";杨磊;《掌桥科研》;20170915;全文 *

Also Published As

Publication number Publication date
CN111083039A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111083039B (en) Message unread mark processing method and device, storage medium and terminal
CN110278464B (en) Method and device for displaying list
CN108737897B (en) Video playing method, device, equipment and storage medium
CN110308956B (en) Application interface display method and device and mobile terminal
CN109922356B (en) Video recommendation method and device and computer-readable storage medium
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN112751679A (en) Instant messaging message processing method, terminal and server
CN112163406A (en) Interactive message display method and device, computer equipment and storage medium
CN111949879A (en) Method and device for pushing message, electronic equipment and readable storage medium
CN112764608A (en) Message processing method, device, equipment and storage medium
CN111897465B (en) Popup display method, device, equipment and storage medium
CN110890969A (en) Method and device for mass-sending message, electronic equipment and storage medium
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN116418771A (en) Message display method, message processing method, device and electronic equipment
CN112732133B (en) Message processing method and device, electronic equipment and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN113836426A (en) Information pushing method and device and electronic equipment
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN114816600A (en) Session message display method, device, terminal and storage medium
CN113051485A (en) Group searching method, device, terminal and storage medium
CN113495770A (en) Method, device, terminal and storage medium for displaying application page
CN111010732A (en) Network registration method, device, electronic equipment and medium
CN110933237A (en) Call method, device, electronic equipment and medium

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