Message processing method, device, computer equipment and storage medium

By identifying the message type in the instant messaging system and displaying the prompt entrance, entering the message collection page to display the unread message collection, it solves the problem that users find it difficult to quickly locate the content of attention in a large number of messages, and realizes the effect of quickly displaying the message attention without occupying the message list space.

CN113760152BActive Publication Date: 2025-03-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010489930.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-02
Publication Date
2025-03-25
Estimated Expiration
2040-06-02

AI Technical Summary

Technical Problem

In instant messaging, it is difficult for users to quickly locate content they are concerned about among many messages, especially when they do not occupy the message list space.

Method used

By receiving and identifying its type, when the message type belongs to the target type, the prompt entry and the corresponding prompt identifier are displayed. When the trigger event occurs, enter the message collection page and display the unread message collection under this type.

Benefits of technology

It realizes the rapid display of messages that users are concerned about without occupying the message list space. By classifying and managing target-type messages, the efficiency of message viewing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113760152B_ABST
    Figure CN113760152B_ABST
Patent Text Reader

Abstract

The present application relates to a message processing method, device, computer equipment and storage medium. The method comprises: receiving a message, identifying the message type corresponding to the message; when the message type belongs to the target type, displaying a prompt entry; the prompt entry includes a prompt identifier corresponding to the message type; when a trigger event for the prompt entry occurs, entering a message collection page; in the message collection page, displaying a collection of unread messages under the message type corresponding to the prompt identifier. The method can quickly display messages that the user is concerned about without occupying the message list space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a message processing method, apparatus, computer equipment and storage medium. Background Art

[0002] With the development of computer technology, instant messaging technology has emerged. Instant messaging technology allows users to instantly transmit text, voice or video information through the Internet. In instant messaging, users will receive various messages. Messages in instant messaging are arranged in the order of the time when the messages are generated. When there are many messages, different messages may be displayed in the message list interspersed, making it difficult for users to quickly locate the content they are interested in among the many messages.

[0003] In the traditional way, users can get the messages they focus on by pinning them. However, pinning messages takes up limited space in the message list, and in most cases users do not have too many pinned messages. Therefore, how to quickly display the messages that users focus on while avoiding taking up space in the message list has become a technical problem that needs to be solved. Summary of the invention

[0004] Based on this, it is necessary to provide a message processing method, device, computer equipment and storage medium that can quickly display messages that users are interested in without occupying message list space in order to address the above technical problems.

[0005] A message processing method, the method comprising:

[0006] Receiving a message, and identifying a message type corresponding to the message;

[0007] When the message type belongs to the target type, a prompt entry is displayed; the prompt entry includes a prompt identifier corresponding to the message type;

[0008] When a trigger event for the prompt entry occurs, enter the message collection page;

[0009] In the message collection page, a collection of unread messages under the message type corresponding to the prompt identifier is displayed.

[0010] A message processing device, the device comprising:

[0011] A receiving module, used for receiving messages;

[0012] An identification module, used to identify the message type corresponding to the message;

[0013] A display module, used for displaying a prompt entry when the message type belongs to a target type; the prompt entry includes a prompt identifier corresponding to the message type;

[0014] When a trigger event for the prompt entry occurs, the display module is also used to enter a message collection page; in the message collection page, an unread message collection under the message type corresponding to the prompt identifier is displayed.

[0015] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0016] Receiving a message, and identifying a message type corresponding to the message;

[0017] When the message type belongs to the target type, a prompt entry is displayed; the prompt entry includes a prompt identifier corresponding to the message type;

[0018] When a trigger event for the prompt entry occurs, enter the message collection page;

[0019] In the message collection page, a collection of unread messages under the message type corresponding to the prompt identifier is displayed.

[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0021] Receiving a message, and identifying a message type corresponding to the message;

[0022] When the message type belongs to the target type, a prompt entry is displayed; the prompt entry includes a prompt identifier corresponding to the message type;

[0023] When a trigger event for the prompt entry occurs, enter the message collection page;

[0024] In the message collection page, a collection of unread messages under the message type corresponding to the prompt identifier is displayed.

[0025] The above-mentioned message processing method, device, computer equipment and storage medium, after the instant messaging application receives the message, when it is identified that the message type corresponding to the message belongs to the target type, a prompt entry is displayed. The prompt entry can display the prompt identifier corresponding to the message type. When a trigger event for the prompt entry occurs, enter the message collection page. In the message collection page, the unread message collection under the message type corresponding to the prompt identifier is displayed. There is no need to set it to the top in the message list in advance, which avoids the occupation of the message list space. By classifying and managing messages of each target type, messages are no longer displayed interspersed according to a single time dimension, which makes it faster and more efficient to view messages of the target type. This achieves the rapid display of messages that users are concerned about without occupying the message list space. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 An application environment diagram of a message processing method in an embodiment;

[0027] Figure 2 A schematic diagram of a flow chart of a message processing method in an embodiment;

[0028] Figure 3-1 A schematic diagram of a prompt entrance display in an embodiment;

