Message processing method and device, equipment and storage medium

By counting group chat session messages and outputting notifications in real-time communication applications, the balance between message notification disturbance and important content communication in group chat is solved, and the user experience is improved.

CN119728630APending Publication Date: 2025-03-28BEIJING 58 INFORMATION TTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411885334.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In group chats of instant messaging applications, it is difficult for users to ensure timely communication of important content while reducing messaging notifications, resulting in poor user experience.

Method used

By receiving the group chat session message of the target group chat in the instant communication application and counting unread messages belonging to the normal message type, when the count reaches the set threshold, a group chat session message notification is output.

Benefits of technology

It realizes that while reducing the disturbance of group chat session message notifications to users, it ensures that the content in group chat session messages is communicated to users in a timely manner, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728630A_ABST
    Figure CN119728630A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message processing method and device, equipment and a storage medium, and the method comprises the steps: receiving a group chat session message corresponding to a target group chat in an instant messaging application, and enabling the target group chat to be in a message no-disturbing state; unread target group chat session messages belonging to a common message type in the group chat session messages are counted, and the group chat session messages belonging to the common message type are group chat session messages which do not need group chat session message notification after being received; and in response to the count reaching a set threshold, outputting a group chat session message notification. According to the scheme, the user can not be disturbed frequently, and the user can be prevented from missing common information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Instant Messaging (IM) applications usually provide a group chat function for multi-person chat. In a group chat, each group chat member sends a group chat session message that will be received by other group chat members. When the group chat members speak a lot in the group chat, each group chat member will receive a lot of group chat session messages accordingly. Frequent receipt of group chat session message notifications will affect the user experience of the IM application.

[0003] To this end, IM applications provide a blocking function for group chats. If a group chat member turns on the blocking function corresponding to the group chat, the group chat member will no longer receive group chat session message notifications of the group chat, and can be free from the disturbance of group chat session message notifications. In addition, in order to prevent group chat members who have turned on the blocking function from missing important messages, some special message types that are not blocked can also be set in the blocking function, such as: group announcements, group owner messages, @ my messages, messages from group chat members I follow, etc. When receiving these types of group chat session messages, group chat members will receive group chat session message notifications even if they have turned on the blocking function.

[0004] Although the above-mentioned shielding mechanism reduces the disturbance of group chat session message notifications to users and ensures that users do not miss group chat session messages of special message types, in actual applications, it still causes group chat members to miss important content contained in group chat session messages of non-special message types, that is, it is difficult to strike a balance between message non-disturbance and real-time message acquisition, resulting in a poor user experience. Summary of the invention

[0005] Embodiments of the present application provide a message processing method, apparatus, device, and storage medium, which are used to reduce the disturbance of group chat session message notifications to users while ensuring that the content in the group chat session message can be conveyed to the users in a timely manner.

[0006] In a first aspect, an embodiment of the present application provides a message processing method, the method comprising:

[0007] Receiving a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state;

[0008] Counting unread target group chat session messages belonging to a common message type among the group chat session messages, wherein the group chat session messages belonging to a common message type are group chat session messages that do not require group chat session message notification after being received;

[0009] In response to the count reaching a set threshold, the group chat session message notification is output.

[0010] In a second aspect, an embodiment of the present application provides a message processing device, the device comprising:

[0011] A receiving module, configured to receive a group chat session message corresponding to a target group chat in an instant messaging application, wherein the target group chat is in a message do not disturb state;

[0012] a processing module, configured to count unread target group chat session messages belonging to a common message type among the group chat session messages, wherein the group chat session messages belonging to a common message type are group chat session messages that do not require group chat session message notification after being received;

[0013] An output module is used to output the group chat session message notification in response to the count reaching a set threshold.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the message processing method described in the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a non-temporary machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor can at least implement the message processing method described in the first aspect.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising: a computer program, when the computer program is executed by a processor of an electronic device, the processor can at least implement the message processing method described in the first aspect.

