Information interaction method, medium, device and computing equipment

Through the shared virtual space and the mechanism of combining client and server, it solves the problem of inflexibility in usage and timely update of unread message count when the number of chat group members increases, achieving stable and efficient services for ultra-large-scale chat groups, and reducing the cost of Storage costs.

CN115361353BActive Publication Date: 2024-10-25HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210979205.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2024-10-25
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

Existing chat groups are inflexible when the number of members increases, and the timeliness and storage cost of updating unread message counts are high, making it difficult to support stable and efficient services for very large groups.

Method used

Ultra-large chat groups are realized through shared virtual space. The client and server combine mechanisms to transmit messages in real time using long connection channels. The client and server cooperate to update the unread message count, reducing server storage costs.

Benefits of technology

As the number of chat group members continues to increase, it ensures the flexibility of the chat group and real-time access to messages, updates the unread message count in a timely manner, reduces the storage cost of the server, and provides stable and efficient services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361353B_ABST
    Figure CN115361353B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide an information interaction method, medium, device and computing equipment, which relate to the field of instant communication technology. The information interaction method includes: a server receives an interactive message sent by a client, and the interactive message is sent by the client in response to an execution instruction of an interactive message issued by a group member; the server delivers the interactive message to a shared virtual space, and a long connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the long connection channel; different groups share the shared virtual space; when the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier. The present disclosure can ensure the flexibility of the use of the chat group and the real-time nature of the interactive message when the number of members of the chat group continues to increase.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of instant communication technology, and more specifically, the embodiments of the present disclosure relate to an information interaction method, medium, apparatus and computing device. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.

[0003] With the development of the Internet and mobile communications, instant messaging tools are increasingly being used. In instant messaging tools, users with the same hobbies or characteristics can be brought together for group chats by establishing chat groups, so that multiple users can communicate and exchange with each other conveniently and efficiently.

[0004] In the related art, chat groups usually have a fixed upper limit on the number of members, and provide support for a larger number of members for some specific chat groups, such as supporting a number of members of about 10,000. However, when the number of members in a chat group continues to increase, the use of the chat group is not flexible enough. Summary of the invention

[0005] The present disclosure provides an information interaction method, medium, apparatus and computing device to solve the problem that the use of a chat group is not flexible enough when the number of members in the chat group continues to increase.

[0006] In a first aspect of the embodiments of the present disclosure, an information interaction method is provided, which is applied to a server. The information interaction method includes:

[0007] receiving an interactive message sent by a client, the interactive message including a group identifier, the interactive message being sent by the client in response to an execution instruction of the interactive message sent by a group member;

[0008] The interactive message is delivered to the shared virtual space. A long connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the long connection channel. Different groups share the shared virtual space.

[0009] In a possible implementation, the information interaction method also includes: receiving a request message sent by a client for obtaining an initial unread message count of a group, the request message carrying a group identifier of the group and a last read message identifier of the group recorded by the client; obtaining the initial unread message count of the group and a message type corresponding to the initial unread message count based on the last read message identifier and the group identifier, the message types including non-reminder messages, messages for everyone, and messages for individuals; and sending the initial unread message count of the group and the message type corresponding to the initial unread message count to the client.

[0010] In a possible implementation, based on the last read message identifier and the group identifier, an initial unread message count of the group and a message type corresponding to the initial unread message count are obtained, including: for each group, performing the following steps: if the message type is a non-reminder message, then based on the group identifier, a first cached message list corresponding to the non-reminder message is obtained, the first cached message list is used to cache the message identifiers of a recent preset number of non-reminder messages, and the preset number is a preset multiple of the client's external message count; the number of messages in the first cached message list whose message identifiers are greater than the last read message identifier is determined as the initial unread message count; if the message type is a message for everyone, then based on the group identifier, a second cached message list corresponding to the message for everyone is obtained, the second cached message list is used to cache the message identifiers of the messages for everyone; the number of messages in the second cached message list whose message identifiers for the messages for everyone are greater than the last read message identifier is determined as the initial unread message count; if the message type is a personal message, then the number of messages in the memory storing the interactive messages whose message identifiers are greater than the last read message identifier is determined as the initial unread message count.

[0011] In a possible implementation, the information interaction method also includes: receiving an interaction message to be deleted sent by a client, the interaction message to be deleted including a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; deleting the interaction message to be deleted; and sending a notification message of deleting the interaction message to the client, the notification message carrying the group identifier to which the deleted interaction message belongs and the message identifier of the deleted interaction message.

[0012] In a possible implementation, before receiving the interactive message sent by the client, the information interaction method further includes: in response to an execution instruction for configuring user rights for the group, storing the user rights configured for the group to allow group members with the user rights to send interactive messages in the group.

[0013] In a second aspect, an embodiment of the present disclosure provides an information interaction method, which is applied to a client. The information interaction method includes:

[0014] In response to an execution instruction of an interactive message issued by a group member, an interactive message is sent to a server, where the interactive message includes a group identifier;

[0015] When monitoring the interactive message delivered by the server to the shared virtual space, the message content of the interactive message is displayed on the group chat interface corresponding to the group identifier according to the group identifier; a long connection channel is established between the shared virtual space and the client, and different groups share the shared virtual space.

[0016] In a possible implementation, the information interaction method further includes: in response to an execution instruction to display a group list, sending a request message for obtaining an initial unread message count of the group to a server, the request message carrying a group identifier of the group and a last read message identifier of the group recorded by the client; receiving the initial unread message count of the group sent by the server and the message type corresponding to the initial unread message count, the message type including a non-reminder message, a message for everyone, and a message for an individual; and displaying the initial unread message count of the group on a display interface of the group list according to the group identifier and the message type of the group.

[0017] In a possible implementation, after monitoring the interactive message delivered by the server to the shared virtual space, the information interaction method further includes: if the interactive message is not displayed in the group chat interface, then according to the message type of the interactive message, the unread message count of the group corresponding to the interactive message is increased by a preset value; if the interactive message is already displayed in the group chat interface, then the message identifier of the interactive message is used as the last read message identifier.

[0018] In a possible implementation, the information interaction method also includes: in response to an execution instruction to delete an interactive message, sending an interactive message to be deleted to a server, the interactive message to be deleted including a group identifier to which the interactive message to be deleted belongs and a message identifier of the interactive message to be deleted; receiving a notification message of deleting the interactive message sent by the server, the notification message carrying the group identifier to which the deleted interactive message belongs and the message identifier of the deleted interactive message; if the message identifier of the deleted interactive message is less than or equal to the last read message identifier corresponding to the group identifier, maintaining the unread message count of the group identifier; if the message identifier of the deleted interactive message is greater than the last read message identifier corresponding to the group identifier, reducing the unread message count of the group identifier by a preset value.