[0029] Figure 3-2 A schematic diagram showing a prompt entrance in another embodiment;

[0030] Figure 3-3 A schematic diagram of displaying an unread message collection in one embodiment;

[0031] Figure 3-4 A schematic diagram of displaying an unread message collection in another embodiment;

[0032] Figure 3-5 A schematic diagram of locating a designated read message in a chat window in one embodiment;

[0033] Figure 4 is a timing diagram of a message processing method in an embodiment;

[0034] Figure 5-1 , Figure 5-2 , Figure 5-3 A schematic diagram of quickly performing resource sharing according to a resource sharing message in an embodiment;

[0035] Figure 6-1 , Figure 6-2 , Figure 6-3 A schematic diagram of an unread message set corresponding to a keyword message type in an embodiment;

[0036] Figure 7-1 , Figure 7-2 , Figure 7-3 , Figure 7-4 A schematic diagram of entering an unread message set corresponding to a keyword message type in a chat window in one embodiment;

[0037] Figure 8-1 , Figure 8-2 A schematic diagram of quickly replying to a target message in one embodiment;

[0038] Figure 9-1 , Figure 9-2 , Figure 9-3 A schematic diagram of entering an unread message collection and locating a target message through a prompt identifier corresponding to a current message type in a prompt entry in an embodiment;

[0039] Fig.10 A schematic diagram of a weakened display of a prompt entrance in an embodiment;

[0040] Figure 11-1 , Figure 11-2 , Figure 11-3 A schematic diagram showing a prompt entrance in yet another embodiment;

[0041] Fig.12 is a structural block diagram of a message processing device in one embodiment;

[0042] Fig.13 is a structural block diagram of a message processing device in another embodiment;

[0043] Fig.14 A structural block diagram of a message processing device in another embodiment;

[0044] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The message processing method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the first terminal 102 communicates with the second terminal 104, the third terminal 106, the fourth terminal 108, etc. through the network. Among them, the first terminal 102, the second terminal 104, the third terminal 106, and the fourth terminal 108 can be, but not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The first terminal 102, the second terminal 104, the third terminal 106, and the fourth terminal 108 are all installed with instant messaging applications. Taking the first terminal 102 as an example, messages sent by the second terminal 104, the third terminal 106, and the fourth terminal 108 can be received respectively. If the message type of one or more of the messages is identified as belonging to the target type, the first terminal 102 displays the corresponding prompt entry, and the prompt entry includes a prompt identifier corresponding to the message type. The user triggers the prompt entry, and the first terminal 102 responds to the triggering event of the prompt entry, enters the message collection page, and displays the unread message collection under the message type corresponding to the prompt identifier in the message collection page. This can facilitate users to quickly locate the target type of messages they are concerned about among many messages.

[0047] In one embodiment, Figure 2As shown, a message processing method is provided. Taking the first terminal (hereinafter simply referred to as the terminal) in Figure 1 as an example for illustration, the method includes the following steps:

[0048] Step 202: Receive a message and identify the message type corresponding to the message.

[0049] An instant messaging application is installed in the terminal. The terminal receives messages through the message receiver of the instant messaging application. The messages can come from individual users, groups, or notifications, etc. The instant messaging application identifies the corresponding message type for the received messages and caches the messages into the message queues corresponding to the message types respectively. The message types include resource sharing message type, keyword message type, designated read message type, active attention message type, ordinary message type, etc. Among them, the resource sharing message type, keyword message type, designated read message type, and active attention message type belong to the target types. Messages belonging to the target types are messages that users focus on, and can be called target messages or key messages. Among them, the resource sharing messages contain shared digital resources or virtual resources, etc. For example, the resource sharing messages can include messages related to red envelopes, receiving money, transferring money, etc. The keyword messages contain messages related to the keywords pre-defined by the user. The designated read messages are messages designated to be read by other users or groups. The designated read messages contain a preset character and a user identifier. For example, if the user identifier currently logged in to the terminal is Zhang San and the preset character is @, when the message contains @Zhang San, it means that the message is designated for Zhang San to read, and the corresponding message is a designated read message. The active attention messages come from users who have set special attention in advance.

[0050] Step 204: When the message type belongs to the target type, display a prompt entry; the prompt entry includes a prompt identifier corresponding to the message type.

[0051] When it is recognized that the message type of the received message belongs to the target type, the instant messaging application displays the corresponding prompt entry. For example, the prompt entry can be displayed in the message list, or can be displayed in other interfaces of the instant messaging application. A schematic diagram of displaying the prompt entry in the message list is as Figure 3-1 shown. The prompt entry can also be set in the main message label of the navigation bar. When the user clicks on the main message label, the prompt entries for each message type can be displayed, as Figure 3-2 shown.