[0017] In the embodiment of the present application, for a target group chat in a message do not disturb state, after receiving a group chat session message corresponding to the target group chat in an instant messaging application, if a group chat session message notification is not required for the received group chat session message, it is determined that the group chat session message belongs to a common message type (i.e., a group chat session message belonging to a common message type is a group chat session message that does not need a group chat session message notification after receiving it), and the unread target group chat session messages belonging to the common message type are counted. When the count reaches a set threshold, the group chat session message notification corresponding to the target group chat is output. It can be seen that in this solution, for a target group chat in a message do not disturb state, by counting the unread target group chat session messages belonging to the common message type in the received group chat session messages, the timing of outputting the group chat session message notification is determined, which can not only not disturb the user frequently, but also prevent the user from missing common information, that is, while reducing the disturbance of the group chat session message notification to the user, it is ensured that the content in the group chat session message can be conveyed to the user in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 A flowchart of a message processing method provided in an embodiment of the present application;

[0020] Figure 2 A flowchart of another message processing method provided in an embodiment of the present application;

[0021] Figure 3 A flowchart of a method for setting a threshold adjustment provided in an embodiment of the present application;

[0022] Figure 4 A flowchart of a method for setting a threshold value provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of a group chat session message notification configuration interface provided in an embodiment of the present application;

[0024] Figure 6 A flowchart of another message processing method provided in an embodiment of the present application;

[0025] Figure 7 A schematic diagram of the structure of a message processing device provided in an embodiment of the present application;

[0026] Figure 8 For Figure 7 A schematic diagram of the structure of an electronic device corresponding to the message processing device provided in the illustrated embodiment. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0029] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0030] Instant Messaging (IM) applications usually provide a group chat function for multi-person chats. In a group chat, each group chat member sends a group chat session message that will be received by other group chat members. When the group chat members speak a lot in the group chat, each group chat member will receive a lot of group chat session messages accordingly. Frequent receipt of group chat session message notifications will affect the user experience of the instant messaging application.

[0031] To this end, instant messaging applications provide a blocking function for group chats, that is, the status of a group chat can be set to a message do not disturb state. If a group chat member turns on the blocking function corresponding to the group chat, the group chat member will no longer receive group chat session message notifications of the group chat, thereby avoiding the disturbance of group chat session message notifications.

[0032] In addition, in order to prevent group chat members who have turned on the blocking function from missing important messages, some special message types that are not blocked can also be set in the blocking function, such as: group announcements, group owner messages, @ my messages, messages from followed group chat members, etc. When these types of group chat session messages are received, group chat members will receive group chat session message notifications even if they have turned on the blocking function.

[0033] Although the above-mentioned shielding mechanism reduces the disturbance of group chat session message notifications to users and ensures that users do not miss group chat session messages of special message types, in actual applications, it still causes group chat members to miss important content contained in group chat session messages of non-special message types, that is, it is difficult to strike a balance between message non-disturbance and real-time message acquisition, resulting in a poor user experience.

[0034] In order to solve at least one of the above technical problems, an embodiment of the present application provides a message processing method, in which a function of reminding unread target group chat session messages belonging to ordinary message types is added to the shielding function provided by the instant messaging application for group chat. Based on the newly added function of reminding the target group chat session message, it is possible to reduce the disturbance of the group chat session message notification to the user while ensuring that the content in the group chat session message can be conveyed to the user in a timely manner.

[0035] The message processing method provided in the embodiment of the present application is described in detail below in conjunction with specific embodiments.

[0036] The message processing method provided in the embodiment of the present application can be executed by an electronic device, which can be a terminal device such as a PC, a laptop, a smart phone, or a server. The server can be a physical server including an independent host, or a virtual server, or a cloud server or a server cluster.

[0037] Figure 1 A flowchart of a message processing method provided in an embodiment of the present application, such as Figure 1 As shown, the electronic device is applied to the electronic device, the electronic device is configured with an instant messaging application, and the instant messaging application includes a target group chat, and the following steps may be included:

[0038] 101. Receive a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state.

[0039] 102. Count the unread target group chat session messages that are of a common message type in the group chat session messages, wherein the group chat session messages that are of a common message type are group chat session messages that do not require group chat session message notification after being received.

[0040] 103. In response to the count reaching a set threshold, output a group chat session message notification.

