Message processing method, apparatus, device, storage medium and program product

By displaying the reading status details of group session messages in instant messaging applications and allowing users to customize message reading receipts, the problem of not being able to obtain members' reading status in a timely manner in group sessions is solved, thus improving the efficiency of obtaining message reading status.

CN116418607BActive Publication Date: 2026-02-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210008161.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-05
Publication Date
2026-02-10
Estimated Expiration
2042-01-05

AI Technical Summary

Technical Problem

In instant messaging applications, it is impossible to obtain the reading status of each member's messages in a timely and effective manner in group sessions, resulting in low efficiency in obtaining message reading status.

Method used

A message processing method and apparatus are provided, which displays the reading status details of conversation messages on a group conversation page, including group members who have closed, read, and unread messages. Users can freely set whether message reading receipts are enabled or disabled, and can store and record reading receipt status through individual and group settings to ensure timely updates and display of status.

Benefits of technology

It enables timely and effective acquisition of each member's reading status of conversation messages in group conversations, improving the efficiency of message reading status acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116418607B_ABST
    Figure CN116418607B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of computer processing, and provides a message processing method and device, equipment, a storage medium and a program product, which can improve the message reading state acquisition efficiency. In the application, a conversation message sent in a conversation page of a target group is displayed; in response to a trigger operation of checking the reading state of the conversation message, the reading state details of the conversation message are displayed; wherein the reading state details include group members in the target group who close message reading receipts, group members in the target group who have read the conversation message and open the message reading receipts, and group members in the target group who have not read the conversation message and open the message reading receipts.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer processing, and in particular, to a message processing method and device, computer equipment, a storage medium, and a computer program product. BACKGROUND

[0002] With the rapid development of Internet technology, instant messaging applications, as a user conversation tool, provide great convenience for user communication. Instant messaging applications also provide a message reading receipt function on the basis of user communication, so that users can easily understand whether their conversation messages have been read by the other party.

[0003] Currently, instant messaging applications provide a group-level switch to turn on or turn off the message reading receipt function for all members at once. This way, the reading status of conversation messages sent in a group conversation cannot be determined in a timely and effective manner, resulting in low efficiency in obtaining the message reading status. SUMMARY

[0004] Therefore, it is necessary to provide a message processing method and device, computer equipment, a storage medium, and a computer program product for improving the efficiency of obtaining the message reading status.

[0005] The present application provides a message processing method, which comprises:

[0006] displaying a conversation message sent in a conversation page of a target group;

[0007] in response to a trigger operation for viewing the reading status of the conversation message, displaying the reading status details of the conversation message; wherein the reading status details include group members in the target group who have turned off the message reading receipt, group members in the target group who have read the conversation message and turned on the message reading receipt, and group members in the target group who have not read the conversation message and turned on the message reading receipt.

[0008] The present application provides a message processing device, which comprises:

[0009] a conversation message display module configured to display a conversation message sent in a conversation page of a target group;

[0010] a reading status detail display module configured to, in response to a trigger operation for viewing the reading status of the conversation message, display the reading status details of the conversation message; wherein the reading status details include group members in the target group who have turned off the message reading receipt, group members in the target group who have read the conversation message and turned on the message reading receipt, and group members in the target group who have not read the conversation message and turned on the message reading receipt.

[0011] In one embodiment, the device further includes a reading status marker display module for displaying a reading status marker in the session message; the reading status details display module is further configured to display reading status details of the session message in response to a triggering operation on the reading status marker.

[0012] In one embodiment, the reading status marker display module is further configured to display a reading status marker in the session message when the message reading receipt corresponding to the group member who sent the session message is in an enabled state.

[0013] In one embodiment, the device further includes a session message sending module for logging into an instant messaging application with a target identifier; sending the session message in the session page of the target group; and the reading status marker display module for displaying a reading status marker in the session message in response to the message reading receipt corresponding to the target identifier being enabled.

[0014] In one embodiment, the device further includes a message read receipt on / off module, used to display a settings page for message read receipts corresponding to a target identifier; and to enable message read receipts corresponding to the target identifier in response to a trigger operation on the message read receipt switch in the settings page.

[0015] In one embodiment, the device further includes an on / off state recording module, used to record the on / off state of the message read receipt corresponding to the target identifier; the recorded on / off state is used to write the on / off state of the message read receipt corresponding to the target identifier into a personal settings storage with the target identifier as the query index, and to write the on / off state of the message read receipt corresponding to the target identifier into a group settings storage with a group identifier as the query index; wherein, the group identifier is the identifier of the group to which the target identifier belongs.

[0016] In one embodiment, the device further includes a storage writing module for initiating a transaction; writing the enabled status of the message read receipt corresponding to the target identifier to a personal settings storage with the target identifier as the query index through the transaction; and after successfully writing the enabled status of the message read receipt corresponding to the target identifier to the personal settings storage, writing the enabled status of the message read receipt corresponding to the target identifier to a group settings storage with the group identifier as the query index through the transaction.

[0017] In one embodiment, the storage writing module is further configured to, after failing to write the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage or failing to write the enabled state of the message read receipt corresponding to the target identifier into the group settings storage, return to the step of writing the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index through the transaction, and continue execution until the enabled state of the message read receipt corresponding to the target identifier is successfully written into the group settings storage.

[0018] In one embodiment, the reading status details display module is further configured to, in response to a trigger operation to view the reading status of the session messages, display a reading status details list on the session page; in the "Close Reading Status Receipt" column of the reading status details list, display group members in the target group who have closed message reading receipts; in the "Read" column of the reading status details list, display group members in the target group who have enabled message reading receipts and have read the session messages; and in the "Unread" column of the reading status details list, display group members in the target group who have enabled message reading receipts and have not read the session messages.

[0019] In one embodiment, the reading status details display module is further configured to receive a message body from the server regarding the session message; and display a list of reading status details from the message body of the session message on the session page;

[0020] The list of reading status details in the message body of the session message is obtained by the server based on the reading status of the session message by the group members in the target group and the status of the group members' message reading receipts.

[0021] In one embodiment, the device further includes a receipt status acquisition module, configured to determine the group identifier to which the group member sending the session message belongs; use the group identifier as a query index to query the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; and filter group members belonging to the target group from the members in the group corresponding to the group identifier to obtain the message read receipt status of the group members in the target group.

[0022] In one embodiment, the device further includes a reading status details list processing module, configured to: include group members whose message reading receipt status is closed in the closed reading status receipt column of the reading status details list; include group members whose message reading receipt status is open and whose reading status is read in the read column of the reading status details list; and include group members whose message reading receipt status is open and whose reading status is unread in the unread column of the reading status details list.

[0023] In one embodiment, the session message is a session message sent in a one-on-one chat session page with a target identifier. The device further includes a reading status mark processing module, which is used to not display a reading status mark in the session message when the message reading receipts of the target identifier and the session object of the one-on-one chat session are in a closed state; and to display a reading status mark in the session message when the message reading receipts of the target identifier and the session object of the one-on-one chat session are in a closed state.

[0024] In one embodiment, the reading status mark processing module is further configured to display a read status mark indicating that the message has been read in the conversation message section of the one-on-one chat page in response to the target identifier and the respective message read receipts of the conversation object being enabled, and the conversation object having read the conversation message.

[0025] In one embodiment, the reading status flag processing module is further configured to obtain the message body of the session message fed back by the server; the message body includes a reading status flag indicating that the message has been read; and the reading status flag indicating that the message has been read is displayed in the session message section of the one-on-one chat session page.

[0026] The message read status flag in the message body is written by the server when the message read receipt of the target identifier is in the enabled state and the session object's read status of the session message is in the read state.

[0027] In one embodiment, the message body further includes the status of the message read receipt corresponding to the target identifier. The status of the message read receipt corresponding to the target identifier in the message body is when the target identifier sends the session message to the session object, the server writes the session message and the status of the message read receipt corresponding to the target identifier into the message body together.

