Group message display method and device, equipment, storage medium and program product

By displaying collapsed prompts in the group chat interface and categorizing and adjusting the display method of system messages, the problem of low retrieval efficiency caused by a large number of system messages in group chats has been solved, improving user experience and message retrieval efficiency.

CN120881036APending Publication Date: 2025-10-31XIAOHONGSHU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410538017.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

A large number of identical or similar system messages in group chats lead to low message retrieval efficiency and negatively impact the user browsing experience.

Method used

By responding to the folding trigger operation, a folding prompt message is displayed in the group chat conversation interface, folding multiple consecutive system messages, and classifying and adjusting the display method according to preset rules.

Benefits of technology

This reduces the amount of messages displayed in the group, improves message retrieval efficiency and group activity, and ensures that users are aware of the existence of system messages without affecting normal browsing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120881036A_ABST
    Figure CN120881036A_ABST
Patent Text Reader

Abstract

The invention relates to a group message display method and device, equipment, a storage medium and a program product. The method comprises the following steps: in response to a first folding trigger operation, displaying first folding prompt information in a session interface of a target group chat; wherein the first folding prompt information is used for indicating that a plurality of continuous first system messages are folded; the folding triggering operation comprises a triggering operation of entering the target group chat or a folding triggering operation input based on the session interface. According to the invention, the intra-group message consulting efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a method, apparatus, device, storage medium, and program product for displaying group messages. Background Technology

[0002] With the development of communication technology, electronic devices are being used more widely. Different users can interact with each other through various applications on their respective electronic devices.

[0003] Some applications have group chat functionality. In certain scenarios, a large number of users may join a group chat within a short period, causing the application to display numerous identical or similar group messages. These messages severely hinder other users from browsing the group and reduce the efficiency of message access. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, device, storage medium, and program product for displaying group messages that can improve the efficiency of viewing group messages, in order to address the aforementioned technical problems.

[0005] Firstly, this application provides a method for displaying group messages. The method includes:

[0006] In response to the first folding trigger operation, a first folding prompt message is displayed in the conversation interface of the target group chat; wherein, the first folding prompt message is used to indicate that multiple consecutive first system messages have been folded; the folding trigger operation includes a trigger operation to enter the target group chat or a triggering operation based on input in the conversation interface.

[0007] In one embodiment, the method further includes:

[0008] In response to the triggering operation of the load message, a second system message is obtained that is consecutive to multiple first system messages;

[0009] When multiple first system messages have been collapsed, a second collapse prompt message is displayed in the session interface to replace the first collapse prompt message; wherein, the second collapse prompt message is used to indicate that the second system messages and multiple first system messages have been collapsed.

[0010] In one embodiment, the method further includes:

[0011] When multiple first system messages are expanded and displayed, a third fold prompt message is displayed in the conversation interface to continue the first system message or the first fold prompt message corresponding to the first system message; wherein, the third fold prompt message is used to indicate that the second system message that continues the first system message has been folded.

[0012] In one embodiment, the method further includes:

[0013] When multiple first system messages are expanded and displayed, the second system messages are expanded and displayed in the conversation interface.

[0014] In one embodiment, the method further includes:

[0015] Upon receiving a message from a third system, display the message in the session interface.

[0016] In one embodiment, the method further includes:

[0017] In response to an operation that expands multiple first system messages, the multiple first system messages are expanded and displayed in the session interface;

[0018] When a third system message follows a first system message, in response to a second folding trigger operation, a fourth folding prompt message is displayed in the session interface; wherein, the fourth folding prompt message is used to indicate that the third system message and multiple first system messages have been folded.

[0019] In one embodiment, the method further includes:

[0020] In response to the first fold trigger operation, multiple first system messages are classified according to preset classification rules to obtain classification results; wherein, the preset classification rules include at least one of message type, message subject, message content, and message source object;

[0021] Based on the classification results, at least one fifth-fold prompt message is displayed in the conversation interface; the fifth-fold prompt message is used to indicate that multiple consecutive first system messages of the same category have been folded, and the fifth-fold prompt message includes text information describing the classification results.

[0022] In one embodiment, the method further includes:

[0023] In response to the first fold trigger operation, the display method of multiple first system messages is determined according to preset fold rules; wherein, the preset fold rules include at least one of user relationships, user profiles, group-related activities, and discussion topics;

[0024] The first foldable prompt message and / or multiple first system messages are displayed in the session interface according to the display method; wherein the display method includes at least one of unfolded display with foldable prompt, unfolded display without prompt, and folded display.

[0025] In one embodiment, in response to a first folding trigger operation, the display method of multiple first system messages is determined according to a preset folding rule, including:

[0026] In response to the first folding trigger operation initiated by the first user, the display method of multiple first system messages is determined based on user relationships;

[0027] Correspondingly, depending on the display method, the first folded prompt message and / or multiple first system messages are displayed in the session interface, including:

[0028] The first collapsed prompt message for the second user is displayed in the conversation interface, and the first system message for the third user is displayed when the interface is expanded; wherein, the second user is a user who is not associated with the first user, and the third user is a user associated with the first user.

[0029] In one embodiment, the method further includes:

[0030] In response to the third fold trigger operation, a sixth fold prompt message is displayed in the session interface; the sixth fold prompt message is used to indicate that multiple consecutive first system messages corresponding to the second user and the third user have been folded.

[0031] In one embodiment, the session interface includes multiple collapsible controls, each corresponding to a unit session duration; the method further includes:

[0032] In response to a trigger operation on a target collapsible control in the session interface, determine the target session time period corresponding to the target collapsible control;

[0033] The seventh fold prompt message is displayed in the session interface; the seventh fold prompt message is used to indicate that the first system messages corresponding to the second and third users within the target session period have been folded.