[0019] In a possible implementation, the information interaction method further includes: monitoring interaction messages sent by other users.

[0020] In a third aspect, an embodiment of the present disclosure provides an information interaction device, which is applied to a server, and the information interaction device includes:

[0021] A receiving module, configured to receive an interactive message sent by a client, wherein the interactive message includes a group identifier and is sent by the client in response to an execution instruction of the interactive message sent by a group member;

[0022] The delivery module is used to deliver the interactive message to the shared virtual space. The shared virtual space and the client establish a long connection channel so that the client can monitor the interactive message in the shared virtual space through the long connection channel. Different groups share the shared virtual space.

[0023] In a possible implementation, the receiving module is also used to: receive a request message sent by the client for obtaining the initial unread message count of the group, the request message carries the group identifier of the group and the last read message identifier of the group recorded by the client; the information interaction device also includes a first processing module, which is used to obtain the initial unread message count of the group and the message type corresponding to the initial unread message count based on the last read message identifier and the group identifier, the message type including non-reminder messages, messages for everyone, and messages for individuals; and send the initial unread message count of the group and the message type corresponding to the initial unread message count to the client.

[0024] In a possible implementation, the first processing module is specifically used to: for each group, perform the following steps: if the message type is a non-reminder message, then according to the group identifier, obtain a first cached message list corresponding to the non-reminder message, the first cached message list is used to cache the message identifiers of a recent preset number of non-reminder messages, and the preset number is a preset multiple of the client's external message count; determine the number of messages in the first cached message list whose message identifiers are greater than the last read message identifier as an initial unread message count; if the message type is a message for everyone, then according to the group identifier, obtain a second cached message list corresponding to the message for everyone, the second cached message list is used to cache the message identifiers of messages for everyone; determine the number of messages in the second cached message list whose message identifiers for messages for everyone are greater than the last read message identifier as the initial unread message count; if the message type is a personal message, determine the number of messages in the memory storing the interactive messages whose message identifiers are greater than the last read message identifier as the initial unread message count.

[0025] In a possible implementation, the receiving module is also used to: receive an interaction message to be deleted sent by the client, the interaction message to be deleted includes a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; the information interaction device also includes a second processing module, used to delete the interaction message to be deleted; and send a notification message of deleting the interaction message to the client, the notification message carries the group identifier to which the deleted interaction message belongs and the message identifier of the deleted interaction message.

[0026] In a possible implementation, the information interaction device further includes a storage module, which is used to store user permissions configured for the group in response to an execution instruction for configuring user permissions for the group before the receiving module receives the interaction message sent by the client, so as to allow group members with user permissions to send interaction messages in the group.

[0027] In a fourth aspect, an embodiment of the present disclosure provides an information interaction device, which is applied to a client, and the information interaction device includes:

[0028] A sending module, configured to send an interactive message to a server in response to an execution instruction of an interactive message sent by a group member, wherein the interactive message includes a group identifier;

[0029] The processing module is used to display the message content of the interactive message on the group chat interface corresponding to the group identifier according to the group identifier when monitoring the interactive message delivered by the server to the shared virtual space; the shared virtual space and the client establish a long connection channel, and different groups share the shared virtual space.

[0030] In a possible implementation, the sending module is also used to: in response to an execution instruction to display a group list, send a request message to the server for obtaining an initial unread message count of the group, the request message carrying a group identifier of the group and a last read message identifier of the group recorded by the client; the information interaction device also includes a receiving module, which is used to receive the initial unread message count of the group sent by the server and the message type corresponding to the initial unread message count, the message type including a non-reminder message, a message for everyone, and a message for an individual; the processing module is also used to display the initial unread message count of the group on the display interface of the group list according to the group identifier and the message type of the group.

[0031] In a possible implementation, the processing module is also used to: after monitoring the interactive message delivered by the server to the shared virtual space, if the interactive message is not displayed in the group chat interface, then according to the message type of the interactive message, increase the unread message count of the group corresponding to the interactive message by a preset value; if the interactive message has been displayed in the group chat interface, then use the message identifier of the interactive message as the last read message identifier.

[0032] In a possible implementation, the sending module is also used to: in response to an execution instruction to delete an interactive message, send the interactive message to be deleted to the server, the interactive message to be deleted includes the group identifier to which the interactive message to be deleted belongs and the message identifier of the interactive message to be deleted; the processing module is also used to receive a notification message of deleting the interactive message sent by the server, the notification message carries the group identifier to which the deleted interactive message belongs and the message identifier of the deleted interactive message; and if the message identifier of the deleted interactive message is less than or equal to the last read message identifier corresponding to the group identifier, maintain the unread message count of the group identifier; if the message identifier of the deleted interactive message is greater than the last read message identifier corresponding to the group identifier, reduce the unread message count of the group identifier by a preset value.

[0033] In a possible implementation manner, the processing module is further configured to: monitor interaction messages sent by other users.

[0034] In a fifth aspect, an embodiment of the present disclosure provides an information interaction system, comprising: a server and a client; the server is used to execute the information interaction method as described in the first aspect of the present disclosure; the client is used to execute the information interaction method as described in the second aspect of the present disclosure.

[0035] In a sixth aspect, an embodiment of the present disclosure provides a computing device, including: a processor, and a memory communicatively connected to the processor;

[0036] Memory stores computer-executable instructions;

[0037] The processor executes the computer-executable instructions stored in the memory to implement the information interaction method as described in the first aspect or the second aspect of the present disclosure.

[0038] In a seventh aspect, an embodiment of the present disclosure provides a storage medium, in which computer program instructions are stored. When the computer program instructions are executed, the information interaction method as described in the first aspect or the second aspect of the present disclosure is implemented.

[0039] In an eighth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the information interaction method as described in the first aspect or the second aspect of the present disclosure.

[0040] The information interaction method, medium, device and computing device provided by the embodiments of the present disclosure deliver the interactive message sent by the client to the shared virtual space through the server, and the shared virtual space establishes a long connection channel with the client, so that when the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier. Since in the present disclosure, different groups share a shared virtual space, and the shared virtual space establishes a long connection channel with the client, for the interactive messages in the same shared virtual space, it can be guaranteed that the interactive messages reach the users in real time. Since the shared virtual space has no fixed upper limit on the number of people, the present disclosure can ensure the flexibility of the use of the chat group and the real-time nature of the interactive message reaching when the number of members of the chat group continues to increase. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0042] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0043] Figure 2 A schematic diagram of signaling interaction of an information interaction method provided in an embodiment of the present disclosure;