[0028] In one embodiment, the device further includes a receipt status acquisition module, used to determine the group identifier to which the target identifier belongs; using the group identifier as a query index, querying the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; and filtering the target identifier and the conversation object of the one-on-one chat session from each member in the group corresponding to the group identifier to obtain the message read receipt status corresponding to the target identifier.

[0029] This application provides a computer device, including a memory and a processor, wherein the memory stores a computer program and the processor executes the message processing method described above.

[0030] This application provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor using the above-described message processing method.

[0031] This application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described message processing method.

[0032] In the aforementioned message processing methods, apparatus, computer devices, storage media, and computer program products, each user can freely configure whether message read receipts are enabled or disabled. Thus, for conversation messages sent in a group session, in response to a trigger operation to view the reading status of the conversation messages, the reading status details of the conversation messages can be displayed. These details include group members in the target group who have disabled message read receipts, group members in the target group who have enabled message read receipts and have read the conversation messages, and group members in the target group who have enabled message read receipts and have not read the conversation messages. This allows for timely and effective acquisition of the reading status of each group member in the target group for the conversation messages, improving the efficiency of message read status acquisition. Attached Figure Description

[0033] Figure 1 This is a diagram of the application environment for an implemented message processing method.

[0034] Figure 2 This is a flowchart illustrating a message processing method in practice.

[0035] Figure 3 This is a schematic diagram of the session page of the target group in one embodiment;

[0036] Figure 4 This is a schematic diagram illustrating the display of read members in the reading status details of a session message in one embodiment;

[0037] Figure 5 This is a schematic diagram illustrating the display of unread members in the read status details of a session message in one embodiment;

[0038] Figure 6 This is a schematic diagram illustrating a member who has disabled message read receipts in the session message read status details in one embodiment;

[0039] Figure 7 This is a schematic diagram illustrating the prompt information related to the reading status details of a session message in one embodiment;

[0040] Figure 8 This is a schematic diagram of the message read receipt settings page in one embodiment;

[0041] Figure 9 This is a schematic diagram illustrating the process of writing to personal settings storage and group settings storage in one embodiment;

[0042] Figure 10 This is a flowchart illustrating the process of obtaining the message read receipt status of each group member in one embodiment;

[0043] Figure 11 This is an application scenario diagram of the message processing method in another embodiment;

[0044] Figure 12 This is a flowchart illustrating the message processing method in another embodiment;

[0045] Figure 13 This is a structural block diagram of a message processing device in one embodiment;

[0046] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0048] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. Those skilled in the art will understand, explicitly and implicitly, that the embodiments described in this application can be combined with other embodiments. It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0049] Figure 1 This is a diagram illustrating the application environment of a message processing method in practice. (Refer to...)Figure 1 Terminal 102 communicates with server 104 via a communication network. Terminal 102 can interact with server 104 through the communication network; terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. Server 104 can be implemented using a standalone server, a server cluster consisting of multiple servers, or a cloud server. Server 104 can send session messages from the target group to terminal 102; terminal 102 can display the session messages sent in the session page of the target group; in response to a trigger operation to view the reading status of session messages, terminal can display details of the reading status of session messages; these details include group members in the target group who have disabled message read receipts, group members in the target group who have enabled message read receipts and have read the session messages, and group members in the target group who have enabled message read receipts and have not read the session messages.

[0050] The message processing method provided in this application can be executed by terminal 102 or server 104, or it can be executed collaboratively by terminal 102 and server 104. In one embodiment, the method is illustrated by example of execution by terminal 102. Figure 2 This is a flowchart illustrating an implemented message processing method, referencing... Figure 2 The method includes the following steps:

[0051] Step S202: Display the conversation messages sent in the conversation page of the target group;

[0052] The conversation messages are the communication content between members, which can include text, emojis, and videos. The conversation page is the page used to display these conversation messages. A target group includes multiple group members, and the target group's conversation page can display the conversation messages between all the group members within that target group. Figure 3 This is a schematic diagram of the session page of the target group in one embodiment, with reference to... Figure 3 The target group's conversation page 310 can display the conversation messages of each group member.

[0053] The terminal can obtain session messages sent by other group members to the session page of the target group via the server, and display the session messages on the session page of the target group.

[0054] Step S204: In response to the triggering operation of viewing the reading status of the conversation messages, display the reading status details of the conversation messages; wherein, the reading status details include group members in the target group with message reading receipts turned off, group members in the target group with message reading receipts turned on who have read the conversation messages, and group members in the target group with message reading receipts turned on who have not read the conversation messages.

[0055] The read status indicates whether a corresponding session message has been read by a member, and can include both read and unread states. Read status details provide a detailed overview of each group member's read status of the session message.

[0056] The trigger action for viewing the reading status of a conversation message is used to display the reading status details of the conversation message. This trigger action can be double-clicking the conversation message or clicking the reading status marker on the conversation message.

[0057] In response to a trigger operation to view the reading status of conversation messages, the terminal can simultaneously or separately display group members in the target group with message read receipts turned off, group members in the target group with message read receipts turned on who have read conversation messages, and group members in the target group with message read receipts turned on who have not read conversation messages.

[0058] Figure 3 This is a schematic diagram illustrating the triggering operation for viewing the reading status of session messages in one embodiment; see reference. Figure 3 On the target group's conversation page 310, conversation messages sent by each group member are displayed. Group member "Yang" can click the reading status marker 312 on the conversation message "Everyone, meeting at 3 PM today." In response to clicking the reading status marker 312, the terminal displays the conversation message's reading status details.

[0059] Figure 4 This is a schematic diagram illustrating the display of read members in the read status details of a session message in one embodiment. In response to clicking the read status marker 312, refer to... Figure 4 On the reading status details page 410, the terminal can first display the group members in the target group who have read the conversation messages and enabled message reading receipts. Figure 5 This is a schematic diagram illustrating the display of unread members in the read status details of a conversation message in one embodiment. When group member "Yang" clicks "Unread", refer to... Figure 5 The terminal can display the group members in the target group who have enabled message reading receipts on the reading status details page 410. Figure 6 This is a schematic diagram illustrating a member who has disabled message read receipts in the message read status details of a conversation in one embodiment. When group member "Yang" clicks "Disable Message Read Receipts", refer to... Figure 6The terminal can display the group members in the target group where message reading receipts are turned off on the reading status details page 410.

[0060] In the above message processing method, each user can freely set whether to enable or disable message read receipts. In this way, for conversation messages sent in a group conversation, the system can respond to the trigger operation of viewing the reading status of the conversation messages and display the reading status details of the conversation messages. The reading status details include group members in the target group who have disabled message read receipts, group members in the target group who have enabled message read receipts and have read the conversation messages, and group members in the target group who have enabled message read receipts and have not read the conversation messages. This allows for timely and effective acquisition of the reading status of each group member in the target group for the conversation messages, improving the efficiency of message reading status acquisition.

[0061] In one embodiment, the terminal may also display a reading status marker in the session message; in response to a triggering operation on the reading status marker, the reading status details of the session message are displayed.

[0062] The reading status flag is a flag that represents the reading status of the corresponding session message. This reading status flag can include the number of group members who have read the message, as shown in the reference... Figure 3 If two group members with message read receipts enabled have read the message "Everyone, the meeting is at 3 PM today," then the read status marker 312 displayed on the message can show "2" as the number of group members who have read it. This read status marker can also include the number of group members who haven't read it. If three group members with message read receipts enabled haven't read the message "Everyone, the meeting is at 3 PM today," then the read status marker 312 displayed on the message can show "3" as the number of group members who have read it.

[0063] The trigger operation for the reading status marker is used to trigger the display of reading status details of the session message; the trigger operation can be achieved by clicking the reading status marker with the cursor or by clicking the reading status marker with a finger.