[0034] In one embodiment, before determining the display method of multiple first system messages based on user relationships, the method further includes:

[0035] Obtain user information or entry methods of each user who has joined the target group chat;

[0036] The second and third users are identified based on user information or how they joined the group.

[0037] In one embodiment, determining the second user and the third user based on user information includes:

[0038] Retrieve a list of users who are associated with the first user;

[0039] Based on the user information of each user in the user list and the user information of each user in the target group chat, the second user and the third user are determined.

[0040] In one embodiment, determining the second and third users based on their entry method includes:

[0041] For each user in the target group chat, if the way they joined the group was not the way shared by the first user, then the user will be identified as the second user.

[0042] If the way to join the group is through the sharing of the first user, then the user will be identified as the third user.

[0043] Secondly, this application also provides a device for displaying group messages. The device includes:

[0044] The display module is used to display a first folding prompt message in the conversation interface of the target group chat in response to the first folding trigger operation; wherein, the first folding prompt message is used to indicate that multiple consecutive first system messages have been folded; the folding trigger operation includes a trigger operation to enter the target group chat or a trigger operation to fold based on input in the conversation interface.

[0045] Thirdly, this application also provides an electronic device, including a memory, a processor, and a display unit, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps as described in any of the first aspects.

[0046] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the first aspects.

[0047] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps as described in any of the first aspects.

[0048] The aforementioned group message display method, apparatus, device, storage medium, and program product, in response to a first fold trigger operation, display a first fold prompt message in the conversation interface of the target group chat. Through the embodiments of this application, the terminal can fold multiple consecutive system messages according to the fold trigger operation and display fold prompt information in the group chat's conversation interface, notifying users in the group that system messages have been folded. This reduces the amount of messages displayed in the group, allowing users to be aware of the existence of multiple consecutive system messages without affecting their ability to browse group messages. Therefore, it improves the efficiency of viewing group messages and increases group activity. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is an application environment diagram of a group message display method in one embodiment;

[0051] Figure 2 This is a flowchart illustrating a method for displaying group messages in one embodiment;

[0052] Figure 3a This is a schematic diagram of the session interface in one embodiment;

[0053] Figure 3b This is a schematic diagram of the session interface in one embodiment;

[0054] Figure 3c This is a schematic diagram of the session interface in one embodiment;

[0055] Figure 3d This is a schematic diagram of the session interface in one embodiment;

[0056] Figure 3e This is a schematic diagram of the session interface in one embodiment;

[0057] Figure 4 This is a flowchart illustrating the message loading and display steps in one embodiment;

[0058] Figure 5a This is a schematic diagram of the session interface in one embodiment;

[0059] Figure 5b This is a schematic diagram of the session interface in one embodiment;

[0060] Figure 5c This is a schematic diagram of the session interface in one embodiment;

[0061] Figure 6 This is a flowchart illustrating an unfolding and folding display process in one embodiment;

[0062] Figure 7a This is a schematic diagram of the session interface in one embodiment;

[0063] Figure 7b This is a schematic diagram of the session interface in one embodiment;

[0064] Figure 8 This is a flowchart illustrating a method for displaying group messages in another embodiment;

[0065] Figure 9 This is a flowchart illustrating a method for displaying group messages in yet another embodiment;

[0066] Figure 10 This is a schematic diagram of the session interface in one embodiment;

[0067] Figure 11This is a flowchart illustrating a folding display process in one embodiment;

[0068] Figure 12 This is a flowchart illustrating the steps for determining a user in one embodiment;

[0069] Figure 13 This is a flowchart illustrating the steps of determining a user based on user information in one embodiment;

[0070] Figure 14 This is a structural block diagram of a group message display device in one embodiment;

[0071] Figure 15 This is a structural block diagram of a group message display device in one embodiment;

[0072] Figure 16 This is a structural block diagram of a group message display device in one embodiment;

[0073] Figure 17 This is a structural block diagram of a group message display device in one embodiment;

[0074] Figure 18 This is a structural block diagram of a group message display device in one embodiment;

[0075] Figure 19 This is a structural block diagram of a group message display device in one embodiment;

[0076] Figure 20 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0077] 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.

[0078] First, before introducing the technical solutions of the embodiments of this application in detail, let's first introduce the technical background or technical evolution on which the embodiments of this application are based. With the development of communication technology, electronic devices are being used more widely. Different users can interact with each other through applications on their respective electronic devices. Some applications have group chat functions. In certain scenarios, a large number of users may join a group chat in a short period of time, and the application will display a large number of identical or similar group messages in the group chat. These group messages seriously affect other users in the group from browsing the group messages and reduce the efficiency of viewing the group messages.

[0079] To address the aforementioned issues, this application provides a method for displaying group messages. In this method, an electronic device responds to a first folding trigger operation and displays a first folding prompt in the target group chat's conversation interface. In other words, the electronic device can fold multiple consecutive system messages based on the folding trigger operation and display the folding prompt in the group chat's conversation interface, notifying users in the group that system messages have been folded. This reduces the amount of messages displayed in the group, allowing users to be aware of the existence of multiple consecutive system messages without affecting their ability to browse group messages. Therefore, it improves the efficiency of viewing group messages and increases group activity.

[0080] The group message display method provided in this application embodiment can be applied to, for example, Figure 1 The application environment shown includes a terminal 102 and a server 104. The terminal 102 communicates with the server 104 via a network. A data storage system can store the data that the server 104 needs to process. The data storage system can be integrated onto the server 104 or located in the cloud or on other network servers. The terminal 102 has an application with group chat functionality installed. The terminal 102 can receive system messages sent by the server 104 and display the system messages in the group chat interface. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0081] In one exemplary embodiment, such as Figure 2 As shown, a method for displaying group messages is provided, which can be applied to... Figure 1 Taking the terminal in the example, the following steps can be included:

[0082] Step 201: In response to the first fold trigger operation, display the first fold prompt information in the conversation interface of the target group chat.

[0083] The first folding prompt message indicates that multiple consecutive first system messages have been folded. The folding trigger operation includes a trigger operation for entering the target group chat or a folding trigger operation based on input from the conversation interface. In some embodiments, the trigger operation for entering the target group chat includes at least one of: a trigger operation for joining the target group chat for the first time and a trigger operation for entering the target group chat from a group chat list or other interface displaying the target group chat entry. The folding trigger operation based on input from the conversation interface includes: an operation on the folding control or system message input in the conversation interface.

[0084] In some scenarios, if the terminal detects a user joining the target group chat for the first time, or a user entering the target group chat from the group chat list, it determines that it has obtained the first folding trigger operation. In response to the first folding trigger operation, the terminal folds the multiple consecutive first system messages before the user enters the target group chat, displays the target group chat's conversation interface, and displays the first folding prompt information in the conversation interface, such as... Figure 3a The "notification" shown.

[0085] For example, the terminal displays a group chat list, which includes multiple group chats that the user has not yet joined, and each group chat has a join control, such as... Figure 3b The "Join" button is shown. If a trigger action is detected for input to the join control, indicating that the user wants to join the group chat, the terminal identifies that group chat as the target group chat and confirms that the first fold trigger action has been obtained. Alternatively, the terminal displays a group chat list, which contains multiple group chats that the user has already joined, such as... Figure 3c As shown. If a trigger operation is detected for any group chat input, indicating that the user wants to enter the group chat, the terminal identifies that group chat as the target group chat and confirms that the first fold trigger operation has been obtained.

[0086] In other scenarios, if a trigger operation is detected targeting a collapse control in the session interface—for example, if a collapse control is provided in the session interface and the user clicks on it to trigger the first collapse trigger operation; or if a trigger operation is detected targeting system messages in the session interface—for example, if the user double-clicks a first system message among multiple consecutive system messages to trigger the first collapse trigger operation—then the terminal collapses the multiple consecutive first system messages in the session interface and displays a first collapse prompt message. The aforementioned collapse control is as follows: Figure 3d The option to "collapse" is shown.

[0087] The triggering operation for the control or group chat can be a single click, and the triggering operation for the first system message can be a double click, multiple clicks, long press, etc. This application embodiment does not limit this and can be set according to the actual situation.

[0088] In some embodiments, the first collapse notification information includes the number of collapsed system messages, such as... Figure 3d The three lines shown.

[0089] For example, the aforementioned system messages can be any message not directly sent by users within the target group chat. Examples include notification messages indicating a user has joined the target group chat, user requests to join the target group chat, user invites another user to join the target group chat, user is removed from the target group chat, user modifies the group chat identifier of the target group chat, user interacts with another user, notification messages indicate modifications to the target group chat's configuration, introductory messages about the target group chat's features, and time / date prompts. It should be noted that system messages are not limited to the above examples and may include other content.

[0090] It should be noted that in this embodiment, multiple first system messages are folded, typically consecutive first system messages. If there are non-system messages such as user-sent messages between two first system messages, then the two first system messages are folded along with their respective consecutive first system messages, such as... Figure 3e As shown.

[0091] In the above embodiments, in response to the first folding trigger operation, a first folding prompt message is displayed in the conversation interface of the target group chat. In the technical solution of this application embodiment, the terminal can fold multiple consecutive system messages according to the folding trigger operation and display folding prompt messages in the group chat's conversation interface to notify users in the group that system messages have been folded. This reduces the amount of messages displayed in the group, allowing users to know that multiple consecutive system messages exist without affecting their browsing of group messages. Therefore, it improves the efficiency of viewing group messages and increases group activity.

[0092] In one exemplary embodiment, such as Figure 4 As shown, it may include the following steps:

[0093] Step 301: In response to the triggering operation of the loading message, a second system message that is consecutive to multiple first system messages is obtained.

[0094] If a loading message trigger operation is detected, the terminal performs message loading processing to obtain a second system message that is consecutive to the first system message.

[0095] For example, after a user enters a target group chat, if they want to view more messages generated in previous periods (i.e., view more historical messages), they can do so by swiping up on the terminal's touchscreen or by pulling up a slider on the side of the page. When the terminal detects these triggering actions, it loads more messages generated in previous periods, resulting in the second system message. Understandably, the second system message is the system message generated before the first system message.

[0096] Step 302: When multiple first system messages have been collapsed, display a second collapse prompt message in the conversation interface to replace the first collapse prompt message.

[0097] The second folding prompt message indicates that consecutive second system messages and multiple first system messages have been folded.

[0098] When a user enters the target group chat, the terminal detects the first folding trigger operation, folds multiple first system messages, and displays the first folding prompt information on the conversation interface. If a second system message is loaded and is consecutive to the first system messages, the terminal folds the second system message along with the multiple first system messages, and replaces the first folding prompt information with the second folding prompt information in the conversation interface.

[0099] In the above embodiments, in response to the triggering operation of the loading message, a second system message that is consecutive to multiple first system messages is obtained; when multiple first system messages have been collapsed, a second collapse prompt message is displayed in the session interface to replace the first collapse prompt message. In the technical solution of this application embodiment, after the terminal loads the message, the loaded second system message can be collapsed with the previously collapsed multiple first system messages, and a collapse prompt message can be displayed. In this way, the amount of group messages displayed during the page loading process can be reduced, and the efficiency of viewing group messages can be improved.

[0100] In one exemplary embodiment, the present application embodiment may further include: when multiple first system messages are expanded and displayed, displaying third folded prompt information in the session interface to continue the first system messages or to display the first folded prompt information corresponding to the first system messages.