[0041] The message processing method provided in the embodiment of the present application is applied to a target group chat in a message do not disturb state, that is, a target group chat in which the group members have turned on the above-mentioned shielding function. As described above, if a group member in the target group chat turns on the shielding function and sets the target group chat to a message do not disturb state, the group member will no longer receive group chat session message notifications of the group chat, or can only receive notifications of group chat session messages of some special message types that are not shielded, such as: group announcements, group owner messages, @ my messages, messages from group chat members I follow, etc.

[0042] Based on this, in the embodiment of the present application, a group chat session message that does not send a group chat session message notification to the corresponding group members (referring to the group members who set the target group chat to the message do not disturb state) in the target group chat in the message do not disturb state is called a group chat session message of the ordinary message type. In other words, a group chat session message belonging to the ordinary message type is a group chat session message that does not require a group chat session message notification after receiving it. In short, for a group chat session message, after receiving the group chat session message, if it is not necessary to perform a group chat session message notification for receiving the group chat session message, it is determined that the group chat session message belongs to the ordinary message type.

[0043] It is easy to understand that if the target group chat in the message do not disturb state blocks all group chat session messages, that is, no group chat session message notification is performed for any group chat session message received, then any group chat session message corresponding to the target group chat belongs to the ordinary message type. If the target group chat in the message do not disturb state performs group chat session message notification for group chat session messages of special message types such as group announcements, group owner messages, @ my messages, and messages from group chat members that I follow, then other group chat session messages except for these special message types belong to the ordinary message type.

[0044] In this solution, in order to ensure that group members are not frequently disturbed by group chat session message notifications, and can timely grasp the message content corresponding to the group chat session messages of the ordinary message type in the target group chat, for the group chat session messages corresponding to the target group chat in the received instant messaging application, the unread target group chat session messages of the ordinary message type in the group chat session messages are first counted; then, in response to the count reaching the set threshold, the group chat session message notification is output.

[0045] Among them, optionally, the above-mentioned outputting of the group chat session message notification includes but is not limited to outputting the group chat session message notification to the group members who set the target group chat to the message do not disturb state in the form of sound, vibration, banner, pop-up window, etc.

[0046] In a specific implementation process, after receiving a group chat session message corresponding to a target group chat in an instant messaging application, it is first determined whether the group chat session message is a group chat session message of a common message type.

[0047] For example, assuming that a group chat conversation message is received that is sent by a specific group chat member in the target group chat (for example, a group owner, a group administrator, a followed group chat member, etc.), or contains a specific notification identifier (for example, contains an @my message identifier, a group announcement message type identifier, etc.), it is necessary to output a group chat conversation message notification corresponding to the group chat conversation message.

[0048] Based on this assumption, if a received group chat session message is sent by a specific group chat member in the target group chat or contains a specific notification identifier, it is determined that the group chat session message does not belong to a group chat session message of a common message type. If a received group chat session message is neither sent by a specific group chat member in the target group chat nor contains a specific notification identifier, it is determined that the group chat session message belongs to a group chat session message of a common message type.

[0049] Further, if the group chat session message belonging to the common message type is in an unread state (ie, a state of not being viewed), the group chat session message is counted.

[0050] When the count reaches the set threshold and the group chat session message notification is output, it is equivalent to completing one round of notification of unread target group chat session messages of the common message type. After that, it is necessary to start the next round of counting of unread target group chat session messages of the common message type. Specifically, in response to the count reaching the set threshold, the count is cleared to count the notification of unread target group chat session messages of the common message type in the newly received group chat session messages.

[0051] In summary, in the embodiment of the present application, for the target group chat in the message do not disturb state, after receiving a group chat session message corresponding to the target group chat in the instant messaging application, if it is not necessary to perform a group chat session message notification for the received group chat session message, it is determined that the group chat session message belongs to the ordinary message type, and the unread target group chat session messages belonging to the ordinary message type are counted. When the count reaches the set threshold, the group chat session message notification corresponding to the target group chat is output. It can be seen that in this scheme, for the target group chat in the message do not disturb state, by counting the unread target group chat session messages belonging to the ordinary message type in the received group chat session messages, the timing of outputting the group chat session message notification is determined, and the group chat session message notification is output when the count reaches the set threshold. On the one hand, it can be ensured that the group members who set the target group chat to the message do not disturb state will not be disturbed before the count reaches the set threshold; on the other hand, the group members who set the target group chat to the message do not disturb state can view the unread target group chat session messages belonging to the ordinary message type based on the group chat session message notification, that is, the content of the group chat session message will not be missed. This solution can strike a balance between message do not disturb and real-time message acquisition, thus improving user experience.