[0064] Reference Figure 3The terminal can display a reading status marker 312 at the conversation message "Everyone, the meeting is at 3 PM today". If two group members with message read receipt enabled have read the conversation message "Everyone, the meeting is at 3 PM today", then the number of read group members, "2", can be entered into the reading status marker 312 displayed at that conversation message. When a group member clicks on the reading status marker 312 with the cursor, the reading status details of the conversation message "Everyone, the meeting is at 3 PM today" can be displayed. The various group members included in the reading status details of the conversation message "Everyone, the meeting is at 3 PM today" can be simultaneously displayed on the reading status details page 410, or... Figure 4 to Figure 6 The location is shown on the reading status details page 410.

[0065] In the above embodiments, the reading status details of the conversation message are triggered by the reading status marker in the conversation message, thereby improving the convenience for users to view the reading status details.

[0066] Figure 7 This is a schematic diagram of the prompt information related to the reading status details of a session message in one embodiment, referring to... Figure 7 The reading status details page 410 is displayed on the conversation page 310. The reading status details page 410 can also display the prompt message "Some group members have turned off [Message Read Receipts], and you cannot see whether they have read it. Go to settings". When a group member clicks "Go to settings", the message read receipt settings page corresponding to the target identifier of that group member can be displayed, so that the group member can customize the on / off state of message read receipts.

[0067] In the above embodiments, corresponding prompt information is displayed on the reading status details page. The terminal can respond to the trigger operation of some information in the prompt information and jump to the message reading receipt setting page corresponding to the target identifier of the group member, so as to realize the custom opening and closing status of message reading receipts and improve the efficiency of custom opening and closing of message reading receipts.

[0068] In one embodiment, when the message read receipt corresponding to the group member who sent the session message is enabled, the terminal can display a read status marker in the session message.

[0069] A message read receipt is an acknowledgment of the read status of a conversation message, indicating whether the message has been read or not. Message read receipts have an on and off state. When the message read receipt is on, it indicates that the corresponding member allows the other party to know whether they have read or not the conversation message, and the member themselves can see whether the other party has read or not the conversation message. When the message read receipt is off, it indicates that the corresponding member does not allow the other party to know whether they have read or not the conversation message, and the member cannot see whether the other party has read or not the conversation message.

[0070] Specifically, when the message read receipt corresponding to the group member who sent the session message is enabled, it indicates that the group member who sent the session message can see whether the other party has read the session message or has not yet read it. At this time, the terminal can display a read status mark in the session message.

[0071] In the above embodiments, when the message read receipt corresponding to the group member who sent the session message is enabled, the terminal can display a read status mark in the session message so that the group member who sent the session message can view the read status of other group members regarding the session message through the read status mark.

[0072] In one embodiment, the terminal can also log in to an instant messaging application with a target identifier; send a session message in the session page of the target group; and display a reading status marker in the session message in response to the message read receipt corresponding to the target identifier being enabled.

[0073] Instant messaging (IM) applications are applications used for conversations, and they can be installed on a device. A target identifier is used to uniquely identify a group member sending a conversation message; it is a personal identifier, and different group members correspond to different personal identifiers.

[0074] Specifically, after logging into the instant messaging application with the target identifier, the terminal can display the conversation page of the target group, obtain the conversation messages entered by the corresponding group members, and send the conversation messages in the conversation page of the target group so that all group members of the target group are aware of the conversation messages. The terminal can determine the status of the message read receipt corresponding to the target identifier through the target identifier. When the message read receipt corresponding to the target identifier is in the enabled state, the terminal can display a read status mark in the conversation message.

[0075] In the above embodiment, the instant messaging application is logged in with the target identifier, and a conversation message is sent in the conversation page of the target group. When the message read receipt corresponding to the target identifier is enabled, a read status mark is displayed in the conversation message so that the group member who sent the conversation message can view the read status of other group members regarding the conversation message through the read status mark.

[0076] In one embodiment, the terminal may display a settings page for message read receipts corresponding to the target identifier; in response to a trigger operation on the message read receipt switch in the settings page, the terminal may enable message read receipts corresponding to the target identifier.

[0077] The settings page is used to set the on / off state of message read receipts. Different group members can customize the on / off state of message read receipts through the settings page corresponding to their own personal identifier.

[0078] The settings page includes a message read receipt toggle, which can be used to turn message read receipts on or off. The toggle can be activated by clicking it or by long-pressing and dragging it.

[0079] Figure 8 This is a schematic diagram of the message read receipt settings page in one embodiment; see reference. Figure 8 In the message reading receipt settings page 510, a message reading receipt switch 514 can be displayed. When the user clicks the message reading receipt switch 514, the terminal will use this operation as a trigger operation for the message reading receipt switch in the settings page and enable the message reading receipt corresponding to the target identifier, so that the message reading receipt is in the enabled state.

[0080] Reference Figure 8 In the message read receipt settings page 510, the terminal can display a "Show Personalized Photo" setting switch 512, allowing users to customize whether to enable or disable the personalized photo display function; the terminal can also display a "Use Text to Indicate Read / Unread" setting switch 516, which enables "Use Text to Indicate Read / Unread" when the user clicks this setting switch 516. (See reference...) Figure 8 In the message read receipt settings page 510, the terminal can display group avatars and personal photos, etc., for users to customize.

[0081] In the above embodiments, the user can customize the on / off state of message reading receipts by triggering the message reading receipt switch in the message reading receipt settings page, thereby improving the efficiency of user customization settings.

[0082] In one embodiment, after enabling message read receipts corresponding to a target identifier, the terminal can record the activation status of message read receipts corresponding to the target identifier. This recorded activation status is used to write the activation status of message read receipts corresponding to the target identifier into the personal settings storage indexed by the target identifier, and to write the activation status of message read receipts corresponding to the target identifier into the group settings storage indexed by the group identifier. The group identifier is the identifier of the group to which the target identifier belongs.

[0083] In this system, the target identifier uniquely identifies the corresponding group member and is a personal identifier; each group member can be uniquely identified by a different personal identifier. Group members can belong to the same group, while different groups can be uniquely identified by group identifiers. Members of the same group can form different groups; that is, the same group can include multiple groups.

[0084] The personal settings store stores the mapping between personal identifiers and the on / off states of message read receipts for the group members represented by those personal identifiers. The group settings store the mapping between group identifiers and the on / off states of message read receipts for all members of the group represented by those group identifiers.

[0085] When a terminal enables message read receipts corresponding to a target identifier, the message read receipt function is in an enabled state. The terminal can send this enabled state to the server. Upon receiving the enabled state, the server writes it to the personal settings storage indexed by the target identifier and to the group settings storage indexed by the group identifier.

[0086] It is understandable that when a group member uniquely identified by a target identifier changes the open / closed state of a message read receipt, the terminal can send the changed state of the message read receipt corresponding to the target identifier to the server so that the server can update the personal settings storage and group settings storage.

[0087] Similarly, for other group members, their terminals can also send the corresponding open / closed status of message read receipts to the server, so that the server can write the open / closed status of each group member's message read receipts into the personal settings storage and group settings storage.

[0088] In the above embodiments, the enabled / disabled status of message read receipts corresponding to the target identifier is written into the personal settings storage and the group settings storage respectively, so that the enabled / disabled status of message read receipts corresponding to the target identifier can be obtained based on the personal settings storage, and the enabled / disabled status of message read receipts corresponding to the personal identifiers of all group members can be obtained based on the group settings storage.

[0089] In one embodiment, the server can initiate a transaction; through the transaction, the server can write the enabled status of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index; after successfully writing the enabled status of the message read receipt corresponding to the target identifier into the personal settings storage, the server can then, through the transaction, write the enabled status of the message read receipt corresponding to the target identifier into the group settings storage with the group identifier as the query index.

[0090] The transaction includes the operation of writing the enabled status of message read receipts corresponding to the target identifier to the personal settings storage and the operation of writing the enabled status of message read receipts corresponding to the target identifier to the group settings storage.

[0091] After receiving the enabled status of message read receipts corresponding to the target identifier, the server initiates a transaction. Through this transaction, the server writes the enabled status of message read receipts corresponding to the target identifier into the personal settings storage with the target identifier as the query index. After successfully writing the enabled status of message read receipts corresponding to the target identifier into the personal settings storage, the server can then write the enabled status of message read receipts corresponding to the target identifier into the group settings storage with the group identifier as the query index through another transaction.