[0101] The third fold prompt message indicates that the second system message that was connected to the first system message has been folded.

[0102] If multiple first-level system messages have been collapsed, the terminal will display a first-level collapse notification in the session interface. An expand control corresponding to the first-level collapse notification can be set. If the terminal detects a trigger operation on the expand control, it will expand the collapsed first-level system messages and display them in the session interface. Alternatively, the terminal will expand and display the multiple first-level system messages if it detects other expand trigger operations.

[0103] During message loading, if multiple first system messages are expanded, upon receiving a second system message consecutive to the first system messages, the terminal will collapse the second system message and display a third collapse prompt in the session interface. For example... Figure 5aAs shown, because the expand control is triggered, the multiple loaded first system messages are displayed expanded, while the multiple newly loaded second system messages are displayed collapsed. Furthermore, the third collapsed notification message can continue from the first system messages.

[0104] In the above embodiments, when multiple first system messages are expanded and displayed, a third fold prompt is displayed in the conversation interface, either continuing the first system messages or displaying the corresponding first fold prompt information. In the technical solution of this application embodiment, by triggering the expansion control, different display methods can be used on the previous page and the new page, making it easier for users to browse group messages and thus improving the activity level of group access.

[0105] In one exemplary embodiment, it may further include: when multiple first system messages are expanded and displayed, expanding and displaying second system messages in the session interface.

[0106] In some scenarios, multiple first system messages are displayed expanded in the conversation interface. After loading second system messages, the second system messages are displayed in the same way as the first system messages, that is, multiple second system messages are also displayed expanded. Optionally, a collapse control is displayed in the conversation interface. After the collapse control is triggered, multiple first system messages and the second system messages that are consecutive to the first system messages are collapsed, and a collapse prompt message is displayed.

[0107] like Figure 5b As shown, the multiple first system messages that have been loaded are displayed in expanded form, and the multiple second system messages that have been newly loaded are also displayed in expanded form.

[0108] In the above embodiments, when multiple first system messages are expanded and displayed, second system messages are expanded and displayed in the session interface. The technical solution of this application provides another way to display system messages during message loading, which meets the actual browsing needs of users and thereby improves the activity level of group access.

[0109] In one exemplary embodiment, the method may further include: displaying the third system message in the session interface upon receiving the third system message.

[0110] When the terminal detects that a user has joined the target group chat for the first time or entered the target group chat from the group chat list, it will collapse the multiple consecutive first system messages before the user entered the target group chat and display the first collapse prompt information in the conversation interface.

[0111] After a user enters the target group chat, if a new third-party system message is generated in the target group chat, the new third-party system message will be displayed in the conversation interface. For example... Figure 5cAs shown, the conversation interface displays not only the first collapsed notification message but also new third system messages. Understandably, these third system messages are generated after the user enters the target group chat, following the first system message. Therefore, when a third system message is received, it is not collapsed to increase message reach to the user.

[0112] Based on the above embodiments, such as Figure 6 As shown, embodiments of this application may further include the following steps:

[0113] Step 401: In response to the expansion operation for multiple first system messages, expand and display multiple first system messages in the session interface.

[0114] In some scenarios, the conversation interface has an expand control for the first collapsed prompt message. If a triggering operation on the expand control is detected, such as clicking the expand control, the terminal responds by expanding and displaying the collapsed first system messages in the conversation interface.

[0115] In other scenarios, the session interface displays a first-fold notification. If the terminal detects a triggering operation on the first-fold notification, such as double-clicking the first-fold notification, it will respond to the triggering operation by expanding and displaying the collapsed first system messages in the session interface.

[0116] like Figure 7a As shown, the multiple collapsed first system messages are expanded and displayed in the conversation interface, and the new third system message "User g wants to join the group chat" is also displayed in the conversation interface.

[0117] Step 402: If the third system message continues the first system message, in response to the second fold trigger operation, the fourth fold prompt message is displayed in the session interface.

[0118] The fourth fold prompt message indicates that the third system message and multiple first system messages have been folded.

[0119] In some scenarios, after multiple first system messages are expanded, a collapse control is set for each of the first system messages in the session interface. If a triggering operation on the collapse control is detected, such as clicking the collapse control, the expanded first system messages, consecutive first system messages, and new third system messages are collapsed, and a fourth collapse prompt message is displayed in the session interface.

[0120] In other scenarios, the terminal detects a trigger operation on multiple first system messages, such as double-clicking any first system message. This collapses the expanded display of multiple first system messages and the new third system message, and displays a fourth collapse prompt in the session interface, replacing the first collapse prompt. Figure 7b As shown. It should be noted that folding applies to multiple consecutive system messages. If there are user-sent messages, card messages, or other non-system messages among the system messages, they need to be folded separately.

[0121] In the above embodiments, in response to the expansion operation of multiple first system messages, multiple first system messages are expanded and displayed in the session interface; when a third system message follows the first system message, in response to the second folding trigger operation, a fourth folding prompt message is displayed in the session interface. In the technical solution of this application embodiment, folded system messages can be expanded and displayed, or all expanded system messages can be folded together, thus providing users with multiple display methods, better meeting users' actual browsing needs, and thereby improving the activity of group access.

[0122] In the above embodiment, after detecting the first folding trigger operation, the terminal folds multiple consecutive first system messages into a group and displays the first folding prompt information. However, in practical applications, the terminal can also use other display methods after detecting the first folding trigger operation. These other display methods are described below.

[0123] In one exemplary embodiment, such as Figure 8 As shown, it may also include the following steps:

[0124] Step 501: In response to the first fold trigger operation, classify multiple first system messages according to preset classification rules to obtain classification results.

[0125] The preset classification rules include at least one of the following: message type, message subject, message content, and message source object.

[0126] After detecting the first folding trigger operation, the terminal first classifies and processes multiple first system messages according to preset rules to obtain classification results.