[0044] Figure 3 A schematic diagram of a group chat list included in a cloud circle provided in an embodiment of the present disclosure;

[0045] Figure 4 A schematic diagram of delivering interactive messages in a cloud circle provided by an embodiment of the present disclosure;

[0046] Figure 5 A schematic diagram of signaling interaction of an information interaction method provided by another embodiment of the present disclosure;

[0047] Figure 6 A schematic diagram of the structure of an information interaction device provided by an embodiment of the present disclosure;

[0048] Figure 7 A schematic diagram of the structure of an information interaction device provided by another embodiment of the present disclosure;

[0049] Figure 8 A schematic diagram of an information interaction system provided by an embodiment of the present disclosure;

[0050] Fig. 9 A schematic diagram of a storage medium provided in an embodiment of the present disclosure;

[0051] Fig.10 A schematic diagram of the structure of a computing device provided in one embodiment of the present disclosure.

[0052] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0053] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0054] Those skilled in the art know that the embodiments of the present disclosure can be implemented as a system, device, equipment, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software. The data involved in the present disclosure can be data authorized by the user or fully authorized by all parties, and the embodiments / examples of the present disclosure can be combined with each other.

[0055] According to an embodiment of the present disclosure, a method, medium, apparatus and computing device for information interaction are proposed.

[0056] In this article, it is important to understand that the terms involved are:

[0057] Cloud Circle: An interest aggregation scenario within the Cloud Music product. Users can join a Cloud Circle and become members. Multiple groups (i.e. chat groups) can be created under the Cloud Circle for interactive communication between members.

[0058] Group: A chat scenario where multiple users communicate with each other through different types of messages such as text and pictures;

[0059] Unread message count: the difference between the total number of messages in the group and the number of messages read by group members;

[0060] @Count: The number of unread @messages received by group members. @messages include messages to everyone (i.e. @All messages) and messages to individuals (i.e. @Individual messages).

[0061] In addition, any number of elements in the drawings is for illustration and not limitation, and any naming is only for distinction and does not have any limiting meaning.

[0062] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION

[0064] The inventors have found that the chat group products commonly used in the industry are usually provided with a fixed upper limit of the number of people. Even if the members in the chat group are not necessarily online at the same time, they cannot support the existence of super large groups. Support for a large number of members is provided for some specific chat groups, such as the number of members that can be supported is around 10,000. However, in the case of an increasing number of members in the chat group, the chat group is not flexible enough to use because the chat group has a fixed upper limit of the number of people. In addition, the message written for the delivery in the chat group is written as a write diffusion mode, and each chat group member has his own record of messages to be received. The unread message count of the chat group members under the chat group is maintained by the server. After the server delivers the message to the client, the client notifies the server to update the corresponding message status and the unread message count after receiving the read message. However, for super large groups, with the increase in the number of chat group members, on the one hand, it will bring about an increase in the storage cost of the server, and on the other hand, with the increase in the number of chat group members, the timeliness of the unread count update of each chat group member will also bring problems, and it is impossible to provide stable and efficient services.

[0065] Based on the above problems, the present invention provides an information interaction method, medium, device and computing device, which realize ultra-large-scale chat groups by sharing virtual space, breaking through the upper limit of the number of people in traditional chat groups, and can ensure the flexibility of chat group use when the number of members in the chat group continues to increase, and ensure the real-time delivery of messages; and through the combination of client and server mechanisms, the unread message count and @ count of ultra-large-scale chat groups are realized, and the unread message count and @ count can be updated in time, reducing the storage cost of the server, and providing stable and efficient services.

[0066] Application Scenario Overview

[0067] First reference Figure 1 The application scenarios of the solutions provided in the present disclosure are illustrated by examples. Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure, such as Figure 1As shown, in this application scenario, the user enters the cloud circle through the mobile phone 101, and the user is a member of the cloud circle. The mobile phone 101 obtains the group chat list contained in the cloud circle from the server 102 and displays it. The unread message count and @ count are displayed on each group chat in the group chat list. The user enters a group chat in the cloud circle to interact with messages. Specifically, the user sends an interactive message in the group chat interface, and the mobile phone 101 sends the interactive message to the server 102. The server 102 delivers the interactive message to the shared virtual space. When the mobile phone 101 monitors the interactive message delivered by the server 102 to the shared virtual space, it displays the message content of the interactive message on the group chat interface. Among them, there is no upper limit on the number of cloud circle members.

[0068] It should be noted that Figure 1 This is only a schematic diagram of an application scenario provided by the embodiment of the present disclosure. Figure 1 does not limit the equipment included in Figure 1 The positional relationship between the devices in the Figure 1 In the application scenario shown, a data storage device may also be included. The data storage device may be an external memory relative to the server 102 or an internal memory integrated in the server 102 .

[0069] Exemplary Methods

[0070] Combine the following Figure 1 For application scenarios, refer to Figure 2 To describe the information interaction method according to the exemplary embodiment of the present disclosure. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0071] First, the information interaction method is introduced through a specific embodiment.

[0072] Figure 2 The signaling interaction diagram of the information interaction method provided by an embodiment of the present disclosure is shown in FIG. The method of the embodiment of the present disclosure can be applied to a computing device, which can be a server or a server cluster. Figure 2 As shown, the method of the embodiment of the present disclosure includes:

[0073] S201. In response to an execution instruction of an interactive message issued by a group member, the client sends an interactive message to the server, where the interactive message includes a group identifier.

[0074] Correspondingly, the server receives the interaction message sent by the client.

[0075] In the disclosed embodiment, illustratively, a group member, such as a cloud circle member, can enter a group chat in a group chat list included in the cloud circle to interact with messages. Figure 3 A schematic diagram of a group chat list included in a cloud circle provided in an embodiment of the present disclosure, such as Figure 3 As shown, the display form of the group chat list contained in the cloud circle named cloud circle ABC on the client is shown. Under cloud circle ABC, there is a group chat list called discussion group, and the group chat list includes four group chats, group chat 1 to group chat 4. Cloud circle members can enter any of the group chats to interact with messages.

[0076] In this step, after the group member of the group chat sends an interactive message, the client responds to the execution instruction of the interactive message sent by the group member and sends the interactive message to the server. The interactive message includes a group identifier, which is the group chat (Identification, ID), which is used to uniquely identify a group chat (group). It can be understood that each interactive message has a corresponding group identifier. Accordingly, the server receives the interactive message sent by the client.

