CN112306592A - Message processing method and device, storage medium and electronic device - Google Patents

Message processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112306592A
CN112306592A CN201910708595.9A CN201910708595A CN112306592A CN 112306592 A CN112306592 A CN 112306592A CN 201910708595 A CN201910708595 A CN 201910708595A CN 112306592 A CN112306592 A CN 112306592A
Authority
CN
China
Prior art keywords
message
target
interface
session
displayed
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
CN201910708595.9A
Other languages
Chinese (zh)
Other versions
CN112306592B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910708595.9A priority Critical patent/CN112306592B/en
Publication of CN112306592A publication Critical patent/CN112306592A/en
Application granted granted Critical
Publication of CN112306592B publication Critical patent/CN112306592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a message processing method and device, a storage medium and an electronic device. Wherein, the method comprises the following steps: acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, wherein the target message session is a session in which an unread message exists, and a reminding mark for reminding the unread message is displayed on the target message session; responding to the first target operation, and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying a target message session; acquiring a second target operation executed on the selected session in the target message session; and responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface. The invention solves the technical problem of complicated operation for deleting the reminding identification of the message session in which a plurality of unread messages are positioned.

Description

Message processing method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for processing a message, a storage medium, and an electronic apparatus.
Background
In an application program of a social application or the like, in order to distinguish a message read by a user from an unread message, a reminder mark is displayed on a conversation of the unread message, so that the user is prompted that the message in the current conversation is not viewed. However, not all messages need to be viewed by the user. In order to eliminate the reminding identification of the unread message, each message session needs to be operated, so that the operation is complicated and the efficiency is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a message processing method and device, a storage medium and an electronic device, which are used for at least solving the technical problem of complicated operation of deleting a reminding identifier of a message session in which a plurality of unread messages are positioned.
According to an aspect of the embodiments of the present invention, there is provided a method for processing a message, including: acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, wherein the target message session is a session in which an unread message exists, and a reminding mark for reminding the unread message is displayed on the target message session; responding to the first target operation, and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying a target message session; acquiring a second target operation executed on the selected session in the target message session; and responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface.
According to another aspect of the embodiments of the present invention, there is also provided a device for processing a message, including: the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, the target message sessions are sessions with unread messages, and reminding marks for reminding the unread messages are displayed on the target message sessions; the first display unit is used for responding to the first target operation and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying a target message session; a second obtaining unit, configured to obtain a second target operation performed on a selected session of the target message sessions; and the processing unit is used for responding to the second target operation and deleting the reminding mark corresponding to the selected conversation on the message interface.
According to still another aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to execute the above message processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for processing the message through the computer program.
In the embodiment of the invention, a first target operation executed on at least one of target message sessions is acquired, wherein the target message session is the unread message session, the message processing interface is displayed by responding to the first target operation, the target message session with the unread message session is displayed on the message processing interface, the reminding mark corresponding to the selected session is deleted on the message interface by acquiring a second target operation executed on the selected session, the message processing interface of the target message session with the unread message is displayed, so that the target message session with the unread message can be operated on the message processing interface, the reminding mark corresponding to the selected session is deleted, the centralized processing of a plurality of sessions with the unread message is realized, and the technical effects of deleting the reminding marks are simplified, and further, the technical problem that the operation for deleting the reminding identification of the message session where the plurality of unread messages are located is complex is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative message processing method according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating an alternative message processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a message interface of an alternative message processing method according to an embodiment of the invention;
FIG. 4 is a diagram of a message processing interface of an alternative message processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a message processing interface of an alternative message processing method according to an embodiment of the invention;
FIG. 6 is a flow chart illustrating an alternative message processing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an alternative message processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a method for processing a message is provided, and optionally, as an optional implementation manner, the method for processing a message may be applied to, but is not limited to, an environment as shown in fig. 1.
The user device 102 may display a message interface of the target application via the display 108, on which a plurality of message sessions may be displayed, the message sessions including: a first type message session and a second type message session, where messages in the first type message session are not viewed yet, and messages in the second type message session are viewed already, the user equipment 102 may execute step S110 through the processor 106 to obtain a first target operation performed on at least one of target message sessions displayed on a message interface of a target application, where the target message session is a session in which an unread message exists, and a reminder for reminding the unread message is displayed on the target message session; s112, responding to the first target operation, and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying a target message session; it is understood that the message processing interface may be for displaying all of the targeted message conversations, but in the event that all of the targeted message conversations cannot be displayed on one display interface, all of the targeted message conversations may be displayed via multiple switchable interfaces; s114, acquiring a second target operation executed on the selected session in the target message session; here, the second target operation is used for indicating that the reminding mark corresponding to the selected conversation is deleted; and S116, responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface. The method comprises the steps of obtaining a first target operation executed on at least one of target message conversations, responding to the first target operation, displaying a message processing interface, displaying all target message conversations with unread message conversations on the message processing interface, deleting a reminding mark corresponding to a selected conversation on the message interface by obtaining a second target operation executed on the selected conversation, and enabling the message processing interface with all unread messages to operate the target message conversations with all unread messages, so that the reminding mark corresponding to the selected conversation is deleted, and the multiple conversations with the unread messages are processed in a centralized mode. Here, the user device 102 may store data in the process through the memory 104.
Optionally, in this embodiment, the message processing method may be, but is not limited to, applied to the user equipment 102, and is used to delete the reminder identifier corresponding to the target message session in which the unread message exists in the target application. The target application may be, but is not limited to, run in the user equipment 102, and the user equipment 102 may be, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a PC, and other terminal devices that support running of an application client.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for processing the message includes:
step S202, a first target operation executed on at least one of target message conversations displayed on a message interface of a target application is obtained, wherein the target message conversation is a conversation in which unread messages exist, and a reminding mark for reminding the unread messages is displayed on the target message conversation;
here, a plurality of types of message conversations may be displayed on the target application, for example, there may be a first type of message conversation in which messages have not yet been viewed, and there may be a second type of message conversation in which messages have been viewed, where the target message conversation is the first type of message conversation. It will be appreciated that a conversation in embodiments of the present invention may be a message dialog box displayed in a target application, the message dialog box being used to display a message. As shown in fig. 3, a plurality of conversations are displayed on a messaging interface, with reminder identifications displayed for conversations that have not yet been viewed. Here, the reminder identification may also be used to prompt for the number of messages not viewed in the current session.
The first target operation may be a predetermined operation on one of the target message sessions. For example, the one session is pressed and slid in the target direction after exceeding a first length of time. The operation selection interface may include a plurality of candidate operations, for example, a top-up operation on the session, a deletion operation on the session, and the like. And at least target candidate operation exists in the operation selection interface, and when the selection of the target candidate operation is obtained, the information processing interface is accessed. Of course, the first target operation may also be a predetermined operation on multiple ones of the target message conversations, such as sliding over multiple target message conversations. It is to be understood that the above description is only illustrative of the first object operation of the embodiments of the present invention, and the present invention is not limited to the above examples.
Step S204, responding to the first target operation, and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying a target message session;
it will be appreciated that the message handling interface may be for displaying all of the targeted message conversations, and in the event that the message handling interface is unable to display all of the targeted message conversations, portions of all of the targeted message conversations may be displayed via the plurality of switchable sub-interfaces such that all of the targeted message conversations are displayed via the plurality of switchable sub-interfaces.
Here, in an alternative embodiment of the present invention, only the target message conversation may be displayed on the message processing interface, and the conversation in which the read message exists may not be displayed. In another optional embodiment of the present invention, the message processing interface may display a target message conversation and a conversation of the existing read message, which form a conversation list, and the target message conversation is located in the conversation list before the conversation of the existing read message. That is, all conversations may be reordered by displaying a message handling interface, with the target message conversation displayed before the conversation in which the read message exists. It will be appreciated that the ordering for a target message session may be arranged in terms of the time of receipt or transmission of the most recent message present in the target message session.
Step S206, acquiring a second target operation executed on the selected conversation in the target message conversation; here, the second target operation is used for indicating that the reminding mark corresponding to the selected conversation is deleted;
here, the selected conversation may be the entire target message conversation or a part of the entire target message conversation, and it is understood that the selected conversation may be determined according to the received operation. For example, on the message processing interface, a selection operation on a part of the target message session may be received, and a click object of the received click operation may be determined as the selected session. Of course, the message processing interface may also be provided with an operation control, where the operation control is used to indicate that all target message sessions are determined to be selected sessions. It can be understood that, in the case of receiving the click operation on the operation control, the reminder marks of all target message sessions can be deleted, that is, all reminder marks can be directly deleted by one click operation.
And S208, responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface.
And responding to the second target operation, deleting the reminding mark corresponding to the selected conversation on the message interface, and displaying the processed message interface. In the processed message interface, the alert flag for the target message conversation is deleted.
In the embodiment of the invention, the first target operation executed on at least one of the target message sessions is acquired, wherein the target message session is the existence of unread message session, and the message processing interface is displayed by responding to the first target operation, displaying all target message conversations with unread message conversations on the message processing interface, acquiring a second target operation performed on the selected conversation, deleting the reminding mark corresponding to the selected conversation on the message interface, displaying the message processing interface of the target message conversation in which all unread messages are positioned, so that the target message session in which all unread messages are located can be operated on at the message handling interface, therefore, the reminding marks corresponding to the selected conversation are deleted, so that the centralized processing of a plurality of conversations with unread messages is realized, and the operation of deleting a plurality of reminding marks is simplified.
Optionally, before obtaining the second target operation performed on the selected one of the target message sessions, the method further includes: acquiring a first selection operation for selecting all target message sessions; and responding to the first selection operation, and determining all target message conversations as the selected conversations. In the embodiment of the invention, a selection control can be displayed on the message processing interface and used for selecting all target message conversations. For example, a full selection button may be provided, and in a case where a click operation on the full selection button is detected, all target message conversations may be determined as the selected conversation.
Optionally, before obtaining the second target operation performed on the selected one of the target message sessions, the method further includes: acquiring a second selection operation for selecting part of all target message sessions; and responding to the second selection operation, and determining the partial session as the selected session. In the embodiment of the present invention, a selection operation on a part of all target message sessions displayed on the message processing interface may be received, for example, a click operation on a single target message session, where the click operation is used to instruct to select the clicked target message session, and the selected session is determined by multiple click operations.
It can be understood that a processing control may be provided on the message processing interface, and the processing control is configured to delete all the reminder tags of the target message session. For example, the all-tag deletion control shown in fig. 4, that is, the user can directly delete the reminder tags of all target message conversations by clicking once. It will be appreciated that the selection control in the above embodiments may be a processing control. That is, all target message conversations are determined to be the selected conversations through the selection control, further operation by a user is not needed, and the selection control also deletes the reminding marks of all the target message conversations.
Optionally, the obtaining a first target operation performed on at least one of the target message sessions displayed on the message interface of the target application includes: a first set of operations performed on at least one session on a messaging interface is detected, wherein a first target operation includes a first set of operations comprising: the apparatus includes a first pressing operation performed on at least one session, and a sliding operation performed in a target direction after the first pressing operation is performed for more than a first length of time. In the embodiment of the invention, the user can press one of the target message conversations and slide towards the target direction after the first duration is exceeded, so as to enter the message processing interface. The target direction for this may be to slide to the right of the message interface.
Optionally, the obtaining a first target operation performed on at least one of the target message sessions displayed on the message interface of the target application includes: detecting a second pressing operation, of which the operation time length executed on at least one conversation on the message interface exceeds a second time length; responding to the second pressing operation, and displaying an operation selection interface on the message interface, wherein at least one candidate operation is displayed on the operation selection interface; and acquiring a third selection operation executed on a target candidate operation in the at least one candidate operation, wherein the target candidate operation is used for indicating that a message processing interface is displayed in the target application, and the first target operation comprises a second pressing operation and the third selection operation. In the embodiment of the present invention, the user may further perform a pressing operation on one session, and when the pressing reaches or exceeds the second duration, an operation selection interface is displayed on the message interface, where at least a target candidate operation exists in the operation selection interface, and the target candidate operation is used to indicate to enter the message processing interface. That is, after the user clicks the target candidate operation, the message processing interface may be entered. It is to be understood that the clicking operation in the above description may be replaced by sliding, pressing, etc., and the present invention is not limited thereto.
Optionally, the displaying, in response to the first target operation, the message processing interface in the target application includes: creating a display layer in a target application, wherein the display layer is positioned on a message interface; and displaying a message processing interface in the display layer, wherein the conversation displayed on the message processing interface only comprises all target message conversations. In the embodiment of the present invention, a display layer may be created in a target application, and is used to display a message processing interface in the display layer. It will be appreciated that the display layer may be suspended above the message interface. As shown in fig. 4, the display layer may be a transparent layer, and when the message processing interface is displayed, the portion of the message processing interface that is not covered by the message processing interface can be seen. As shown in fig. 5, the display layer may also be an opaque layer, which cannot be viewed when displaying the message processing interface. In the embodiment of the invention, the message processing interface can be conveniently displayed by establishing the layer to display the message processing interface, the message interface does not need to be adjusted, the original display framework does not need to be adjusted too much, and the message processing interface is displayed simply and conveniently.
Optionally, displaying the message processing interface in the display layer includes: displaying a message processing interface in a first display area in a display layer; after the message processing interface is displayed in the display layer, the method further comprises the following steps: acquiring a third target operation on a second display area, wherein the second display area is a display area outside the first display area in the display layer, and the third target operation is used for indicating switching display to a message interface; and responding to the third target operation, and switching and displaying the message processing interface to the message interface. In the embodiment of the invention, the message processing interface is displayed in the first display area, and the message processing interface can be switched and displayed to the message interface under the condition that the third target operation on the second display area except the first display area is acquired. For example, a blank area other than the message processing interface shown in fig. 4 is clicked, and when a click operation is detected, the interface is switched to the message interface. The first target display area here may be a display area other than the message processing interface as shown in fig. 5. It can be understood that the third target operation on the first display area is obtained through the embodiment of the invention, and the message interface can be returned conveniently and quickly.
In an alternative embodiment of the present invention, as shown in fig. 5, a click operation of a user on a session on a message interface may also be received, where the click operation is used to indicate entry into the clicked session; and responding to the clicking operation, displaying a conversation interface, wherein messages are displayed in the conversation interface, and a user can view the messages in the conversation. Of course, an input instruction in the session interface may also be received, and an input operation may be performed in response to the input instruction. For example, the user may also enter text, images, etc. in the conversation interface, perform normal message viewing and sending, etc. So that the use of the user is not affected when the reminder mark is processed.
Optionally, the deleting, in response to the second target operation, the reminder mark corresponding to the selected session on the message interface includes: and responding to the second target operation, switching and displaying the message processing interface to a message interface, wherein the reminding mark corresponding to the selected conversation on the message interface is deleted. In the embodiment of the present invention, in the case of responding to the second target operation, the message processing interface is switched and displayed to the message interface, and it can be understood that the reminder mark corresponding to the selected session on the switched message interface is deleted.
The present invention will be further described below by way of examples.
In the application program of the embodiment of the invention, a plurality of target message conversations with unread messages are displayed, and each target message conversation is displayed with a reminding mark for reminding a user that the message in the conversation is not viewed.
S602, receiving a long press or drag for a session with unread messages; here, the first target operation may be a long-press or drag operation, and the user requests to enter the message processing interface through the operation, so as to perform uniform processing on the target message session in the message processing interface;
s604, popping up a secondary menu, and aggregating all target message sessions with unread messages; responding to the input first target operation, displaying a secondary menu on a displayed message interface, namely the message processing interface in the embodiment, wherein all target message conversations are aggregated in the message processing interface, so that the user can conveniently and uniformly process the messages;
s606, selecting one or more conversations with unread messages, and clearing the reminding marks; receiving user operation, wherein the user selects one or more conversations with unread messages, and clearing the reminding marks of the selected conversations. It will be appreciated that alert messages for non-selected sessions are not deleted. In the embodiment of the invention, the reminding identifiers on a plurality of conversations can be deleted at one time by processing the plurality of conversations on the message processing interface aggregated with all the target message conversations, so that a user is not required to delete the reminding identifier of each conversation, the operation flow is simplified, and the processing efficiency is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a message processing apparatus for implementing the message processing method. As shown in fig. 7, the apparatus includes:
a first obtaining unit 702, configured to obtain a first target operation performed on at least one of target message sessions displayed on a message interface of a target application, where the target message session is a session in which an unread message exists, and a reminder for reminding the unread message is displayed on the target message session;
here, a plurality of types of message conversations may be displayed on the target application, for example, there may be a first type of message conversation in which messages have not yet been viewed, and there may be a second type of message conversation in which messages have been viewed, where the target message conversation is the first type of message conversation. It will be appreciated that a conversation in embodiments of the present invention may be a message dialog box displayed in a target application, the message dialog box being used to display a message. As shown in fig. 3, a plurality of conversations are displayed on a messaging interface, with reminder identifications displayed for conversations that have not yet been viewed. Here, the reminder identification may also be used to prompt for the number of messages not viewed in the current session.
The first target operation may be a predetermined operation on one of the target message sessions. For example, the one session is pressed and slid in the target direction after exceeding a first length of time. The operation selection interface may include a plurality of candidate operations, for example, a top-up operation on the session, a deletion operation on the session, and the like. And at least target candidate operation exists in the operation selection interface, and when the selection of the target candidate operation is obtained, the information processing interface is accessed. Of course, the first target operation may also be a predetermined operation on multiple ones of the target message conversations, such as sliding over multiple target message conversations. It is to be understood that the above description is only illustrative of the first object operation of the embodiments of the present invention, and the present invention is not limited to the above examples.
A first display unit 704, configured to display a message processing interface in the target application in response to the first target operation, where the message processing interface is configured to display a target message session;
here, in an alternative embodiment of the present invention, only the target message conversation may be displayed on the message processing interface, and the conversation in which the read message exists may not be displayed. In another optional embodiment of the present invention, the message processing interface may display a target message conversation and a conversation of the existing read message, which form a conversation list, and the target message conversation is located in the conversation list before the conversation of the existing read message. That is, all conversations may be reordered by displaying a message handling interface, with the target message conversation displayed before the conversation in which the read message exists. It will be appreciated that the ordering for a target message session may be arranged in terms of the time of receipt or transmission of the most recent message present in the target message session.
A second obtaining unit 706, configured to obtain a second target operation performed on the selected session in the target message sessions; here, the second target operation may be to instruct deletion of a reminder mark corresponding to the selected session;
here, the selected conversation may be the entire target message conversation or a part of the entire target message conversation, and it is understood that the selected conversation may be determined according to the received operation. For example, on the message processing interface, a selection operation on a part of the target message session may be received, and a click object of the received click operation may be determined as the selected session. Of course, the message processing interface may also be provided with an operation control, where the operation control is used to indicate that all target message sessions are determined to be selected sessions. It can be understood that, in the case of receiving the click operation on the operation control, the reminder marks of all target message sessions can be deleted, that is, all reminder marks can be directly deleted by one click operation.
And the processing unit 708 is configured to respond to the second target operation, and delete the reminder mark corresponding to the selected session on the message interface.
And responding to the second target operation, deleting the reminding mark corresponding to the selected conversation on the message interface, and displaying the processed message interface. In the processed message interface, the alert flag for the target message conversation is deleted.
In the embodiment of the invention, the first target operation executed on at least one of the target message sessions is acquired, wherein the target message session is the existence of unread message session, and the message processing interface is displayed by responding to the first target operation, displaying all target message conversations with unread message conversations on the message processing interface, acquiring a second target operation performed on the selected conversation, deleting the reminding mark corresponding to the selected conversation on the message interface, displaying the message processing interface of the target message conversation in which all unread messages are positioned, so that the target message session in which all unread messages are located can be operated on at the message handling interface, therefore, the reminding marks corresponding to the selected conversation are deleted, so that the centralized processing of a plurality of conversations with unread messages is realized, and the operation of deleting a plurality of reminding marks is simplified.
Optionally, the apparatus may further include: the third acquisition unit is used for acquiring first selection operation for selecting all target message sessions; and the first determining unit is used for responding to the first selecting operation and determining all target message conversations as the selected conversations. In the embodiment of the invention, a selection control can be displayed on the message processing interface and used for selecting all target message conversations. For example, a full selection button may be provided, and in a case where a click operation on the full selection button is detected, all target message conversations may be determined as the selected conversation.
Optionally, the apparatus may further include: the fourth acquisition unit is used for acquiring a second selection operation for selecting part of all target message conversations; and the second determining unit is used for responding to the second selecting operation and determining the partial conversation as the selected conversation. In the embodiment of the present invention, a selection operation on a part of all target message sessions displayed on the message processing interface may be received, for example, a click operation on a single target message session, where the click operation is used to instruct to select the clicked target message session, and the selected session is determined by multiple click operations.
Optionally, the first obtaining unit may include: a first detection module, configured to detect a first set of operations performed on at least one session on a message interface, where the first target operation includes the first set of operations, and the first set of operations includes: the apparatus includes a first pressing operation performed on at least one session, and a sliding operation performed in a target direction after the first pressing operation is performed for more than a first length of time. In the embodiment of the invention, the user can press one of the target message conversations and slide towards the target direction after the first duration is exceeded, so as to enter the message processing interface. The target direction for this may be to slide to the right of the message interface.
Optionally, the first obtaining unit may include: the second detection module is used for detecting a second pressing operation of which the operation time length executed on at least one conversation on the message interface exceeds a second time length; the first display module is used for responding to the second pressing operation and displaying an operation selection interface on the message interface, wherein at least one candidate operation is displayed on the operation selection interface; the first obtaining module is used for obtaining a third selecting operation executed on a target candidate operation in at least one candidate operation, wherein the target candidate operation is used for indicating that a message processing interface is displayed in a target application, and the first target operation comprises a second pressing operation and the third selecting operation. In the embodiment of the present invention, the user may further perform a pressing operation on one session, and when the pressing reaches or exceeds the second duration, an operation selection interface is displayed on the message interface, where at least a target candidate operation exists in the operation selection interface, and the target candidate operation is used to indicate to enter the message processing interface. That is, after the user clicks the target candidate operation, the message processing interface may be entered. It is to be understood that the clicking operation in the above description may be replaced by sliding, pressing, etc., and the present invention is not limited thereto.
Optionally, the first display unit may include: the system comprises a creating module, a message interface and a display layer, wherein the creating module is used for creating a display layer in a target application, and the display layer is positioned on the message interface; and the second display module is applied to display the message processing interface in the display layer, wherein the conversation displayed on the message processing interface only comprises all target message conversations. In the embodiment of the present invention, a display layer may be created in a target application, and is used to display a message processing interface in the display layer. It will be appreciated that the display layer may be suspended above the message interface. The display layer may be a transparent layer, and when the message processing interface is displayed, the part of the message processing interface which is not covered by the message processing interface can be seen. The display layer may also be an opaque layer that does not allow the message interface to be viewed when the message processing interface is displayed. In the embodiment of the invention, the message processing interface can be conveniently displayed by establishing the layer to display the message processing interface, the message interface does not need to be adjusted, the original display framework does not need to be adjusted too much, and the message processing interface is displayed simply and conveniently.
Optionally, the second display module is specifically configured to: displaying a message processing interface in a first display area in a display layer; the above apparatus may further include: a fifth obtaining unit, configured to obtain a third target operation for a second display area, where the second display area is a display area in the display layer other than the first display area, and the third target operation is used to instruct to switch display to the message interface; and the first switching unit is used for responding to the third target operation and switching and displaying the message processing interface to the message interface. In the embodiment of the invention, the message processing interface is displayed in the first display area, and the message processing interface can be switched and displayed to the message interface under the condition that the third target operation on the second display area except the first display area is acquired.
Optionally, the processing unit may include: and the second switching unit is used for responding to the second target operation and switching and displaying the message processing interface to the message interface, wherein the reminding mark corresponding to the selected session on the message interface is deleted. In the embodiment of the present invention, in the case of responding to the second target operation, the message processing interface is switched and displayed to the message interface, and it can be understood that the reminder mark corresponding to the selected session on the switched message interface is deleted.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the method for processing the message, as shown in fig. 8, the electronic device includes a memory 802 and a processor 804, the memory 802 stores a computer program therein, and the processor 804 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, wherein the target message sessions are sessions in which unread messages exist and reminding marks for reminding the unread messages are displayed on the target message sessions;
s2, responding to the first target operation, displaying a message processing interface in the target application, wherein the message processing interface is used for displaying the target message session;
s3, acquiring a second target operation executed on the selected conversation in the target message conversation;
and S4, responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
The memory 802 may be used to store software programs and modules, such as program instructions/modules corresponding to the message processing method and apparatus in the embodiments of the present invention, and the processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, that is, implements the message processing method described above. The memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 802 can further include memory located remotely from the processor 804, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 802 may be, but not limited to, specifically configured to store information such as display resources of a message interface. As an example, as shown in fig. 8, the memory 802 may include, but is not limited to, a first obtaining unit 702, a first displaying unit 704, a second obtaining unit 706, and a processing unit 708 of the processing device of the message. In addition, the module unit may further include, but is not limited to, other module units in the processing apparatus of the above message, which is not described in this example again.
Optionally, the transmitting device 806 is configured to receive or transmit data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 806 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 806 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 808 for displaying the message interface; and a connection bus 810 for connecting the respective module parts in the above-described electronic apparatus.
According to a further aspect of embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, wherein the target message sessions are sessions in which unread messages exist and reminding marks for reminding the unread messages are displayed on the target message sessions;
s2, responding to the first target operation, displaying a message processing interface in the target application, wherein the message processing interface is used for displaying the target message session;
s3, acquiring a second target operation executed on the selected conversation in the target message conversation;
and S4, responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. A method for processing a message, comprising:
acquiring a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, wherein the target message sessions are sessions in which unread messages exist and reminding marks for reminding the unread messages are displayed on the target message sessions;
responding to the first target operation, and displaying a message processing interface in the target application, wherein the message processing interface is used for displaying the target message session;
acquiring a second target operation executed on the selected conversation in the target message conversation;
and responding to the second target operation, and deleting the reminding mark corresponding to the selected conversation on the message interface.
2. The method of claim 1, wherein prior to obtaining a second target operation performed on a selected one of the target message conversations, the method further comprises:
acquiring a first selection operation for selecting all the target message sessions;
and responding to the first selection operation, and determining all the target message conversations as the selected conversations.
3. The method of claim 1, wherein prior to obtaining a second target operation performed on a selected one of the target message conversations, the method further comprises:
acquiring a second selection operation for selecting part of all the target message sessions;
and responding to the second selection operation, and determining the partial session as the selected session.
4. The method of claim 1, wherein obtaining a first target operation performed on at least one of the target message conversations displayed on the message interface of the target application comprises:
detecting a first set of operations performed on the at least one session on the messaging interface, wherein the first target operation includes the first set of operations comprising: the method includes a first pressing operation performed on the at least one session, and a sliding operation performed in a target direction after the first pressing operation is performed for more than a first length of time.
5. The method of claim 1, wherein obtaining a first target operation performed on at least one of the target message conversations displayed on the message interface of the target application comprises:
detecting a second pressing operation, of which the operation duration executed on the at least one conversation on the message interface exceeds a second duration;
responding to the second pressing operation, and displaying an operation selection interface on the message interface, wherein at least one candidate operation is displayed on the operation selection interface;
and acquiring a third selection operation executed on a target candidate operation in the at least one candidate operation, wherein the target candidate operation is used for indicating that the message processing interface is displayed in the target application, and the first target operation comprises the second pressing operation and the third selection operation.
6. The method of any of claims 1-5, wherein displaying a message handling interface in the target application in response to the first target operation comprises:
creating a display layer in the target application, wherein the display layer is located above the message interface;
and displaying the message processing interface in the display layer, wherein the conversation displayed on the message processing interface only comprises all target message conversations.
7. The method of claim 6,
displaying the message processing interface in the display layer comprises: displaying the message processing interface in a first display area in the display layer;
after the message processing interface is displayed in the display layer, the method further includes: acquiring a third target operation on a second display area, wherein the second display area is a display area outside the first display area in the display layer, and the third target operation is used for indicating switching display to the message interface; and responding to the third target operation, and switching and displaying the message processing interface to the message interface.
8. The method of any of claims 1-5, wherein deleting the reminder mark corresponding to the selected conversation on the message interface in response to the second target operation comprises:
and responding to the second target operation, and switching and displaying the message processing interface to the message interface, wherein the reminding mark corresponding to the selected conversation on the message interface is deleted.
9. An apparatus for processing a message, comprising:
the device comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining a first target operation executed on at least one of target message sessions displayed on a message interface of a target application, the target message sessions are sessions with unread messages, and reminding marks for reminding the unread messages are displayed on the target message sessions;
a first display unit, configured to respond to the first target operation and display a message processing interface in the target application, where the message processing interface is configured to display the target message session;
a second obtaining unit, configured to obtain a second target operation performed on a selected session in the target message sessions;
and the processing unit is used for responding to the second target operation and deleting the reminding mark corresponding to the selected conversation on the message interface.
10. The apparatus of claim 9, further comprising:
a third obtaining unit, configured to obtain a first selection operation for selecting all the target message sessions;
a first determining unit, configured to determine all the target message sessions as the selected sessions in response to the first selecting operation.
11. The apparatus of claim 9, further comprising:
a fourth obtaining unit, configured to obtain a second selection operation for selecting a part of all the target message sessions;
and the second determining unit is used for responding to the second selection operation and determining the partial session as the selected session.
12. The apparatus of claim 9, wherein the first obtaining unit comprises:
a first detection module configured to detect a first set of operations performed on the at least one session on the message interface, wherein the first target operation includes the first set of operations, and the first set of operations includes: the method includes a first pressing operation performed on the at least one session, and a sliding operation performed in a target direction after the first pressing operation is performed for more than a first length of time.
13. The apparatus of claim 9, wherein the first obtaining unit comprises:
the second detection module is used for detecting a second pressing operation of which the operation duration executed on the at least one conversation on the message interface exceeds a second duration;
the first display module is used for responding to the second pressing operation and displaying an operation selection interface on the message interface, wherein at least one candidate operation is displayed on the operation selection interface;
a first obtaining module, configured to obtain a third selecting operation performed on a target candidate operation in the at least one candidate operation, where the target candidate operation is used to instruct to display the message processing interface in the target application, and the first target operation includes the second pressing operation and the third selecting operation.
14. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 8.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN201910708595.9A 2019-08-01 2019-08-01 Message processing method and device, storage medium and electronic device Active CN112306592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910708595.9A CN112306592B (en) 2019-08-01 2019-08-01 Message processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910708595.9A CN112306592B (en) 2019-08-01 2019-08-01 Message processing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112306592A true CN112306592A (en) 2021-02-02
CN112306592B CN112306592B (en) 2023-07-18