[0127] The classification results can be used to indicate the category of each first system message. For example, the terminal classifies multiple first system messages according to their message types, obtaining the notification message categories of first system messages 1 and 2 (for those who have joined the target group chat) and first system messages 3 and 4 (for those who wish to join the target group chat).

[0128] The classification results can also be used to indicate the groups after classification. For example, the terminal classifies multiple first system messages according to their content, assigning first system messages 1 and 2 to group 1, and first system messages 3 and 4 to group 2.

[0129] It should be noted that the preset classification rules are not limited to the above examples, and other classification rules can also be used.

[0130] Step 502: Display at least one fifth-fold prompt message in the conversation interface based on the classification results.

[0131] The fifth fold prompt message indicates that multiple consecutive first system messages of the same category have been folded. The fifth fold prompt message includes text information describing the classification results.

[0132] After obtaining the classification results, the terminal displays a fifth-fold prompt message in the conversation interface based on the classification results. For example, based on the notification message category of joining the target group chat, the first system messages 1 and 2 are folded, and a fifth-fold prompt message containing a category description is displayed; based on the application message category of wanting to join the target group chat, the first system messages 3 and 4 are folded, and a fifth-fold prompt message containing a category description is also displayed.

[0133] In the above embodiments, in response to the first fold trigger operation, multiple first system messages are classified according to a preset classification rule to obtain a classification result; based on the classification result, at least one fifth fold prompt message is displayed in the session interface. In the technical solution of this application embodiment, the terminal can fold system messages of the same category and display corresponding fold prompt messages, thus making it more convenient for users to browse group messages and improving the efficiency of viewing group messages.

[0134] In one exemplary embodiment, such as Figure 9 As shown, it may also include the following steps:

[0135] Step 601: In response to the first folding trigger operation, determine the display method of multiple first system messages according to the preset folding rules.

[0136] The preset folding rules include at least one of the following: user relationships, user profiles, related group activities, and discussion topics.

[0137] After detecting the first folding trigger operation, the terminal can determine the display method of multiple first system messages according to preset folding rules. For example, after a user enters a target group chat, the terminal determines the user relationship between the user corresponding to each first system message and that user, and then determines whether each first system message should be displayed folded or expanded based on the user relationship. Alternatively, the terminal determines the user profile of the user corresponding to each first system message, and then determines whether each first system message should be displayed folded or expanded based on the user profile.

[0138] It should be noted that the preset folding rules are not limited to the above examples. In practical applications, other folding rules can also be used.

[0139] Step 602: Display the first folded prompt message and / or multiple first system messages in the session interface according to the display method.

[0140] The display method includes at least one of unfolded display with a prompt that it can be collapsed, unfolded display without a prompt, and collapsed display.

[0141] After determining the display method for each first system message, display them in the session interface according to the display method. For example, if the display method is determined to be expanded display with a collapsible prompt, then multiple first system messages and a first collapsible prompt message will be displayed; if the display method is determined to be expanded display with no prompt, then multiple first system messages will be displayed; if the display method is determined to be collapsed display, then a first collapsible prompt message will be displayed.

[0142] It should be noted that the display method is not limited to the above example. In practical applications, other display methods can also be used.

[0143] In the above embodiments, in response to the first fold trigger operation, the display method of multiple first system messages is determined according to preset fold rules; the first fold prompt information and / or multiple first system messages are displayed in the chat interface according to the display method. In the technical solution of this application embodiment, fold rules can be preset to provide different display methods for different system messages, which meets the user's browsing needs and can improve the activity level within the group.

[0144] In practical applications, users joining the target group chat may have a relationship with the first user, such as mutual following, or they may not have a relationship at all. When a user with a relationship to the first user joins the target group chat, their corresponding system messages may be of interest to the first user, while when a user without a relationship to the first user joins the target group chat, their corresponding system messages may be of no interest to the first user. Based on this, the above embodiment's "responding to the first folding trigger operation, determining the display method of multiple first system messages according to preset folding rules; displaying the first folding prompt information and / or multiple first system messages in the conversation interface according to the display method" may include:

[0145] In response to the first fold trigger operation triggered by the first user, the display method of multiple first system messages is determined according to the user relationship; the first fold prompt information of the second user is displayed in the conversation interface, and the first system message of the third user is expanded to be displayed; wherein, the second user is a user who is not associated with the first user, and the third user is a user who is associated with the first user.

[0146] If a first fold trigger operation is detected, the terminal responds by first identifying the users corresponding to each system message in the target group chat. Then, users not associated with the first user are identified as the second user, and users associated with the first user are identified as the third user. Afterward, the terminal folds multiple consecutive system messages corresponding to the second user, displays a first fold prompt in the chat interface, and expands to display the system messages of the third user.

[0147] Users m, n, o, and p are second users not associated with the first user, and their system messages are consecutive. The terminal collapses these system messages and displays a first collapse prompt in the session interface. Users x and y are third users associated with the first user, and the terminal expands and displays their system messages in the session interface.

[0148] In the above embodiments, in response to the first folding trigger operation initiated by the first user, the first folding prompt information of the second user is displayed in the session interface, and the system messages of the third user are expanded and displayed. In the technical solution of this application embodiment, the terminal can fold system messages that the first user does not care about, but expand and display system messages that the first user cares about. This makes it more convenient for users to browse group messages, thereby improving the efficiency of browsing group messages.

[0149] In one exemplary embodiment, it may further include: displaying a sixth fold prompt message in the session interface in response to a third fold trigger operation.

[0150] The fifth and sixth stacked prompts indicate that multiple consecutive first system messages corresponding to the second and third users have been folded.