[0052] The prompt entry includes a prompt identifier corresponding to the message type. The prompt identifier can be a general prompt identifier indicating that a message of the target type has been received, or it can be a prompt identifier corresponding to each message type belonging to the target type, that is, different message types can correspond to different prompt identifiers. Among them, when there is only one prompt entry, the message type of the latest received unread message belonging to the target type can be determined as the current message type, and the prompt identifier corresponding to the current message type can be displayed through the prompt entry. The latest reception means that the time difference between the reception time of the unread message and the current time is the smallest. Figure 3-1 As shown, the prompt identifier currently displayed in the prompt entry is the designated message read prompt identifier. When there are multiple prompt entries, each prompt entry can display prompt identifiers corresponding to various message types, such as Figure 3-2 shown.

[0053] Step 206: When a trigger event for the prompt entry occurs, enter the message collection page.

[0054] Step 208: In the message collection page, display the unread message collection of the message type corresponding to the prompt identifier.

[0055] The user triggers the prompt entry, generating a trigger event for the prompt entry, and the instant messaging application responds to the trigger event and enters the message collection page. The message collection page may include multiple message type tags, and the message type tag corresponds to the prompt identifier of the message type. The message collection page may display all message type tags or some message type tags. After entering the message collection page, the instant messaging application may display the unread message collection corresponding to the message type tag, that is, display the unread message collection under the message type corresponding to the prompt identifier. Among them, if Figure 3-3 As shown, the unread message collection corresponding to each message type can be displayed according to the message type label. In the message collection page, by triggering other message type labels, you can switch to the corresponding unread message collection. Figure 3-4 As shown, the unread message collection corresponding to some message type labels and the prompt entry corresponding to other message types are displayed. By triggering the prompt entry corresponding to other message types, switch to the corresponding unread message collection. In this way, target messages of different message types are classified and managed, and messages are no longer displayed interspersed according to a single time dimension, allowing users to view target messages more quickly and efficiently.

[0056] In this embodiment, after the instant messaging application receives a message, when it is identified that the message type corresponding to the message belongs to the target type, a prompt entry is displayed. The prompt entry can display a prompt identifier corresponding to the message type. When a trigger event for the prompt entry occurs, enter the message collection page. In the message collection page, a collection of unread messages under the message type corresponding to the prompt identifier is displayed. There is no need to set it to the top in the message list in advance, which avoids the occupation of the message list space. By classifying and managing messages of each target type, messages are no longer displayed interspersed according to a single time dimension, which makes it faster and more efficient to view messages of the target type. This achieves the rapid display of messages that users are concerned about without occupying the message list space.

[0057] In one embodiment, when a trigger event for a prompt entry occurs, a message collection page is entered, including: when the number of unread messages corresponding to the target type is one and a trigger event for the prompt entry occurs, the chat window where the unread message is located is entered and the unread message is located; when the number of unread messages corresponding to the target type is more than one and a trigger event for the prompt entry occurs, the message collection page is entered; or, when the number of unread messages corresponding to the target type is more than one and a trigger event for the prompt entry occurs, the chat window where the most recently received unread message is located is entered.

[0058] Since the target type of message (referred to as the target message) is the message that the user focuses on, in this embodiment, the target message can be quickly located in the chat window, which is convenient for the user to quickly view. Specifically, the number of unread messages of the target type received is read in the message buffer. When the number of unread messages is one and a trigger event for the prompt entry occurs, the instant messaging application can directly enter the corresponding chat window based on the message identifier and the source of the message. The sort position corresponding to the unread message is searched in the message queue of the corresponding message type, and the unread message is located in the chat window according to the sort position. For example, it can be found from Figure 3-1 ,Enter Figure 3-5 , locate the designated reading message in the chat window.

[0059] When there are more than one unread messages corresponding to the target type and a trigger event for the prompt entry occurs, enter the message collection page. The user can click on one of the target messages in the message collection page, and the instant messaging application obtains the message click event, responds to the message click event, and enters the corresponding chat window according to the message ID and message source. The instant messaging application searches for the sort position of the clicked target message in the message queue of the corresponding message type, and locates the clicked target message in the chat window according to the sort position. For example, Figure 3-4 When a designated read message is clicked, the position in the chat window is as follows Figure 3-5 As shown, the target message that the user is concerned about can be quickly located in the chat window.

[0060] Alternatively, when the number of unread messages corresponding to the target type is more than one, and a trigger event for the prompt entry occurs, enter the chat window where the most recently received unread message is located. When there is only one prompt entry, the message type of the most recently received unread message of the target type can be determined as the current message type, and the prompt identifier corresponding to the current message type is displayed through the prompt entry. When a trigger event for the prompt entry occurs, the instant messaging application enters the corresponding chat window based on the message identifier and message source, searches for the sort position of the most recently received unread message in the message queue of the current message type, and locates the most recently received unread message in the chat window based on the sort position. For example, Figure 3-1 The current message type is the designated read message type, and the latest unread message received is "Go see the cherry blossoms next week". By triggering the prompt entry, the unread message can be quickly located in the corresponding chat window, such as Figure 3-5 shown.