[0077] S202, the server delivers the interactive message to the shared virtual space. A persistent connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the persistent connection channel. Different groups share the shared virtual space.

[0078] In this step, the shared virtual space is, for example, a real-time chat room. In order to ensure that the interactive messages of different groups can be reached in real time and displayed and reminded in different groups, different groups share the shared virtual space, and the shared virtual space establishes a long connection channel with the client, so different groups share the same long connection channel, which is convenient for the interactive messages to be reached, and can avoid the connection maintenance problem when multiple long connections exist. In addition, there is no fixed upper limit on the number of people in the shared virtual space. Exemplarily, different groups use a real-time chat room to correspond, and for the interactive messages in the same chat room, it can be guaranteed that the interactive messages reach the user in real time. The group itself is abstracted as a business entity, and a mapping relationship is established with the corresponding group through the group identifier. Figure 4 A schematic diagram of delivering interactive messages in a cloud circle provided by an embodiment of the present disclosure, such as Figure 4 As shown, the client establishes a long connection channel with the chat room of the server, and the client monitors the interactive messages in the chat room through the long connection channel. The cloud circle includes groups 1 to n, for example. The client responds to the execution instructions of the interactive messages issued by the group members under different groups and sends the interactive messages to the server. The server stores the interactive messages and delivers the interactive messages to the chat room, that is, delivers the interactive messages to the long connection channel, so that the client can monitor the interactive messages in the chat room through the long connection channel.

[0079] S203: When the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message on the group chat interface corresponding to the group identifier according to the group identifier.

[0080] It can be understood that the interactive message delivered by the server to the shared virtual space includes a group identifier, and the group identifier is used to identify the group to which the interactive message belongs. Therefore, when the client monitors the interactive message delivered by the server to the shared virtual space, it can display the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier.

[0081] The information interaction method provided by the disclosed embodiment delivers the interactive message sent by the client to the shared virtual space through the server, and the shared virtual space establishes a long connection channel with the client, so that when the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier. Since in the disclosed embodiment, different groups share a shared virtual space, and the shared virtual space establishes a long connection channel with the client, for the interactive messages in the same shared virtual space, it can be guaranteed that the interactive messages reach the users in real time. Since the shared virtual space has no fixed upper limit on the number of people, it can ensure the flexibility of the chat group in the case of an increasing number of members in the chat group, and ensure the real-time nature of the interactive message reaching.

[0082] On the basis of the above embodiments, optionally, before the server receives the interactive message sent by the client, the information interaction method provided by the embodiment of the present disclosure may also include: the server responds to the execution instruction of configuring user rights for the group, stores the user rights configured for the group, so as to allow group members with user rights to send interactive messages in the group.

[0083] Exemplarily, cloud circle users are associated and mapped with group users, and all users in the cloud circle are supported to speak in different groups. It also supports configuring exclusive user permissions for different groups, such as only allowing users with corresponding permissions to speak in the corresponding group. The server responds to the execution instruction of configuring user permissions for the group and stores the user permissions configured for the group. In addition, the visibility permissions of interactive messages between different groups can be isolated and handled through additional fields of the interactive messages.

[0084] On the basis of the above embodiments, optionally, the information interaction method provided by the embodiments of the present disclosure may further include: the client monitors interaction messages sent by other users.

[0085] It can be understood that when the client sends an interactive message to the server in response to the execution instruction of the interactive message sent by the current user, it can also monitor the interactive messages sent by other users and display the message content of the interactive messages sent by other users in the group chat interface.

[0086] Figure 5 This is a schematic diagram of signaling interaction of an information interaction method provided by another embodiment of the present disclosure. Based on the above embodiment, the embodiment of the present disclosure further explains how to perform information interaction. Figure 5 As shown, the method of the embodiment of the present disclosure may include:

[0087] S501. In response to an execution instruction for displaying a group list, the client sends a request message for obtaining an initial unread message count of a group to a server. The request message carries a group identifier of the group and a last read message identifier of the group recorded by the client.

[0088] Correspondingly, the server receives a request message sent by the client for obtaining an initial unread message count of the group.

[0089] It can be understood that on the basis of ensuring that interactive messages reach users in real time, it is also necessary to implement unread counts in the user dimension and the basic @ count reminder capability in the chat scenario. Considering the extremely large number of group members in group chat, directly using the server to update the count in count maintenance has problems such as large maintenance data volume and weak real-time count update. Therefore, the counting is considered to be calculated in cooperation between the client and the server. Each time the client opens the group list, it obtains the unread counts corresponding to each existing group from the server, that is, the client responds to the execution instruction to display the group list and sends a request message to the server for obtaining the initial unread message count of the group. The request message carries the group identifier of the group and the last read message identifier of the group recorded by the client. Accordingly, the server receives the request message sent by the client to obtain the initial unread message count of the group.

[0090] S502: The server obtains the initial unread message count of the group and the message type corresponding to the initial unread message count according to the last read message identifier and the group identifier.

[0091] Among them, the message types include non-reminder messages, messages for everyone, and messages for individuals.

[0092] In this step, after receiving the request message sent by the client for obtaining the initial unread message count of the group, the server can obtain the initial unread message count of the group and the message type corresponding to the initial unread message count based on the group identifier of the group carried in the request message and the last read message identifier of the group recorded by the client.

[0093] Further, optionally, the server obtains the initial unread message count of the group and the message type corresponding to the initial unread message count based on the last read message identifier and the group identifier, which may include: for each group, executing the following steps: if the message type is a non-reminder message, then according to the group identifier, obtaining a first cached message list corresponding to the non-reminder message, the first cached message list being used to cache the message identifiers of a recent preset number of non-reminder messages, the preset number being a preset multiple of the client's external message count; determining the number of messages in the first cached message list whose message identifiers are greater than the last read message identifier as the initial unread message count; if the message type is a message for everyone, then according to the group identifier, obtaining a second cached message list corresponding to the message for everyone, the second cached message list being used to cache the message identifiers of the messages for everyone; determining the number of messages in the second cached message list whose message identifiers for the messages for everyone are greater than the last read message identifier as the initial unread message count; if the message type is a personal message, determining the number of messages in the memory storing the interactive messages whose message identifiers are greater than the last read message identifier as the initial unread message count.