[0151] In some scenarios, multiple first system messages displayed in the session interface are set with collapse controls. If the terminal detects a trigger operation on the collapse control, such as clicking the collapse control, the terminal determines that it has obtained a third collapse trigger operation.

[0152] In other scenarios, if the terminal detects a trigger operation for multiple first system messages in the session interface, such as double-clicking any first system message, the terminal will determine that it has obtained a third-fold trigger operation.

[0153] In response to the third fold trigger operation, the terminal folds multiple consecutive first system messages corresponding to the second and third users and displays a sixth fold prompt message in the session interface.

[0154] In the above embodiments, in response to the third fold trigger operation, a sixth fold prompt message is displayed in the conversation interface. In the technical solution of this application embodiment, multiple consecutive system messages can be collapsed, reducing the amount of group chat messages displayed and thus improving the efficiency of viewing messages within the group.

[0155] In one exemplary embodiment, the session interface includes multiple collapse controls, such as... Figure 10 The "Collapse" control shown corresponds to a specific session duration. For example, a session duration of 10 minutes or 1 hour.

[0156] like Figure 11 As shown, embodiments of this application may further include the following steps:

[0157] Step 701: In response to a trigger operation on a target collapsible control in the session interface, determine the target session time period corresponding to the target collapsible control.

[0158] The terminal can display multiple collapsible controls in the session interface based on a unit session time period. If a trigger operation is detected for a target collapsible control among the multiple collapsible controls, the target session time period corresponding to the target collapsible control is determined.

[0159] For example, if the unit session period is 10 minutes, the terminal displays three collapsible controls in the session interface for the period 10:00-10:30. If the terminal detects an action of clicking the first collapsible control, it determines 10:00-10:10 as the target session period; if the terminal detects an action of clicking the second collapsible control, it determines 10:10-10:20 as the target session period.

[0160] Step 702: Display the seventh fold prompt message in the conversation interface.

[0161] The seventh fold prompt message indicates that the first system messages corresponding to the second and third users within the target session period have been folded.

[0162] The terminal folds the first system messages corresponding to the second and third users within the target session period and displays a seventh fold prompt message in the session interface.

[0163] In the above embodiments, in response to a trigger operation on a target fold control in the conversation interface, the target conversation time period corresponding to the target fold control is determined; and a seventh fold prompt message is displayed in the conversation interface. In the technical solution of this application embodiment, by setting multiple fold controls, the folding method can better meet the user's actual browsing needs, making it easier for the user to view group messages.

[0164] In one exemplary embodiment, such as Figure 12 As shown, before the step of "determining the display method of multiple first system messages based on user relationships" in the above embodiments, this application embodiment may further include the following steps:

[0165] Step 801: Obtain user information or entry methods of each user who has joined the target group chat.

[0166] The user information may include a user identifier, which may be a system-assigned account number from the application. Methods for joining the group may include at least one of the following: scanning a QR code to join the group chat, clicking a link to join the group chat, or being invited to join the group chat.

[0167] When determining the relationship between each user who has joined the target group chat and the first user, the terminal can first obtain each user's user information, such as obtaining the user identifier of user m. It can also obtain how each user joined the group, such as whether user m joined the group chat by scanning a QR code or by invitation.

[0168] In some embodiments, the terminal can interact with the application's server to obtain user information or access to the group.

[0169] Step 802: Determine the second and third users based on user information or the way they joined the group.

[0170] The terminal can determine whether there is a relationship between each user and the first user based on the user information, thereby determining whether each user is a second user who is not associated with the first user, or a third user who is associated with the first user.

[0171] Alternatively, the terminal can determine whether there is a connection between each user and the first user based on the way they joined the group, thereby determining whether each user is a second user who is not associated with the first user, or a third user who is associated with the first user.

[0172] In the above embodiments, user information or entry methods of each user joining the target group chat are obtained; based on the user information or entry methods, the second and third users are determined. In the technical solution of this application embodiment, determining the relationship between each user and the first user based on user information or entry methods allows system messages that the first user does not care about to be folded, while system messages that the first user cares about are expanded, making it more convenient for users to browse group messages and improving the efficiency of viewing group messages.

[0173] In one exemplary embodiment, such as Figure 13 As shown, the process of "determining the second user and the third user based on user information" in the above embodiment may include the following steps:

[0174] Step 901: Obtain a list of users who are associated with the first user.

[0175] The terminal can retrieve a list of users associated with the first user from the application. For example, the terminal can retrieve a list of contacts from the application, or a list of followed users and followers from the application.

[0176] It should be noted that the user list is not limited to the example above; it can also be other lists.

[0177] Step 902: Based on the user information of each user in the user list and the user information of each user in the target group chat, determine the second user and the third user.

[0178] The user list contains user information for each user. The terminal obtains the user information for each user in the target group chat and compares it with the user information in the user list. For any user in the target group chat, if the user's information does not match the user information of any user in the user list, it indicates that the user is not associated with the first user, and the user is identified as the second user. Conversely, if the user's information matches the user information of any user in the user list, it indicates that the user is associated with the first user, and the user is identified as the third user.

[0179] In the above embodiments, the second and third users are determined based on user information or the way they joined the group; the second and third users are determined based on the user information of each user in the user list and the user information of each user in the target group chat. In the technical solution of this application embodiment, determining the relationship between each user and the first user based on user information allows system messages that the first user does not care about to be collapsed, while system messages that the first user cares about can be expanded and displayed, making it more convenient for users to browse group messages and improving the efficiency of viewing group messages.

[0180] In an exemplary embodiment, the process of "determining the second and third users based on the way they joined the group" in the above embodiment may include the following steps: for each user in the target group chat, if the way they joined the group is not the way shared by the first user, then the user is determined as the second user; if the way they joined the group is the way shared by the first user, then the user is determined as the third user.