[0092] Understandably, when a group member uniquely identified by a target identifier changes the open / closed state of their message read receipt, the terminal can send the changed state of the message read receipt corresponding to the target identifier to the server. Upon receiving the changed state of the message read receipt corresponding to the target identifier, the server can reopen the transaction. This transaction includes two operations: writing the changed state of the message read receipt corresponding to the target identifier to the personal settings storage and writing the changed state of the message read receipt corresponding to the target identifier to the group settings storage. Based on the reopened transaction, the server updates the personal settings storage and the group settings storage.

[0093] Similarly, for other group members, their terminals can also send the corresponding open / closed status of message read receipts to the server; the server can initiate transactions for each group member to write the open / closed status of message read receipts corresponding to each group member's personal identifier into the personal settings storage and group settings storage.

[0094] In the above embodiments, the enabled status of message read receipt corresponding to the target identifier is written to the personal settings storage and the group settings storage respectively through transactions, so as to ensure the consistency of writing to the personal settings storage and the group settings storage and avoid errors.

[0095] In one embodiment, if writing the enabled state of the message read receipt corresponding to the target identifier to the personal settings storage fails or writing the enabled state of the message read receipt corresponding to the target identifier to the group settings storage fails, the server can return to the step of writing the enabled state of the message read receipt corresponding to the target identifier to the personal settings storage with the target identifier as the query index through a transaction and continue to execute until the enabled state of the message read receipt corresponding to the target identifier is successfully written to the group settings storage.

[0096] If the transaction includes both the operation of writing the enabled status of the message read receipt corresponding to the target identifier to the personal settings storage and the operation of writing the enabled status of the message read receipt corresponding to the target identifier to the group settings storage, and if either write operation fails, the server can roll back the transaction and re-execute all the operations included in the transaction.

[0097] Specifically, if writing the enabled status of message read receipts corresponding to the target identifier to the personal settings storage fails, the server can rewrite the enabled status of message read receipts corresponding to the target identifier to the personal settings storage, using the target identifier as the query index. If the personal settings storage write is successful, the server can write the enabled status of message read receipts corresponding to the target identifier to the group settings storage. If the group settings storage write fails, the server can rewrite the enabled status of message read receipts corresponding to the target identifier to the personal settings storage, using the target identifier as the query index, and after the personal settings storage write is successful, write the enabled status of message read receipts corresponding to the target identifier to the group settings storage. When the group settings storage write is successful, the server can determine that the transaction is complete and end the transaction rollback.

[0098] In the above embodiments, if the write operation to personal settings storage fails or the write operation to group settings storage fails, a transaction rollback can be performed to re-perform the write operation to personal settings storage and group settings storage, so as to ensure the consistency between personal settings storage and group settings storage.

[0099] Figure 9 This is a schematic diagram illustrating the process of writing personal settings storage and group settings storage in one embodiment, referencing... Figure 9 The writing process includes the following steps:

[0100] Step S902: The terminal displays the settings page for the message read receipt corresponding to the target identifier;

[0101] Step S904: The server uses the target identifier as the query index to query the personal settings storage corresponding to the target identifier, obtains the closed status of the message read receipt corresponding to the target identifier, and feeds it back to the terminal.

[0102] Step S906: In response to the triggering operation of the message reading receipt switch in the settings page, the terminal enables the message reading receipt corresponding to the target identifier;

[0103] In step S908, the terminal sends feedback to the server on the enabled status of the message read receipt corresponding to the target identifier.

[0104] Step S910: The server obtains the enabled status of the message read receipt corresponding to the target identifier sent by the terminal;

[0105] Step S912, the server starts a transaction;

[0106] In step S914, through a transaction, the server writes the enabled status of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index.

[0107] Step S916: The server determines whether the personal settings storage write was successful.

[0108] If the personal settings storage write is successful, proceed to step S918; if the personal settings storage write fails, perform a transaction rollback and return to step S914.

[0109] In step S918, through a transaction, the server writes the enabled status of the message read receipt corresponding to the target identifier into the group settings storage with the group identifier as the query index.

[0110] Step S920: The server determines whether the group settings storage write was successful.

[0111] If the group settings storage write is successful, proceed to step S918; if the group settings storage write fails, perform a transaction rollback and return to step S914.

[0112] Step S922: The server confirms that the personal settings storage and group settings storage have been successfully written.

[0113] In the above embodiments, if the write operation to personal settings storage fails or the write operation to group settings storage fails, a transaction rollback can be performed to re-perform the write operation to personal settings storage and group settings storage, so as to ensure the consistency between personal settings storage and group settings storage.

[0114] In one embodiment, in response to a triggering operation to view the reading status of session messages, the terminal can display a list of reading status details on the session page; in the "Close Reading Status Receipt" column of the reading status details list, it can display group members in the target group where message reading receipts are turned off; in the "Read" column of the reading status details list, it can display group members in the target group where message reading receipts are turned on who have read the session messages; and in the "Unread" column of the reading status details list, it can display group members in the target group where message reading receipts are turned on who have not read the session messages.

[0115] The reading status details list is a list used to display reading status details. This reading status details list can include a read column, an unread column, and a closed reading status receipt column.

[0116] In response to a trigger action to view the reading status of conversation messages, the terminal displays a list of reading status details on the conversation page. Specifically, the terminal can display group members in the target group where message reading receipts are disabled in the "Disable Reading Status Receipts" section of the reading status details list; the terminal can display group members in the target group where message reading receipts are enabled who have read the conversation messages in the "Read" section of the reading status details list; and the terminal can display group members in the target group where message reading receipts are enabled who have not read the conversation messages in the "Unread" section of the reading status details list.

[0117] In the above embodiments, the reading status details are displayed in a list format, which makes it easy for group members who send conversation messages to view the reading status of other group members regarding the conversation message.

[0118] In one embodiment, the terminal can receive the message body of the session message from the server; the session page displays a list of reading status details in the message body of the session message; wherein, the list of reading status details in the message body of the session message is obtained by the server based on the reading status of the group members in the target group on the session message and the status of the group members' message reading receipts.

[0119] The message body is a data structure that includes the session message. For group members who send session messages, the message body can include the session message and a list of read status details. For group members who receive session messages, the message body can include the session message and the status of the message read receipt of the group members who receive the session message.

[0120] Group members' message reading status includes "read" and "unread". Group members' message read receipt status includes "on" and "off".

[0121] After the session message is sent by the server to each group member of the target group, the server can determine which group members have enabled message read receipts and which have disabled them based on the message read receipt status of each group member. The group members with disabled message read receipts are then added to the "Disabled Read Receipt" column of the read status details list. Next, the server can determine which group members have read the session messages in the "Read" column and which have not read the session messages in the "Unread" column based on the reading status of the session messages by the group members with enabled message read receipts.

[0122] In the above embodiments, a reading status details list is obtained based on the reading status of group members in the target group and the status of the group members' message reading receipts. This reading status details list is then written into the message body of the group member who sent the session message, ensuring the accuracy of the reading status details list seen by the group member who sent the session message.

[0123] In one embodiment, the server can add group members whose message read receipt status is closed to the closed read receipt column of the read status details list; the server can add group members whose message read receipt status is open and whose read status is "read" to the read status column of the read status details list; and the server can add group members whose message read receipt status is open and whose read status is "unread" to the unread status column of the read status details list, thus obtaining the read status details list.

[0124] After a session message is sent by the server to each member of the target group, the server can determine which group members have enabled and disabled message read receipts based on their read receipt status. Members with disabled read receipts are added to the "Disabled Read Receipt" column of the read status details list. Next, based on the read status of the session message by members with enabled read receipts, the server can determine which group members have read the session message and which have not. Members with read messages are added to the "Read" column of the read status details list, and those with unread messages are added to the "Unread" column, resulting in a detailed read status list. This detailed read status list is then written into the message body of the group member who sent the session message. Upon receiving the message body from the group member who sent the session message, the terminal displays the detailed read status list within that message body.