[0052] In actual applications, the group members who set the target group chat to the message do not disturb state often view the group chat session messages of the target group chat randomly, that is, the group members may view the group chat session messages in the target group chat based on the group chat session message notification, or may spontaneously view the group chat session messages in the target group chat.

[0053] Figure 2 A flowchart of another message processing method provided in an embodiment of the present application, such as Figure 2 As shown, the following steps may be included:

[0054] 201. Receive a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state.

[0055] 202. Count the unread target group chat session messages that are of a common message type in the group chat session messages, wherein the group chat session messages that are of a common message type are group chat session messages that do not require group chat session message notification after being received.

[0056] 203. In response to the count reaching a set threshold, output a group chat session message notification.

[0057] 204. Before the count reaches a set threshold, in response to a user viewing operation on a group chat session message, the count is cleared.

[0058] The specific implementation process of step 201 to step 203 may refer to the aforementioned embodiment and will not be described in detail here.

[0059] In the embodiment of the present application, the user in step 204 is the group member who sets the target group chat to the message do not disturb state.

[0060] It is easy to understand that before the count reaches the set threshold, if a group member who has set the target group chat to the message do not disturb state views the group chat session message, the message status of the target group chat session message being counted will be switched from the unread state to the read state. For the group chat session message of the ordinary message type in the read state, it is not necessary to notify the group member of the group chat session message, so the current count can be cleared.

[0061] Therefore, in the counting process, in response to the user's viewing operation on the counted unread target group chat session messages belonging to the ordinary message type, the count is reset to zero, which can ensure the accuracy of the output timing of the group chat session message notification corresponding to the unread target group chat session messages belonging to the ordinary message type.

[0062] It is understandable that for multiple different target group chats in the message do not disturb state, the activity levels of group members in each target group chat are different. For example, group members in target group chat A are relatively active and often send group chat session messages in target group chat A; group members in target group chat B are relatively inactive and only respond to notification-type group chat session messages such as group announcements, etc.

[0063] Optionally, the activity of group members in a certain group chat can be represented by the number of group chat session messages corresponding to the group chat within a unit time. For example, for any group chat, if the number of group chat session messages corresponding to the group chat within a unit time is greater than a preset number threshold, it is determined that the activity of group members in the group chat is high; if the number of group chat session messages corresponding to the group chat within a unit time is less than or equal to the preset number threshold, it is determined that the activity of group members in the group chat is low.

[0064] In actual applications, if the target group chats with different activity levels in the message do not disturb state are all set with the same set threshold, it may cause the group members in the target group chat A with higher activity level to be Figure 1 The message processing method shown in the embodiment will also frequently receive group chat message notifications corresponding to unread target group chat session messages belonging to the ordinary message type; and group members in the target group chat B with low activity may take a long time to receive the group chat session message notification corresponding to the target group chat session message, and the real-time acquisition of the group chat session message cannot be guaranteed.

[0065] In order to solve at least one of the above technical problems, an embodiment of the present application provides a method for setting a threshold adjustment. Figure 3A flowchart of a method for setting a threshold adjustment method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the following steps may be included:

[0066] 301. Determine a target time point corresponding to each time when the count reaches a set threshold.

[0067] 302. Adjust the set threshold value according to the time interval between two adjacent target time points.

[0068] For ease of understanding, an example is given. Assume that there are two adjacent counts: the first count and the second count. The first count is performed before the second count. The target time point corresponding to the first count reaching the set threshold is t1, and the target time point corresponding to the second count reaching the set threshold is t2. At this time, the time interval △t between the two adjacent target time points = t2-t1.