[0061] When there are multiple prompt entries, the prompt entries respectively display prompt identifiers corresponding to different message types. When the number of unread messages corresponding to a target type is more than one, it can mean that unread messages of different target types are received respectively, or it can mean that more than one unread messages of the same target type are received. When a trigger event for a prompt entry occurs, the instant messaging application enters the corresponding chat window according to the message identifier and the source of the message, searches for the sort position of the most recently received unread message in the message queue of the corresponding message type, and locates the most recently received unread message in the chat window according to the sort position. For example, in Figure 3-2 In the example, the number of unread messages corresponding to the target type is more than one, and the latest unread message received is the designated reading message "Go see the cherry blossoms next week". When the prompt entry is triggered, the unread message can be quickly located in the corresponding chat window, such as Figure 3-5 shown.

[0062] In one embodiment, Figure 4 As shown, a timing diagram of the message processing method is provided, which specifically includes:

[0063] 402: When the received message belongs to a target type of message (referred to as target message), a prompt entry is displayed, and the user clicks the prompt entry;

[0064] 404: Enter the message collection page; obtain the corresponding target message in the message queue of each target type;

[0065] 406: displaying the unread message collection corresponding to each message type in the message collection page according to the order of each target message in the message queue;

[0066] 408: The user clicks on the target message in the unread message collection;

[0067] 410: Enter the corresponding chat window and locate the clicked target message in the chat window.

[0068] In one embodiment, the target type includes a resource sharing message type, and the prompt identifier includes a resource prompt identifier; displaying the unread message collection under the message type corresponding to the prompt identifier includes: displaying the unread message collection corresponding to the resource prompt identifier in the message collection page; displaying the resource sharing message and the resource prompt identifier corresponding to the resource sharing message in the unread message collection; the method also includes: when a click event corresponding to the resource prompt identifier occurs, triggering resource sharing, and displaying the resource sharing result in the unread message collection.

[0069] For resource sharing message types, in addition to referring to the method in the above embodiment, locating the resource sharing message in the chat window and sharing resources, you can also quickly share resources in the unread message collection. The unread message collection corresponding to the resource prompt identifier is displayed in the message collection page, and the resource sharing message and the resource prompt identifier corresponding to the resource sharing message are displayed in the unread message collection. Different resource sharing messages can correspond to different resource prompt identifiers. The resource prompt identifier corresponding to the resource sharing message includes a virtual resource identifier. The virtual resource identifier can be used to identify the type of virtual resource. For example, the type includes a transfer type and a red envelope type, etc. The transfer type identifier can be an amount icon, and the red envelope type identifier can be a red envelope icon. When the user clicks on one of the resource prompt identifiers, the instant messaging application enters the resource sharing process, performs resource sharing according to the resource sharing process, and displays the resource sharing results in the current unread message collection.

[0070] Furthermore, when multiple resource prompt identifiers are displayed in the unread message collection corresponding to the resource prompt identifier, the user can click on each resource prompt identifier in turn, and the instant messaging application can enter the resource sharing process in turn, share resources according to the resource sharing process, and display the multiple resource sharing results in the current unread message collection.

[0071] Take the resource prompt icon as an example. Figure 5-1 As shown in the figure, the red envelope icon corresponding to the resource sharing message is displayed in the unread message collection. After one of the red envelope icons is clicked, the resource sharing result is as follows Figure 5-2 After multiple red envelope icons are clicked, the resource sharing results are as follows Figure 5-3 shown.

[0072] In this embodiment, by clicking on the resource prompting mark in the unread message set corresponding to the resource prompting mark, resource sharing can be quickly performed to obtain the resource sharing result, which not only improves the efficiency of locating resource sharing messages, but also further improves the processing efficiency of resource sharing.

[0073] In one embodiment, the target type includes a keyword message type, and the prompt identifier includes a keyword message prompt identifier; identifying the message type corresponding to the message includes: when the message includes preset keywords, identifying the message as a keyword message; displaying the unread message collection under the message type corresponding to the prompt identifier includes: in the message collection page, displaying the unread message collection corresponding to the keyword message prompt identifier.

[0074] In the traditional way, the functions of instant messaging applications are usually fixed, and users are not allowed to set the target type of messages according to their personal preferences. In this embodiment, the target type of messages can be set according to the user's personal preferences through user-defined keywords. This breaks through the limitations of the message type setting at the inherent functional level and can provide more personalized messages.

[0075] Users can add custom keywords in the message collection page. Custom keywords can be set according to the user's personal needs. For example, custom keywords can be names, events, and other content that the user is interested in. When the received message is a keyword message type, the keyword message prompt mark can be displayed in the prompt entry. The user triggers the prompt entry, generating a trigger event for the prompt entry, and the instant messaging application responds to the trigger event and enters the message collection page. In the message collection page, the unread message collection corresponding to the keyword message prompt mark is displayed.

[0076] In one of the embodiments, in a message collection page, displaying an unread message collection under a message type corresponding to a prompt identifier includes: in the message collection page, displaying a keyword tag corresponding to each preset keyword; determining a keyword tag in a selected state; displaying an unread message collection corresponding to the keyword tag; the keyword messages in the unread message collection include keywords corresponding to the keyword tag in a selected state.