[0125] In the above embodiments, based on the reading status of group members in the target group regarding the conversation messages and the status of the group members' message reading receipts, the group members are categorized into different columns of the reading status details list, making it easier for users to identify the reading status of each group member regarding the conversation messages and the status of each group member's message reading receipts.

[0126] Figure 10 This is a flowchart illustrating the process of obtaining the message read receipt status of each group member in one embodiment. (Refer to...) Figure 10 The steps for obtaining the message read receipt status of each group member include: Step S1002, the server determines the group identifier to which the group member who sent the session message belongs; Step S1004, the server uses the group identifier as a query index to query the group settings storage corresponding to the group identifier, and obtains the message read receipt status of each member in the group corresponding to the group identifier; Step S1006, the server filters the group members belonging to the target group from the members in the group corresponding to the group identifier, and obtains the message read receipt status of the group members in the target group.

[0127] Group settings storage is used to store the message read receipt status of all members of the same group, using the group identifier.

[0128] The server can determine the group to which the group member sending the session message belongs and obtain the group's identifier. Then, using this group identifier as a query index, the server queries the group settings store corresponding to the group identifier to retrieve the message read receipt status of each member in that group. The server can then filter the message read receipt status of the target group's members from the message read receipt status of each member in the group.

[0129] In the above embodiments, the status of message read receipts of each member of the group is directly obtained by using the group identifier as the query index. The status of message read receipts of the target group members is then filtered from the status of message read receipts of each member of the group, reducing the overhead of reading the status of message read receipts of the target group members.

[0130] In one embodiment, the session message is a session message sent in a one-way chat session page with a target identifier. When the message read receipt for both the target identifier and the session object in the one-way chat session is in a disabled state, the terminal may not display a read status marker in the session message; when the message read receipt for both the target identifier and the session object in the one-way chat session is in a enabled state, the terminal may display a read status marker in the session message.

[0131] A one-on-one chat session page is a chat session page where the target identifier is the personal identifier of the person sending the chat message and belongs to the party sending the chat message in the one-on-one chat session page; the chat object is the object receiving the chat message and belongs to the party receiving the chat message in the one-on-one chat session page.

[0132] When either the message read receipt for the target identifier or the message read receipt for the session object is in a closed state, it indicates that one of the objects sending and receiving the session message does not wish to provide feedback on its reading status of the session message to the other. In this case, the terminal may not display the reading status flag in the session message.

[0133] When both the target identifier's message read receipt and the session object's message read receipt are enabled, it indicates that the object sending the session message and the object receiving the session message are willing to provide feedback on their reading status of the session message to each other. At this time, the terminal can display a reading status marker in the session message.

[0134] In the above embodiments, based on the target identifier of the one-on-one chat session and the status of the message read receipts of the respective chat objects, it is determined whether to display a reading status marker in the chat message. This realizes the display of reading status markers based on user-defined settings of message read receipt status, which better meets the user's needs for message read receipts.

[0135] In one embodiment, the terminal may display a read status mark indicating that the message has been read in the chat message section of the chat page in response to the target identifier and the message read receipt of each chat object being enabled, and the chat object having read the chat message.

[0136] When both the target identifier's message read receipt and the session object's message read receipt are enabled, it indicates that the sending and receiving parties are willing to provide feedback on their message read status. Before the session object reads the message, the terminal can display an unread status marker in the message section of the one-on-one chat page. After the session object reads the message, the terminal can display a read status marker in the message section of the one-on-one chat page.

[0137] In the above embodiments, when both the target identifier and the conversation object's message read receipt are enabled, after the conversation object reads the conversation message, a read status mark indicating that the message has been read is displayed in the conversation message section of the one-chat conversation page, so that the object corresponding to the target identifier can know in a timely manner that the other party has read the conversation message, thereby improving conversation efficiency.

[0138] In one embodiment, the terminal can obtain the message body of the session message returned by the server; the terminal can display the read status mark of the message body in the session message section of the one-on-one chat session page.

[0139] The feedback message body is targeted at the target identifier and includes a read status flag indicating that the message has been read. This read status flag is written into the message body by the server when the target identifier's message read receipt is enabled and the session object's read status for the session message is read.

[0140] When the message read receipt status for the target identifier is enabled, after the session object reads the session message, the server can write the message read status flag and the session message into the message body for the target identifier and send the message body back to the terminal. After receiving the message body, the terminal displays the message read status flag in the message body.

[0141] In the above embodiments, when the message read receipt status of the target identifier is enabled, after the session object reads the session message, the server writes the read status mark of the message to the message body for the target identifier. The terminal corresponding to the target identifier does not need to check the read status with the terminal corresponding to the session object in real time, saving the overhead of the read status.

[0142] In one embodiment, the message body also includes the status of the message read receipt corresponding to the target identifier. The status of the message read receipt corresponding to the target identifier in the message body is written by the server together with the status of the session message and the status of the message read receipt corresponding to the target identifier when the target identifier sends a session message to the session object.

[0143] The message body for the target identifier also includes the status of the message read receipt corresponding to the target identifier.

[0144] When a target identifier sends a session message to a session object, the server writes the session message and the status of the message read receipt corresponding to the target identifier into the message body for the target identifier and stores it on the server's local end. The server determines the status of the message read receipt written with the session message based on its stored message body for the target identifier. When the status of the message read receipt written with the session message is "on," it indicates that the object corresponding to the target identifier wants to know the session object's reading status of the session message. After the session object reads the session message, the server can update the message body for the target identifier, writing the "read" status mark into the message body for the target identifier, and then sending feedback to the terminal corresponding to the target identifier. The terminal displays the updated "read" status mark in the message body.

[0145] In the above embodiments, when the target identifier sends a session message to the session object, the status of the session message and the message read receipt corresponding to the target identifier are written together into the message body. This makes it easier for the server to determine whether to update the message body based on the status of the session message being read, thereby improving the efficiency of reading status processing.

[0146] In one embodiment, the server can determine the group identifier to which the target identifier belongs; use the group identifier as a query index to query the group settings storage corresponding to the group identifier, and obtain the message read receipt status of each member in the group corresponding to the group identifier; from each member in the group corresponding to the group identifier, filter the target identifier and the session object of the one-on-one chat session, and obtain the message read receipt status corresponding to the target identifier.

[0147] When a target identifier sends a session message to a session object, the server, based on the group identifier to which the target identifier belongs, uses the group identifier as a query index to query the group settings storage corresponding to the group identifier. It then batch-reads the message read receipt status of each member in the group, filters out the target identifier and the session object for the one-on-one chat from the group members, obtains the message read receipt status corresponding to the target identifier, and writes the message read receipt status of the target identifier and the session message together into the message body for the target identifier. The server can also obtain the message read receipt status of the session object and write the message read receipt status of the session object and the session message together into the message body for the session object. The server can then feed back the message body for the session object to the session object's terminal, which displays the session message in the message body. When the session object has read the session message, the session object's terminal, based on the message read receipt status in the message body, determines whether to report the session object's read message status to the server.

[0148] In the above embodiments, the status of message read receipts of each member of the group is directly obtained by using the group identifier as the query index. The status of message read receipts of the target identifier and the session object is filtered out from the status of message read receipts of each member of the group, thereby reducing the overhead of reading the status of message read receipts of the target identifier and the session object.

[0149] Figure 11 This is an application scenario diagram of the message processing method in another embodiment. Figure 12 This is a flowchart illustrating a message processing method in another embodiment. The following is in conjunction with... Figure 11 and Figure 12 This application introduces an embodiment of another message processing method provided.

[0150] Reference Figure 11 The server includes a storage read / write server and a message server. The storage read / write server is used to perform read / write operations on personal settings storage and group settings storage. The message server is used to obtain the group settings storage from the storage read / write server and maintain the message bodies of each group member based on the write diffusion pattern. Each member's message body is independent of the others.

[0151] First, let's introduce the read / write operations for personal settings storage and group settings storage:

[0152] Terminal A can display the message read receipt settings page corresponding to the individual's identifier ①. The storage read / write server uses individual identifier ① as the query index to query the personal settings storage corresponding to individual identifier ①, obtains the off status of the message read receipt for individual identifier ①, and sends it back to the corresponding terminal A. In response to the trigger operation of the message read receipt switch in terminal A's settings page, terminal A enables the message read receipt for individual identifier ①. Terminal A sends the enabled status of the message read receipt for individual identifier ① back to the storage read / write server. The storage read / write server retrieves the enabled status of the message read receipt for individual identifier ① sent by terminal A.

[0153] The storage read / write server initiates a transaction; this transaction includes the operation of writing the enabled status of the message read receipt corresponding to personal identifier ① to the personal settings storage with personal identifier ① as the query index, and the operation of writing the enabled status of the message read receipt corresponding to personal identifier ① to the group settings storage with group identifier as the query index.

[0154] The storage read / write server uses transactions to write the enabled status of message read receipts corresponding to individual identifier ① to the individual settings storage, which uses individual identifier ① as the query index. If the write to the individual settings storage fails, the storage read / write server rolls back the transaction and writes the enabled status of message read receipts corresponding to individual identifier ① to the individual settings storage, which uses individual identifier ① as the query index. If the write to the individual settings storage succeeds, the storage read / write server continues using transactions to write the enabled status of message read receipts corresponding to individual identifier ① to the group settings storage, which uses group identifier as the query index.

[0155] If the group settings storage write fails, the storage read / write server rolls back the transaction and rewrites the enabled status of the message read receipt corresponding to personal identifier ① into the personal settings storage with personal identifier ① as the query index. After the personal settings storage write is successful, the enabled status of the message read receipt corresponding to personal identifier ① is rewritten into the group settings storage with group identifier as the query index. If the group settings storage write is successful, the storage read / write server confirms that both the personal settings storage and the group settings storage have been successfully written, and the transaction is completed.

[0156] Similarly, the same processing method as described for terminal A applies to read / write operations on personal settings storage and group settings storage for terminal B. Specifically, when the members corresponding to terminal A and terminal B belong to the same group, the personal identifiers of the members corresponding to terminal A and terminal B are written to the group settings storage, which uses the same group identifier as the query index.

[0157] CombinationFigure 12 This embodiment describes the steps of the message processing method. Members belonging to the same group include Xiaohong, Xiaoming, Xiaohuang, and Xiaobai. Members in the group include Xiaohong, Xiaoming, and Xiaohuang. Xiaohong holds terminal A and is the sender of the session message, which is a session message sent to the group. Xiaoming holds terminal B, and Xiaohuang holds terminal C (not in the group). Figure 11 and Figure 12 As shown, Xiaohong's custom message read receipt status is enabled, Xiaoming's custom message read receipt status is enabled, and Xiaohuang's custom message read receipt status is disabled.

[0158] S1202, Xiaohong's terminal A sends a session message to the group via the message server.

[0159] S1204 After receiving the session message, the message server determines that the group includes members Xiaoming and Xiaohuang, and determines the group identifier of the group to which Xiaohong belongs. Using the group identifier as a query index, it reads the status of message read receipts of each member of the group in batches from the storage read-write server, and filters out the status of message read receipts of the group members from the status of message read receipts of each member of the group.

[0160] S1206, the message server will generate message bodies for Xiaohong, Xiaoming, and Xiaohuang; among them, the message body for Xiaohong includes the session message, the status of the message read receipt set by Xiaohong, and the list of reading status details; the message body for Xiaoming includes the session message and the status of the message read receipt set by Xiaoming; the message body for Xiaohuang includes the session message and the status of the message read receipt set by Xiaohuang.

[0161] S1208, the message server sends each message body to the terminal held by the corresponding member.

[0162] S1210, Terminal A displays the session messages and reading status details list in the received message body; in the reading status details list, Xiaoming is in the unread column and Xiaohuang is in the closed reading status receipt column.

[0163] S1212, Terminal B displays the session message in the received message body;

[0164] After Xiaoming reads the conversation message, terminal B determines whether to report the reading status to the message server based on the status of the message read receipt in the message body for Xiaoming.

[0165] S1214, when the message read receipt status in Xiaoming's message body is enabled, terminal B reports to the message server that Xiaoming has read the message of this session.

[0166] Similarly, terminal C displays the session message in the received message body; after Xiao Huang reads the session message, terminal C determines whether to report the reading status to the message server based on the status of the message read receipt in the message body for Xiao Ming; since the status of the message read receipt in the message body for Xiao Huang is closed, terminal C does not report the reading status of Xiao Huang having read the session message to the message server.

[0167] After receiving the message status report from terminal B indicating that Xiaoming has read the session message, the message server determines whether to send feedback to Xiaohong regarding the read status of the session message. If the read status of the message receipt in Xiaohong's message body is closed, the message server will not send feedback to Xiaohong regarding the read status of the session message.

[0168] When the message read receipt status in Xiaohong's message body is enabled, the message server sends Xiaohong feedback on the read status of Xiaoming's read session message; accordingly, in S1216, the message server modifies the read status details list in Xiaohong's message body, moving Xiaoming from the unread column to the read column. In S1218, the message server sends the modified Xiaohong's message body back to terminal A. In S1220, terminal A displays the modified read status details list in Xiaohong's message body.

[0169] In the above embodiments, each user can customize their own message read receipt status through the settings page, and choose whether to turn off message read receipts, without being required to report the reading status of all members of the conversation messages. Furthermore, in the event of a failure to write personal settings or group settings, a transaction rollback can be performed to re-perform the write operations for personal and group settings, ensuring consistency between personal and group settings. In addition, the message read receipt status of each member of the group can be directly retrieved in batches using the group identifier as the query index, reducing the overhead of reading the message read receipt status of each member in the group.

[0170] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0171] Based on the same inventive concept, this application also provides a message processing apparatus for implementing the message processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations and technical effects in one or more message processing apparatus embodiments provided below can be found in the limitations and technical effects of the message processing method described above, and will not be repeated here.

[0172] Figure 13 This is a structural block diagram of a message processing device in one embodiment. (Refer to...) Figure 13 The device includes:

[0173] The conversation message display module 1302 is used to display conversation messages sent in the conversation page of the target group;

[0174] The reading status details display module 1304 is used to display the reading status details of the conversation messages in response to a trigger operation to view the reading status of the conversation messages; wherein, the reading status details include group members in the target group who have turned off message reading receipts, group members in the target group who have turned on message reading receipts and have read the conversation messages, and group members in the target group who have turned on message reading receipts and have not read the conversation messages.

[0175] In one embodiment, the device further includes a reading status marker display module for displaying a reading status marker in the session message; the reading status details display module is further configured to display reading status details of the session message in response to a triggering operation on the reading status marker.

[0176] In one embodiment, the reading status marker display module is further configured to display a reading status marker in the session message when the message reading receipt corresponding to the group member who sent the session message is in an enabled state.

[0177] In one embodiment, the device further includes a session message sending module for logging into an instant messaging application with a target identifier; sending the session message in the session page of the target group; and the reading status marker display module for displaying a reading status marker in the session message in response to the message reading receipt corresponding to the target identifier being enabled.

[0178] In one embodiment, the device further includes a message read receipt on / off module, used to display a settings page for message read receipts corresponding to a target identifier; and to enable message read receipts corresponding to the target identifier in response to a trigger operation on the message read receipt switch in the settings page.

[0179] In one embodiment, the device further includes an on / off state recording module, used to record the on / off state of the message read receipt corresponding to the target identifier; the recorded on / off state is used to write the on / off state of the message read receipt corresponding to the target identifier into a personal settings storage with the target identifier as the query index, and to write the on / off state of the message read receipt corresponding to the target identifier into a group settings storage with a group identifier as the query index; wherein, the group identifier is the identifier of the group to which the target identifier belongs.