Family

ID=74485433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910708595.9A Active CN112306592B (en) 2019-08-01 2019-08-01 Message processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112306592B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918055A (en) * 2021-09-14 2022-01-11 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN115225595A (en) * 2022-07-22 2022-10-21 北京字跳网络技术有限公司 Management method, device, electronic equipment and medium for instant messaging session

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967550A (en) * 2014-05-19 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
CN105760059A (en) * 2014-12-17 2016-07-13 阿里巴巴集团控股有限公司 Message reading control method and device
CN105824513A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Message processing method and apparatus
CN106484423A (en) * 2016-10-14 2017-03-08 珠海市魅族科技有限公司 A kind of message display method and device
CN106843718A (en) * 2016-12-20 2017-06-13 天脉聚源(北京)传媒科技有限公司 A kind of intelligence removes the method and device of the prompting mark of people of unread information
CN107291472A (en) * 2017-06-22 2017-10-24 深圳传音通讯有限公司 The processing method and processing device of the prompting message of application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967550A (en) * 2014-05-19 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105760059A (en) * 2014-12-17 2016-07-13 阿里巴巴集团控股有限公司 Message reading control method and device
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
US20180024660A1 (en) * 2015-10-10 2018-01-25 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, and computer storage medium
CN105824513A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Message processing method and apparatus
CN106484423A (en) * 2016-10-14 2017-03-08 珠海市魅族科技有限公司 A kind of message display method and device
CN106843718A (en) * 2016-12-20 2017-06-13 天脉聚源(北京)传媒科技有限公司 A kind of intelligence removes the method and device of the prompting mark of people of unread information
CN107291472A (en) * 2017-06-22 2017-10-24 深圳传音通讯有限公司 The processing method and processing device of the prompting message of application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918055A (en) * 2021-09-14 2022-01-11 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN115225595A (en) * 2022-07-22 2022-10-21 北京字跳网络技术有限公司 Management method, device, electronic equipment and medium for instant messaging session