[0094] Exemplarily, the server does not maintain the unread count for each user, but maintains a new message list as a whole. Specifically, first, a globally unique and monotonically increasing interactive message ID is generated for each interactive message in the group; the interactive message ID is implemented, for example, by using a self-incrementing ID method based on the primary key of the underlying database. Secondly, while the server stores each interactive message in a database persistently, it maintains an ordered cache of the latest message list of limited length. Taking the message type of non-reminder message as an example, the first cache message list for caching the message identifiers of the most recent preset number of interactive messages is maintained. The preset number (that is, the length of the cache message list) is, for example, 1.5 times the client's explicit message count. Considering that interactive messages have state behaviors such as passive deletion (for example, interactive messages contain sensitive content and need to be deleted), it is necessary to redundantly cache the message list length to avoid the problem of inconsistent message counts.

[0095] In this embodiment, if the message type is a non-reminder message, the server performs calculations based on the first cache message list corresponding to each group, searches for the sorting position of the last read message identifier of the group recorded by the client in the first cache message list, and determines the number of messages in the first cache message list whose message identifier is greater than the last read message identifier as the initial unread message count, that is, the initial unread message count in the current usage cycle is obtained. If the message type is a message for everyone, the server obtains the second cache message list corresponding to the message for everyone based on the group identifier; determines the number of messages in the second cache message list whose message identifier for messages for everyone is greater than the last read message identifier as the initial unread message count; if the message type is a personal message, and the memory storing the interactive messages is, for example, a database, the server performs an offset query through the database based on the group identifier, and determines the number of messages in the memory storing the interactive messages whose message identifier for personal messages is greater than the last read message identifier as the initial unread message count.

[0096] S503: The server sends the initial unread message count of the group and the message type corresponding to the initial unread message count to the client.

[0097] Correspondingly, the client receives the initial unread message count of the group and the message type corresponding to the initial unread message count sent by the server.

[0098] In this step, after obtaining the initial unread message count of the group and the message type corresponding to the initial unread message count, the server can send the initial unread message count of the group and the message type corresponding to the initial unread message count to the client. Correspondingly, the client receives the initial unread message count of the group and the message type corresponding to the initial unread message count sent by the server.

[0099] S504: The client displays the initial unread message count of the group on the display interface of the group list according to the group identifier and message type of the group.

[0100] In this step, after receiving the initial unread message count of the group and the message type corresponding to the initial unread message count sent by the server, the client can display the initial unread message count of interactive messages corresponding to different message types on each group in the display interface of the group list according to the group identifier and message type of the group. For example, the initial unread message count of non-reminder messages, the initial unread message count of messages for all people, and the initial unread message count of personal messages are displayed on a group.

[0101] Further, optionally, after the client monitors the interactive message delivered by the server to the shared virtual space, the information interaction method provided by the embodiment of the present disclosure may also include: if the interactive message is not displayed in the group chat interface, the client increases the unread message count of the group corresponding to the interactive message by a preset value according to the message type of the interactive message; if the interactive message has been displayed in the group chat interface, the client uses the message identifier of the interactive message as the last read message identifier.

[0102] It can be understood that after the client receives each interactive message sent by the server, and the interactive message is locally exposed and displayed (i.e. displayed in the group chat interface), the client needs to use the message ID of the interactive message as the last read message ID, that is, the client locally records the last read message ID of the group. When a new interactive message is sent by the server and is not exposed locally by the client (i.e. not displayed in the group chat interface), the client increases the unread message count of the group corresponding to the interactive message by a preset value according to the message type of the interactive message, that is, the client locally adds the unread count, where the preset value is, for example, 1.

[0103] S505: The client sends an interactive message to the server in response to an execution instruction of the interactive message sent by the group member, where the interactive message includes a group identifier.

[0104] Correspondingly, the server receives the interaction message sent by the client.

[0105] The detailed description of this step can be found in Figure 2 The relevant description of S201 in the illustrated embodiment will not be repeated here.

[0106] S506, the server delivers the interactive message to the shared virtual space. A persistent connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the persistent connection channel. Different groups share the shared virtual space.

[0107] The detailed description of this step can be found in Figure 2 The relevant description of S202 in the illustrated embodiment will not be repeated here.

[0108] S507: When the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message on the group chat interface corresponding to the group identifier according to the group identifier.

[0109] The detailed description of this step can be found in Figure 2 The relevant description of S203 in the illustrated embodiment will not be repeated here.

[0110] S508. In response to the execution instruction of deleting the interactive message, the client sends the interactive message to be deleted to the server. The interactive message to be deleted includes the group identifier to which the interactive message to be deleted belongs and the message identifier of the interactive message to be deleted.

[0111] Correspondingly, the server receives the interaction message to be deleted sent by the client.

[0112] Exemplarily, after a group member deletes an interactive message in the group chat interface, the client sends the interactive message to be deleted to the server in response to an execution instruction to delete the interactive message, and the interactive message to be deleted includes the group identifier to which the interactive message to be deleted belongs and the message identifier of the interactive message to be deleted. Correspondingly, the server receives the interactive message to be deleted sent by the client.

[0113] S509: The server deletes the interaction message to be deleted.

[0114] In this step, the server may delete the interaction message to be deleted from the stored interaction message list according to the group identifier to which the interaction message to be deleted belongs and the message identifier of the interaction message to be deleted.

[0115] S510: The server sends a notification message of deleting an interactive message to the client, where the notification message carries a group identifier to which the deleted interactive message belongs and a message identifier of the deleted interactive message.

[0116] Correspondingly, the client receives a notification message of deleting the interactive message sent by the server.

[0117] In this step, after deleting the interaction message to be deleted, the server sends a notification message of deleting the interaction message to the client, and correspondingly, the client receives the notification message of deleting the interaction message sent by the server.

[0118] S511: If the message ID of the deleted interactive message is less than or equal to the last read message ID corresponding to the group ID, the client maintains the unread message count of the group ID.

[0119] It can be understood that when the client receives the notification message of deleting the interactive message sent by the server, it compares the last read message identifier corresponding to the group identifier with the message identifier of the deleted interactive message. If the message identifier of the deleted interactive message is less than or equal to the last read message identifier corresponding to the group identifier, the client maintains the unread message count of the group identifier, that is, keeps the unread message count.

[0120] S512: If the message ID of the deleted interactive message is greater than the last read message ID corresponding to the group ID, the client reduces the unread message count of the group ID by a preset value.

[0121] In this step, the client compares the last read message identifier corresponding to the group identifier with the message identifier of the deleted interactive message. If the message identifier of the deleted interactive message is greater than the last read message identifier corresponding to the group identifier, the client reduces the unread message count of the group identifier by a preset value, such as 1.

[0122] It should be noted that the embodiment of the present disclosure does not limit the order in which steps S501, S505, and S508 are executed.