[0180] In one embodiment, the device further includes a storage writing module for initiating a transaction; writing the enabled status of the message read receipt corresponding to the target identifier to a personal settings storage with the target identifier as the query index through the transaction; and after successfully writing the enabled status of the message read receipt corresponding to the target identifier to the personal settings storage, writing the enabled status of the message read receipt corresponding to the target identifier to a group settings storage with the group identifier as the query index through the transaction.

[0181] In one embodiment, the storage writing module is further configured to, after failing to write the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage or failing to write the enabled state of the message read receipt corresponding to the target identifier into the group settings storage, return to the step of writing the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index through the transaction, and continue execution until the enabled state of the message read receipt corresponding to the target identifier is successfully written into the group settings storage.

[0182] In one embodiment, the reading status details display module 1304 is further configured to, in response to a trigger operation to view the reading status of the session messages, display a reading status details list on the session page; in the "Close Reading Status Receipt" column of the reading status details list, display group members in the target group who have closed message reading receipts; in the "Read" column of the reading status details list, display group members in the target group who have enabled message reading receipts and have read the session messages; and in the "Unread" column of the reading status details list, display group members in the target group who have enabled message reading receipts and have not read the session messages.

[0183] In one embodiment, the reading status details display module 1304 is further configured to receive a message body from the server regarding the session message; and display a list of reading status details in the message body of the session message on the session page;

[0184] The list of reading status details in the message body of the session message is obtained by the server based on the reading status of the session message by the group members in the target group and the status of the group members' message reading receipts.

[0185] In one embodiment, the device further includes a receipt status acquisition module, configured to determine the group identifier to which the group member sending the session message belongs; use the group identifier as a query index to query the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; and filter group members belonging to the target group from the members in the group corresponding to the group identifier to obtain the message read receipt status of the group members in the target group.

[0186] In one embodiment, the device further includes a reading status details list processing module, configured to: include group members whose message reading receipt status is closed in the closed reading status receipt column of the reading status details list; include group members whose message reading receipt status is open and whose reading status is read in the read column of the reading status details list; and include group members whose message reading receipt status is open and whose reading status is unread in the unread column of the reading status details list.

[0187] In one embodiment, the session message is a session message sent in a one-on-one chat session page with a target identifier. The device further includes a reading status mark processing module, which is used to not display a reading status mark in the session message when the message reading receipts of the target identifier and the session object of the one-on-one chat session are in a closed state; and to display a reading status mark in the session message when the message reading receipts of the target identifier and the session object of the one-on-one chat session are in a closed state.

[0188] In one embodiment, the reading status mark processing module is further configured to display a read status mark indicating that the message has been read in the conversation message section of the one-on-one chat page in response to the target identifier and the respective message read receipts of the conversation object being enabled, and the conversation object having read the conversation message.

[0189] In one embodiment, the reading status flag processing module is further configured to obtain the message body of the session message fed back by the server; the message body includes a reading status flag indicating that the message has been read; and the reading status flag indicating that the message has been read is displayed in the session message section of the one-on-one chat session page.

[0190] The message read status flag in the message body is written by the server when the message read receipt of the target identifier is in the enabled state and the session object's read status of the session message is in the read state.

[0191] In one embodiment, the message body further includes the status of the message read receipt corresponding to the target identifier. The status of the message read receipt corresponding to the target identifier in the message body is when the target identifier sends the session message to the session object, the server writes the session message and the status of the message read receipt corresponding to the target identifier into the message body together.

[0192] In one embodiment, the device further includes a receipt status acquisition module, used to determine the group identifier to which the target identifier belongs; using the group identifier as a query index, querying the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; and filtering the target identifier and the conversation object of the one-on-one chat session from each member in the group corresponding to the group identifier to obtain the message read receipt status corresponding to the target identifier.

[0193] Each module in the aforementioned message processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.

[0194] In one embodiment, a computer device is provided, the computer device may be... Figure 1 The internal structure diagram of the terminal 102 or server 104 shown can be as follows: Figure 14As shown, the computer device includes a processor, memory, input / output interfaces (I / O interfaces), communication interfaces, a display unit, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interfaces are used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a message processing method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0195] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0196] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the various method embodiments described above.

[0197] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the various method embodiments described above.

[0198] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the various method embodiments described above.

[0199] 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0200] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, 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, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.

[0202] The above embodiments are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A message processing method, characterized in that, The method includes: Displaying conversation messages sent in the conversation page of the target group; the conversation messages are sent in the one-on-one chat conversation page with the target identifier; In response to a trigger operation to view the reading status of the conversation messages, the reading status details of the conversation messages are displayed; wherein, the reading status details include group members in the target group who have turned off message reading receipts, group members in the target group who have turned on message reading receipts and have read the conversation messages, and group members in the target group who have turned on message reading receipts and have not read the conversation messages; Obtain the message body of the session message returned by the server; the message body includes a read status flag indicating that the message has been read; The message body displays a read status marker indicating that the message has been read in the message body of the chat message on the one-on-one chat page. The message read status flag in the message body is written by the server when the message read receipt of the target identifier is in the enabled state and the session object of the one-on-one chat session has read the session message.

2. The method according to claim 1, characterized in that, The method further includes: Display a reading status marker in the session message; The trigger operation in response to viewing the reading status of the session message, displaying the reading status details of the session message, includes: In response to a triggering operation on the reading status marker, the reading status details of the session message are displayed.

3. The method according to claim 2, characterized in that, The step of displaying a reading status marker in the session message includes: When the message read receipt corresponding to the group member who sent the session message is in the enabled state, a read status mark is displayed in the session message.

4. The method according to claim 3, characterized in that, Prior to displaying the session message sent on the session page of the target group, the method further includes: Log in to the instant messaging application using the target identifier; Send the session message on the session page of the target group; When the message read receipt corresponding to the group member who sent the session message is in an enabled state, displaying a read status marker in the session message includes: In response to the message read receipt corresponding to the target identifier being in an enabled state, a read status marker is displayed in the session message.

5. The method according to claim 1, characterized in that, The method further includes: Displays the settings page for message read receipts corresponding to the target identifier; In response to the triggering operation of the message read receipt switch in the settings page, the message read receipt corresponding to the target identifier is enabled.

6. The method according to claim 5, characterized in that, After enabling the message read receipt corresponding to the target identifier, the method further includes: Record the enabled status of message read receipts corresponding to the target identifier; the recorded enabled status is used to write the enabled status of message read receipts corresponding to the target identifier into the personal settings storage with the target identifier as the query index, and to write the enabled status of message read receipts corresponding to the target identifier into the group settings storage with the group identifier as the query index; wherein, the group identifier is the identifier of the group to which the target identifier belongs.

7. The method according to claim 6, characterized in that, The steps of writing the enabled status of message read receipts corresponding to the target identifier into the personal settings storage with the target identifier as the query index, and writing the enabled status of message read receipts corresponding to the target identifier into the group settings storage with the group identifier as the query index, include: Start a transaction; Through the transaction, the enabled status of message read receipt corresponding to the target identifier is written into the personal settings storage with the target identifier as the query index; After successfully writing the enabled status of message read receipts corresponding to the target identifier into the personal settings storage, the transaction writes the enabled status of message read receipts corresponding to the target identifier into the group settings storage with the group identifier as the query index.

8. The method according to claim 7, characterized in that, The steps also include: If writing the enabled status of the message read receipt corresponding to the target identifier to the personal settings storage fails, or if writing the enabled status of the message read receipt corresponding to the target identifier to the group settings storage fails, the process returns to the step of writing the enabled status of the message read receipt corresponding to the target identifier to the personal settings storage with the target identifier as the query index through the transaction, and continues until the enabled status of the message read receipt corresponding to the target identifier is successfully written to the group settings storage.

9. The method according to claim 1, characterized in that, The trigger operation in response to viewing the reading status of the session message, displaying the reading status details of the session message, includes: In response to a trigger operation to view the reading status of the session messages, a list of reading status details is displayed on the session page; In the "Close Reading Status Receipt" column of the reading status details list, the group members in the target group who have closed the message reading receipt are displayed. The "Read" column in the reading status details list displays the group members in the target group who have enabled message reading receipts and have read the conversation message; The unread column in the reading status details list displays the group members in the target group who have enabled message reading receipts but have not read the conversation messages.