[0069] It can be understood that, the larger △t is, the longer the time interval between the first count and the second count is, that is, the longer the time required for a single count to reach the set threshold, and the lower the frequency of outputting group chat session message notifications corresponding to the unread target group chat session messages of the ordinary message type; the smaller △t is, the shorter the time interval between the first count and the second count is, that is, the longer the time required for a single count to reach the set threshold, and the higher the frequency of outputting group chat session message notifications corresponding to the unread target group chat session messages of the ordinary message type.

[0070] In actual applications, whether △t is too large or too small, it will affect user experience. For example, when △t is too large, there is a problem that the group chat session message notification corresponding to the target group chat session message is not output in time; when △t is too small, there is a problem that the group chat session message corresponding to the target group chat session message is output frequently.

[0071] Therefore, in this embodiment, the set threshold corresponding to the count can be flexibly adjusted to adapt to target group chats of various activity levels.

[0072] As an optional way of adjusting the set threshold, it includes: if the time interval is greater than the first interval threshold, then reducing the set threshold; if the time interval is less than the second interval threshold, then increasing the set threshold.

[0073] Among them, the first interval threshold is the maximum value of the group chat session message notification output interval corresponding to the target group chat session message (that is, the unread group chat session message belonging to the ordinary message type), and the second interval threshold is the minimum value of the group chat session message notification output interval corresponding to the target group chat session message.

[0074] Optionally, the first interval threshold and the second interval threshold can be customized. For example, a group member who sets the target group chat to the message do not disturb state can customize the first interval threshold and the second interval threshold according to his or her group chat session message viewing habits, such as setting the first interval threshold to 12 hours and the second interval threshold to 0.5 hours.

[0075] In addition, it is worth noting that for the same target group chat in the message do not disturb state, the activity of group members in the target group chat may be different in different time periods. For example, from 9:00 am to 18:00 pm, the activity of group members in the target group chat is relatively high, and from 23:00 pm to 5:00 am, the activity of group members in the target group chat is relatively low.

[0076] Therefore, in order to adapt to target group chats with different activities in various time periods, different first interval thresholds and second interval thresholds can be configured for different time periods. In the specific implementation process, the set thresholds are adjusted according to the time interval between two adjacent target time points, including:

[0077] Determine a target time period including the current moment;

[0078] Obtain a first interval threshold and a second interval threshold corresponding to the target time period;

[0079] If the time interval between two adjacent target time points is greater than the first interval threshold, then reduce the set threshold;

[0080] If the time interval between two adjacent target time points is less than the second interval threshold, the set threshold is increased.

[0081] In the embodiment of the present application, by determining the time interval between the target time points corresponding to two consecutive counts reaching the set threshold, the set threshold is adaptively adjusted, so that when the group members in the target group chat are highly active and there are many unread target group chat session messages of the ordinary message type, group chat message notifications are not frequently output to group members who have turned on message do not disturb; when the group members in the target group chat are less active and there are fewer unread target group chat session messages of the ordinary message type, group chat message notifications are output to group members who have turned on message do not disturb in a timely manner to avoid them from missing group chat session messages. In short, this solution can achieve a balance between message do not disturb and real-time acquisition of messages and improve user experience by adaptively adjusting the set threshold.

[0082] The above describes the process of adaptively adjusting the threshold value corresponding to the count. Next, the configuration process of the threshold value is described.

[0083] Figure 4 A flowchart of a method for setting a threshold value provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the following steps may be included:

[0084] 401. Display the group chat session message notification configuration interface corresponding to the target group chat.

[0085] In order to facilitate each group member in the target group chat to customize the opening or closing of the function of reminding the unread target group chat session messages belonging to the ordinary message type provided in the embodiment of the present application, a group chat session message notification configuration interface corresponding to the target group chat is provided. Any group member in the target group chat can turn on or off the function of "reminding the target group chat session message" through interface interaction.

[0086] For ease of understanding, combined Figure 5 To illustrate with an example, Figure 5 A schematic diagram of a group chat session message notification configuration interface provided in an embodiment of the present application. Figure 5 As shown, for the target group chat "group chat test" with message do not disturb enabled, group member "aaa" can trigger the opening or closing of the function by clicking or sliding the switch control corresponding to the function "remind the target group chat session message".