[0077] The unread message collection corresponding to the keyword message prompt indicator can display keyword tags corresponding to each preset keyword and unread keyword messages. When the unread message collection includes at least two keyword tags, the user can select one of the keyword tags, and the instant messaging application displays the unread message collection corresponding to the keyword tag according to the selected keyword tag. The keyword messages in the unread message collection include the keywords corresponding to the selected keyword tag. For example, Figure 6-1 Trigger the prompt entrance and enter Figure 6-2The collection of unread messages in Figure 6-2 All keyword tags are displayed in . Figure 6-2 Select the keyword tag "concert" and enter Figure 6-3 ,exist Figure 6-3 In the example, the unread keyword messages related to "concert" are displayed. Furthermore, the keywords in the unread message set can also be highlighted. For example, the keywords can be highlighted, displayed in different colors, displayed in different fonts, enlarged, etc.

[0078] By displaying the unread message collection corresponding to the keyword label, users can not only quickly view personalized keyword messages, but also quickly view the unread message collection corresponding to a certain keyword by clicking on the keyword label, further improving the convenience of users viewing keyword messages.

[0079] In one embodiment, the method also includes: when the chat window includes preset keywords, displaying the corresponding keyword tag; when a click event corresponding to the keyword tag occurs, entering the unread message collection corresponding to the keyword tag; when a message click event occurs in the unread message collection, locating the clicked keyword message in the chat window.

[0080] The instant messaging application can display messages in the chat window after entering the chat window in the manner provided in the above embodiments or opening the chat window in other ways. The messages in the chat window can be target messages or ordinary messages. When the unread messages in the chat window contain preset keywords, the corresponding keyword tags are displayed in the chat window. For example, a prompt can be made on one side of the chat window. Furthermore, the number of unread keyword messages can be displayed together in the keyword tag. When the chat window contains multiple different keywords, the keyword tags corresponding to each keyword can be displayed, such as Figure 7-1 shown.

[0081] The user clicks on a keyword tag in the chat window to enter the unread message collection corresponding to the keyword tag, such as Figure 7-2 When the chat window contains only two or more keyword tags, the user can click one of the keyword tags in the unread message collection to enter the unread message collection corresponding to the selected keyword tag, as shown in FIG. Figure 7-3 When one of the keyword messages is clicked, the clicked keyword message can be located in the chat window in accordance with the method provided in the above embodiment, for example, Figure 7-2 When a keyword message in the Figure 7-4 Position it in the chat window shown.

[0082] By displaying keyword tags in the chat window, the keyword message that the user is interested in can be quickly located among the various messages in the chat window, and a more personalized message viewing method is provided for the user.

[0083] In one embodiment, the method further includes: obtaining a keyword editing instruction on the message collection page; editing the keyword corresponding to the keyword tag according to the editing instruction; and updating the unread message collection corresponding to the keyword tag according to the edited keyword.

[0084] In this embodiment, the keyword editing instructions include keyword adding instructions, keyword modifying instructions, and keyword deleting instructions. The instant messaging application obtains the keyword adding instruction, displays the keyword adding page, obtains the input custom keyword, and generates the newly added keyword tag using the custom keyword. After completing the addition of the keyword tag, if a keyword message corresponding to the newly added keyword tag is received, the method provided in the above embodiment can be referred to to display the unread message set corresponding to the keyword tag, thereby updating the original unread message set corresponding to the keyword tag. In this way, the newly added keyword message can be displayed in time according to the user's preferences.

[0085] The instant messaging application obtains the keyword modification instruction, displays the keyword modification page, obtains the modified keyword, and generates a modified keyword tag using the modified keyword. After completing the modification of the keyword tag, if a keyword message corresponding to the modified keyword tag is received, the method provided in the above embodiment can be referred to to display the unread message set corresponding to the keyword tag, thereby updating the unread message set corresponding to the original keyword tag. Thus, the keyword message to be displayed can be adjusted in time according to the user's preferences.

[0086] The instant messaging application obtains a keyword deletion instruction, displays a keyword deletion page, deletes one or more selected keywords, and deletes the corresponding keyword tag. After the keyword tag is deleted, if a keyword message corresponding to the deleted keyword tag is received, its message type is no longer identified as the target type, and the unread message collection corresponding to the keyword tag is no longer displayed in accordance with the method provided in the above embodiment, so as to update the unread message collection corresponding to the keyword tag that the user is interested in.

[0087] In one embodiment, the method also includes: obtaining a selected message in the unread message collection as a message to be replied to; obtaining a reply instruction for the message to be replied to, and entering a chat window according to the reply instruction; obtaining the reply content in the input box in the chat window, and generating a corresponding reply message.