[0123] The information interaction method provided in the embodiment of the present disclosure delivers the interactive message sent by the client to the shared virtual space through the server, and a long connection channel is established between the shared virtual space and the client, so that when the client monitors the interactive message delivered by the server to the shared virtual space, the client displays the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier. Since different groups share a shared virtual space in the embodiment of the present disclosure, a long connection channel is established between the shared virtual space and the client, and the shared virtual space has no fixed upper limit on the number of people, it is possible to ensure the flexibility of the use of the chat group and the real-time nature of the interactive message when the number of members of the chat group continues to increase. On this basis, through the combination mechanism of the client and the server, the unread message counts of different message types are realized, and the unread message counts can be updated in time, thereby reducing the storage cost of the server and providing stable and efficient services.

[0124] Exemplary Devices

[0125] After introducing the medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 6 and Figure 7 The information interaction device of the exemplary embodiment of the present disclosure is described. The device of the exemplary embodiment of the present disclosure can implement each process in the aforementioned information interaction method embodiment and achieve the same function and effect.

[0126] Figure 6 This is a schematic diagram of the structure of an information interaction device provided by an embodiment of the present disclosure, which is applied to a server. Figure 6 As shown, the information interaction device 600 of the embodiment of the present disclosure includes: a receiving module 601 and a delivery module 602. Among them:

[0127] The receiving module 601 is used to receive an interaction message sent by a client. The interaction message includes a group identifier. The interaction message is sent by the client in response to an execution instruction of the interaction message sent by a group member.

[0128] The delivery module 602 is used to deliver the interactive message to the shared virtual space. A persistent connection channel is established between the shared virtual space and the client so that the client can monitor the interactive message in the shared virtual space through the persistent connection channel. Different groups share the shared virtual space.

[0129] In a possible implementation, the receiving module 601 can also be used to: receive a request message sent by the client for obtaining the initial unread message count of the group, the request message carries the group identifier of the group and the last read message identifier of the group recorded by the client; the information interaction device also includes a first processing module 603, which is used to obtain the initial unread message count of the group and the message type corresponding to the initial unread message count based on the last read message identifier and the group identifier, the message type including non-reminder messages, messages for everyone, and messages for individuals; and send the initial unread message count of the group and the message type corresponding to the initial unread message count to the client.

[0130] In a possible implementation, the first processing module 603 can be specifically used to: for each group, perform the following steps: if the message type is a non-reminder message, then according to the group identifier, obtain a first cached message list corresponding to the non-reminder message, the first cached message list is used to cache the message identifiers of a recent preset number of non-reminder messages, and the preset number is a preset multiple of the client's external message count; determine the number of messages in the first cached message list whose message identifiers are greater than the last read message identifier as the initial unread message count; if the message type is a message for everyone, then according to the group identifier, obtain a second cached message list corresponding to the message for everyone, the second cached message list is used to cache the message identifiers of messages for everyone; determine the number of messages in the second cached message list whose message identifiers for messages for everyone are greater than the last read message identifier as the initial unread message count; if the message type is a personal message, determine the number of messages in the memory storing the interactive messages whose message identifiers are greater than the last read message identifier as the initial unread message count.

[0131] In a possible implementation, the receiving module 601 can also be used to: receive an interaction message to be deleted sent by the client, the interaction message to be deleted includes a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; the information interaction device also includes a second processing module 604, used to delete the interaction message to be deleted; and send a notification message of deleting the interaction message to the client, the notification message carries the group identifier to which the deleted interaction message belongs and the message identifier of the deleted interaction message.

[0132] In a possible implementation, the information interaction device also includes a storage module 605, which is used to store user permissions configured for the group in response to an execution instruction for configuring user permissions for the group before the receiving module receives the interaction message sent by the client, so as to allow group members with user permissions to send interaction messages in the group.

[0133] The device of the embodiment of the present disclosure can be used to execute the solution of the server in any of the above method embodiments. Its implementation principle and technical effect are similar and will not be repeated here.

[0134] Figure 7 This is a schematic diagram of the structure of an information interaction device provided by another embodiment of the present disclosure, which is applied to a client. Figure 7 As shown, the information interaction device 700 of the embodiment of the present disclosure includes: a sending module 701 and a processing module 702. Among them:

[0135] The sending module 701 is used to send an interactive message to the server in response to an execution instruction of the interactive message sent by a group member, where the interactive message includes a group identifier.

[0136] The processing module 702 is used to display the message content of the interactive message in the group chat interface corresponding to the group identifier according to the group identifier when monitoring the interactive message delivered by the server to the shared virtual space; the shared virtual space and the client establish a long connection channel, and different groups share the shared virtual space.

[0137] In a possible implementation, the sending module 701 can also be used to: in response to an execution instruction to display the group list, send a request message to the server for obtaining the initial unread message count of the group, the request message carries the group identifier of the group and the last read message identifier of the group recorded by the client; the information interaction device also includes a receiving module 703, which is used to receive the initial unread message count of the group sent by the server and the message type corresponding to the initial unread message count, the message type including non-reminder messages, messages for everyone, and messages for individuals; the processing module 702 can also be used to display the initial unread message count of the group on the display interface of the group list according to the group identifier and message type of the group.

[0138] In a possible implementation, the processing module 702 can also be used for: after monitoring the interactive message delivered by the server to the shared virtual space, if the interactive message is not displayed in the group chat interface, then according to the message type of the interactive message, the unread message count of the group corresponding to the interactive message is increased by a preset value; if the interactive message has been displayed in the group chat interface, then the message identifier of the interactive message is used as the last read message identifier.

[0139] In a possible implementation, the sending module 701 can also be used to: in response to an execution instruction to delete an interactive message, send the interactive message to be deleted to the server, the interactive message to be deleted includes the group identifier to which the interactive message to be deleted belongs and the message identifier of the interactive message to be deleted; the processing module 702 is also used to receive a notification message of deleting the interactive message sent by the server, the notification message carries the group identifier to which the deleted interactive message belongs and the message identifier of the deleted interactive message; and if the message identifier of the deleted interactive message is less than or equal to the last read message identifier corresponding to the group identifier, maintain the unread message count of the group identifier; if the message identifier of the deleted interactive message is greater than the last read message identifier corresponding to the group identifier, reduce the unread message count of the group identifier by a preset value.

[0140] In a possible implementation, the processing module 702 may also be used to monitor interactive messages sent by other users.