[0087] It should be noted that Figure 5 This is only an illustration of the group chat session message notification configuration interface. In specific applications, the configuration interface may include more or less information, and this embodiment is not limited to this.

[0088] It is easy to understand that if a group member turns on the function of "reminding the target group chat session message", the electronic device that logs in to the group member's instant messaging application account, after receiving the group chat session message corresponding to the target group chat, executes the message processing method provided by the embodiment of the present application, that is, first counts the unread target group chat session messages that belong to the ordinary message type in the group chat session messages, and when the count reaches the set threshold, outputs the group chat session message notification.

[0089] 402. In response to a first editing operation of the user on the application scenario of the target group chat, a reference value of a set threshold is output in a group chat session message notification configuration interface.

[0090] 403. In response to a second editing operation of the user on the reference value, determine a set threshold.

[0091] In the embodiment of the present application, the user is a group member who sets the threshold configuration in the target group chat.

[0092] After the group members of the target group chat enable the function of "reminding the target group chat session message", a threshold corresponding to the count can be further set, that is, when the count of the target group chat session message reaches a certain value, the group chat session message notification is output.

[0093] In actual applications, in order to facilitate the configuration of the target group chat group members count corresponding to the set threshold. Optionally, according to the application scenario corresponding to the group chat, the reference value corresponding to the set threshold in different application scenarios can be pre-configured.

[0094] For example, if the application scenario corresponding to a certain group chat is a work scenario, it is considered that the group chat session messages corresponding to the group chat have higher timeliness requirements, and a lower set threshold reference value can be pre-configured, such as: 10, that is, when the count of the target group chat session messages reaches 10, the group chat session message notification is output; for another example, if the application scenario corresponding to a certain group chat is an entertainment scenario, it is considered that the group chat session messages corresponding to the group chat do not have higher timeliness requirements, and a higher set threshold reference value can be pre-configured, such as: 100, that is, when the count of the target group chat session messages reaches 100, the group chat session message notification is output, etc.

[0095] In the process of setting the threshold value corresponding to the group member configuration count of the target group chat, the application scenario of the target group chat can be determined in response to the first editing operation of the group member on the application scenario of the target group chat (for example: inputting the application scenario of the target group chat, or selecting the application scenario of the target group chat from a variety of application scenarios provided in the group chat session message notification configuration interface, etc.), and then the reference value of the threshold value set in the application scenario pre-configured is output in the group chat session message notification configuration interface.

[0096] In actual applications, optionally, group members of the target group chat can directly use the reference threshold as the set threshold corresponding to the target group chat, or edit the set threshold based on the reference value, for example, modifying the reference value to a larger or smaller value as the set threshold, etc.

[0097] In an embodiment of the present application, group members of the target group chat can flexibly control the timing of outputting group chat session message notifications of unread target group chat session messages of ordinary message type by customizing the set threshold value corresponding to the count in the group chat session message notification configuration interface corresponding to the target group chat, thereby achieving a balance between message do not disturb and real-time message acquisition, and improving user experience.

[0098] Figure 6 A flowchart of another message processing method provided in an embodiment of the present application is as follows: Figure 6 As shown, the following steps may be included:

[0099] 601. Receive a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state.

[0100] 602. Count the unread target group chat session messages that are of a common message type in the group chat session messages, wherein the group chat session messages that are of a common message type are group chat session messages that do not require group chat session message notification after being received.

[0101] 603. In response to the count reaching a set threshold, a prompt word is generated according to the target group chat session message corresponding to the count.

[0102] 604. Input the prompt word into the large language model, so that the large language model extracts at least one dimension of session information from the target group chat session message corresponding to the count according to the prompt word.

[0103] 605. Output a group chat session message notification and session information in at least one dimension.

[0104] The specific implementation process of step 601 to step 602 may refer to the aforementioned embodiment and will not be described in detail here.

[0105] It is understandable that when the count of unread target group chat session messages belonging to the common message type reaches the set threshold, the group members who set the target group chat to the message do not disturb state will have the set threshold group chat session messages to view and process. When the value corresponding to the set threshold is large, the group members cannot obtain the session information to be expressed by the above target group chat session message in a short time.