[0088] For the target message in the unread message collection, the user does not need to locate the target message in the chat window before replying. In the unread message collection, one of the target messages is selected as the message to be replied, and the instant messaging application obtains the reply instruction of the message to be replied. The reply instruction can be that when the user presses the message to be replied for a time period greater than a first threshold, a reply icon is displayed, such as Figure 8-1 When a click event corresponding to the reply icon occurs, a message reply instruction can be generated. After obtaining the reply instruction, enter the chat window according to the reply instruction, display the content of the message to be replied on one side of the input box of the chat window, and after obtaining the reply content entered in the input box, use the content of the message to be replied and the reply content to generate a reply message corresponding to the message to be replied, as shown in FIG. Figure 8-2 By replying to the target message in the unread message collection, there is no need to locate the target message, which effectively improves the speed of replying to messages.

[0089] In one embodiment, the method further includes: determining the message type of the most recently received unread message of the target type as the current message type; and displaying a prompt mark corresponding to the current message type through a prompt entry.

[0090] The instant messaging application can use a prompt entrance to give prompts when receiving messages of various target types. The prompt entrance has a preset size. In order to reduce the obstruction of the prompt entrance to the message list, the size of the prompt entrance is small. Among them, only one message type icon can be displayed in the prompt entrance. When messages of two or more target types are received, the corresponding prompt logos can be dynamically changed and displayed. The instant messaging application can obtain the reception time of the message, and determine the message type of the latest received unread message of the target type as the current message type. The prompt entrance is used to display the prompt logo corresponding to the current message type. In this way, the prompt logo of the latest received unread message of the target type can be displayed while reducing the impact of the prompt entrance on the message list, which provides convenience for users.

[0091] Furthermore, when the prompt mark corresponding to the current message type is triggered, the message collection page is entered, and the message collection page includes multiple message type tags. The message type tag corresponding to the current message type is in a selected state, and the corresponding unread message collection is displayed. For example, the latest target message received is a resource sharing message. Assuming that the resource sharing message contains payment-related content, the prompt mark in the prompt entry can be changed to a money prompt mark. After clicking the prompt entry, the message collection page is entered, and the unread message collection corresponding to the "amount" tag is displayed. Figure 9-1 , Figure 9-2 When you click on one of the resource sharing messages, you will enter the corresponding dialog box and locate the resource sharing message containing payment content, such as Figure 9-3 As shown. This provides convenience for users to quickly understand the target message. When the user clicks on other message category labels in the message collection page, the instant messaging application can switch to the corresponding unread message collection accordingly. This makes it convenient for users to quickly view target messages of other categories.

[0092] In one embodiment, the method further includes: after a preset time period after the message is updated as a read message, if no new message of the target type is received, the prompt entry is displayed in a weakened manner.

[0093] After viewing the target type of message (referred to as the target message) in the manner provided in the above embodiments, the instant messaging application updates the unread target message to a read message. In order to avoid interference to the user caused by the continuous display of the prompt entry, if no new target message is received after a preset time after the target message is updated to a read message, the prompt entry will be displayed with a weakened display. The preset time length can be a second threshold. The second threshold can be the same as or different from the first threshold. There are many ways to weaken the display, for example, fading the color of the prompt entry, reducing its size, moving it to the edge of the message list, hiding it, not displaying it, etc. A schematic diagram of one of the weakened displays is shown below. Fig.10 When the target message is received again, the prompt entry is restored.

[0094] In order to further avoid the prompt entry from blocking the message list, etc., the display mode of the prompt entry can also be switched. In one embodiment, when the message type belongs to the target type, the prompt entry is displayed, including: when the message type belongs to the target type and a trigger event occurs for the target type message label in the navigation bar, the prompt entry corresponding to each message type is displayed in response to the trigger event.

[0095] You can set a target type message label on the navigation bar. When you receive a target type message, you can use the target type message label to indicate the number of unread messages. When a trigger event for a target type message label occurs, the instant messaging application can display prompt entries corresponding to various message types. For example, Figure 11-1 , Figure 11-2 As shown. You can also display the corresponding prompt entry according to the type of message currently received that belongs to the target type. For example, if only keyword messages are currently received, you can only display the prompt entry corresponding to the keyword message type. Figure 11-3As shown. The prompt entry can be located above the navigation bar or anywhere in the message list. By switching the display mode of the prompt entry, it is not only convenient for users to quickly view the messages of the target type they are concerned about, but also can further reduce the obstruction of the prompt entry to normal message browsing. Furthermore, when all target messages are updated to read messages, if you click the target type message label again, the prompt entry corresponding to all message types can be displayed, so that users can quickly view historical target messages.

[0096] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0097] In one embodiment, Fig.12 As shown, a message processing device is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of a computer device. The device specifically includes: a receiving module 1202, an identification module 1204 and a display module 1206, wherein:

[0098] The receiving module 1202 is used to receive a message.

[0099] The identification module 1204 is used to identify the message type corresponding to the message.