[0181] When each user joins the target group chat, they include their method of joining the group. The terminal can determine whether each user's method of joining the group is the same as the method shared by the first user. If a user's method of joining the group is not the method shared by the first user, then the user is identified as the second user.

[0182] For example, if the first user is user a, and user m joins the target group chat by scanning the QR code shared by user b, then it is determined that user m is not associated with user a, and user m is the second user.

[0183] If a user joins the group through a method shared by the first user, then that user is identified as the third user. For example, if the first user is user a, and user x joins the target group chat by scanning a QR code shared by user a, then user x is identified as the third user. If user y is invited to join the group chat by user a, then user y is identified as the third user.

[0184] In the above embodiments, for each user in the target group chat, if the way they joined the group is not the way shared by the first user, then the user is identified as the second user; if the way they joined the group is the way shared by the first user, then the user is identified as the third user. In the technical solution of this application embodiment, determining the relationship between each user and the first user based on the way they joined the group allows system messages that the first user does not care about to be folded, while system messages that the first user cares about can be expanded and displayed, making it more convenient for users to browse group messages and improving the efficiency of viewing group messages.

[0185] 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.

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

[0187] In one exemplary embodiment, such as Figure 14 As shown, a group message display device is provided, the device comprising:

[0188] Display module 11 is used to display a first folding prompt message in the conversation interface of the target group chat in response to the first folding trigger operation; wherein, the first folding prompt message is used to indicate that multiple consecutive first system messages have been folded; the folding trigger operation includes a trigger operation to enter the target group chat or a trigger operation to fold based on the input of the conversation interface.

[0189] In one embodiment, such as Figure 15 As shown, the device also includes:

[0190] The message loading module 12 is used to obtain a second system message that is consecutive to multiple first system messages in response to a message loading trigger operation;

[0191] The display module 11 is further configured to display a second folding prompt message in the session interface when multiple first system messages have been folded, in place of the first folding prompt message; wherein the second folding prompt message is used to indicate that the second system message and multiple first system messages have been folded.

[0192] In one embodiment, the display module 11 is further configured to, if multiple first system messages are expanded and displayed, display a third folding prompt in the session interface to continue the first system messages or to display the first folding prompt corresponding to the first system messages; wherein the third folding prompt is used to indicate that the second system message that continues the first system messages has been folded.

[0193] In one embodiment, the display module 11 is further configured to expand and display a second system message in the session interface when multiple first system messages are expanded and displayed.

[0194] In one embodiment, the display module 11 is further configured to display the third system message in the session interface upon receiving the third system message.

[0195] In one embodiment, the display module 11 is further configured to expand and display multiple first system messages in the session interface in response to an expansion operation for multiple first system messages; and to display a fourth folding prompt in the session interface in response to a second folding trigger operation when a third system message follows the first system message; wherein the fourth folding prompt is used to indicate that the third system message and multiple first system messages have been folded.

[0196] In one embodiment, such as Figure 16 As shown, the device also includes:

[0197] The classification module 13 is used to respond to the first fold trigger operation and classify multiple first system messages according to preset classification rules to obtain classification results; wherein, the preset classification rules include at least one of message type, message topic, message content, and message source object;

[0198] The display module 11 is also used to display at least one fifth fold prompt message in the session interface according to the classification result; the fifth fold prompt message is used to indicate that multiple consecutive first system messages of the same category have been folded, and the fifth fold prompt message includes text information describing the classification result.

[0199] In one embodiment, such as Figure 17 As shown, the device also includes:

[0200] The mode determination module 14 is used to determine the display mode of multiple first system messages in response to the first folding trigger operation, according to preset folding rules; wherein, the preset folding rules include at least one of user relationships, user profiles, group-related activities and discussion topics;

[0201] The display module 11 is also used to display a first folding prompt message and / or multiple first system messages in the session interface according to the display method; wherein the display method includes at least one of unfolded display with foldable prompt, unfolded display without prompt, and folded display.

[0202] In one embodiment, the mode determination module 14 is used to determine the display mode of multiple first system messages based on user relationships in response to a first folding trigger operation triggered by a first user;

[0203] The display module 11 is specifically used to display the first collapsed prompt information of the second user in the conversation interface, and to expand and display the first system message of the third user; wherein the second user is a user who is not associated with the first user, and the third user is a user associated with the first user.

[0204] In one embodiment, the display module 11 is further configured to display a sixth fold prompt in the session interface in response to a third fold trigger operation; wherein the sixth fold prompt is used to indicate that multiple consecutive first system messages corresponding to the second user and the third user have been folded.

[0205] In one embodiment, the session interface includes multiple collapsible controls, each corresponding to a unit session duration; such as... Figure 18 As shown, the device also includes:

[0206] The time period determination module 15 is used to determine the target session time period corresponding to the target fold control in response to the trigger operation of the target fold control in the session interface;

[0207] The display module 11 is also used to display a seventh fold prompt in the session interface; wherein the seventh fold prompt indicates that the first system messages corresponding to the second user and the third user within the target session period have been folded.

[0208] In one embodiment, such as Figure 19 As shown, the device also includes:

[0209] The information acquisition module 16 is used to acquire user information or entry methods of each user who has joined the target group chat;

[0210] User identification module 17 is used to identify the second and third users based on user information or the way they joined the group.

[0211] In one embodiment, the user determination module 17 is specifically used to obtain a list of users associated with the first user; and to determine the second user and the third user based on the user information of each user in the user list and the user information of each user in the target group chat.

[0212] In one embodiment, the user determination module 17 is specifically used to determine the user as the second user if the way to join the group is not the way shared by the first user, and to determine the user as the third user if the way to join the group is the way shared by the first user.

[0213] The modules in the aforementioned group message display device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the electronic device in hardware form or independent of it, or stored in the memory of the electronic device in software form, so that the processor can call and execute the operations corresponding to each module.