[0106] In the embodiment of the present application, in order to improve the processing efficiency of the target group chat session message corresponding to the above count after the group members obtain the group chat session message notification output in response to the count reaching the set threshold through the electronic device, in response to the count reaching the set threshold, a prompt word is first generated according to the target group chat session message corresponding to the count. The prompt word is used to guide or instruct the large language model to extract at least one dimension of session information from the target group chat session message corresponding to the count.

[0107] Among them, optionally, the conversation information of at least one dimension mentioned above includes but is not limited to: a conversation summary corresponding to the count of unread target group chat conversation messages of ordinary message type, a conversation topic, conversation keywords, a structured conversation event description (for example, assuming that the target group chat conversation message is a discussion on the next meeting arrangement, the time, place and participants of the next meeting can be extracted from the target group chat conversation message and output in a specific format as a conversation event description), etc.

[0108] During the specific implementation process, the target group chat session message corresponding to the count can be filled into a preset prompt word template to generate a prompt word. Among them, the prompt word template is configured with a slot for filling the target group chat session message corresponding to the count. In addition, the prompt word template is also configured with a part for describing the task of extracting session information, which clarifies which dimensions of session information need to be extracted and how to extract it. Based on this, after the prompt word is generated according to the target group chat session message corresponding to the count and input into the large language model, it can guide the large language model to extract and output at least one dimension of session information from the target group chat session message corresponding to the count.

[0109] Optionally, generating a prompt word according to the target group chat session message corresponding to the count includes: generating a prompt word for guiding the large language model to extract at least one dimension of session information from the target group chat session message corresponding to the count according to the target group chat session message corresponding to the count; or generating prompt words corresponding to at least one dimension respectively according to the target group chat session message corresponding to the count, wherein each prompt word is used to guide the large language model to extract a corresponding dimension of session information from the target group chat session message corresponding to the count.

[0110] In the above two methods of acquiring conversation information, when more than one dimension of conversation information needs to be acquired, the method of generating prompt words corresponding to at least one dimension can effectively avoid mutual interference between conversation information extraction tasks of different dimensions and improve the accuracy of the extracted conversation information; in addition, the large language model can be called in parallel to execute conversation information extraction tasks corresponding to multiple prompt words, thereby improving the acquisition efficiency of at least one dimension of conversation information.

[0111] Afterwards, the prompt word is input into a large language model (LLM) so that the large language model extracts at least one dimension of session information from the target group chat session message corresponding to the count according to the prompt word. Finally, a group chat session message notification and at least one dimension of session information are output. Thus, the group members can obtain the session information corresponding to the unread target group chat session message of the common message type corresponding to the count while obtaining the group chat session message notification, so as to quickly process the target group chat session message based on the session information.

[0112] The message processing device of one or more embodiments of the present application will be described in detail below. Those skilled in the art will appreciate that these devices can be configured using commercially available hardware components through the steps taught in this solution.

[0113] Figure 7 A schematic diagram of a message processing device provided in an embodiment of the present application is shown in FIG. Figure 7As shown, the device includes: a receiving module 11, a processing module 12, and an output module 13.

[0114] The receiving module 11 is used to receive a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state.

[0115] The processing module 12 is configured to count unread target group chat session messages of common message type in the group chat session messages, wherein the group chat session messages of common message type are group chat session messages that do not require group chat session message notification after being received.

[0116] The output module 13 is configured to output the group chat session message notification in response to the count reaching a set threshold.

[0117] Optionally, the output module 13 is further configured to output the group chat session message notification if the received group chat session message is sent by a specific group chat member in the target group chat or contains a specific notification identifier.

[0118] Optionally, the processing module 12 is further configured to clear the count in response to the count reaching the set threshold; or, before the count reaches the set threshold, clear the count in response to the user viewing the group chat session message.

[0119] Optionally, the processing module 12 is further configured to determine a target time point corresponding to each time when the count reaches the set threshold; and adjust the set threshold according to a time interval between two adjacent target time points.

[0120] Optionally, the processing module 12 is specifically configured to reduce the set threshold if the time interval is greater than a first interval threshold; and increase the set threshold if the time interval is less than a second interval threshold.