[0100] Display module 1206 is used to display a prompt entry when the message type belongs to the target type; the prompt entry includes a prompt identifier corresponding to the message type; when a trigger event occurs for the prompt entry, the display module 1206 is also used to enter the message collection page; in the message collection page, the unread message collection under the message type corresponding to the prompt identifier is displayed.

[0101] In one embodiment, the target type includes a keyword message type, and the prompt identifier includes a keyword message prompt identifier; the identification module 1204 is also used to identify the message as a keyword message when the message includes preset keywords; the display module 1206 is also used to display the unread message collection corresponding to the keyword message prompt identifier in the message collection page.

[0102] In one embodiment, the display module 1206 is also used to display the keyword tags corresponding to each preset keyword in the message collection page; determine the keyword tag in the selected state; display the unread message collection corresponding to the keyword tag; the keyword messages in the unread message collection include the keywords corresponding to the keyword tag in the selected state.

[0103] In one embodiment, the display module 1206 is also used to display the corresponding keyword tag when the chat window includes preset keywords; when a click event corresponding to the keyword tag occurs, enter the unread message collection corresponding to the keyword tag; when a message click event occurs in the unread message collection, locate the clicked keyword message in the chat window.

[0104] In one embodiment, Fig.13 As shown, the device also includes: an editing module 1208, which is used to obtain keyword editing instructions on the message collection page; edit the keywords corresponding to the keyword tags according to the editing instructions; and the display module 1206 is also used to update the unread message collection corresponding to the keyword tags according to the edited keywords.

[0105] In one embodiment, the target type includes a resource sharing message type, and the prompt identifier includes a resource prompt identifier; the display module 1206 is also used to display an unread message collection corresponding to the resource prompt identifier in the message collection page; display the resource sharing message and the resource prompt identifier corresponding to the resource sharing message in the unread message collection; when a click event corresponding to the resource prompt identifier occurs, resource sharing is triggered, and the resource sharing result is displayed in the unread message collection.

[0106] In one embodiment, the display module 1206 is also used to enter the chat window where the unread message is located and locate the unread message when the number of unread messages corresponding to the target type is one and a trigger event for the prompt entry occurs; when the number of unread messages corresponding to the target type is more than one and a trigger event for the prompt entry occurs, enter the message collection page; or, when the number of unread messages corresponding to the target type is more than one and a trigger event for the prompt entry occurs, enter the chat window where the most recently received unread message is located.

[0107] In one embodiment, the display module 1206 is further configured to determine the message type of the most recently received unread message of the target type as the current message type; and display the prompt identifier corresponding to the current message type through the prompt entry.

[0108] In one embodiment, Fig.14As shown, the device also includes: a quick reply module 1210, which is used to obtain the selected message in the unread message collection as the message to be replied; obtain the reply instruction of the message to be replied, and enter the chat window according to the reply instruction; obtain the reply content in the input box in the chat window, and generate a corresponding reply message.

[0109] In one embodiment, the display module 1206 is also used to display the prompt entry corresponding to each message type in response to the trigger event when the message type belongs to the target type and a trigger event occurs for the target type message label in the navigation bar.

[0110] In one embodiment, the display module 1206 is further configured to weaken the display of the prompt entry if no new message of the target type is received within a preset time after the message is updated as a read message.

[0111] For the specific definition of the message processing device, please refer to the definition of the message processing method above, which will not be repeated here. Each module in the above message processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0112] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a message processing method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a click layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0113] Those skilled in the art will understand that Fig.15The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0114] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0115] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0116] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0118] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A message processing method, characterized in that: The method comprises: Receiving a message, and identifying a message type corresponding to the message; When the message type belongs to the target type, a prompt entry is displayed; the prompt entry includes a prompt identifier corresponding to the message type; the target type includes a resource sharing message type and a keyword message type; When the number of unread messages corresponding to the target type is more than one and a triggering event for the prompt entry occurs, entering the message collection page; In the message collection page, in response to a message type label of the resource sharing message type being clicked, an unread message collection corresponding to the resource sharing message type is displayed; the resource sharing message and a resource prompt identifier corresponding to the resource sharing message are displayed in the unread message collection corresponding to the resource sharing message type; when multiple resource prompt identifiers are displayed in the unread message collection, resource sharing is performed in response to clicking on the multiple resource prompt identifiers, and multiple resource sharing results are displayed in the unread message collection; In the message collection page, in response to the message type label of the keyword message type being clicked, the keyword labels corresponding to the preset keywords are displayed, the unread message collection corresponding to the keyword label in the selected state in response to the click event is displayed, and the keyword messages in the unread message collection corresponding to the selected keyword label include the user-defined keywords corresponding to the selected keyword label.

2. The method according to claim 1, characterized in that The prompt identifier includes a keyword message prompt identifier; The identifying the message type corresponding to the message includes: When the message includes a preset keyword, the message is identified as a keyword message.