[0214] In one exemplary embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 20As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium 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 medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is 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 method for displaying group messages. 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 device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0215] Those skilled in the art will understand that Figure 20 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 electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0216] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions that can be executed by a processor of an electronic device to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0217] In one exemplary embodiment, a computer program product is also provided, which, when executed by a processor, can implement the above-described methods. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, some or all of the above-described methods can be implemented, wholly or partially, according to the processes or functions described in the embodiments of this application.

[0218] 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 must comply with relevant regulations.

[0219] Those skilled in the art will understand that all or part of the processes in 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. When executed, the computer program can include the processes of the embodiments described above. 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.

[0220] 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.

[0221] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. 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 application should be determined by the appended claims.

Claims

1. A method for displaying group messages, characterized in that, The method includes: In response to the first folding trigger operation, a first folding prompt message is displayed in the conversation interface of the target group chat; wherein, the first folding prompt message is used to indicate that multiple consecutive first system messages have been folded; the folding trigger operation includes a trigger operation to enter the target group chat or a triggering operation based on input in the conversation interface.

2. The method according to claim 1, characterized in that, The method further includes: In response to the triggering operation of the loading message, a second system message is obtained that is consecutive to multiple first system messages; When multiple of the first system messages have been collapsed, a second collapse prompt message is displayed in the session interface in place of the first collapse prompt message; wherein, the second collapse prompt message is used to indicate that the second system message and multiple of the first system messages have been collapsed.

3. The method according to claim 2, characterized in that, The method further includes: When multiple first system messages are expanded and displayed, a third folding prompt is displayed in the session interface to continue the first system message or to display the first folding prompt corresponding to the first system message; wherein, the third folding prompt is used to indicate that the second system message that continues the first system message has been folded.

4. The method according to claim 2, characterized in that, The method further includes: When multiple first system messages are expanded and displayed, the second system messages are expanded and displayed in the session interface.

5. The method according to claim 1, characterized in that, The method further includes: Upon receiving a third system message, the third system message is displayed in the session interface.

6. The method according to claim 5, characterized in that, The method further includes: In response to an operation to expand multiple of the first system messages, the multiple first system messages are expanded and displayed in the session interface; When the third system message follows the first system message, in response to the second folding trigger operation, a fourth folding prompt message is displayed in the session interface; wherein, the fourth folding prompt message is used to indicate that the third system message and multiple first system messages have been folded.

7. The method according to claim 1, characterized in that, The method further includes: In response to the first folding trigger operation, multiple messages from the first system are classified according to a preset classification rule to obtain a classification result; wherein, the preset classification rule includes at least one of message type, message topic, message content, and message source object; Based on the classification results, at least one fifth-fold prompt message is displayed in the session interface; the fifth-fold prompt message is used to indicate that multiple consecutive first system messages of the same category have been folded, and the fifth-fold prompt message includes text information describing the classification results.

8. The method according to claim 1, characterized in that, The method further includes: In response to the first folding trigger operation, the display method of multiple first system messages is determined according to preset folding rules; wherein, the preset folding rules include at least one of user relationships, user profiles, group-related activities, and discussion topics; The first folding prompt information and / or multiple first system messages are displayed in the session interface according to the display method described above; wherein, the display method includes at least one of unfolded display with foldable prompt, unfolded display without prompt, and folded display.

9. The method according to claim 8, characterized in that, In response to the first folding trigger operation, determining the display method of multiple first system messages according to preset folding rules includes: In response to the first folding trigger operation triggered by the first user, the display method of multiple first system messages is determined according to the user relationship; Correspondingly, the first collapsed prompt information and / or multiple first system messages are displayed in the session interface according to the display method, including: The conversation interface displays a first collapsed prompt message for the second user and a first system message for the third user when expanded; wherein the second user is a user not associated with the first user, and the third user is a user associated with the first user.

10. The method according to claim 9, characterized in that, The method further includes: In response to the third fold trigger operation, a sixth fold prompt message is displayed in the session interface; wherein, the sixth fold prompt message is used to indicate that multiple consecutive first system messages corresponding to the second user and the third user have been folded.

11. The method according to claim 10, characterized in that, The session interface includes multiple collapsible controls, each corresponding to a unit session time period; the method further includes: In response to a trigger operation on a target collapsible control in the session interface, a target session time period corresponding to the target collapsible control is determined; The seventh fold prompt message is displayed in the session interface; wherein, the seventh fold prompt message is used to indicate that the first system messages corresponding to the second user and the third user during the target session period have been folded.

12. The method according to claim 9, characterized in that, Before determining the display method of the multiple first system messages based on the user relationship, the method further includes: Obtain user information or entry methods of each user who has joined the target group chat; The second user and the third user are determined based on the user information or the method of joining the group.

13. The method according to claim 12, characterized in that, Determining the second user and the third user based on the user information includes: Obtain a list of users who are associated with the first user; Based on the user information of each user in the user list and the user information of each user in the target group chat, the second user and the third user are determined.

14. The method according to claim 12, characterized in that, The second user and the third user are determined based on the aforementioned group entry method, including: For each user in the target group chat, if the way to join the group is not the way shared by the first user, then the user is identified as the second user. If the method of joining the group is the method shared by the first user, then the user is identified as the third user.

15. A display device for group messages, characterized in that, The device includes: The display module is used to display a first folding prompt message in the conversation interface of the target group chat in response to a first folding trigger operation; wherein the first folding prompt message is used to indicate that multiple consecutive first system messages have been folded; the folding trigger operation includes a trigger operation to enter the target group chat or a trigger operation to fold based on input in the conversation interface.

16. An electronic device comprising a memory, a processor, and a display unit, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 14.

17. 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 steps of the method according to any one of claims 1 to 14.

18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 14.