[0141] The device of the embodiment of the present disclosure can be used to execute the client solution of any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0142] Figure 8 A schematic diagram of an information interaction system provided by an embodiment of the present disclosure, such as Figure 8 As shown, the business processing system 800 includes a server 801 and a client 802, and the server 801 is connected to the client 802 for communication. Figure 6 The structure of the device embodiment, which can be executed accordingly Figure 2 or Figure 5 The technical solution of the embodiment has similar implementation principles and technical effects, which will not be described in detail here. Figure 7 The structure of the device embodiment, which can be executed accordingly Figure 2 or Figure 5 The technical solutions of the embodiments have similar implementation principles and technical effects, which will not be described in detail here.

[0143] Exemplary Media

[0144] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Fig. 9 A storage medium according to an exemplary embodiment of the present disclosure is described.

[0145] Fig. 9 A schematic diagram of a storage medium provided by an embodiment of the present disclosure. Fig. 9As shown, the storage medium 900 stores a program product for implementing the above method according to an embodiment of the present disclosure, which can be a portable compact disk read-only memory (CD-ROM) and includes program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto.

[0146] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0147] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium.

[0148] Program code for performing the disclosed operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN).

[0149] Exemplary Computing Devices

[0150] After introducing the method, medium and apparatus of the exemplary embodiments of the present disclosure, next, reference is made to Fig.10 A computing device according to an exemplary embodiment of the present disclosure is described.

[0151] Fig.10 The computing device 1000 shown is merely an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present disclosure.

[0152] Fig.10 A schematic diagram of a computing device according to an embodiment of the present disclosure is shown in FIG. Fig.10 As shown, the computing device 1000 is in the form of a general computing device. The components of the computing device 1000 may include, but are not limited to: the at least one processing unit 1001, the at least one storage unit 1002, and a bus 1003 connecting different system components (including the processing unit 1001 and the storage unit 1002). Exemplarily, the processing unit 1001 may be specifically a processor, the storage unit 1002 stores computer-executable instructions, and the processing unit 1001 executes the computer-executable instructions stored in the storage unit 1002 to implement the above-mentioned information interaction method.

[0153] The bus 1003 includes a data bus, a control bus, and an address bus.

[0154] The storage unit 1002 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 10021 and / or a cache memory 10022 , and may further include a readable medium in the form of a non-volatile memory, such as a read-only memory (ROM) 10023 .

[0155] The storage unit 1002 may also include a program / utility 10025 having a set (at least one) of program modules 10024, such program modules 10024 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment.

[0156] The computing device 1000 may also communicate with one or more external devices 1004 (e.g., a keyboard, a pointing device, etc.). Such communication may be performed via an input / output (I / O) interface 1005. Furthermore, the computing device 1000 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1006. Fig.10 As shown, the network adapter 1006 communicates with other modules of the computing device 1000 via the bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the computing device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0157] It should be noted that although several units / modules or sub-units / modules of the information interaction device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0158] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0159] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

Claims

1. An information interaction method, applied to a server, comprising: receiving an interaction message sent by a client, the interaction message including a group identifier, the interaction message being sent by the client in response to a group member issuing an execution instruction of the interaction message; Delivering the interactive message to a shared virtual space, wherein a persistent connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the persistent connection channel; Different groups share the same shared virtual space, and there is no fixed upper limit on the number of people in the shared virtual space; Also includes: receiving a request message sent by the client for obtaining an initial unread message count of a group, wherein the request message carries a group identifier of the group and a last read message identifier of the group recorded by the client; According to the last read message identifier and the group identifier, obtaining an initial unread message count of the group and a message type corresponding to the initial unread message count, wherein the message type includes a non-reminder message, a message for everyone, and a message for an individual, and the initial unread message count is the number of messages whose message identifiers are greater than the last read message identifier; Sending an initial unread message count of the group and a message type corresponding to the initial unread message count to the client; The server maintains a new message list as a whole, and does not maintain an unread count for each user.

2. The information interaction method according to claim 1, wherein obtaining the initial unread message count of the group and the message type corresponding to the initial unread message count according to the last read message identifier and the group identifier comprises: For each group, follow these steps: If the message type is a non-reminder message, then according to the group identifier, obtain a first cache message list corresponding to the non-reminder message, the first cache message list is used to cache the message identifiers of a recent preset number of non-reminder messages, and the preset number is a preset multiple of the client external message count; determine the number of messages in the first cache message list whose message identifiers are greater than the last read message identifier as the initial unread message count; If the message type is a message for everyone, obtaining a second cache message list corresponding to the message for everyone according to the group identifier, wherein the second cache message list is used to cache the message identifier of the message for everyone; Determine the number of messages in the second cache message list whose message identifiers are greater than the last read message identifier as the initial unread message count; If the message type is a personal message, the number of messages whose message identifiers of the personal messages in the memory storing the interactive messages are greater than the last read message identifier is determined as the initial unread message count.

3. The information interaction method according to claim 1 or 2, further comprising: receiving an interaction message to be deleted sent by the client, where the interaction message to be deleted includes a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; Deleting the interaction message to be deleted; A notification message of deleting the interactive message is sent to the client, wherein the notification message carries a group identifier to which the deleted interactive message belongs and a message identifier of the deleted interactive message.

4. The information interaction method according to claim 1 or 2, before receiving the interaction message sent by the client, further comprising: In response to an execution instruction for configuring user rights for a group, the user rights configured for the group are stored to allow group members with the user rights to send interactive messages in the group.

5. An information interaction method, applied to a client, the information interaction method comprising: In response to an execution instruction of an interactive message issued by a group member, sending the interactive message to a server, wherein the interactive message includes a group identifier; When monitoring the interactive message delivered by the server to the shared virtual space, displaying the message content of the interactive message on the group chat interface corresponding to the group identifier according to the group identifier; the shared virtual space and the client establish a long connection channel, different groups share the same shared virtual space, and the shared virtual space has no fixed upper limit on the number of people; Also includes: In response to an execution instruction to display a group list, a request message for obtaining an initial unread message count of a group is sent to the server, wherein the request message carries a group identifier of the group and a last read message identifier of the group recorded by the client; Receiving an initial unread message count of the group and a message type corresponding to the initial unread message count sent by the server, wherein the message type includes a non-reminder message, a message for everyone, and a message for an individual, and the initial unread message count is the number of messages whose message identifiers are greater than the last read message identifier; Displaying an initial unread message count of the group on a display interface of the group list according to the group identifier of the group and the message type; The server maintains a new message list as a whole, and does not maintain an unread count for each user.

6. The information interaction method according to claim 5, after monitoring the interaction message delivered by the server to the shared virtual space, further comprising: If the interactive message is not displayed on the group chat interface, the unread message count of the group corresponding to the interactive message is increased by a preset value according to the message type of the interactive message; If the interactive message has been displayed on the group chat interface, the message identifier of the interactive message is used as the last read message identifier.