3. The method according to claim 1, characterized in that The method further comprises: When the chat window includes preset keywords, the corresponding keyword labels are displayed; When a click event corresponding to the keyword tag occurs, entering the unread message collection corresponding to the keyword tag; When a message click event occurs in the unread message set, the clicked keyword message is located in the chat window.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: On the message collection page, obtain a keyword editing instruction; Edit the keywords corresponding to the keyword tags according to the editing instructions; According to the edited keyword, the unread message collection corresponding to the keyword label is updated.

5. The method according to claim 1, characterized in that The method further comprises: When the number of unread messages corresponding to the target type is one and a triggering event for the prompt entry occurs, the chat window where the unread message is located is entered and the unread message is located.

6. The method according to claim 1, characterized in that The method further comprises: Determine the message type of the most recently received unread message of the target type as the current message type; The prompt entry is used to display a prompt mark corresponding to the current message type.

7. The method according to claim 1 or 2 or 3 or 5 or 6, characterized in that: The method further comprises: Obtaining a selected message from the unread message set as a message to be replied to; Obtaining a reply instruction for the message to be replied to, and entering a chat window according to the reply instruction; The reply content is obtained in the input box in the chat window, and a corresponding reply message is generated.

8. The method according to claim 1 or 2 or 3 or 5 or 6, characterized in that: When the message type belongs to the target type, displaying a prompt entry includes: When the message type belongs to the target type and a trigger event occurs for the target type message label in the navigation bar, a prompt entry corresponding to each message type is displayed in response to the trigger event.

9. The method according to claim 1 or 2 or 3 or 5 or 6, characterized in that: The method further comprises: After a preset time period after the message is updated as a read message, if no new message of the target type is received, the prompt entry is displayed in a weakened manner.

10. A message processing device, characterized in that: The device comprises: A receiving module, used for receiving messages; An identification module, used to identify the message type corresponding to the message; A display module, for displaying a prompt entry when the message type belongs to a target type; the prompt entry includes a prompt identifier corresponding to the message type; the target type includes a resource sharing message type and a keyword message type; when the number of unread messages corresponding to the target type is more than one and a trigger event for the prompt entry occurs, entering a message collection page; in the message collection page, in response to a message type label of the resource sharing message type being clicked, displaying an unread message collection corresponding to the resource sharing message type; displaying the resource sharing message in the unread message collection corresponding to the resource sharing message type, and the message collection corresponding to the resource sharing message type. corresponding resource prompt identifier; when multiple resource prompt identifiers are displayed in the unread message collection, resource sharing is performed in response to clicking on the multiple resource prompt identifiers, and the multiple resource sharing results are displayed in the unread message collection; in the message collection page, in response to the message type label of the keyword message type being clicked, the keyword labels corresponding to the preset keywords are displayed, the unread message collection corresponding to the keyword label in the selected state in response to the click event is displayed, and the keyword messages in the unread message collection corresponding to the keyword label in the selected state include user-defined keywords corresponding to the keyword label in the selected state.

11. The device according to claim 10, characterized in that The target type includes a keyword message type, and the prompt identifier includes a keyword message prompt identifier; the identification module is further used to identify the message as a keyword message when the message includes a preset keyword.

12. The device according to claim 10, characterized in that The display module is also used to display the corresponding keyword tag when the chat window includes preset keywords; when a click event corresponding to the keyword tag occurs, enter the unread message collection corresponding to the keyword tag; when a message click event occurs in the unread message collection, locate the clicked keyword message in the chat window.

13. The device according to any one of claims 10 to 12, characterized in that: The device also includes: an editing module, which is used to obtain a keyword editing instruction on the message collection page; edit the keyword corresponding to the keyword tag according to the editing instruction; and update the unread message collection corresponding to the keyword tag according to the edited keyword.

14. The device according to claim 10, characterized in that The display module is also used to enter the chat window where the unread message is located and locate the unread message when the number of unread messages corresponding to the target type is one and a trigger event for the prompt entry occurs.

15. The device according to claim 10, characterized in that The display module is also used to determine the message type of the latest received unread message belonging to the target type as the current message type; and display the prompt mark corresponding to the current message type through the prompt entrance.

16. The device according to claim 10 or 11 or 12 or 14 or 15, characterized in that The device also includes: a quick reply module, which is used to obtain a selected message in the unread message collection as a message to be replied; obtain a reply instruction for the message to be replied, and enter a chat window according to the reply instruction; obtain the reply content in the input box in the chat window, and generate a corresponding reply message.

17. The device according to claim 10 or 11 or 12 or 14 or 15, characterized in that The display module is also used to display prompt entries corresponding to each message type in response to a trigger event when the message type belongs to a target type and a trigger event occurs for a target type message label in the navigation bar.

18. The device according to claim 10 or 11 or 12 or 14 or 15, characterized in that: The display module is also used to weaken the display of the prompt entrance if no new message of the target type is received after a preset time period after the message is updated as a read message.

19. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Unread message playing method and unread message playing device

    CN105049594A

  • Message notification management method and device and computer readable storage medium

    CN110381166A

  • Message generation method and device, storage medium and computer equipment

    CN110708235A

  • Message display method and terminal equipment

    CN110888572A