[0121] Optionally, the message processing device provided by the embodiment of the present application also includes: a configuration module, wherein the configuration module is used to display a group chat session message notification configuration interface corresponding to the target group chat; in response to a first editing operation of the user on the application scenario of the target group chat, outputting a reference value of the set threshold in the group chat session message notification configuration interface; and in response to a second editing operation of the user on the reference value, determining the set threshold.

[0122] Optionally, the output module 13 is specifically configured to generate a prompt word according to the target group chat session message corresponding to the count in response to the count reaching a set threshold; input the prompt word into a large language model so that the large language model extracts at least one dimension of session information from the target group chat session message corresponding to the count according to the prompt word; and output the group chat session message notification and the at least one dimension of session information.

[0123] Figure 7 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.

[0124] In one possible design, the above Figure 7 The structure of the message processing device shown can be implemented as an electronic device, such as Figure 8 As shown, the electronic device may include: a memory 21, a processor 22, and a communication interface 23. The memory 21 stores executable codes, and when the executable codes are executed by the processor 22, the processor 22 can at least implement the message processing method provided in the above embodiments.

[0125] In addition, an embodiment of the present application provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the message processing method provided in the aforementioned embodiment.

[0126] An embodiment of the present application provides a computer program product, including: a computer program, when the computer program is executed by a processor of an electronic device, the processor is caused to execute the message processing method provided in the above-mentioned embodiment.

[0127] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0128] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A message processing method, characterized in that: include: Receiving a group chat session message corresponding to a target group chat in an instant messaging application, where the target group chat is in a message do not disturb state; Counting unread target group chat session messages belonging to a common message type among the group chat session messages, wherein the group chat session messages belonging to a common message type are group chat session messages that do not require group chat session message notification after being received; In response to the count reaching a set threshold, the group chat session message notification is output.

2. The method according to claim 1, characterized in that: The method further comprises: If a received group chat session message is sent by a specific group chat member in the target group chat or contains a specific notification identifier, the group chat session message notification is output.

3. The method according to claim 1, characterized in that The method further comprises: In response to the count reaching the set threshold, clearing the count; or, Before the count reaches the set threshold, in response to a user viewing operation on the group chat session message, the count is cleared.

4. The method according to claim 1, characterized in that The method further comprises: Determine a target time point corresponding to each time the count reaches the set threshold; The set threshold is adjusted according to the time interval between two adjacent target time points.

5. The method according to claim 4, characterized in that The step of adjusting the set threshold according to the time interval between two adjacent target time points includes: If the time interval is greater than the first interval threshold, reducing the set threshold; If the time interval is less than the second interval threshold, the set threshold is increased.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Displaying the group chat session message notification configuration interface corresponding to the target group chat; In response to a first editing operation of the user on the application scenario of the target group chat, outputting a reference value of the set threshold in the group chat session message notification configuration interface; In response to a second editing operation of the user on the reference value, the set threshold is determined.

7. The method according to claim 1, characterized in that In response to the count reaching a set threshold, outputting the group chat session message notification includes: In response to the count reaching a set threshold, generating a prompt word according to the target group chat session message corresponding to the count; Inputting the prompt word into a large language model, so that the large language model extracts at least one dimension of session information from the target group chat session message corresponding to the count according to the prompt word; Output the group chat session message notification and the session information of the at least one dimension.

8. A message processing device, characterized in that: include: A receiving module, configured to receive a group chat session message corresponding to a target group chat in an instant messaging application, wherein the target group chat is in a message do not disturb state; a processing module, configured to count unread target group chat session messages belonging to a common message type among the group chat session messages, wherein the group chat session messages belonging to a common message type are group chat session messages that do not require group chat session message notification after being received; An output module is used to output the group chat session message notification in response to the count reaching a set threshold.

9. An electronic device, characterized in that: include: A memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the message processing method as described in any one of claims 1 to 7.

10. A non-transitory machine-readable storage medium, characterized in that: The non-transitory machine-readable storage medium stores executable code, and when the executable code is executed by a processor of an electronic device, the processor executes the message processing method according to any one of claims 1 to 7.