10. The method according to claim 9, characterized in that, The step of displaying a list of reading status details on the session page includes: Receive the message body of the session message returned by the server; The conversation page displays a list of reading status details for the message body of the conversation message; The list of reading status details in the message body of the session message is obtained by the server based on the reading status of the session message by the group members in the target group and the status of the group members' message reading receipts.

11. The method according to claim 10, characterized in that, The step of the server obtaining the message read receipt status of group members in the target group includes: Determine the group identifier to which the group member who sent the session message belongs; Using the group identifier as the query index, query the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; From the members of the group corresponding to the group identifier, filter the group members belonging to the target group, and obtain the message read receipt status of the group members in the target group.

12. The method according to claim 10, characterized in that, The step of the server obtaining the reading status details list based on the reading status of the session messages by group members in the target group and the status of the group members' message reading receipts includes: Group members whose message read receipt status is closed will be added to the closed read receipt column of the read status details list. Group members whose message read receipt status is enabled and whose read status is "read" will be added to the "read" column of the read status details list. Group members whose message read receipt status is enabled and whose read status is unread will be added to the unread column of the read status details list.

13. The method according to claim 1, characterized in that, The conversation message is a conversation message sent in a one-on-one chat conversation page with a target identifier, and the method further includes: When the message read receipt for the target identifier and the conversation object of the one-way chat session is in a closed state, the read status marker is not displayed in the conversation message.

14. The method according to claim 1, characterized in that, The message body also includes the status of the message read receipt corresponding to the target identifier. The status of the message read receipt corresponding to the target identifier in the message body is when the target identifier sends the session message to the session object, the server writes the session message and the status of the message read receipt corresponding to the target identifier into the message body together.

15. The method according to claim 14, characterized in that, The step of the server obtaining the status of the message read receipt of the target identifier includes: Determine the group identifier to which the target identifier belongs; Using the group identifier as the query index, query the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; From each member in the group corresponding to the group identifier, filter the target identifier and the conversation object of the one-on-one chat session to obtain the status of the message read receipt corresponding to the target identifier.

16. A message processing apparatus, characterized in that, The device includes: The conversation message display module is used to display conversation messages sent in the conversation page of the target group; the conversation messages are sent in the one-on-one chat conversation page with the target identifier; The reading status details display module is used to respond to the trigger operation of viewing the reading status of the conversation message and display the reading status details of the conversation message; wherein, the reading status details include group members in the target group who have turned off message reading receipts, group members in the target group who have turned on message reading receipts and have read the conversation message, and group members in the target group who have turned on message reading receipts and have not read the conversation message; The message body acquisition module is used to acquire the message body of the session message returned by the server; the message body includes a read status flag indicating that the message has been read. The reading status marker display module is used to display a reading status marker indicating that a message has been read in the message body of the chat message in the chat message section of the one-on-one chat session page; The message read status flag in the message body is written by the server when the message read receipt of the target identifier is in the enabled state and the session object of the one-on-one chat session has read the session message.

17. The message processing apparatus according to claim 16, characterized in that, The device further includes: A reading status marker display module is used to display reading status markers in the session messages; The reading status details display module is also used to display the reading status details of the session message in response to a trigger operation on the reading status marker.

18. The message processing apparatus according to claim 17, characterized in that, The reading status marker display module is also used to display a reading status marker in the conversation message when the message reading receipt corresponding to the group member who sent the conversation message is in the enabled state.

19. The message processing apparatus according to claim 18, characterized in that, The device further includes: The login module is used to log in to instant messaging applications using a target identifier. A session message sending module is used to send the session message in the session page of the target group; The reading status marker display module is also used to display a reading status marker in the session message in response to the message reading receipt corresponding to the target identifier being in an enabled state.

20. The message processing apparatus according to claim 16, characterized in that, The device further includes: The settings page display module is used to display the settings page for the message read receipt corresponding to the target identifier; The message read receipt activation module is used to activate the message read receipt corresponding to the target identifier in response to the trigger operation of the message read receipt switch in the settings page.

21. The message processing apparatus according to claim 20, characterized in that, The device further includes: An activation status recording module is used to record the activation status of message read receipts corresponding to the target identifier; the recorded activation status is used to write the activation status of message read receipts corresponding to the target identifier into the personal settings storage with the target identifier as the query index, and to write the activation status of message read receipts corresponding to the target identifier into the group settings storage with the group identifier as the query index; wherein, the group identifier is the identifier of the group to which the target identifier belongs.

22. The message processing apparatus according to claim 21, characterized in that, The device further includes: The transaction initiation module is used to initiate transactions; The personal settings storage write module is used to write the enabled status of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index through the transaction; The group settings storage write module is used to write the enabled status of the message read receipt corresponding to the target identifier into the group settings storage with the group identifier as the query index through the transaction after successfully writing the enabled status of the message read receipt corresponding to the target identifier into the group settings storage.

23. The message processing apparatus according to claim 22, characterized in that, The device further includes: The retry module is used to return to the step of writing the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage through the transaction and continuing execution after either failing to write the enabled state of the message read receipt corresponding to the target identifier into the personal settings storage with the target identifier as the query index, until the enabled state of the message read receipt corresponding to the target identifier is successfully written into the group settings storage.

24. The message processing apparatus according to claim 16, characterized in that, The reading status details display module is also used to display a reading status details list on the conversation page in response to a trigger operation that requests viewing of the reading status of the conversation message; In the "Close Reading Status Receipt" column of the reading status details list, the group members in the target group who have closed the message reading receipt are displayed. The "Read" column in the reading status details list displays the group members in the target group who have enabled message reading receipts and have read the conversation message; The unread column in the reading status details list displays the group members in the target group who have enabled message reading receipts but have not read the conversation messages.

25. The message processing apparatus according to claim 24, characterized in that, The reading status details display module is also used to receive the message body of the session message fed back by the server; and to display the reading status details list in the message body of the session message on the session page; The list of reading status details in the message body of the session message is obtained by the server based on the reading status of the session message by the group members in the target group and the status of the group members' message reading receipts.

26. The message processing apparatus according to claim 25, characterized in that, The server is also used to determine the group identifier to which the group member who sent the session message belongs; using the group identifier as a query index, query the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; and filter the group members belonging to the target group from the group members corresponding to the group identifier to obtain the message read receipt status of the group members in the target group.

27. The message processing apparatus according to claim 25, characterized in that, The server is also used to add group members whose message read receipt status is closed to the closed read receipt column of the read status details list; add group members whose message read receipt status is open and whose read status is read to the read column of the read status details list; and add group members whose message read receipt status is open and whose read status is unread to the unread column of the read status details list.

28. The message processing apparatus according to claim 16, characterized in that, The conversation message is a conversation message sent in a one-chat conversation page with a target identifier, and the device further includes: The reading status flag processing module is used to prevent the reading status flag from being displayed in the session message when the message reading receipt of the target identifier and the session object of the one-way chat session are both in a closed state.

29. The message processing apparatus according to claim 16, characterized in that, The message body also includes the status of the message read receipt corresponding to the target identifier. The status of the message read receipt corresponding to the target identifier in the message body is when the target identifier sends the session message to the session object, the server writes the session message and the status of the message read receipt corresponding to the target identifier into the message body together.

30. The message processing apparatus according to claim 29, characterized in that, The server is used to determine the group identifier to which the target identifier belongs; using the group identifier as a query index, it queries the group settings storage corresponding to the group identifier to obtain the message read receipt status of each member in the group corresponding to the group identifier; from each member in the group corresponding to the group identifier, it filters the target identifier and the conversation object of the one-on-one chat session to obtain the message read receipt status corresponding to the target identifier.

31. 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, it implements the method of any one of claims 1 to 15.

32. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 15.

33. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method of any one of claims 1 to 15.

Citation Information

Patent Citations

  • Reading state display method of group messages, instant messaging client, and server

    CN108400924A