Group chat message display method, device, equipment, readable medium and program product
By displaying sub-group chat pages within a group chat and synchronizing messages, the problem of message omissions in group chats is solved, achieving more efficient communication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
- Filing Date
- 2022-12-19
- Publication Date
- 2026-04-14
AI Technical Summary
In group chats, some messages discussing the same topic do not include the group notification word, causing group members to miss messages on that topic that do not include the group notification word, thus reducing communication efficiency.
By responding to the selection operation of the sub-group chat entry control, the sub-group chat page is displayed, and the sub-group chat messages are synchronized to the message set of the main group chat page. In response to the page switching operation, the updated messages are displayed on the main group chat page, thus realizing the synchronization of sub-group chat messages in the main group chat.
It improves communication efficiency, avoids the need to search for messages on specific topics in the main group chat, reduces message omissions, and ensures that all group members can understand the relevant discussion content in a timely manner.
Smart Images

Figure CN116225283B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure relate to the field of computer technology, and more specifically to methods, apparatus, devices, readable media, and program products for displaying group chat messages. Background Technology
[0002] With the development of internet and modern communication technologies, online communication via group chats has become a more common choice. Because group chats have many members, each member posts messages on different topics, and these messages are interspersed throughout the chat. Group members typically discuss the same topic by setting reminders for the group chat.
[0003] However, the inventors discovered that when setting up group chats using the above method, the following technical problems often occur:
[0004] Some messages in discussions on the same topic do not include the group notification keyword, causing group members to miss messages on that topic that do not include the group notification keyword, thus reducing communication efficiency.
[0005] The information disclosed in this background section is only intended to enhance the understanding of the background of the inventive concept, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0007] Some embodiments of this disclosure provide methods, apparatuses, electronic devices, computer-readable media, and computer program products for displaying group chat messages to address one or more of the technical problems mentioned in the background section above.
[0008] In a first aspect, some embodiments of this disclosure provide a method for displaying group chat messages. The method includes: in response to detecting a selection operation performed on a sub-group chat entry control displayed on a main group chat page, displaying a sub-group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page; in response to detecting a sub-group chat message published by a target user on the sub-group chat page, synchronizing the sub-group chat message to a main group chat message set corresponding to the main group chat page to update the main group chat message set; and in response to detecting a page switching operation performed on the main group chat page, displaying the main group chat messages in the updated main group chat message set on the main group chat page.
[0009] Optionally, before displaying the subgroup chat page in response to detecting a selection operation performed on the subgroup chat entry control displayed on the main group chat page, the method further includes: displaying at least one message processing control in response to detecting a target operation performed on the main group chat message displayed on the main group chat page, wherein the message processing control in the at least one message processing control includes the subgroup chat entry control.
[0010] Optionally, the method further includes: in response to detecting a selection operation performed on the sub-group chat entry control displayed on the main group chat page, determining a target user identifier corresponding to the selection operation; adding the target user identifier to the sub-group chat user identifier set corresponding to the sub-group chat page, so as to update the sub-group chat user identifier set.
[0011] Optionally, the above-mentioned response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page to display the sub-group chat page includes: in response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page, determining whether there is a sub-group chat identifier corresponding to the sub-group chat entry control; in response to determining that there is no sub-group chat identifier corresponding to the sub-group chat entry control, creating a sub-group chat, wherein the sub-group chat corresponds to a sub-group chat identifier and a sub-group chat page; and displaying the sub-group chat page.
[0012] Optionally, the aforementioned sub-group chat page corresponds to sub-group chat association information, which includes the aforementioned sub-group chat identifier and the main group chat identifier; and the aforementioned synchronizing the aforementioned sub-group chat messages to the main group chat message set corresponding to the aforementioned main group chat page to update the aforementioned main group chat message set includes: determining the main group chat message set corresponding to the aforementioned main group chat identifier; synchronizing the aforementioned sub-group chat messages to the aforementioned main group chat message set to update the aforementioned main group chat message set.
[0013] Optionally, the sub-group chat association information may also include the sub-group chat expiration time; and the method may further include: disbanding the sub-group chat in response to the current time being greater than or equal to the sub-group chat expiration time.
[0014] Optionally, the method further includes: in response to the current time being less than the expiration time of the sub-group chat and detecting a selection operation applied to the sub-group chat disband control, determining the disband user identifier corresponding to the selection operation applied to the sub-group chat disband control; determining whether the disband user identifier meets the conditions for disbanding the sub-group chat user identifier; and disbanding the sub-group chat in response to determining that the disband user identifier meets the conditions for disbanding the sub-group chat user identifier.
[0015] Optionally, the above-mentioned creation of a sub-group chat includes: generating a sub-group chat name based on the main group chat message corresponding to the sub-group chat entry control.
[0016] Optionally, the main group chat page has at least one sub-group chat page; and the method further includes: in response to detecting a selection operation performed on the group chat list viewing control, displaying a group chat list, wherein the group chat list displays the main group chat icon corresponding to the main group chat page and the sub-group chat icons corresponding to each sub-group chat page of the main group chat page.
[0017] Secondly, some embodiments of this disclosure provide a group chat message display device, the device comprising: a first display unit configured to display a sub-group chat page in response to detecting a selection operation performed on a sub-group chat entry control displayed on a main group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page; a synchronization unit configured to synchronize the sub-group chat message to a main group chat message set corresponding to the main group chat page in response to detecting a sub-group chat message published by a target user on the sub-group chat page, thereby updating the main group chat message set; and a second display unit configured to display the main group chat messages in the updated main group chat message set on the main group chat page in response to detecting a page switching operation performed on the main group chat page.
[0018] Optionally, prior to the first display unit, the device further includes a control display unit configured to: display at least one message processing control in response to detecting a target operation acting on a main group chat message displayed on the main group chat page, wherein the message processing control among the at least one message processing control includes the sub-group chat entry control.
[0019] Optionally, the above-mentioned device further includes a first determining unit and an adding unit. The first determining unit is configured to: determine a target user identifier corresponding to the selection operation in response to detecting a selection operation performed on the sub-group chat entry control displayed on the main group chat page; the adding unit is configured to: add the target user identifier to the sub-group chat user identifier set corresponding to the sub-group chat page to update the sub-group chat user identifier set.
[0020] Optionally, the first display unit is further configured to: in response to detecting a selection operation performed on a sub-group chat entry control displayed on the main group chat page, determine whether there is a sub-group chat identifier corresponding to the sub-group chat entry control; in response to determining that there is no sub-group chat identifier corresponding to the sub-group chat entry control, create a sub-group chat, wherein the sub-group chat corresponds to a sub-group chat identifier and a sub-group chat page; and display the sub-group chat page.
[0021] Optionally, the aforementioned sub-group chat page corresponds to sub-group chat association information, which includes the aforementioned sub-group chat identifier and the main group chat identifier.
[0022] Optionally, the synchronization unit is further configured to: determine the main group chat message set corresponding to the main group chat identifier; and synchronize the sub-group chat messages to the main group chat message set to update the main group chat message set.
[0023] Optionally, the sub-group chat association information mentioned above may also include the sub-group chat expiration time.
[0024] Optionally, the above device further includes a first disbanding unit configured to disband the sub-group chat in response to the current time being greater than or equal to the expiration time of the sub-group chat.
[0025] Optionally, the above-mentioned device further includes a second determining unit, a third determining unit, and a second disbanding unit. The second determining unit is configured to: in response to the current time being less than the expiration time of the sub-group chat and detecting a selection operation applied to the sub-group chat disbanding control, determine the disbanding user identifier corresponding to the selection operation applied to the sub-group chat disbanding control; the third determining unit is configured to: determine whether the disbanding user identifier meets the conditions for disbanding the sub-group chat user identifier; and the second disbanding unit is configured to: in response to determining that the disbanding user identifier meets the conditions for disbanding the sub-group chat user identifier, disband the sub-group chat.
[0026] Optionally, the first display unit is further configured to generate a sub-group chat name based on the main group chat message corresponding to the sub-group chat entry control.
[0027] Optionally, the main group chat page mentioned above corresponds to at least one sub-group chat page.
[0028] Optionally, the device further includes a third display unit configured to: display a group chat list in response to detecting a selection operation performed on the group chat list viewing control, wherein the group chat list displays the main group chat icon corresponding to the main group chat page and the sub-group chat icons corresponding to each sub-group chat page of the main group chat page.
[0029] Thirdly, some embodiments of this disclosure provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0030] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
[0031] Fifthly, some embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
[0032] The above-described embodiments of this disclosure have the following beneficial effects: the group chat message display method of some embodiments of this disclosure improves communication efficiency. Specifically, the reason for low communication efficiency is that some messages in discussions on the same topic do not include group reminder words, causing group members to miss messages under that topic that do not include group reminder words, thus reducing communication efficiency. Based on this, the group chat message display method of some embodiments of this disclosure firstly displays a sub-group chat page in response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page. The number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page. Thus, users who have performed the selection operation on the sub-group chat entry control can enter the sub-group chat page. Then, in response to detecting a sub-group chat message posted by a target user on the sub-group chat page, the sub-group chat message is synchronized to the main group chat message set corresponding to the main group chat page to update the main group chat message set. Thus, the synchronization of messages posted by users in the sub-group chat in the main group chat can be achieved. Finally, in response to the detection of a page switching operation on the main group chat page, the updated main group chat messages from the main group chat message set are displayed on the main group chat page. This allows messages from sub-group chats to be synchronously displayed in the main group chat. Furthermore, because members of sub-group chats can access their sub-group chat pages via the sub-group chat entry control to post and view messages on the same topic, it avoids the need to search for messages on different topics interspersed throughout the main group chat, preventing message omissions and improving communication efficiency. In addition, synchronizing messages from sub-group chats to the main group chat makes it easier for users in the main group chat but not in the sub-group chats to view messages on that topic, further improving communication efficiency. Attached Figure Description
[0033] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0034] Figure 1-3 This is a schematic diagram illustrating an application scenario of a group chat message display method according to some embodiments of this disclosure;
[0035] Figure 4 This is a flowchart of some embodiments of the group chat message display method according to the present disclosure;
[0036] Figure 5This is a flowchart of some other embodiments of the group chat message display method according to this disclosure;
[0037] Figure 6 This is a schematic diagram of the structure of some embodiments of the group chat message display device according to the present disclosure;
[0038] Figure 7 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation
[0039] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0040] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0041] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0042] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0043] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0044] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0045] Figure 1-3 This is a schematic diagram illustrating an application scenario of a group chat message display method according to some embodiments of this disclosure.
[0046] like Figure 1 and Figure 2As shown, firstly, computing device 101 can display sub-group chat page 104 in response to detecting a selection operation on the sub-group chat entry control 103 displayed on the main group chat page 102. The number of users corresponding to the sub-group chat page 104 can be less than or equal to the number of users corresponding to the main group chat page 102. Optionally, the main group chat page 102 can correspond to a main group chat name 105. For example, the main group chat name 105 can be a work group chat. Then, in response to detecting a sub-group chat message 107 posted by target user 106 on the sub-group chat page 104, computing device 101 can synchronize the sub-group chat message 107 to the main group chat message set corresponding to the main group chat page 102 to update the main group chat message set. Optionally, the sub-group chat page 104 can correspond to a sub-group chat name 108. For example, the sub-group chat name 108 can be a temporary group chat for company team building. The main group chat page 102 can display main group chat messages 109 and 110. Main group chat message 109 could be: "[Relocation Notice] The company plans to relocate to [address] on [date]. Please pack your personal office supplies and miscellaneous items before leaving get off work. Colleagues who need large bags or boxes can pick them up at the front desk! We will then transport everyone's packed items to the new address. Thank you for your cooperation!" Main group chat message 110 could be: "[Company Team Building] Life moves quickly, but sometimes we need to stop, eat, drink, play, and take photos! Therefore, the company has decided to organize a team building activity! Please actively contribute your ideas to jointly decide the time and location of this team building activity!"
[0047] Finally, as Figure 3As shown, in response to detecting a page switching operation on the main group chat page 102, the computing device 101 can display the updated main group chat messages (e.g., main group chat messages 111, 112, and 113) in the main group chat page 102. The page switching operation can be a click operation to close the sub-group chat page 104 to view the main group chat page 102. Optionally, the updated main group chat message set may include main group chat messages 109, 110, 111, 112, and 113. Main group chat message 109 could be: "[Relocation Notice] The company plans to relocate to xx address on xx month xx day. Please pack your personal office supplies and miscellaneous items before leaving get off work. Colleagues who need large bags and boxes can pick them up at the front desk! We will then transport everyone's packed items to the new address. Thank you for your cooperation!" The main group chat message 110 could be: "[Company Team Building] Life moves at a fast pace, but sometimes we need to stop, eat, drink, play, and take pictures! So the company has decided to organize a team building activity! Please contribute your ideas and suggestions to help us decide the time and location!" The main group chat message 111 could be: "Where are the large bags and suitcases at the front desk? I haven't seen them." The main group chat message 112 could be: "But a certain beach is also nice; you can swim there. I wonder if everyone prefers a certain mountain or a certain beach?" The main group chat message 113 could be: "The large bags and suitcases at the front desk are on top of the cabinet, not easy to get down. I took two down and put them next to the cabinet; you can use them for now."
[0048] It should be noted that the aforementioned computing device 101 can be either hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed within the hardware devices listed above. It can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.
[0049] It should be understood that Figure 1 The number of computing devices shown is merely illustrative. Any number of computing devices can be used depending on implementation needs.
[0050] Continue to refer to Figure 4 The diagram illustrates a flow 400 of some embodiments of a group chat message display method according to the present disclosure. This group chat message display method includes the following steps:
[0051] Step 401: In response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page, the sub-group chat page is displayed.
[0052] In some embodiments, in response to detecting a selection operation performed on a sub-group chat entry control displayed on the main group chat page, the execution body of the group chat message display method (such as...) Figure 1 The computing device 101 shown can display a sub-group chat page. The number of users corresponding to the sub-group chat page can be less than or equal to the number of users corresponding to the main group chat page. The main group chat page can be the message page of a chat group (main group chat) used for user communication. The main group chat page can display messages posted by each user corresponding to the main group chat page. The sub-group chat entry control can be a control for entering the sub-group chat page. The sub-group chat page can be the message page of a chat group (sub-group chat) used for specific users to communicate. The specific user can be a user among the users corresponding to the main group chat page who has performed the selection operation on the sub-group chat entry control. Therefore, the user who performed the selection operation on the sub-group chat entry control can enter the sub-group chat page.
[0053] Optionally, firstly, in response to detecting a selection operation performed on the sub-group chat entry control displayed on the main group chat page, the executing entity can determine the target user identifier corresponding to the selection operation. The target user identifier can be an identifier that uniquely identifies the user performing the selection operation. For example, the target user identifier can be the string "01". Then, the target user identifier can be added to the sub-group chat user identifier set corresponding to the sub-group chat page to update the sub-group chat user identifier set. Each sub-group chat user identifier in the sub-group chat user identifier set can uniquely identify each user corresponding to the sub-group chat page. Thus, the user performing the selection operation can be added to the sub-group chat.
[0054] Step 402: In response to detecting a sub-group chat message posted by the target user on the sub-group chat page, the sub-group chat message is synchronized to the main group chat message set corresponding to the main group chat page to update the main group chat message set.
[0055] In some embodiments, in response to detecting a sub-group chat message posted by a target user on the sub-group chat page, the executing entity can synchronize the sub-group chat message to the main group chat message set corresponding to the main group chat page to update the main group chat message set. The target user can be the user performing the selection operation (the user whose account is logged into the executing entity). The sub-group chat message can be a message posted by the target user on the sub-group chat page. The main group chat messages in the main group chat message set can be messages posted by each user corresponding to the main group chat page. In practice, the sub-group chat message can be copied to the main group chat message set corresponding to the main group chat page to update the main group chat message set. Thus, the synchronization of messages posted by a user in a sub-group chat to the main group chat can be achieved.
[0056] Optionally, the aforementioned sub-group chat page may correspond to sub-group chat association information. This association information may include the sub-group chat identifier and the main group chat identifier. Specifically, the sub-group chat association information may represent the association between the main group chat page and the sub-group chat page. The sub-group chat association information may be in the form of a table. The main group chat identifier may uniquely identify the main group chat.
[0057] In some optional implementations of certain embodiments, firstly, the executing entity can determine the main group chat message set corresponding to the main group chat identifier. Then, the sub-group chat messages can be synchronized to the main group chat message set to update the main group chat message set. In practice, the first step can be to determine the main group chat identifier as the association identifier of the sub-group chat messages. The association identifier can be an identifier representing the chat group associated with the sub-group chat. The second step can be to determine the sub-group chat messages whose corresponding identifier includes the main group chat identifier as main group chat messages. Thus, the synchronization of messages posted by users in sub-group chats to the main group chat can be achieved through sub-group chat association information.
[0058] In some optional implementations of certain embodiments, firstly, in response to detecting a sub-group chat message published by a target user on a sub-group chat page, the execution entity can determine whether the sub-group chat message has been selected by a target authorized user to synchronize the sub-group chat message to the main group chat message set. The target authorized user can be a user with the authority to decide whether a sub-group chat message should be synchronized to the main group chat message set. Here, the specific setting of the target authorized user is not limited. For example, the target authorized user can be the user who created the sub-group chat. Alternatively, the target authorized user can be a user represented by a sub-group chat user identifier with target permissions specified in the sub-group chat user identifier set. Then, in response to determining that the sub-group chat message has been selected by the target authorized user to synchronize the sub-group chat message to the main group chat message set, the execution entity can synchronize the sub-group chat message to the main group chat message set corresponding to the main group chat page to update the main group chat message set. Thus, sub-group chat messages can be selectively synchronized to the main group chat message set, reducing unnecessary synchronization of sub-group chat messages to the main group chat message set.
[0059] Step 403: In response to detecting a page switching operation on the main group chat page, display the updated main group chat messages in the main group chat message set on the main group chat page.
[0060] In some embodiments, in response to detecting a page switching operation on the main group chat page, the executing entity can display the updated main group chat messages in the main group chat message set on the main group chat page. The page switching operation can be an operation to switch the display of the main group chat page. The page switching operation can include, but is not limited to, click operations and swipe operations. For example, the page switching operation can be a click operation to close the sub-group chat page to view the main group chat page. Similarly, in response to detecting a swipe operation on the main group chat page, the executing entity can display the updated main group chat messages in the main group chat message set on the main group chat page. In practice, the main group chat messages in the updated main group chat message set can be displayed sequentially according to their message publication time. The message publication time can be the time when the user publishes the message. It should be noted that the message publication time of the main group chat message obtained from the sub-group chat messages can be the time when the user publishes the corresponding sub-group chat message. Therefore, messages in the sub-group chat can be synchronously displayed in the main group chat.
[0061] Optionally, the main group chat page may correspond to at least one sub-group chat page.
[0062] Optionally, in response to detecting a selection operation performed on the group chat list view control, the aforementioned executing entity can display the group chat list. The group chat list can display the main group chat icon corresponding to the main group chat page and the icons of each sub-group chat page corresponding to the main group chat page. The group chat list view control can be a control used to view the group chat list. The group chat list can be a list displaying each group chat icon.
[0063] The above-described embodiments of this disclosure have the following beneficial effects: the group chat message display method of some embodiments of this disclosure improves communication efficiency. Specifically, the reason for low communication efficiency is that some messages in discussions on the same topic do not include group reminder words, causing group members to miss messages under that topic that do not include group reminder words, resulting in reduced communication efficiency. Based on this, the group chat message display method of some embodiments of this disclosure firstly displays a sub-group chat page in response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page. The number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page. Thus, users who have performed the selection operation on the sub-group chat entry control can enter the sub-group chat page. Then, in response to detecting a sub-group chat message posted by a target user on the sub-group chat page, the sub-group chat message is synchronized to the main group chat message set corresponding to the main group chat page to update the main group chat message set. Thus, it is possible to synchronize messages posted by users in the sub-group chat with the main group chat. Finally, in response to the detection of a page switching operation on the main group chat page, the updated main group chat messages from the main group chat message set are displayed on the main group chat page. This allows messages from sub-group chats to be synchronously displayed in the main group chat. Consequently, members of sub-group chats can access their sub-group chat pages via the sub-group chat entry control, posting and viewing messages on the same topic. This avoids searching for messages on different topics interspersed throughout the main group chat, prevents message omissions, and improves communication efficiency. Furthermore, synchronizing messages from sub-group chats to the main group chat makes it easier for users in the main group chat but not in the sub-group chats to view messages on that topic, allowing users who don't need to participate in the discussion to understand the content of the discussion, further improving communication efficiency.
[0064] Further reference Figure 5 This illustrates a flow 500 of another embodiment of a group chat message display method. The flow 500 of this group chat message display method includes the following steps:
[0065] Step 501: In response to detecting a target operation acting on a main group chat message displayed on the main group chat page, at least one message handling control is displayed.
[0066] In some embodiments, in response to detecting a target operation acting on the main group chat message displayed on the main group chat page, the execution body of the group chat message display method (such as...) Figure 1 The computing device 101 shown can display at least one message processing control. Among these, the message processing control includes a sub-group chat entry control. The main group chat message can be a message posted by each user corresponding to the main group chat page. Here, the specific setting of the target operation is not limited. For example, the target operation may include, but is not limited to, a long press operation or a double-click operation. The message processing control among the at least one message processing controls can be a control for processing the main group chat message. The at least one message processing control can include at least one of the following: a message processing control representing forwarded messages, and a message processing control representing saved messages. For example, the message processing control can be a message forwarding control. The message forwarding control can be a control used to forward main group chat messages. Alternatively, the message processing control can be a message saving control. The message saving control can be a control used to save messages. Therefore, by performing a target operation on the main group chat message, a sub-group chat entry control can be displayed on the main group chat page.
[0067] Step 502: In response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page, determine whether there is a sub-group chat identifier corresponding to the sub-group chat entry control.
[0068] In some embodiments, in response to detecting a selection operation performed on a sub-group chat entry control displayed on the main group chat page, the aforementioned execution entity can determine whether a sub-group chat identifier corresponding to the sub-group chat entry control exists. This sub-group chat identifier can uniquely identify a sub-group chat page. In practice, it can be determined whether a sub-group chat identifier corresponding to the sub-group chat entry control exists in the cache. Therefore, it can be determined whether a sub-group chat page exists.
[0069] Step 503: In response to determining that there is no corresponding sub-group chat identifier for the sub-group chat entry control, create a sub-group chat.
[0070] In some embodiments, in response to determining that no sub-group chat identifier corresponding to the aforementioned sub-group chat entry control exists, the executing entity may create a sub-group chat. The sub-group chat may correspond to a sub-group chat identifier and a sub-group chat page. Therefore, the aforementioned sub-group chat entry control may correspond to the aforementioned sub-group chat identifier. Since the aforementioned sub-group chat entry control corresponds to the main group chat message that performed the target operation, the main group chat message that performed the target operation corresponds to the aforementioned sub-group chat identifier. In practice, in response to determining that no sub-group chat identifier corresponding to the aforementioned sub-group chat entry control exists, the executing entity may identify the user who published the main group chat message and the user who performed the target operation as the users corresponding to the sub-group chat, and generate a creation identifier to create the sub-group chat. The creation identifier may indicate that a sub-group chat has been created. Thus, a chat group for specific users to communicate can be created.
[0071] Optionally, the creation of a sub-group chat can include: the executing entity generating a sub-group chat name based on the main group chat message corresponding to the sub-group chat entry control. In practice, the executing entity can generate the sub-group chat name in various ways based on the main group chat message corresponding to the sub-group chat entry control. As an example, the executing entity can use the TextRank algorithm to extract keywords from the main group chat message corresponding to the sub-group chat entry control and use the extracted keywords as the sub-group chat name. As another example, the executing entity can determine the sub-group chat name by identifying the text between preset symbols in the main group chat message. The preset symbols can be pre-set symbols. For example, the preset symbols can be the opening bracket "
" and the closing bracket "
[0072] Step 504: Display the sub-group chat page.
[0073] In some embodiments, the aforementioned executing entity may display the aforementioned sub-group chat page. Thus, users corresponding to the sub-group chat can post messages in the sub-group chat and view messages posted by other users in the sub-group chat.
[0074] Step 505: In response to detecting a sub-group chat message posted by the target user on the sub-group chat page, the sub-group chat message is synchronized to the main group chat message set corresponding to the main group chat page to update the main group chat message set.
[0075] Step 506: In response to detecting a page switching operation on the main group chat page, display the updated main group chat messages in the main group chat message set on the main group chat page.
[0076] In some embodiments, the specific implementation of steps 505-506 and their resulting technical effects can be found in [reference needed]. Figure 4Steps 402-403 in the corresponding embodiments will not be repeated here.
[0077] Step 507: In response to the current time being greater than or equal to the expiration time of the sub-group chat, disband the sub-group chat.
[0078] In some embodiments, in response to the current time being greater than or equal to the sub-group chat's expiration time, the executing entity can disband the sub-group chat. The sub-group chat's associated information also includes the sub-group chat's expiration time. The sub-group chat's expiration time can be a pre-set time point for disbanding the sub-group chat. In practice, in response to the current time being greater than or equal to the sub-group chat's expiration time, the executing entity can delete the sub-group chat. Therefore, the sub-group chat can be automatically disbanded when the current time is greater than or equal to the sub-group chat's expiration time, thereby saving computer operating resources and storage resources.
[0079] Optionally, firstly, in response to the current time being less than the sub-group chat expiration time and the detection of a selection operation applied to the sub-group chat disbanding control, the executing entity can determine the disbanding user identifier corresponding to the selection operation applied to the sub-group chat disbanding control. The sub-group chat disbanding control can be a control used to disband the sub-group chat. The disbanding user identifier can uniquely identify the user who performed the selection operation applied to the sub-group chat disbanding control. Then, it can be determined whether the disbanding user identifier meets the conditions for disbanding the sub-group chat. The conditions for disbanding the sub-group chat user identifier can be that the disbanding user identifier is a preset user identifier. The preset user identifier can be a pre-defined user identifier. For example, the preset user identifier can be the user identifier of the user who created the sub-group chat. Finally, in response to determining that the disbanding user identifier meets the conditions for disbanding the sub-group chat, the sub-group chat can be disbanded. Therefore, by setting a sub-group chat disbanding control, users can disband sub-group chats more flexibly.
[0080] from Figure 5 It can be seen from this that, with Figure 4 Compared to the description of some corresponding embodiments, Figure 5 The flow 500 of the group chat message display method in some corresponding embodiments embodies the steps of extending the display of sub-group chat entry controls, displaying sub-group chat pages, and disbanding sub-group chats. Thus, the solutions described in these embodiments allow users to view sub-group chat entry controls on the main group chat page through target operations on the main group chat message, and to create sub-group chats via the sub-group chat entry controls. Furthermore, sub-group chats can be automatically disbanded when the current time is greater than or equal to the sub-group chat expiration time, thereby saving computer operating and storage resources.
[0081] Further reference Figure 6 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of a group chat message display device, which are similar to... Figure 4 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0082] like Figure 6 As shown, a group chat message display device 600 in some embodiments includes: a first display unit 601, a synchronization unit 602, and a second display unit 603. The first display unit 601 is configured to display a sub-group chat page in response to detecting a selection operation on a sub-group chat entry control displayed on the main group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page. The synchronization unit 602 is configured to synchronize the sub-group chat message to the main group chat message set corresponding to the main group chat page in response to detecting a sub-group chat message posted by a target user on the sub-group chat page, thereby updating the main group chat message set. The second display unit 603 is configured to display the updated main group chat messages in the main group chat message set on the main group chat page in response to detecting a page switching operation on the main group chat page.
[0083] Optionally, prior to the first display unit, the device may further include a control display unit configured to: in response to detecting a target operation acting on a main group chat message displayed on the main group chat page, display at least one message processing control, wherein the message processing control in the at least one message processing control includes the sub-group chat entry control.
[0084] Optionally, the above-mentioned device may further include a first determining unit and an adding unit. The first determining unit is configured to: determine a target user identifier corresponding to the selection operation in response to detecting a selection operation performed on the sub-group chat entry control displayed on the main group chat page; the adding unit is configured to: add the target user identifier to the sub-group chat user identifier set corresponding to the sub-group chat page to update the sub-group chat user identifier set.
[0085] Optionally, the first display unit may be further configured to: in response to detecting a selection operation performed on a sub-group chat entry control displayed on the main group chat page, determine whether there is a sub-group chat identifier corresponding to the sub-group chat entry control; in response to determining that there is no sub-group chat identifier corresponding to the sub-group chat entry control, create a sub-group chat, wherein the sub-group chat corresponds to a sub-group chat identifier and a sub-group chat page; and display the sub-group chat page.
[0086] Optionally, the aforementioned sub-group chat page may correspond to sub-group chat association information, which may include the sub-group chat identifier and the main group chat identifier.
[0087] Optionally, the synchronization unit can be further configured to: determine the main group chat message set corresponding to the main group chat identifier; synchronize the sub-group chat messages to the main group chat message set to update the main group chat message set.
[0088] Optionally, the sub-group chat association information may also include the sub-group chat expiration time.
[0089] Optionally, the above-mentioned device may further include a first disbanding unit configured to disband the sub-group chat in response to the current time being greater than or equal to the expiration time of the sub-group chat.
[0090] Optionally, the above-mentioned device may further include a second determining unit, a third determining unit, and a second disbanding unit. The second determining unit may be configured to: in response to the current time being less than the sub-group chat expiration time and detecting a selection operation applied to the sub-group chat disbanding control, determine the disbanding user identifier corresponding to the selection operation applied to the sub-group chat disbanding control; the third determining unit may be configured to: determine whether the disbanding user identifier meets the conditions for disbanding the sub-group chat user identifier; the second disbanding unit may be configured to: in response to determining that the disbanding user identifier meets the conditions for disbanding the sub-group chat user identifier, disband the sub-group chat.
[0091] Optionally, the first display unit can be further configured to generate a sub-group chat name based on the main group chat message corresponding to the sub-group chat entry control.
[0092] Optionally, the main group chat page mentioned above may correspond to at least one sub-group chat page.
[0093] Optionally, the above device may further include a third display unit configured to: display a group chat list in response to detecting a selection operation performed on the group chat list viewing control, wherein the group chat list displays the main group chat icon corresponding to the main group chat page and the respective sub-group chat icons corresponding to each sub-group chat page of the main group chat page.
[0094] It is understandable that the units described in the device 600 are related to the reference. Figure 4 The steps in the described method correspond accordingly. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 600 and the units contained therein, and will not be repeated here.
[0095] The following is for reference. Figure 7 It illustrates electronic devices suitable for implementing some embodiments of the present disclosure (such as...). Figure 1The diagram shows the structure of the computing device 101) 700. Electronic devices in some embodiments of this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0096] like Figure 7 As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0097] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 7 Each box shown can represent a device or multiple devices as needed.
[0098] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the methods of some embodiments of this disclosure.
[0099] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0100] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0101] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: display a sub-group chat page in response to detecting a selection operation on a sub-group chat entry control displayed on the main group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page; synchronize the sub-group chat message to the main group chat message set corresponding to the main group chat page in response to detecting a sub-group chat message posted by a target user on the sub-group chat page, thereby updating the main group chat message set; and display the updated main group chat message in the main group chat message set on the main group chat page in response to detecting a page switching operation on the main group chat page.
[0102] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0104] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including a first display unit, a synchronization unit, and a second display unit. The names of these units do not necessarily limit the specific unit itself; for example, the second display unit may also be described as "a unit that, in response to detecting a page switching operation acting on the main group chat page, displays the updated main group chat messages in the main group chat message set on the main group chat page."
[0105] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0106] Some embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements any of the group chat message display methods described above.
[0107] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. A method for displaying group chat messages, comprising: In response to detecting a target operation acting on a main group chat message displayed on the main group chat page, at least one message processing control is displayed, wherein the message processing control in the at least one message processing control includes a sub-group chat entry control; In response to detecting a selection operation on the sub-group chat entry control displayed on the main group chat page, determine whether a sub-group chat page exists; if it exists, display the sub-group chat page; if it does not exist, create and display the sub-group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page. In response to detecting a sub-group chat message posted by a target user on the sub-group chat page, and in response to determining that the sub-group chat message is selected by a target authorized user, the sub-group chat message is synchronized to the main group chat message set corresponding to the main group chat page to update the main group chat message set, wherein the target authorized user is the user who decides whether the sub-group chat message is synchronized to the main group chat message set. In response to detecting a page switching operation on the main group chat page, the updated main group chat messages in the main group chat message set are displayed on the main group chat page.
2. The method according to claim 1, wherein, The method further includes: In response to detecting a selection operation performed on the sub-group chat entry control displayed on the main group chat page, the target user identifier corresponding to the selection operation is determined; The target user identifier is added to the sub-group chat user identifier set corresponding to the sub-group chat page to update the sub-group chat user identifier set.
3. The method according to claim 1, wherein, Determining whether a sub-group chat page exists includes: Determine whether a subgroup chat identifier corresponding to the subgroup chat entry control exists; and If it does not exist, create and display a sub-group chat page, including: in response to determining that there is no sub-group chat identifier corresponding to the sub-group chat entry control, create a sub-group chat, wherein the sub-group chat corresponds to a sub-group chat identifier and a sub-group chat page; The sub-group chat page is then displayed.
4. The method according to claim 3, wherein, The sub-group chat page corresponds to sub-group chat association information, which includes the sub-group chat identifier and the main group chat identifier; and The step of synchronizing the sub-group chat messages to the main group chat message set corresponding to the main group chat page, in order to update the main group chat message set, includes: Determine the set of main group chat messages corresponding to the main group chat identifier; The sub-group chat messages are synchronized to the main group chat message set to update the main group chat message set.
5. The method according to claim 4, wherein, The sub-group chat association information also includes the sub-group chat expiration time; and The method further includes: If the current time is greater than or equal to the expiration time of the sub-group chat, the sub-group chat is disbanded.
6. The method according to claim 5, wherein, The method further includes: In response to the current time being less than the expiration time of the sub-group chat, and the detection of a selection operation applied to the sub-group chat disband control, the disbanding user identifier corresponding to the selection operation applied to the sub-group chat disband control is determined; Determine whether the disbanded user identifier meets the conditions for disbanding a subgroup chat user identifier; In response to determining that the disbanded user identifier meets the conditions for disbanding a sub-group chat user identifier, the sub-group chat is disbanded.
7. The method according to claim 3, wherein, The creation of sub-group chats includes: The sub-group chat name is generated based on the main group chat message corresponding to the sub-group chat entry control.
8. The method according to claim 1, wherein, The main group chat page corresponds to at least one sub-group chat page; as well as The method further includes: In response to detecting a selection operation applied to the group chat list view control, the group chat list is displayed, wherein the group chat list displays the main group chat icon corresponding to the main group chat page and the sub-group chat icons corresponding to each sub-group chat page of the main group chat page.
9. A group chat message display device, comprising: The first display unit is configured to, in response to detecting a target operation acting on a main group chat message displayed on the main group chat page, display at least one message processing control, wherein the message processing control among the at least one message processing controls includes a sub-group chat entry control; in response to detecting a selection operation acting on the sub-group chat entry control displayed on the main group chat page, determine whether a sub-group chat page exists; if it exists, display the sub-group chat page; if it does not exist, create and display the sub-group chat page, wherein the number of users corresponding to the sub-group chat page is less than or equal to the number of users corresponding to the main group chat page; A synchronization unit is configured to, in response to detecting a sub-group chat message published by a target user on the sub-group chat page and in response to determining that the sub-group chat message is selected by a target authorized user, synchronize the sub-group chat message to the main group chat message set corresponding to the main group chat page to update the main group chat message set, wherein the target authorized user is the user who decides whether the sub-group chat message is synchronized to the main group chat message set; The second display unit is configured to display the main group chat messages in the updated set of main group chat messages on the main group chat page in response to detecting a page switching operation performed on the main group chat page.
10. An electronic device, comprising: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-8.
11. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1-8.
12. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-8.
Citation Information
Patent Citations
Chat content display method and system
CN111756614A
Group chat processing method and device, storage medium and equipment
CN115378891A