Also Published As

Publication number Publication date
CN112306592B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN107888703B (en) Information pushing method and device, server and readable storage medium
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN106469044B (en) Method and device for realizing page jump
US11283743B1 (en) Techniques for scam detection and prevention
CN110035004B (en) User name card sharing method, friend adding method and related device
CN110781408B (en) Information display method and device
CN104253741A (en) Information sending method and device and system thereof
CN105490917B (en) Method and device for realizing sharing in application
CN106209607B (en) Subscription information display method and device
CN108804194B (en) Notification bar message processing method and device, user terminal and readable storage medium
CN110022399B (en) Message display method and device, user terminal and readable storage medium
CN108134838A (en) data reporting method, device, mobile terminal and computer-readable medium
CN110300089B (en) Target account processing method and device, storage medium and electronic device
CN111367562A (en) Data acquisition method and device, storage medium and processor
CN112306592B (en) Message processing method and device, storage medium and electronic device
CN113347269A (en) Data updating method of industrial system, electronic equipment and storage medium
CN108549586B (en) Information processing method and device
CN108096838B (en) Gift package receiving method, device, server, mobile terminal and storage medium
CN111880887A (en) Message interaction method and device, storage medium and electronic equipment
CN104636460A (en) Article information pushing method and device
CN106294345A (en) The treating method and apparatus of the log content of application program
CN112783393B (en) Session display method, device and storage medium in instant messaging application
CN108494851A (en) Application program recommends method, apparatus and mobile terminal
CN109191147B (en) Information processing method, device, equipment and medium
CN112395029A (en) Application program interface display method and device, electronic equipment and storage 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