7. The information interaction method according to claim 5 or 6, further comprising: In response to an execution instruction for deleting an interactive message, sending the interactive message to be deleted to the server, wherein the interactive message to be deleted includes a group identifier to which the interactive message to be deleted belongs and a message identifier of the interactive message to be deleted; receiving a notification message of deleting an interactive message sent by the server, wherein the notification message carries a group identifier to which the deleted interactive message belongs and a message identifier of the deleted interactive message; If the message ID of the deleted interactive message is less than or equal to the last read message ID corresponding to the group ID, then maintaining the unread message count of the group ID; If the message ID of the deleted interactive message is greater than the last read message ID corresponding to the group ID, the unread message count of the group ID is reduced by a preset value.

8. The information interaction method according to claim 5 or 6, further comprising: Listen to interactive messages sent by other users.

9. An information interaction device, applied to a server, the information interaction device comprising: A receiving module, configured to receive an interaction message sent by a client, wherein the interaction message includes a group identifier and is sent by the client in response to a group member issuing an execution instruction for the interaction message; A delivery module is used to deliver the interactive message to a shared virtual space, wherein a persistent connection channel is established between the shared virtual space and the client, so that the client can monitor the interactive message in the shared virtual space through the persistent connection channel; different groups share the same shared virtual space, and the shared virtual space has no fixed upper limit on the number of people; The receiving module is also used for: receiving a request message sent by the client for obtaining an initial unread message count of a group, wherein the request message carries a group identifier of the group and a last read message identifier of the group recorded by the client; The information interaction device further includes a first processing module, configured to obtain, according to the last read message identifier and the group identifier, an initial unread message count of the group and a message type corresponding to the initial unread message count, wherein the message type includes a non-reminder message, a message for everyone, and a message for an individual, and the initial unread message count is the number of messages whose message identifier is greater than the last read message identifier; and send the initial unread message count of the group and the message type corresponding to the initial unread message count to the client; The server maintains a new message list as a whole, and does not maintain an unread count for each user.

10. The information interaction device according to claim 9, wherein the first processing module is specifically configured to: For each group, follow these steps: If the message type is a non-reminder message, then according to the group identifier, obtain a first cache message list corresponding to the non-reminder message, the first cache message list is used to cache the message identifiers of a recent preset number of non-reminder messages, and the preset number is a preset multiple of the client external message count; determine the number of messages in the first cache message list whose message identifiers are greater than the last read message identifier as the initial unread message count; If the message type is a message for everyone, obtaining a second cache message list corresponding to the message for everyone according to the group identifier, wherein the second cache message list is used to cache the message identifier of the message for everyone; Determine the number of messages in the second cache message list whose message identifiers are greater than the last read message identifier as the initial unread message count; If the message type is a personal message, the number of messages whose message identifiers of the personal messages in the memory storing the interactive messages are greater than the last read message identifier is determined as the initial unread message count.

11. The information interaction device according to claim 9 or 10, wherein the receiving module is further configured to: receiving an interaction message to be deleted sent by the client, where the interaction message to be deleted includes a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; The information interaction device further includes a second processing module, configured to delete the interaction message to be deleted; And sending a notification message of deleting the interactive message to the client, the notification message carrying the group identifier to which the deleted interactive message belongs and the message identifier of the deleted interactive message.

12. According to the information interaction device according to claim 9 or 10, the information interaction device also includes a storage module, which is used to store the user permissions configured for the group in response to an execution instruction for configuring user permissions for the group before the receiving module receives the interaction message sent by the client, so as to allow group members with the user permissions to send interaction messages in the group.

13. An information interaction device, applied to a client, the information interaction device comprising: A sending module, configured to send the interactive message to the server in response to an execution instruction of the interactive message sent by a group member, wherein the interactive message includes a group identifier; a processing module, configured to display the message content of the interactive message on a group chat interface corresponding to the group identifier when monitoring the interactive message delivered by the server to the shared virtual space; the shared virtual space and the client have established a long connection channel, different groups share the same shared virtual space, and the shared virtual space has no fixed upper limit on the number of people; The sending module is also used for: In response to an execution instruction to display a group list, a request message for obtaining an initial unread message count of a group is sent to the server, wherein the request message carries a group identifier of the group and a last read message identifier of the group recorded by the client; The information interaction device further includes a receiving module, configured to receive an initial unread message count of the group and a message type corresponding to the initial unread message count sent by the server, wherein the message type includes a non-reminder message, a message for everyone, and a message for an individual, and the initial unread message count is the number of messages whose message identifiers are greater than the last read message identifier; The processing module is further configured to display an initial unread message count of the group on the display interface of the group list according to the group identifier of the group and the message type; The server maintains a new message list as a whole, and does not maintain an unread count for each user.

14. The information interaction device according to claim 13, wherein the processing module is further configured to: After monitoring the interactive message delivered by the server to the shared virtual space, if the interactive message is not displayed on the group chat interface, increasing the unread message count of the group corresponding to the interactive message by a preset value according to the message type of the interactive message; If the interactive message has been displayed on the group chat interface, the message identifier of the interactive message is used as the last read message identifier.

15. The information interaction device according to claim 13 or 14, wherein the sending module is further used to: in response to an execution instruction to delete an interaction message, send the interaction message to be deleted to the server, wherein the interaction message to be deleted includes a group identifier to which the interaction message to be deleted belongs and a message identifier of the interaction message to be deleted; The processing module is further configured to receive a notification message of deleting an interactive message sent by the server, wherein the notification message carries a group identifier to which the deleted interactive message belongs and a message identifier of the deleted interactive message; and if the message identifier of the deleted interactive message is less than or equal to the last read message identifier corresponding to the group identifier, maintaining the unread message count of the group identifier; If the message ID of the deleted interactive message is greater than the last read message ID corresponding to the group ID, the unread message count of the group ID is reduced by a preset value.

16. The information interaction device according to claim 13 or 14, wherein the processing module is further configured to: Listen to interactive messages sent by other users.

17. An information interaction system, comprising: Server and client; The server is used to execute the information interaction method according to any one of claims 1 to 4; The client is used to execute the information interaction method as described in any one of claims 5 to 8.

18. A computing device comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the information interaction method according to any one of claims 1 to 8.

19. A storage medium storing computer program instructions, wherein the computer program instructions, when executed, implement the information interaction method according to any one of claims 1 to 8.

20. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the information interaction method according to any one of claims 1 to 8 is implemented.