WO2023274283A1 - Group chat processing method and system, and electronic device and computer-readable storage medium - Google Patents
Group chat processing method and system, and electronic device and computer-readable storage medium Download PDFInfo
- Publication number
- WO2023274283A1 WO2023274283A1 PCT/CN2022/102221 CN2022102221W WO2023274283A1 WO 2023274283 A1 WO2023274283 A1 WO 2023274283A1 CN 2022102221 W CN2022102221 W CN 2022102221W WO 2023274283 A1 WO2023274283 A1 WO 2023274283A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- group
- derived
- service message
- service
- derived group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Definitions
- Embodiments of the present disclosure relate to but are not limited to the field of Internet technologies, and particularly relate to a group chat processing method and system, electronic equipment, and a computer-readable storage medium.
- the posted group message may only require the attention or reply of certain users. If a temporary new group is re-created and the user needs to re-confirm operations such as joining the group, there are various allocations of temporary group building resources. After the temporary new group is created, the group building resources need to be released, which is cumbersome. But if you communicate directly in the original group, the topic of communication is likely to be submerged soon.
- Embodiments of the present disclosure provide a group chat processing method and system, electronic equipment, and a computer-readable storage medium.
- an embodiment of the present disclosure provides a group chat processing method, including: receiving a first service message sent by a group server through a communication link of the service plane of the group, wherein the first service message includes: a group identification and a derived group operation instruction; performing a derived group operation corresponding to the derived group operation instruction.
- an embodiment of the present disclosure provides a group chat processing method, including: receiving a first service message through a communication link of the service plane of the base group, wherein the first service message includes: a base group identifier and a derived group operation instruction ; When determining that the first service message is a derived group message, sending the first service message to a derived group server through the service plane communication link.
- an embodiment of the present disclosure provides a group chat processing method, including: sending a first service message through the communication link of the service plane of the group, wherein the first service message includes: a group identifier and a derived group operation instruction .
- an embodiment of the present disclosure provides an electronic device, including: at least one processor; a memory, at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any of the above-mentioned A group chat handling method.
- an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above group chat processing methods is implemented.
- an embodiment of the present disclosure provides a group chat processing system, including: a terminal configured to send a first service message through a communication link on the service plane of the group, where the first service message includes: a group identifier and derived group operation instructions; the base group server is configured to: receive the first service message through the service plane communication link of the base group; The communication link sends the first service message to the derived group server; the derived server is configured to: receive the first service message sent by the base group server through the service plane communication link of the base group; perform the derived group operation instruction Corresponding derived group operations.
- the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane.
- it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
- FIG. 1 is a flowchart of a group chat processing method provided by an embodiment of the present disclosure
- FIG. 2 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
- FIG. 3 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
- FIG. 4 is a flowchart of a group chat processing method provided in Example 1 of an embodiment of the present disclosure
- FIG. 5 is a flowchart of a group chat processing method provided by Example 2 of an embodiment of the present disclosure
- FIG. 6 is a flowchart of a group chat processing method provided in Example 3 of an embodiment of the present disclosure.
- FIG. 7 is a flowchart of a group chat processing method provided by Example 4 of an embodiment of the present disclosure.
- FIG. 8 is a flowchart of a group chat processing method provided in Example 5 of an embodiment of the present disclosure.
- FIG. 9 is a flowchart of a group chat processing method provided in Example 6 of an embodiment of the present disclosure.
- FIG. 10 is a flowchart of a group chat processing method provided in Example 7 of an embodiment of the present disclosure.
- FIG. 11 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- FIG. 12 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- FIG. 13 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- Fig. 14 is a block diagram of a group chat processing system provided by another embodiment of the present disclosure.
- the group chat processing method provided by the embodiment of the present disclosure is performed on the basis of an established group.
- base group refers to a group established by traditional group building methods.
- the derived group in the embodiment of the present disclosure refers to a group established on the basis of the basic group by reusing the communication links of the service plane of the basic group. That is, the base group is a large group, and the derived group is a small group of the base group. In this way, when a user needs to create a new topic and the target user is part of the base group, a small group (that is, a derived group) can be created on the basis of the base group, thereby avoiding the new topic from being overwhelmed, and also Spam information of non-derived group users is reduced, and user experience is improved.
- the traditional group building method generally includes: the terminal sends a group chat server (that is, the group server mentioned later) a group chat server (that is, the group server mentioned later) through the control plane link; the group chat server receives the group chat request through the control plane link, and parses out The group users in the group building request return response information to the terminal sending the group building request through the control plane link; return group entry notification information to the terminal corresponding to the group user in the group building request through the control plane link; group chat The server invites other group users to join the group through the control plane link; after the group users agree to join the group, the group chat server creates a business plane communication link for the terminal corresponding to each user; the terminal communicates with the group chat server through the business plane communication link Sending group information; the group chat server sends group information to terminals corresponding to all users through the service plane communication links corresponding to all users.
- Fig. 1 is a flowchart of a group chat processing method provided by an embodiment of the present disclosure.
- an embodiment of the present disclosure provides a group chat processing method, which is applied to a derived group server, and the method includes:
- Step 100 Receive the first service message sent by the group server through the communication link of the service plane of the group, wherein the first service message includes: the group identifier and the derived group operation instruction.
- the derived group server may be co-located with the primary group server, or may be an independent network device.
- the derived group operation instruction may be an instruction for any operation on the derived group, and the specific operation instruction and corresponding processing process are not used to limit the protection scope of the embodiment of the present disclosure.
- the operation on the derived group may be at least one of creating, inviting users to join the derived group, exiting the derived group, withdrawing from the base group, sending group information, and disbanding.
- the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. Derived groups, therefore, exiting the base group can be considered as a special operation of derived groups.
- the service plane communication link is a communication link for transmitting service messages.
- the service plane communication link may be, for example, a Message Session Relay Protocol (MSRP, Message Session Relay Protocol) message link in a Rich Communication Suite (RCS, Rich Communication Suit) system.
- MSRP Message Session Relay Protocol
- RCS Rich Communication Suite
- the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation
- Any information transmitted can be considered as a business message (such as a Session Initiation Protocol (SIP, Session Initiation Protocol) session message in the RCS system), that is to say, it actually uses business messages to transmit some information needed during the operation of the derived group. information.
- SIP Session Initiation Protocol
- the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join
- the third user ID of the derived group the fourth user ID requesting to join the derived group
- the fifth user ID of withdrawing from the derived group the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group
- the ID of the group The ID of the group.
- the identifier of the derived group message is used to identify whether the first service message is a derived group message.
- the information carried in the first service message may be different.
- the first service message when the derived group operation instruction is a derived group creation instruction, the first service message includes: the base group identifier and the derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group ID, the ID of the second user invited to join the derived group, and the ID indicating whether non-derived group users in the base group are allowed to actively join the derived group.
- the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
- the first service message When the derived group operation instruction is an instruction to request to join a derived group, the first service message includes: a base group identifier, an instruction to request to join a derived group, and a fourth user identifier who requests to join a derived group.
- the first service message may further include: a derived group identifier.
- the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
- the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
- the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
- Step 101 perform a derived group operation corresponding to a derived group operation instruction.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- a derived group identifier is generated, and the first corresponding relationship between the base group identifier and the derived group identifier is saved;
- the derived group identifiers of different derived groups created based on the same base group are different.
- the response information is used to indicate whether the derived group is created successfully.
- the second service message further includes: a primary group identifier and a derived group identifier.
- the first service message further includes: a second user ID invited to join the derived group, where the second user ID is part or all of the user IDs in the base group.
- the method After generating the derived group ID, the method also includes:
- the third service message further includes: a primary group identifier and a derived group identifier.
- the second user identifier includes the first user identifier. That is to say, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
- the first correspondence and the second correspondence may be the same correspondence, or may be different correspondences.
- the first correspondence and the second correspondence may be the same correspondence, which means that the correspondence between the base group identifier, the derived group identifier and the user identifier is stored, and the first correspondence and the second correspondence are different correspondences. It means that the first corresponding relationship and the second corresponding relationship are stored separately.
- the method further includes:
- the fourth service message further includes: a primary group identifier and a derived group identifier.
- part or all of the user identifiers of the group included in the fourth service message are user identifiers in the group other than the second user identifier.
- part or all of the user identifiers of the group included in the fourth service message are the second user identifiers.
- the first service message may include an identifier indicating whether non-derived group users in the base group are allowed to actively join the derived group, and according to whether non-derived group users in the base group are allowed to actively join the derived group The flag of determines whether to allow non-derived group users in the primary group to actively join the derived group. If the non-derived group users in the base group are allowed to actively join the derived group, the fourth service message is sent to the base group server through the service plane communication link; if the non-derived group users in the base group are not allowed to actively join the derived group, then no Send the fourth service message to the group server.
- the fourth service message in the case that the first service message includes an identifier indicating that non-derived group users in the base group are allowed to actively join the derived group, send the fourth service message to the base group server through the service plane communication link; If the service message includes an identifier indicating that non-derived group users in the base group are not allowed to actively join the derived group, the fourth service message is not sent.
- the first service message may not include an identifier indicating whether to allow non-derived group users in the base group to actively join the derived group. By default, non-derived group users in the base group are allowed to actively join Join the derived group.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- the first service message further includes: the third user ID and the derived group ID invited to join the derived group, wherein the third user ID is part or part of the base group All User IDs;
- the fifth service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the sixth service message is sent to the primary group server through the communication link of the service plane, wherein the sixth service message includes: notification information of new users joining the group and user identifiers that have joined the derived group.
- the sixth service message further includes: a primary group identifier and a derived group identifier.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- the first service message When it is determined that the derived group operation instruction is an instruction to request to join the derived group, the first service message also includes the fourth user ID requesting to join the derived group and the derived group ID, wherein the fourth user ID is part or all of the base group User ID;
- the seventh service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the sixth service message is sent to the primary group server through the communication link of the service plane, wherein the sixth service message includes: notification information of new users joining the group and user identifiers that have joined the derived group.
- the sixth service message further includes: a primary group identifier and a derived group identifier.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- the first service message further includes: the fifth user identification and the derived group identification for exiting the derived group;
- An eighth service message is sent to the primary group server through the service plane communication link, where the eighth service message includes: notification information for exiting the derived group and the fifth user identifier.
- the eighth service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- the ninth service message sent by the group server through the communication link of the service plane, wherein the ninth service message includes: the group identification, the sixth user identification for exiting the group, and the exit group instruction;
- the tenth service message further includes: a group identifier.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- the first service message further includes: derived group identifier and group information;
- An eleventh service message is sent to the base group server through the service plane communication link, where the eleventh service message includes: a base group identifier, a derived group identifier, and group information.
- performing the derived group operation corresponding to the derived group operation instruction includes:
- the derived group operation instruction is the derived group disbanding instruction or after the preset time for generating the derived group ID, delete the second corresponding relationship between the derived group ID and the user ID in the derived group;
- the twelfth service message includes: the base group ID, the derived group ID, the derived group disbandment information, and the user ID in the derived group.
- the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group
- the interaction between the required building resources and the control plane avoids the flooding of group information due to the huge amount of group information, reduces user spam information, and provides users with a better experience.
- Fig. 2 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
- FIG. 2 another embodiment of the present disclosure provides a group chat processing method, which is applied to a group server, and the method includes:
- Step 200 Receive the first service message sent by the terminal through the communication link of the service plane of the primary group, wherein the first service message includes: the primary group identifier and the derived group operation instruction.
- the group server may be co-located with an instant messaging access server (IM-AS, Instant Messaging Access Server), or may be an independent network device.
- IM-AS Instant Messaging Access Server
- IM-AS Instant Messaging Access Server
- the derived group operation instruction may be an instruction for any operation on the derived group; the operation on the derived group may be creating, inviting users to join the derived group, exiting the derived group, exiting the base group, disbanding, etc. at least one.
- the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. derived group. Therefore, exiting the base group can be regarded as a special operation of the derived group.
- the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation
- Any information transmitted can be regarded as a business message, that is to say, some information needed in the operation process of the derived group is actually transmitted through the business message.
- the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join
- the third user ID of the derived group the fourth user ID requesting to join the derived group
- the fifth user ID of withdrawing from the derived group the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group
- the ID of the group The ID of the group.
- the information carried in the first service message may be different.
- the first service message when the derived group operation instruction is a derived group creation instruction, the first service message includes: a base group identifier, a derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group A second user ID that identifies and invites to join the derived group.
- the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
- the first service message includes: the base group identifier, the request to join the derived group instruction, and the fourth user ID requesting to join the derived group; the first service message may also include: Group ID.
- the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
- the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
- the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
- Step 201 In a case where it is determined that the first service message is a derived group message, send the first service message to the derived group server through a service plane communication link.
- an identifier of a derived group message can be added to the first business message, and it is possible to identify whether the first business message is a derived group message according to the identifier; another example is to use a special character string as the prefix of the derived group operation command, and to operate based on the derived group The prefix of the instruction identifies whether the first service message is a derived group message.
- the group chat server will receive different feedback information and send it to the corresponding terminal.
- the feedback information corresponding to various situations will be introduced below.
- the method further includes:
- the second service message further includes: a primary group identifier and a derived group identifier.
- the response information is used to indicate whether the derived group is created successfully.
- the first service message further includes: an identifier of the first user who creates the derived group.
- the method further includes:
- the step of sending the first service message to the derived group server through the communication link of the service plane is continued.
- this process ends.
- authenticating the first user ID is to judge whether the first user ID has the right to create a derived group. If the first user ID has the right to create a derived group, then the authentication of the first user ID passes; if the first user ID does not have the right to create a derived group, then the authentication of the first user ID fails.
- whether the first user ID has the right to create a derived group can be set by the terminal corresponding to the administrator of the base group, or it can be defaulted that all user IDs in the base group have the right to create a derived group.
- the method when it is determined that the first service message is a derived group message, before sending the first service message to the derived group server through the service plane communication link, the method further includes:
- the method further includes:
- the third service message further includes: a primary group identifier and a derived group identifier.
- the second user identification includes the first user identification, that is, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
- the method further includes:
- the fourth service message sent by the derived group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the base group;
- the fourth service message is sent to terminals corresponding to part or all of the user identifiers of the group through the service plane communication link.
- the fourth service message further includes: a primary group identifier and a derived group identifier.
- part or all of the user identifiers of the group included in the fourth service message sent by the derived group server are user identifiers in the group other than the second user identifier, and part or all of the group Part or all of the user identifiers of the group included in the fourth service message sent by the terminal corresponding to the user identifier are also user identifiers in the group except the second user identifier.
- part or all of the user identifiers of the group included in the fourth service message sent by the derived group server are the second user identifiers
- the fourth service message sent to terminals corresponding to the part or all of the user identifiers of the group Part or all of the user identifiers of the group included in the service message are replaced with user identifiers in the group other than the second user identifier.
- the method further includes:
- the fifth service message sent by the derived group server is received through the service plane communication link, wherein the fifth service message includes: group entry notification information and the third user identification invited to join the derived group, wherein the third user identification is the part or all of the User ID;
- the fifth service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the sixth service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the seventh service message sent by the derived group server through the service plane communication link, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group; wherein the fourth user identification is the part or all of the User ID;
- the seventh service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the sixth service message further includes: a primary group identifier and a derived group identifier.
- the method further includes:
- the eighth service message sent by the derived group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
- the eighth service message further includes: a primary group identifier and a derived group identifier.
- the base group server will not do any process of withdrawing from the group, and the base group server will not be aware of any changes in the information of any derived group users.
- the base group server will not perceive arrive.
- the method further includes:
- the tenth service message sent by the derived group server through the service plane communication link, where the tenth service message includes: exit group notification information and a sixth user identifier;
- the tenth service message further includes: a group identifier.
- a control plane link refers to a communication link used to transmit control information.
- control plane link types in different communication systems may be different, and the specific control plane link types are not used to limit the protection scope of the embodiments of the present disclosure.
- the method further includes:
- the eleventh service message sent by the derived group server through the service plane communication link, where the eleventh service message includes: the primary group identifier, the derived group identifier and group information;
- the method further includes:
- the twelfth service message includes: the base group identifier, the derived group identifier, the derived group disbandment information, and the user identifier in the derived group;
- the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane.
- it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
- Fig. 3 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
- FIG. 3 another embodiment of the present disclosure provides a group chat processing method, which is applied to a terminal, and the method includes:
- Step 300 Send a first service message to the group server through the communication link of the service plane of the group, where the first service message includes: a group identifier and a derived group operation instruction.
- the terminal can send the first service message to the group server through the SIP proxy server.
- the function of the SIP proxy server is similar to that of a router, routing the service message of the terminal to the group server, routed to the terminal.
- the derived group operation instruction may be an instruction for any operation on the derived group, and the operation on the derived group may be creating, inviting users to join the derived group, exiting the derived group, exiting the base group, disbanding, etc. at least one.
- the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. derived group. Therefore, exiting the base group can be regarded as a special operation of the derived group.
- the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation Any information transmitted can be considered a business message. That is to say, in fact, some information required in the operation process of the derived group is transmitted through business messages.
- the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join
- the third user ID of the derived group the fourth user ID requesting to join the derived group
- the fifth user ID of withdrawing from the derived group the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group
- the ID of the group The ID of the group.
- the information carried in the first service message may be different.
- the first service message when the derived group operation instruction is a derived group creation instruction, the first service message includes: a base group identifier, a derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group A second user ID that identifies and invites to join the derived group.
- the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
- the first service message includes: the base group identifier, the request to join the derived group instruction, and the fourth user ID requesting to join the derived group; the first service message may also include: Group ID.
- the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
- the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
- the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
- the terminal will receive different feedback information and perform different processing.
- the feedback information and corresponding processing corresponding to various derived group operations will be introduced below.
- the method after sending the first service message through the service plane communication link of the group, the method further includes:
- the base group server receiving a second service message sent by the base group server through the service plane communication link, wherein the second service message includes: response information and the first user identifier for creating the derived group;
- the response information is used to indicate whether the derived group is created successfully.
- a new group chat page is opened as the derived group page;
- the response information is used to indicate that the derived group has failed to be created, the user is prompted that the derived group has failed to be created.
- the second service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- the third service message further includes: a primary group identifier and a derived group identifier.
- the second user identifier includes the first user identifier. That is to say, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
- the method also includes:
- the fourth service message further includes: a primary group identifier and a derived group identifier.
- the user can request to join the derived group by clicking the invitation to join the derived group information.
- part or all of the user identifiers of the group included in the fourth service message are user identifiers in the group other than the second user identifier.
- the method also includes:
- the fifth service message sent by the base group server is received through the communication link of the service plane, wherein the fifth service message includes: group entry notification information and a third user ID invited to join the derived group, wherein the third user ID is a member of the base group part or all of the User ID;
- the fifth service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- the notification information of the new user joining the group is displayed on the derived group page.
- the sixth service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- the seventh service message sent by the base group server is received through the communication link of the service plane, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group, wherein the fourth user identification is in the base group part or all of the User ID;
- the seventh service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- the sixth service message sent by the base group server through the service plane communication link, where the sixth service message includes: notification information of new user joining the group and user identifiers that have joined the derived group;
- the notification information of the new user joining the group is displayed on the derived group page.
- the method also includes:
- the eighth service message sent by the base group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
- the eighth service message further includes: a primary group identifier and a derived group identifier.
- the method also includes:
- exit group request includes: the sixth user identification and the group identification of the exit group;
- the tenth service message further includes: a group identifier.
- the method also includes:
- the eleventh service message includes: a base group identifier, a derived group identifier, and group information;
- the group information is displayed on the derived group page.
- the identifier of the derived group message is added to the tenth service message, and whether the group information is derived group information is identified according to the identifier, or whether the group information is derived group information can also be determined according to whether the derived group identifier is included in the tenth service message. Specifically, if the tenth service message includes the derived group identifier, determine that the group information is the derived group information; if the tenth service message does not include the derived group identifier, determine that the group information is the primary group information.
- the method also includes:
- the twelfth service message sent by the base group server through the communication link of the service plane, wherein the twelfth service message includes: the base group ID, the derived group ID, the derived group disbandment information, and the user ID in the derived group;
- Exit from the derived group page and display the information about the dissolution of the derived group.
- the terminals receiving the second service message to the twelfth service message may be the same terminal or different terminals.
- the terminal receiving the second service message is not the same terminal as the terminal receiving the third service message. This is because the user who created the spinoff and the user who was invited to join the spinoff are not the same user.
- receiving the second service message to the twelfth service message is considered to be the function of the terminal, because the terminal may play different roles for different derived groups, for example, the user who creates the derived group is invited to join the derived group users of a group, users who request to join a derived group, and so on. But these are functions included in the terminal.
- the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane.
- it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
- the following examples illustrate the process of creating a derived group, inviting users to join the derived group, exiting the derived group, exiting the base group, transmitting group information, and disbanding the derived group. It is only for convenience of description, and is not intended to limit the protection scope of the embodiments of the present disclosure.
- Step 400 terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the instruction for creating the derived group, and the creation of the derived group The first user ID of and the second user ID invited to join the derived group.
- Step 401 the SIP proxy server sends the first service message to the group server.
- Step 402 the base group server determines that the first service message is a derived group message according to the identifier of the derived group message, and authenticates the first user ID, and executes step 403 if the authentication of the first user ID passes; If the authentication of the second user ID fails, this process ends.
- Step 403 the primary group server sends the first service message to the derived group server through the service plane communication link.
- Step 404 the derived group server generates a derived group ID, saves the first corresponding relationship between the base group ID and the derived group ID, and saves the second corresponding relationship between the derived group ID and the second user ID;
- Sending a second service message to the base group server wherein the second service message includes: response information, a base group ID, a derived group ID, and a first user ID; sending a third service message to the base group server through a service plane communication link, wherein, the third service message includes: group entry notification information, the primary group identifier, the derived group identifier and the second user identifier;
- the fourth service message is sent to the primary group server through the service plane communication link, wherein the fourth service message includes: invitation to join derived group information, base group ID, derived group ID and user IDs in the base group except the second user ID.
- Step 405 the group server sends the second service message to the SIP proxy server, sends the third service message to the SIP proxy server, and sends the fourth service message to the SIP proxy server.
- the SIP proxy servers to which different terminals belong may be the same or different.
- the group server sends a service message to the SIP proxy server, it sends the service message to the corresponding SIP proxy according to the service channel corresponding to the user ID receiving the service message server.
- Step 406 the SIP proxy server sends the second service message to terminal 1 , the third service message to terminal 2 , and the fourth service message to terminal 3 .
- terminal 2 is a terminal corresponding to the second user identifier
- terminal 3 is a terminal corresponding to user identifiers other than the second user identifier in the group included in the fourth service message.
- Step 407 terminal 1 opens a new group chat page as a derived group page, and displays group joining notification information on the derived group page.
- Step 408 terminal 2 opens a new group chat page as a derived group page, and displays group joining notification information on the derived group page.
- step 409 the terminal 3 displays the invitation to join the derived group information on the primary group page.
- This example describes the process of inviting users to join a derived group after the derived group is created, as shown in Figure 5, including:
- Step 500 terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, the invitation to join the derived group Instructions for identifying the third user and inviting to join the derived group.
- Step 501 the SIP proxy server sends the first service message to the group server.
- Step 502 the base group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
- Step 503 when it is determined that the derived group operation instruction is an instruction to invite to join the derived group, the derived group server saves the second corresponding relationship between the derived group ID and the third user ID;
- the fifth service message wherein the fifth service message includes: group entry notification information, the primary group identifier, the derived group identifier and the third user identifier;
- the sixth service message is sent to the primary group server through the communication link of the service plane, wherein the first The six service messages include: notification information of new users joining the group, basic group ID, derived group ID, and user IDs that have joined the derived group.
- Step 504 the group server sends the fifth service message to the SIP proxy server through the service plane communication link, and sends the sixth service message to the SIP proxy server through the service plane communication link.
- Step 505 the SIP proxy server sends the fifth service message to the terminal 4 corresponding to the third user identifier through the service plane communication link, and sends the sixth service message to the terminal 5 corresponding to the user identifier that has joined the derived group through the service plane communication link .
- Step 506 the terminal 4 opens a new group chat page as a derived group page; and displays group joining notification information on the derived group page.
- Step 507 the terminal 5 displays the notification information of the new user joining the group on the derived group page.
- This example describes the process of a user requesting to join a derived group after the derived group is created, as shown in Figure 6, including:
- Step 600 terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, and the request to join the derived group
- the fourth user ID of requests to join the derivative group instruction.
- Step 601 the SIP proxy server sends the first service message to the group server.
- Step 602 The base group server determines that the first service message is a derived group message according to the identifier of the derived group message, and sends the first service message to the derived group server through the communication link of the service plane.
- Step 603 when it is determined that the derived group operation instruction is an instruction to request to join the derived group, the derived group server saves the second corresponding relationship between the derived group ID and the fourth user ID; and sends it to the base group server through the service plane communication link
- a seventh service message wherein the seventh service message includes: group entry notification information, a primary group identifier, a derived group identifier, and a fourth user identifier; the sixth service message is sent to the primary group server through a service plane communication link, wherein the first The six service messages include: notification information of new users joining the group, basic group ID, derived group ID, and user IDs that have joined the derived group.
- Step 604 the group server sends the seventh service message to the SIP proxy server through the service plane communication link, and sends the sixth service message to the SIP proxy server through the service plane communication link.
- Step 605 the SIP proxy server sends the seventh service message to the terminal 1 corresponding to the fourth user identifier through the service plane communication link, and sends the sixth service message to the terminal 5 corresponding to the user identifier that has joined the derived group through the service plane communication link .
- Step 606 terminal 1 opens a new group chat page as a derived group page; and displays group joining notification information on the derived group page.
- Step 607 the terminal 5 displays the notification information of the new user joining the group on the derived group page.
- This example describes the process of exiting a derived group after a user joins the derived group, as shown in Figure 7, including:
- Step 700 terminal 1 sends a first service message to the SIP proxy server through the communication link of the service plane of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, the exit from the derived group Fifth user identification, exit derived group instruction.
- Step 701 the SIP proxy server sends the first service message to the group server.
- Step 702 The primary group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
- Step 703 When it is determined that the derived group operation instruction is an instruction to exit the derived group, the derived group server deletes the second corresponding relationship between the derived group ID and the fifth user ID; Eight service messages, wherein the eighth service message includes: notification information for exiting a derived group, a base group identifier, a derived group identifier, and a fifth user identifier.
- Step 704 the group server sends the eighth service message to the SIP proxy server through the service plane communication link.
- Step 705 the SIP proxy server sends the eighth service message to the terminal 1 corresponding to the fifth user identifier through the service plane communication link.
- Step 706 terminal 1 exits from the derived group page.
- This example describes the process of exiting the primary group after the user joins the derived group, as shown in Figure 8, including:
- step 800 the terminal 1 sends a group exit request to the SIP proxy server through the group control plane link; wherein, the group exit request includes: the sixth user ID and the group ID of the group exit group.
- Step 801 the SIP proxy server sends a group exit request to the group server.
- Step 802 the base group server deletes the third corresponding relationship between the base group ID and the sixth user ID; sends the ninth service message to the derived group server through the service plane communication link, wherein the ninth service message includes: the base group ID , the sixth user identification and an instruction to exit the group.
- Step 803 the derived group server deletes the second corresponding relationship between the sixth user ID and the derived group ID; sends a tenth service message to the base group server through the service plane communication link, wherein the tenth service message includes: exit the base group The notification information, the group ID and the sixth user ID.
- Step 804 the group server sends the tenth service message to the SIP proxy server through the control plane link.
- Step 805 the SIP proxy server sends the tenth service message to the terminal 1 through the communication link of the service plane.
- Step 806 terminal 1 exits from the base group page and derived group page.
- This example describes the process of sending group information in the derived group after the user joins the derived group, as shown in Figure 9, including:
- Step 900 Terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, group information, the derived group Group information transmission command.
- Step 901 the SIP proxy server sends the first service message to the group server.
- the primary group server determines that the first service message is a derived group message according to the identifier of the derived group message, and sends the first service message to the derived group server through the service plane communication link.
- Step 903 When it is determined that the derived group operation instruction is a derived group information transmission instruction, the derived group server sends an eleventh service message to the base group server through the service plane communication link, wherein the eleventh service message includes: base group ID, derived group ID, group information.
- Step 904 the group server sends the eleventh service message to the SIP proxy server through the service plane communication link.
- Step 905 the SIP proxy server sends the eleventh service message to the terminal 5 through the communication link of the service plane.
- the terminal 5 is the terminal corresponding to the user identifier in the derived group.
- Step 906 the terminal 5 displays group information on the derived group page.
- This example describes the process of a user disbanding a derived group, as shown in Figure 10, including:
- Step 1000 terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, group information, the derived Group disband command.
- Step 1001 the SIP proxy server sends the first service message to the group server.
- Step 1002 the base group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
- Step 1003 when it is determined that the derived group operation instruction is a derived group disbanding instruction, the derived group server deletes the second corresponding relationship between the derived group ID and the user ID in the derived group;
- a twelfth service message is sent, wherein the twelfth service message includes: a basic group identifier, a derived group identifier, information about the dissolution of the derived group, and user identifiers in the derived group.
- Step 1004 the group server sends the twelfth service message to the SIP proxy server through the service plane communication link.
- Step 1005 the SIP proxy server sends the twelfth service message to the terminal 5 through the communication link of the service plane.
- the terminal 5 is the terminal corresponding to the user identifier in the derived group.
- Step 1006 the terminal 5 exits from the derived group page, and displays the information about the dissolution of the derived group.
- an electronic device including:
- a memory at least one program is stored in the memory, and when the at least one program is executed by at least one processor, any one of the above group chat processing methods is realized.
- the processor is a device with data processing capability, which includes but not limited to central processing unit (CPU), etc.
- the memory is a device with data storage capability, which includes but not limited to random access memory (RAM, more specifically SDRAM , DDR, etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH).
- RAM random access memory
- ROM read-only memory
- EEPROM charged erasable programmable read-only memory
- FLASH flash memory
- the processor and the memory are connected to each other through a bus, and further connected to other components of the computing device.
- another embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above group chat processing methods is implemented.
- Fig. 11 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- a group chat processing device (such as a derived server), including:
- the first receiving module 1101 is configured to receive the first service message sent by the group server through the communication link of the service plane of the group, where the first service message includes: a group identifier and a derived group operation instruction;
- the first group operation module 1102 is configured to perform a derived group operation corresponding to the derived group operation instruction.
- the first group operation module 1102 is specifically configured to:
- a derived group identifier is generated, and the first corresponding relationship between the base group identifier and the derived group identifier is saved;
- the first service message further includes: a second user ID inviting to join the derived group, where the second user ID is part or all of the user IDs in the base group;
- the first group of operations module 1102 is also configured to:
- the first group operation module 1102 is further configured to:
- the first group operation module 1102 is specifically configured to:
- the first service message further includes: the third user ID and the derived group ID invited to join the derived group, wherein the third user ID is part or part of the base group All User IDs;
- the first group operation module 1102 is further configured to:
- the first group operation module 1102 is specifically configured to:
- the first service message When it is determined that the derived group operation instruction is an instruction to request to join the derived group, the first service message also includes the fourth user ID requesting to join the derived group and the derived group ID, wherein the fourth user ID is part or all of the base group User ID;
- the first group operation module 1102 is specifically configured to:
- the first service message further includes: the fifth user identification and the derived group identification for exiting the derived group;
- An eighth service message is sent to the primary group server through the service plane communication link, where the eighth service message includes: notification information for exiting the derived group and the fifth user identifier.
- the first group operation module 1102 is further configured to:
- the ninth service message sent by the group server through the communication link of the service plane, wherein the ninth service message includes: the group identification, the sixth user identification for exiting the group, and the exit group instruction;
- Fig. 12 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- a group chat processing device such as a group server
- a group chat processing device including:
- the second receiving module 1201 is configured to receive the first service message sent by the terminal through the service plane communication link of the base group, where the first service message includes: the base group identifier and the derived group operation instruction;
- the second group operation module 1202 is configured to, when it is determined that the first service message is a derived group message, send the first service message to the derived group server through the service plane communication link.
- the second receiving module 1201 is further configured to:
- the second group operation module 1202 is also configured to:
- the first service message further includes: the first user identifier for creating the derived group;
- the second group operation module 1202 is also configured to:
- the operation of sending the first service message to the derived group server through the communication link of the service plane is continued.
- the second group operation module 1202 is further configured to:
- the second receiving module 1201 is further configured to:
- the third service message sent by the derived group server through the service plane communication link, wherein the third service message includes: group entry notification information and the second user identification invited to join the derived group;
- the second group operation module 1202 is also configured to:
- the second receiving module 1201 is further configured to:
- the fourth service message sent by the derived group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the base group;
- the second group operation module 1202 is also configured to:
- the fourth service message is sent to terminals corresponding to part or all of the user identifiers of the group through the service plane communication link.
- the second receiving module 1201 is further configured to:
- the fifth service message sent by the derived group server is received through the service plane communication link, wherein the fifth service message includes: group entry notification information and the third user identification invited to join the derived group, wherein the third user identification is the part or all of the User ID;
- the second group operation module 1202 is also configured to:
- the second receiving module 1201 is further configured to:
- the sixth service message includes: notification information of new users entering the group and user identifiers that have joined the derived group;
- the second group operation module 1202 is also configured to:
- the second receiving module 1201 is further configured to:
- the seventh service message sent by the derived group server is received through the service plane communication link, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group, wherein the fourth user identification is the part or all of the User ID;
- the second group operation module 1202 is also configured to:
- the second receiving module 1201 is further configured to:
- the eighth service message sent by the derived group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
- the second group operation module 1202 is also configured to:
- the second receiving module 1201 is further configured to:
- the second group operation module 1202 is also configured to:
- the tenth service message sent by the derived group server through the service plane communication link, where the tenth service message includes: exit group notification information and a sixth user identifier;
- Fig. 13 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
- a group chat processing device (such as a terminal), including:
- the sending module 1301 is configured to send a first service message to the group server through the communication link of the service plane of the group, where the first service message includes: a group identifier and a derived group operation instruction.
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the second service message sent by the group server through the service plane communication link, where the second service message includes: response information and the first user identifier for creating the derived group;
- the group processing module 1303 is configured to open a new group chat page as a derived group page.
- the third receiving module 1302 is further configured to:
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the fourth service message sent by the group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the group;
- the group processing module 1303 is configured to display the information of inviting to join the derived group on the base group page or pop up a dialog box, and display the information of inviting to join the derived group on the dialog box.
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the fifth service message sent by the base group server through the service plane communication link, wherein the fifth service message includes: group entry notification information and a third user ID invited to join the derived group, wherein , the third user ID is part or all of the user IDs in the base group;
- the group processing module 1303 is configured to:
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the sixth service message sent by the group server through the service plane communication link, where the sixth service message includes: new user joining group notification information and already joined the user ID of the group;
- the group processing module 1303 is configured to display the notification information of the new user joining the group on the derived group page.
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the seventh service message sent by the base group server through the service plane communication link, wherein the sixth service message includes: group entry notification information and a fourth user identifier requesting to join the derived group, wherein , the fourth user ID is part or all of the user IDs in the base group;
- the group processing module 1303 is configured to:
- the group chat processing device further includes:
- the third receiving module 1302 is configured to receive the eighth service message sent by the base group server through the service plane communication link, where the eighth service message includes: notification information for exiting the derived group and a fifth user identifier for exiting the derived group;
- the group processing module 1303 is configured to exit from the derived group page.
- the sending module 1301 is further configured to:
- exit group request includes: the sixth user identification and the group identification of the exit group;
- the group chat processing device also includes:
- the third receiving module 1302 is configured to receive the tenth service message sent by the group server through the control plane link, where the tenth service message includes: exit group notification information and a sixth user identifier;
- the group processing module 1303 is configured to exit from the base group page and the derived group page.
- Fig. 14 is a block diagram of a group chat processing system provided by another embodiment of the present disclosure.
- FIG. 14 another embodiment of the present disclosure provides a group chat processing system, including:
- the terminal 1401 is configured to send a first service message through a service plane communication link of the base group, where the first service message includes: a base group identifier and a derived group operation instruction;
- the base group server 1402 is configured to: receive the first service message through the service plane communication link of the base group; and send the first service message through the service plane communication link when it is determined that the first service message is a derived group message to the derived group server;
- the derivation server 1403 is configured to: receive the first service message sent by the base group server through the service plane communication link of the base group; and perform the derivation group operation corresponding to the derivation group operation instruction.
- the base group server 1402 and the derived group server 1403 are the same server or different servers.
- the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
- the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
- Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
- Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
- computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage, or may be used Any other medium that stores desired information and can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
相关申请的交叉引用Cross References to Related Applications
本公开要求在2021年7月2日提交国家知识产权局、申请号为202110748568.1、发明名称为“群聊处理方法和系统、电子设备、计算机可读存储介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on July 2, 2021, with the application number 202110748568.1, and the title of the invention is "group chat processing method and system, electronic equipment, and computer-readable storage medium". The entire content of the application is incorporated by reference in this disclosure.
本公开实施例涉及但不限于互联网技术领域,特别涉及群聊处理方法和系统、电子设备、计算机可读存储介质。Embodiments of the present disclosure relate to but are not limited to the field of Internet technologies, and particularly relate to a group chat processing method and system, electronic equipment, and a computer-readable storage medium.
随着互联网技术的快速发展,即时聊天软件已经成为了用户日常生活中不可或缺的社交工具。几乎每个用户的即时聊天软件中都存在各种各样的群聊。虽然方便了沟通,但也存在如下问题:With the rapid development of Internet technology, instant messaging software has become an indispensable social tool in users' daily life. There are various group chats in almost every user's instant messaging software. Although the communication is convenient, there are also the following problems:
(1)由于群组成员众多,群组话题也会随时变化。群组内的消息繁杂并且消息众多。不同的用户对不同话题的关注度不同。但是由于都在同一个群组中,所以对于单个用户来说,会有许多垃圾信息,而一些关键信息又可能被其他信息所淹没。(1) Due to the large number of members in the group, the topic of the group will change at any time. The messages in the group are complicated and there are many messages. Different users pay different attention to different topics. But because they are all in the same group, there will be a lot of spam information for a single user, and some key information may be overwhelmed by other information.
(2)有时,发布的群消息可能只需要确定的某些用户关注或者回复。如果因此重新创建一个临时的新群又需要用户重新确认入群等操作,存在各种的临时建群资源的分配,临时新群创建后还需要释放建群资源,比较繁琐。但是如果直接在原来的群沟通,则沟通的话题很有可能很快被淹没。(2) Sometimes, the posted group message may only require the attention or reply of certain users. If a temporary new group is re-created and the user needs to re-confirm operations such as joining the group, there are various allocations of temporary group building resources. After the temporary new group is created, the group building resources need to be released, which is cumbersome. But if you communicate directly in the original group, the topic of communication is likely to be submerged soon.
(3)对于运营商而言,需要为群里所有用户单独创建通信链路。当单个用户归属的群组增加时,运营商需要为用户提供的通信链路资源也呈线性增加。(3) For the operator, it is necessary to separately create communication links for all users in the group. When the group to which a single user belongs increases, the communication link resources that the operator needs to provide for the user also increase linearly.
发明内容Contents of the invention
本公开实施例提供一种群聊处理方法和系统、电子设备、计算机可读存储介质。Embodiments of the present disclosure provide a group chat processing method and system, electronic equipment, and a computer-readable storage medium.
第一方面,本公开实施例提供一种群聊处理方法,包括:通过基群的业务面通信链路接收基群服务器发送的第一业务消息,其中,所述第一业务消息包括:基群标识和派生群操作指令;进行所述派生群操作指令对应的派生群操作。In a first aspect, an embodiment of the present disclosure provides a group chat processing method, including: receiving a first service message sent by a group server through a communication link of the service plane of the group, wherein the first service message includes: a group identification and a derived group operation instruction; performing a derived group operation corresponding to the derived group operation instruction.
第二方面,本公开实施例提供一种群聊处理方法,包括:通过基群的业务面通信链路接收第一业务消息,其中,所述第一业务消息包括:基群标识和派生群操作指令;在确定所述第一业务消息为派生群消息的情况下,通过所述业务面通信链路将所述第一业务消息发送给派生群服务器。In a second aspect, an embodiment of the present disclosure provides a group chat processing method, including: receiving a first service message through a communication link of the service plane of the base group, wherein the first service message includes: a base group identifier and a derived group operation instruction ; When determining that the first service message is a derived group message, sending the first service message to a derived group server through the service plane communication link.
第三方面,本公开实施例提供一种群聊处理方法,包括:通过基群的业务面通信链路发送第一业务消息,其中,所述第一业务消息包括:基群标识和派生群操作指令。In a third aspect, an embodiment of the present disclosure provides a group chat processing method, including: sending a first service message through the communication link of the service plane of the group, wherein the first service message includes: a group identifier and a derived group operation instruction .
第四方面,本公开实施例提供一种电子设备,包括:至少一个处理器;存储器,存储器上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,实现上述任意一种群聊处理方法。In a fourth aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; a memory, at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any of the above-mentioned A group chat handling method.
第五方面,本公开实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一种群聊处理方法。In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above group chat processing methods is implemented.
第六方面,本公开实施例提供一种群聊处理系统,包括:终端,被配置成通过基群的业务面通信链路发送第一业务消息,其中,所述第一业务消息包括:基群标识和派生群操作指令;基群服务器,被配置成:通过基群的业务面通信链路接收第一业务消息;在确定所述第一业务消息为派生群消息的情况下,通过所述业务面通信链路将所述第一业务消息发送给派生群服务器;派生服务器,被配置成:通过基群的业务面通信链路接收基群服务器发送的第一业务消息;进行所述派生群操作指令对应的派生群操作。In a sixth aspect, an embodiment of the present disclosure provides a group chat processing system, including: a terminal configured to send a first service message through a communication link on the service plane of the group, where the first service message includes: a group identifier and derived group operation instructions; the base group server is configured to: receive the first service message through the service plane communication link of the base group; The communication link sends the first service message to the derived group server; the derived server is configured to: receive the first service message sent by the base group server through the service plane communication link of the base group; perform the derived group operation instruction Corresponding derived group operations.
根据本公开实施例提供的群聊处理方法,在基群的基础上,通过复用基群的业务面通信链路实现了派生群的操作,而不需要建立新群,节省了建立新群所需要的建群资源和控制面的交互。同时,还可以避免由于群信息数量巨大导致群信息被淹没,减少了用户的垃圾信息,为用户提供了更好的体验。According to the group chat processing method provided by the embodiment of the present disclosure, on the basis of the basic group, the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane. At the same time, it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
图1为本公开一个实施例提供的群聊处理方法的流程图;FIG. 1 is a flowchart of a group chat processing method provided by an embodiment of the present disclosure;
图2为本公开另一个实施例提供的群聊处理方法的流程图;FIG. 2 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure;
图3为本公开另一个实施例提供的群聊处理方法的流程图;FIG. 3 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure;
图4为本公开实施例的示例1提供的群聊处理方法的流程图;FIG. 4 is a flowchart of a group chat processing method provided in Example 1 of an embodiment of the present disclosure;
图5为本公开实施例的示例2提供的群聊处理方法的流程图;FIG. 5 is a flowchart of a group chat processing method provided by Example 2 of an embodiment of the present disclosure;
图6为本公开实施例的示例3提供的群聊处理方法的流程图;FIG. 6 is a flowchart of a group chat processing method provided in Example 3 of an embodiment of the present disclosure;
图7为本公开实施例的示例4提供的群聊处理方法的流程图;FIG. 7 is a flowchart of a group chat processing method provided by Example 4 of an embodiment of the present disclosure;
图8为本公开实施例的示例5提供的群聊处理方法的流程图;FIG. 8 is a flowchart of a group chat processing method provided in Example 5 of an embodiment of the present disclosure;
图9为本公开实施例的示例6提供的群聊处理方法的流程图;FIG. 9 is a flowchart of a group chat processing method provided in Example 6 of an embodiment of the present disclosure;
图10为本公开实施例的示例7提供的群聊处理方法的流程图;FIG. 10 is a flowchart of a group chat processing method provided in Example 7 of an embodiment of the present disclosure;
图11为本公开另一个实施例提供的群聊处理装置的组成框图;FIG. 11 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure;
图12为本公开另一个实施例提供的群聊处理装置的组成框图;FIG. 12 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure;
图13为本公开另一个实施例提供的群聊处理装置的组成框图;以及FIG. 13 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure; and
图14为本公开另一个实施例提供的群聊处理系统的组成框图。Fig. 14 is a block diagram of a group chat processing system provided by another embodiment of the present disclosure.
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的群聊处理方法和系统、电子设备、计算机可读存储介质进行详细描述。In order for those skilled in the art to better understand the technical solutions of the present disclosure, the group chat processing method and system, electronic devices, and computer-readable storage media provided by the present disclosure will be described in detail below with reference to the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。In the case of no conflict, various embodiments of the present disclosure and various features in the embodiments can be combined with each other.
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和 所有组合。As used herein, the term "and/or" includes any and all combinations of at least one of the associated listed items.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is for describing particular embodiments only and is not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that when the terms "comprising" and/or "consisting of" are used in this specification, the stated features, integers, steps, operations, elements and/or components are specified to be present but not excluded to be present or Add at least one other feature, entity, step, operation, element, component and/or group thereof.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be interpreted as having idealized or excessive formal meanings, Unless expressly so limited herein.
本公开实施例提供的群聊处理方法是在已经建立了基群的基础上进行的。在本文中,基群是指采用传统的建群方式所建立的群组。本公开实施例的派生群是指在基群的基础上通过复用基群的业务面通信链路建立的群组。也就是说,基群是一个大群,派生群是基群的一个小群。这样,在用户需要创建一个新话题且目标用户是基群中的部分用户的情况下,就可以在基群的基础上创建一个小群(也就是派生群),从而避免新话题被淹没,也减少了非派生群用户的垃圾信息,提高了用户的体验度。The group chat processing method provided by the embodiment of the present disclosure is performed on the basis of an established group. In this article, base group refers to a group established by traditional group building methods. The derived group in the embodiment of the present disclosure refers to a group established on the basis of the basic group by reusing the communication links of the service plane of the basic group. That is, the base group is a large group, and the derived group is a small group of the base group. In this way, when a user needs to create a new topic and the target user is part of the base group, a small group (that is, a derived group) can be created on the basis of the base group, thereby avoiding the new topic from being overwhelmed, and also Spam information of non-derived group users is reduced, and user experience is improved.
传统的建群方式大致包括:终端通过控制面链路向群聊服务器(也就是后文提及的基群服务器)发送建群请求;群聊服务器通过控制面链路接收建群请求,解析出建群请求中的群组用户,通过控制面链路向发送建群请求的终端返回响应信息;通过控制面链路向建群请求中的群组用户对应的终端返回入群通知信息;群聊服务器通过控制面链路邀请其他群组用户入群;群组用户同意入群后,群聊服务器为每个用户对应的终端创建业务面通信链路;终端通过业务面通信链路向群聊服务器发送群信息;群聊服务器通过所有用户对应的业务面通信链路向所有用户对应的终端发送群信息。The traditional group building method generally includes: the terminal sends a group chat server (that is, the group server mentioned later) a group chat server (that is, the group server mentioned later) through the control plane link; the group chat server receives the group chat request through the control plane link, and parses out The group users in the group building request return response information to the terminal sending the group building request through the control plane link; return group entry notification information to the terminal corresponding to the group user in the group building request through the control plane link; group chat The server invites other group users to join the group through the control plane link; after the group users agree to join the group, the group chat server creates a business plane communication link for the terminal corresponding to each user; the terminal communicates with the group chat server through the business plane communication link Sending group information; the group chat server sends group information to terminals corresponding to all users through the service plane communication links corresponding to all users.
图1为本公开一个实施例提供的群聊处理方法的流程图。Fig. 1 is a flowchart of a group chat processing method provided by an embodiment of the present disclosure.
第一方面,参照图1,本公开一个实施例提供一种群聊处理方法,应用于派生群服务器,该方法包括:In the first aspect, referring to FIG. 1 , an embodiment of the present disclosure provides a group chat processing method, which is applied to a derived group server, and the method includes:
步骤100、通过基群的业务面通信链路接收基群服务器发送的第一业务 消息,其中,第一业务消息包括:基群标识和派生群操作指令。Step 100: Receive the first service message sent by the group server through the communication link of the service plane of the group, wherein the first service message includes: the group identifier and the derived group operation instruction.
在本公开实施例中,派生群服务器可以与基群服务器合设,也可以是独立的网络设备。In the embodiment of the present disclosure, the derived group server may be co-located with the primary group server, or may be an independent network device.
在本公开实施例中,派生群操作指令可以是对派生群进行的任何操作的指令,具体的操作指令以及对应的处理过程不用于限定本公开实施例的保护范围。例如,对派生群的操作可以是创建、邀请用户加入派生群、退出派生群、退出基群、发送群信息、解散等中的至少一个。In the embodiment of the present disclosure, the derived group operation instruction may be an instruction for any operation on the derived group, and the specific operation instruction and corresponding processing process are not used to limit the protection scope of the embodiment of the present disclosure. For example, the operation on the derived group may be at least one of creating, inviting users to join the derived group, exiting the derived group, withdrawing from the base group, sending group information, and disbanding.
需要说明的是,由于本公开的派生群是在基群的基础上创建的,因此,在基群中的用户退出基群的情况下,该用户默认也退出了在基群基础上创建的所有派生群,因此,退出基群可以认为是派生群的一种特殊操作。It should be noted that since the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. Derived groups, therefore, exiting the base group can be considered as a special operation of derived groups.
在本公开实施例中,业务面通信链路是用于传输业务消息的通信链路。In the embodiments of the present disclosure, the service plane communication link is a communication link for transmitting service messages.
在一些示例性实施例中,不同通信系统对应的业务面通路链路类型可能不同,具体的业务面通信链路类型不用于限定本公开实施例的保护范围。例如,业务面通信链路例如可以是富通信套件(RCS,Rich Communication Suit)系统中的消息会话中继协议(MSRP,Message Session Relay Protocol)消息链路。In some exemplary embodiments, different communication systems may have different service plane access link types, and the specific service plane communication link types are not used to limit the protection scope of the embodiments of the present disclosure. For example, the service plane communication link may be, for example, a Message Session Relay Protocol (MSRP, Message Session Relay Protocol) message link in a Rich Communication Suite (RCS, Rich Communication Suit) system.
在本公开实施例中,由于创建派生群的过程是基于复用基群的业务面通信链路来实现的,因此,派生群服务器、基群服务器和终端之间在进行派生群操作的过程中传输的任何信息都可以认为是业务消息(例如RCS系统中的会话发起协议(SIP,Session Initiation Protocol)会话消息),也就是说实际上是通过业务消息来传递派生群操作过程中所需要的一些信息。In the embodiment of the present disclosure, since the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation Any information transmitted can be considered as a business message (such as a Session Initiation Protocol (SIP, Session Initiation Protocol) session message in the RCS system), that is to say, it actually uses business messages to transmit some information needed during the operation of the derived group. information.
在一些示例性实施例中,第一业务消息还包括以下至少之一:派生群消息的标识、派生群标识、创建派生群的第一用户标识、邀请加入派生群的第二用户标识、邀请加入派生群的第三用户标识、请求加入派生群的第四用户标识、退出派生群的第五用户标识、退出基群的第六用户标识、表示是否允许基群中的非派生群用户主动加入派生群的标识。In some exemplary embodiments, the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join The third user ID of the derived group, the fourth user ID requesting to join the derived group, the fifth user ID of withdrawing from the derived group, the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group The ID of the group.
在本公开实施例中,派生群消息的标识用于标识第一业务消息是否是派生群消息。In the embodiment of the present disclosure, the identifier of the derived group message is used to identify whether the first service message is a derived group message.
在本公开实施例中,针对不同的操作,第一业务消息中携带的信息可能不同。In the embodiments of the present disclosure, for different operations, the information carried in the first service message may be different.
例如,在派生群操作指令为派生群创建指令的情况下,第一业务消息包括:基群标识和派生群创建指令;第一业务消息还可以包括以下至少之一:创建派生群的第一用户标识、邀请加入派生群的第二用户标识、表示是否允许基群中的非派生群用户主动加入派生群的标识。For example, when the derived group operation instruction is a derived group creation instruction, the first service message includes: the base group identifier and the derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group ID, the ID of the second user invited to join the derived group, and the ID indicating whether non-derived group users in the base group are allowed to actively join the derived group.
在派生群操作指令为邀请加入派生群指令的情况下,第一业务消息包括:基群标识、邀请加入派生群指令、邀请加入派生群的第三用户标识;第一业务消息还可以包括:派生群标识。In the case where the derived group operation instruction is an instruction to invite to join the derived group, the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
在派生群操作指令为请求加入派生群指令的情况下,第一业务消息包括:基群标识、请求加入派生群指令、请求加入派生群的第四用户标识。第一业务消息还可以包括:派生群标识。When the derived group operation instruction is an instruction to request to join a derived group, the first service message includes: a base group identifier, an instruction to request to join a derived group, and a fourth user identifier who requests to join a derived group. The first service message may further include: a derived group identifier.
在派生群操作指令为退出派生群指令的情况下,第一业务消息包括:基群标识、退出派生群的第五用户标识、退出派生群指令;第一业务消息还可以包括:派生群标识。In the case that the derived group operation instruction is an instruction to exit the derived group, the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
在派生群操作指令为派生群信息传输指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群信息传输指令。In the case that the derived group operation instruction is a derived group information transmission instruction, the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
在派生群操作指令为派生群解散指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群解散指令。In the case that the derived group operation instruction is a derived group disbanding instruction, the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
步骤101、进行派生群操作指令对应的派生群操作。
下面分别对各个派生群操作进行说明,所列举的派生群操作仅仅是部分操作,还有其他的操作在此不一一列出。Each derived group operation will be described separately below, and the listed derived group operations are only some operations, and there are other operations that are not listed here one by one.
(一)、派生群创建(1) Derived group creation
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为派生群创建指令的情况下,生成派生群标识,保存基群标识和派生群标识之间的第一对应关系;In the case where it is determined that the derived group operation instruction is a derived group creation instruction, a derived group identifier is generated, and the first corresponding relationship between the base group identifier and the derived group identifier is saved;
通过业务面通信链路向基群服务器发送第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识。Sending a second service message to the base group server through the service plane communication link, where the second service message includes: response information and the first user identifier for creating the derived group.
在本公开实施例中,基于同一个基群创建的不同派生群的派生群标识不同。In the embodiment of the present disclosure, the derived group identifiers of different derived groups created based on the same base group are different.
在本公开实施例中,响应信息用于指示派生群是否创建成功。In the embodiment of the present disclosure, the response information is used to indicate whether the derived group is created successfully.
在一些示例性实施例中,第二业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the second service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,第一业务消息还包括:邀请加入派生群的第二用户标识,其中,第二用户标识为基群中的部分或全部用户标识。In some exemplary embodiments, the first service message further includes: a second user ID invited to join the derived group, where the second user ID is part or all of the user IDs in the base group.
生成派生群标识后,该方法还包括:After generating the derived group ID, the method also includes:
保存派生群标识和第二用户标识之间的第二对应关系;saving the second corresponding relationship between the derived group identifier and the second user identifier;
通过业务面通信链路向基群服务器发送第三业务消息,其中,第三业务消息包括:入群通知信息和第二用户标识。Sending a third service message to the group server through the service plane communication link, where the third service message includes: group entry notification information and a second user identifier.
在一些示例性实施例中,第三业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the third service message further includes: a primary group identifier and a derived group identifier.
在本公开实施例中,可以认为第二用户标识包括第一用户标识。也就是说,第一用户标识在创建派生群的同时,邀请第一用户标识自身加入派生群。In this embodiment of the present disclosure, it may be considered that the second user identifier includes the first user identifier. That is to say, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
在本公开实施例中,第一对应关系和第二对应关系可以是同一个对应关系,也可以是不同的对应关系。第一对应关系和第二对应关系可以是同一个对应关系是指保存的是基群标识、派生群标识和用户标识之间的对应关系,第一对应关系和第二对应关系是不同的对应关系是指第一对应关系和第二对应关系是分别存储的。In the embodiment of the present disclosure, the first correspondence and the second correspondence may be the same correspondence, or may be different correspondences. The first correspondence and the second correspondence may be the same correspondence, which means that the correspondence between the base group identifier, the derived group identifier and the user identifier is stored, and the first correspondence and the second correspondence are different correspondences. It means that the first corresponding relationship and the second corresponding relationship are stored separately.
在一些示例性实施例中,生成派生群标识后,该方法还包括:In some exemplary embodiments, after generating the derived group identifier, the method further includes:
通过业务面通信链路向基群服务器发送第四业务消息,其中,第四业务消息包括:邀请加入派生群信息和基群的部分或全部用户标识。Sending a fourth service message to the primary group server through the communication link of the service plane, wherein the fourth service message includes information about an invitation to join a derived group and part or all user identifiers of the primary group.
在一些示例性实施例中,第四业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fourth service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,第四业务消息中包括的基群的部分或全部用户标识为基群中除第二用户标识之外的用户标识。In some exemplary embodiments, part or all of the user identifiers of the group included in the fourth service message are user identifiers in the group other than the second user identifier.
在一些示例性实施例中,第四业务消息中包括的基群的部分或全部用户标识为第二用户标识。In some exemplary embodiments, part or all of the user identifiers of the group included in the fourth service message are the second user identifiers.
在一些示例性实施例中,可以在第一业务消息中包括表示是否允许基群中的非派生群用户主动加入派生群的标识,根据表示是否允许基群中的非派生群用户主动加入派生群的标识确定是否允许基群中的非派生群用户主动加入派生群。如果允许基群中的非派生群用户主动加入派生群,则通过业务面通信链路向基群服务器发送第四业务消息;如果不允许基群中的非派生群用户主动加入派生群,则不向基群服务器发送第四业务消息。也就是说,在 第一业务消息中包括表示允许基群中的非派生群用户主动加入派生群的标识的情况下,通过业务面通信链路向基群服务器发送第四业务消息;在第一业务消息中包括表示不允许基群中的非派生群用户主动加入派生群的标识的情况下,不发送第四业务消息。In some exemplary embodiments, the first service message may include an identifier indicating whether non-derived group users in the base group are allowed to actively join the derived group, and according to whether non-derived group users in the base group are allowed to actively join the derived group The flag of determines whether to allow non-derived group users in the primary group to actively join the derived group. If the non-derived group users in the base group are allowed to actively join the derived group, the fourth service message is sent to the base group server through the service plane communication link; if the non-derived group users in the base group are not allowed to actively join the derived group, then no Send the fourth service message to the group server. That is to say, in the case that the first service message includes an identifier indicating that non-derived group users in the base group are allowed to actively join the derived group, send the fourth service message to the base group server through the service plane communication link; If the service message includes an identifier indicating that non-derived group users in the base group are not allowed to actively join the derived group, the fourth service message is not sent.
在一些示例性实施例中,也可以在第一业务消息中不包括表示是否允许基群中的非派生群用户主动加入派生群的标识,默认任何情况下允许基群中的非派生群用户主动加入派生群。In some exemplary embodiments, the first service message may not include an identifier indicating whether to allow non-derived group users in the base group to actively join the derived group. By default, non-derived group users in the base group are allowed to actively join Join the derived group.
(二)、邀请用户加入派生群(2) Invite users to join the derived group
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为邀请加入派生群指令的情况下,第一业务消息还包括:邀请加入派生群的第三用户标识和派生群标识,其中,第三用户标识为基群中的部分或全部用户标识;When it is determined that the derived group operation instruction is an instruction to invite to join the derived group, the first service message further includes: the third user ID and the derived group ID invited to join the derived group, wherein the third user ID is part or part of the base group All User IDs;
保存派生群标识和第三用户标识之间的第二对应关系;storing the second corresponding relationship between the derived group identifier and the third user identifier;
通过业务面通信链路向基群服务器发送第五业务消息,其中,第五业务消息包括:入群通知信息和第三用户标识。Sending the fifth service message to the group server through the service plane communication link, where the fifth service message includes: group entry notification information and a third user identifier.
在一些示例性实施例中,第五业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fifth service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,通过业务面通信链路向基群服务器发送第五业务消息后,该方法还包括:In some exemplary embodiments, after sending the fifth service message to the group server through the service plane communication link, the method further includes:
通过业务面通信链路向基群服务器发送第六业务消息,其中,第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识。The sixth service message is sent to the primary group server through the communication link of the service plane, wherein the sixth service message includes: notification information of new users joining the group and user identifiers that have joined the derived group.
在一些示例性实施例中,第六业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the sixth service message further includes: a primary group identifier and a derived group identifier.
(三)、用户请求加入派生群(3) The user requests to join the derivative group
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为请求加入派生群指令的情况下,第一业务消息还包括请求加入派生群的第四用户标识和派生群标识,其中,第四用户标识为基群中的部分或全部用户标识;When it is determined that the derived group operation instruction is an instruction to request to join the derived group, the first service message also includes the fourth user ID requesting to join the derived group and the derived group ID, wherein the fourth user ID is part or all of the base group User ID;
保存派生群标识和第四用户标识之间的第二对应关系;storing the second corresponding relationship between the derived group identifier and the fourth user identifier;
通过业务面通信链路向基群服务器发送第七业务消息,其中,第七业务消息包括:入群通知信息和第四用户标识。Sending a seventh service message to the group server through the service plane communication link, where the seventh service message includes: group entry notification information and a fourth user identifier.
在一些示例性实施例中,第七业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the seventh service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,通过业务面通信链路向基群服务器发送第七业务消息后,该方法还包括:In some exemplary embodiments, after sending the seventh service message to the group server through the service plane communication link, the method further includes:
通过业务面通信链路向基群服务器发送第六业务消息,其中,第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识。The sixth service message is sent to the primary group server through the communication link of the service plane, wherein the sixth service message includes: notification information of new users joining the group and user identifiers that have joined the derived group.
在一些示例性实施例中,第六业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the sixth service message further includes: a primary group identifier and a derived group identifier.
(四)、用户退出派生群(4) The user exits the derived group
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为退出派生群指令的情况下,第一业务消息还包括:退出派生群的第五用户标识和派生群标识;In the case where it is determined that the derived group operation instruction is an instruction to exit the derived group, the first service message further includes: the fifth user identification and the derived group identification for exiting the derived group;
删除派生群标识和第五用户标识之间的第二对应关系;deleting the second corresponding relationship between the derived group identifier and the fifth user identifier;
通过业务面通信链路向基群服务器发送第八业务消息,其中,第八业务消息包括:退出派生群通知信息和第五用户标识。An eighth service message is sent to the primary group server through the service plane communication link, where the eighth service message includes: notification information for exiting the derived group and the fifth user identifier.
在一些示例性实施例中,第八业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the eighth service message further includes: a primary group identifier and a derived group identifier.
(五)、用户退出基群(5) Users withdraw from the base group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第九业务消息,其中,第九业务消息包括:基群标识、退出基群的第六用户标识和退出基群指令;Receive the ninth service message sent by the group server through the communication link of the service plane, wherein the ninth service message includes: the group identification, the sixth user identification for exiting the group, and the exit group instruction;
删除第六用户标识和派生群标识之间的第二对应关系;deleting the second corresponding relationship between the sixth user identifier and the derived group identifier;
通过业务面通信链路向基群服务器发送第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识。Sending a tenth service message to the group server through the service plane communication link, where the tenth service message includes: group exit notification information and a sixth user identifier.
在一些示例性实施例中,第十业务消息还包括:基群标识。In some exemplary embodiments, the tenth service message further includes: a group identifier.
(六)、传输群信息(6) Transmission group information
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为派生群信息传输指令的情况下,第一业务消息还包括:派生群标识和群信息;In the case where it is determined that the derived group operation instruction is a derived group information transmission instruction, the first service message further includes: derived group identifier and group information;
通过业务面通信链路向基群服务器发送第十一业务消息,其中,第十一业务消息包括:基群标识、派生群标识、群信息。An eleventh service message is sent to the base group server through the service plane communication link, where the eleventh service message includes: a base group identifier, a derived group identifier, and group information.
(七)、解散派生群(7) Dissolution of derived groups
在一些示例性实施例中,进行派生群操作指令对应的派生群操作包括:In some exemplary embodiments, performing the derived group operation corresponding to the derived group operation instruction includes:
在确定派生群操作指令为派生群解散指令的情况下或生成派生群标识的预设时间后,删除派生群标识和派生群中的用户标识之间的第二对应关系;When it is determined that the derived group operation instruction is the derived group disbanding instruction or after the preset time for generating the derived group ID, delete the second corresponding relationship between the derived group ID and the user ID in the derived group;
通过业务面通信链路向基群服务器发送第十二业务消息,其中,第十二业务消息包括:基群标识、派生群标识、派生群解散信息、派生群中的用户标识。Send the twelfth service message to the base group server through the service plane communication link, where the twelfth service message includes: the base group ID, the derived group ID, the derived group disbandment information, and the user ID in the derived group.
根据本公开实施例提供的群聊处理方法,在基群的基础上,通过复用基群的业务面通信链路实现了派生群的操作,而不需要建立新群,节省了建立新群所需要的建群资源和控制面的交互。同时,避免了由于群信息数量巨大导致群信息被淹没,减少了用户的垃圾信息,为用户提供了更好的体验。According to the group chat processing method provided by the embodiment of the present disclosure, on the basis of the basic group, the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane. At the same time, it avoids the flooding of group information due to the huge amount of group information, reduces user spam information, and provides users with a better experience.
图2为本公开另一个实施例提供的群聊处理方法的流程图。Fig. 2 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
第二方面,参照图2,本公开另一个实施例提供一种群聊处理方法,应用于基群服务器,该方法包括:In the second aspect, referring to FIG. 2 , another embodiment of the present disclosure provides a group chat processing method, which is applied to a group server, and the method includes:
步骤200、通过基群的业务面通信链路接收终端发送的第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令。Step 200: Receive the first service message sent by the terminal through the communication link of the service plane of the primary group, wherein the first service message includes: the primary group identifier and the derived group operation instruction.
在本公开实施例中,基群服务器可以与即时通讯接入服务器(IM-AS,Instant Messaging Access Server)合设,也可以是独立的网络设备。In the embodiment of the present disclosure, the group server may be co-located with an instant messaging access server (IM-AS, Instant Messaging Access Server), or may be an independent network device.
在本公开实施例中,派生群操作指令可以是对派生群进行的任何操作的指令;对派生群的操作可以是创建、邀请用户加入派生群、退出派生群、退出基群、解散等中的至少一个。In the embodiment of the present disclosure, the derived group operation instruction may be an instruction for any operation on the derived group; the operation on the derived group may be creating, inviting users to join the derived group, exiting the derived group, exiting the base group, disbanding, etc. at least one.
需要说明的是,由于本公开的派生群是在基群的基础上创建的,因此,在基群中的用户退出基群的情况下,该用户默认也退出了在基群基础上创建的所有派生群。因此,退出基群可以认为是派生群的一种特殊操作。It should be noted that since the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. derived group. Therefore, exiting the base group can be regarded as a special operation of the derived group.
在本公开实施例中,由于创建派生群的过程是基于复用基群的业务面通信链路来实现的,因此,派生群服务器、基群服务器和终端之间在进行派生群操作的过程中传输的任何信息都可以认为是业务消息,也就是说实际上是通过业务消息来传递派生群操作过程中所需要的一些信息。In the embodiment of the present disclosure, since the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation Any information transmitted can be regarded as a business message, that is to say, some information needed in the operation process of the derived group is actually transmitted through the business message.
在一些示例性实施例中,第一业务消息还包括以下至少之一:派生群消息的标识、派生群标识、创建派生群的第一用户标识、邀请加入派生群的第 二用户标识、邀请加入派生群的第三用户标识、请求加入派生群的第四用户标识、退出派生群的第五用户标识、退出基群的第六用户标识、表示是否允许基群中的非派生群用户主动加入派生群的标识。In some exemplary embodiments, the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join The third user ID of the derived group, the fourth user ID requesting to join the derived group, the fifth user ID of withdrawing from the derived group, the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group The ID of the group.
在本公开实施例中,针对不同的操作,第一业务消息中携带的信息可能不同。In the embodiments of the present disclosure, for different operations, the information carried in the first service message may be different.
例如,在派生群操作指令为派生群创建指令的情况下,第一业务消息包括:基群标识、派生群创建指令;第一业务消息还可以包括以下至少之一:创建派生群的第一用户标识、邀请加入派生群的第二用户标识。For example, when the derived group operation instruction is a derived group creation instruction, the first service message includes: a base group identifier, a derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group A second user ID that identifies and invites to join the derived group.
在派生群操作指令为邀请加入派生群指令的情况下,第一业务消息包括:基群标识、邀请加入派生群指令、邀请加入派生群的第三用户标识;第一业务消息还可以包括:派生群标识。In the case where the derived group operation instruction is an instruction to invite to join the derived group, the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
在派生群操作指令为请求加入派生群指令的情况下,第一业务消息包括:基群标识、请求加入派生群指令、请求加入派生群的第四用户标识;第一业务消息还可以包括:派生群标识。In the case where the derived group operation instruction is a request to join the derived group, the first service message includes: the base group identifier, the request to join the derived group instruction, and the fourth user ID requesting to join the derived group; the first service message may also include: Group ID.
在派生群操作指令为退出派生群指令的情况下,第一业务消息包括:基群标识、退出派生群的第五用户标识、退出派生群指令;第一业务消息还可以包括:派生群标识。In the case that the derived group operation instruction is an instruction to exit the derived group, the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
在派生群操作指令为派生群信息传输指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群信息传输指令。In the case that the derived group operation instruction is a derived group information transmission instruction, the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
在派生群操作指令为派生群解散指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群解散指令。In the case that the derived group operation instruction is a derived group disbanding instruction, the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
步骤201、在确定第一业务消息为派生群消息的情况下,通过业务面通信链路将第一业务消息发送给派生群服务器。
在本公开实施例中,可以采用多种方式实现确定第一业务消息是否为派生群消息,具体的实现方式不用于限定本公开实施例的保护范围。例如,可以在第一业务消息中添加派生群消息的标识,根据该标识识别第一业务消息是否为派生群消息;又如,采用特殊的字符串作为派生群操作指令的前缀,基于派生群操作指令的前缀识别第一业务消息是否为派生群消息。In the embodiments of the present disclosure, multiple ways may be used to determine whether the first service message is a derived group message, and the specific implementation manners are not intended to limit the protection scope of the embodiments of the present disclosure. For example, an identifier of a derived group message can be added to the first business message, and it is possible to identify whether the first business message is a derived group message according to the identifier; another example is to use a special character string as the prefix of the derived group operation command, and to operate based on the derived group The prefix of the instruction identifies whether the first service message is a derived group message.
在本公开实施例中,针对不同的派生群操作,群聊服务器会接收到不同的反馈信息,并发送给对应的终端,下面分别介绍各种情况对应的反馈信息。In the embodiment of the present disclosure, for different derived group operations, the group chat server will receive different feedback information and send it to the corresponding terminal. The feedback information corresponding to various situations will be introduced below.
(一)派生群创建(1) Derived group creation
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识;Receive a second service message sent by the derived group server through the service plane communication link, where the second service message includes: response information and the first user identifier for creating the derived group;
通过业务面通信链路向第一用户标识对应的终端发送第二业务消息。Sending the second service message to the terminal corresponding to the first user identifier through the service plane communication link.
在一些示例性实施例中,第二业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the second service message further includes: a primary group identifier and a derived group identifier.
在本公开实施例中,响应信息用于指示派生群是否创建成功。In the embodiment of the present disclosure, the response information is used to indicate whether the derived group is created successfully.
在一些示例性实施例中,第一业务消息还包括:创建派生群的第一用户标识。In some exemplary embodiments, the first service message further includes: an identifier of the first user who creates the derived group.
在确定第一业务消息为派生群消息的情况下,通过业务面通信链路将第一业务消息发送给派生群服务器之前,该方法还包括:In the case where it is determined that the first service message is a derived group message, before sending the first service message to the derived group server through the service plane communication link, the method further includes:
在确定派生群操作指令为派生群创建指令的情况下,对第一用户标识进行鉴权;In the case of determining that the derived group operation instruction is a derived group creation instruction, authenticating the first user identifier;
在对第一用户标识鉴权通过的情况下,继续执行通过业务面通信链路将第一业务消息发送给派生群服务器的步骤。If the authentication of the first user ID is successful, the step of sending the first service message to the derived group server through the communication link of the service plane is continued.
在一些示例性实施例中,在对第一用户标识鉴权不通过的情况下,结束本流程。In some exemplary embodiments, if the authentication of the first user ID fails, this process ends.
在本公开实施例中,对第一用户标识进行鉴权也就是判断第一用户标识是否具有创建派生群的权限。如果第一用户标识具有创建派生群的权限,则对第一用户标识鉴权通过;如果第一用户标识不具有创建派生群的权限,则对第一用户标识鉴权不通过。In the embodiment of the present disclosure, authenticating the first user ID is to judge whether the first user ID has the right to create a derived group. If the first user ID has the right to create a derived group, then the authentication of the first user ID passes; if the first user ID does not have the right to create a derived group, then the authentication of the first user ID fails.
在本公开实施例中,第一用户标识是否具有创建派生群的权限可以由基群的管理员对应的终端进行设置,也可以默认基群中的所有用户标识均具有创建派生群的权限。In this embodiment of the present disclosure, whether the first user ID has the right to create a derived group can be set by the terminal corresponding to the administrator of the base group, or it can be defaulted that all user IDs in the base group have the right to create a derived group.
在一些示例性实施例中,在确定第一业务消息为派生群消息的情况下,通过业务面通信链路将第一业务消息发送给派生群服务器之前,该方法还包括:In some exemplary embodiments, when it is determined that the first service message is a derived group message, before sending the first service message to the derived group server through the service plane communication link, the method further includes:
在确定派生群操作指令不是派生群创建指令的情况下,继续执行通过业 务面通信链路将第一业务消息发送给派生群服务器的步骤。When it is determined that the derived group operation instruction is not a derived group creation instruction, continue to execute the step of sending the first service message to the derived group server through the service plane communication link.
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第三业务消息,其中,第三业务消息包括:入群通知信息和邀请加入派生群的第二用户标识;Receive a third service message sent by the derived group server through the service plane communication link, where the third service message includes: group entry notification information and a second user ID invited to join the derived group;
通过业务面通信链路向第二用户标识对应的终端发送第四业务消息。Send the fourth service message to the terminal corresponding to the second user identifier through the service plane communication link.
在一些示例性实施例中,第三业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the third service message further includes: a primary group identifier and a derived group identifier.
在本公开实施例中,可以认为第二用户标识包括第一用户标识,也就是说,第一用户标识在创建派生群的同时,邀请第一用户标识自身加入派生群。In this embodiment of the present disclosure, it may be considered that the second user identification includes the first user identification, that is, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第四业务消息,其中,第四业务消息包括:邀请加入派生群信息和基群的部分或全部用户标识;Receive the fourth service message sent by the derived group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the base group;
通过业务面通信链路向基群的部分或全部用户标识对应的终端发送第四业务消息。The fourth service message is sent to terminals corresponding to part or all of the user identifiers of the group through the service plane communication link.
在一些示例性实施例中,第四业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fourth service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,派生群服务器发送的第四业务消息中包括的基群的部分或全部用户标识为基群中除第二用户标识之外的用户标识,向基群的部分或全部用户标识对应的终端发送的第四业务消息中包括的基群的部分或全部用户标识也为基群中除第二用户标识之外的用户标识。In some exemplary embodiments, part or all of the user identifiers of the group included in the fourth service message sent by the derived group server are user identifiers in the group other than the second user identifier, and part or all of the group Part or all of the user identifiers of the group included in the fourth service message sent by the terminal corresponding to the user identifier are also user identifiers in the group except the second user identifier.
在一些示例性实施例中,派生群服务器发送的第四业务消息中包括的基群的部分或全部用户标识为第二用户标识,向基群的部分或全部用户标识对应的终端发送的第四业务消息中包括的基群的部分或全部用户标识替换为基群中除第二用户标识之外的用户标识。In some exemplary embodiments, part or all of the user identifiers of the group included in the fourth service message sent by the derived group server are the second user identifiers, and the fourth service message sent to terminals corresponding to the part or all of the user identifiers of the group Part or all of the user identifiers of the group included in the service message are replaced with user identifiers in the group other than the second user identifier.
(二)邀请用户加入派生群(2) Invite users to join the derived group
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第五业务消息,其中,第五业务消息包括:入群通知信息和邀请加入派生群的第三用户标识,其中, 第三用户标识为基群中的部分或全部用户标识;The fifth service message sent by the derived group server is received through the service plane communication link, wherein the fifth service message includes: group entry notification information and the third user identification invited to join the derived group, wherein the third user identification is the part or all of the User ID;
通过业务面通信链路向第三用户标识对应的终端发送第五业务消息。Send the fifth service message to the terminal corresponding to the third user identifier through the service plane communication link.
在一些示例性实施例中,第五业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fifth service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,通过所述业务面通信链路向所述第三用户标识对应的终端发送所述第五业务消息后,该方法还包括:In some exemplary embodiments, after sending the fifth service message to the terminal corresponding to the third user identifier through the service plane communication link, the method further includes:
通过所述业务面通信链路接收所述派生群服务器发送的第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识;Receive a sixth service message sent by the derived group server through the service plane communication link, where the sixth service message includes: notification information for new users entering the group and user identifiers that have joined the derived group;
通过所述业务面通信链路向所述已加入派生群的用户标识对应的终端发送所述第六业务消息。Sending the sixth service message to the terminal corresponding to the user identifier that has joined the derived group through the service plane communication link.
在一些示例性实施例中,第六业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the sixth service message further includes: a primary group identifier and a derived group identifier.
(三)用户请求加入派生群(3) The user requests to join the derivative group
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第七业务消息,其中,第七业务消息包括:入群通知信息和请求加入派生群的第四用户标识;其中,第四用户标识为基群中的部分或全部用户标识;Receive the seventh service message sent by the derived group server through the service plane communication link, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group; wherein the fourth user identification is the part or all of the User ID;
通过业务面通信链路向第四用户标识对应的终端发送第七业务消息。Send the seventh service message to the terminal corresponding to the fourth user identifier through the service plane communication link.
在一些示例性实施例中,第七业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the seventh service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,通过业务面通信链路向第四用户标识对应的终端发送第七业务消息后,该方法还包括:In some exemplary embodiments, after sending the seventh service message to the terminal corresponding to the fourth user identifier through the service plane communication link, the method further includes:
通过所述业务面通信链路接收所述派生群服务器发送的第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识;Receive a sixth service message sent by the derived group server through the service plane communication link, where the sixth service message includes: notification information for new users entering the group and user identifiers that have joined the derived group;
通过所述业务面通信链路向所述已加入派生群的用户标识对应的终端发送所述第六业务消息。Sending the sixth service message to the terminal corresponding to the user identifier that has joined the derived group through the service plane communication link.
在一些示例性实施例中,第六业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the sixth service message further includes: a primary group identifier and a derived group identifier.
(四)用户退出派生群(4) User quits the derived group
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第八业务消息,其中,第八业务消息包括:退出派生群通知信息和退出派生群的第五用户标识;Receive the eighth service message sent by the derived group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
通过业务面通信链路向第五用户标识对应的终端发送第八业务消息。Send the eighth service message to the terminal corresponding to the fifth user identifier through the service plane communication link.
在一些示例性实施例中,第八业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the eighth service message further includes: a primary group identifier and a derived group identifier.
也就是说,用户退出派生群后,并不会退出基群。因此,基群服务器并不会做任何退群的处理,基群服务器不会感知任何派生群用户信息的任何变化,基群新增用户或删除非派生群用户时,派生群服务器也不会感知到。That is to say, after the user exits the derived group, he will not exit the base group. Therefore, the base group server will not do any process of withdrawing from the group, and the base group server will not be aware of any changes in the information of any derived group users. When the base group adds new users or deletes non-derived group users, the derived group server will not perceive arrive.
(五)用户退出基群(5) User exits the base group
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过基群的控制面链路接收终端发送的退出基群请求,其中,退出基群请求包括:退出基群的第六用户标识和基群标识;Receive a group exit request sent by the terminal through the control plane link of the group, where the group exit request includes: the sixth user identification and group identification for exiting the group;
删除基群标识和第六用户标识之间的第三对应关系;Delete the third corresponding relationship between the group ID and the sixth user ID;
通过业务面通信链路向派生群服务器发送第九业务消息,其中,第九业务消息包括:基群标识、第六用户标识和退出基群指令;Send a ninth service message to the derived group server through the service plane communication link, where the ninth service message includes: a group identifier, a sixth user identifier, and an exit group instruction;
通过业务面通信链路接收派生群服务器发送的第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识;Receive the tenth service message sent by the derived group server through the service plane communication link, where the tenth service message includes: exit group notification information and a sixth user identifier;
通过控制面链路向第五用户标识对应的终端发送第十业务消息。Send the tenth service message to the terminal corresponding to the fifth user identifier through the control plane link.
在一些示例性实施例中,第十业务消息还包括:基群标识。In some exemplary embodiments, the tenth service message further includes: a group identifier.
也就是说,用户退出基群,默认也退出了基于基群创建的所有派生群,因此,除了基群服务器需要进行退群的处理,派生群服务器也需要进行退群的处理。That is to say, when a user quits the base group, he also quits all derived groups created based on the base group by default. Therefore, in addition to the base group server needing to withdraw from the group, the derived group server also needs to process withdrawing from the group.
在本公开实施例中,控制面链路是指用于传输控制信息的通信链路。In the embodiments of the present disclosure, a control plane link refers to a communication link used to transmit control information.
在一些示例性实施例中,不同通信系统中的控制面链路类型可能不同,具体的控制面链路类型不用于限定本公开实施例的保护范围。In some exemplary embodiments, the control plane link types in different communication systems may be different, and the specific control plane link types are not used to limit the protection scope of the embodiments of the present disclosure.
(六)、传输群信息(6) Transmission group information
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第十一业务消息,其中,第十一业务消息包括:基群标识、派生群标识和群信息;Receive the eleventh service message sent by the derived group server through the service plane communication link, where the eleventh service message includes: the primary group identifier, the derived group identifier and group information;
通过业务面通信链路向派生群中的用户标识对应的终端发送第十一业务消息。Send the eleventh service message to the terminal corresponding to the user identifier in the derived group through the service plane communication link.
(七)、解散派生群(7) Dissolution of derived groups
在一些示例性实施例中,通过业务面通信链路将第一业务消息发送给派生群服务器后,该方法还包括:In some exemplary embodiments, after sending the first service message to the derived group server through the service plane communication link, the method further includes:
通过业务面通信链路接收派生群服务器发送的第十二业务消息,其中,第十二业务消息包括:基群标识、派生群标识、派生群解散信息、派生群中的用户标识;Receive the twelfth service message sent by the derived group server through the service plane communication link, wherein the twelfth service message includes: the base group identifier, the derived group identifier, the derived group disbandment information, and the user identifier in the derived group;
通过业务面通信链路向派生群中的用户标识对应的终端发送第十二业务消息。Send the twelfth service message to the terminal corresponding to the user identifier in the derived group through the service plane communication link.
本公开根据实施例提供的群聊处理方法,在基群的基础上,通过复用基群的业务面通信链路实现了派生群的操作,而不需要建立新群,节省了建立新群所需要的建群资源和控制面的交互。同时,还可以避免由于群信息数量巨大导致群信息被淹没,减少了用户的垃圾信息,为用户提供了更好的体验。According to the group chat processing method provided by the embodiment of the present disclosure, on the basis of the basic group, the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane. At the same time, it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
图3为本公开另一个实施例提供的群聊处理方法的流程图。Fig. 3 is a flowchart of a group chat processing method provided by another embodiment of the present disclosure.
第三方面,参照图3,本公开另一个实施例提供一种群聊处理方法,应用于终端,该方法包括:In the third aspect, referring to FIG. 3 , another embodiment of the present disclosure provides a group chat processing method, which is applied to a terminal, and the method includes:
步骤300、通过基群的业务面通信链路向基群服务器发送第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令。Step 300: Send a first service message to the group server through the communication link of the service plane of the group, where the first service message includes: a group identifier and a derived group operation instruction.
在本公开实施例中,终端可以通过SIP代理服务器向基群服务器发送第一业务消息,SIP代理服务器的功能类似于路由器,将终端的业务消息路由到基群服务器,将基群服务器的业务消息路由到终端。In the embodiment of the present disclosure, the terminal can send the first service message to the group server through the SIP proxy server. The function of the SIP proxy server is similar to that of a router, routing the service message of the terminal to the group server, routed to the terminal.
在本公开实施例中,派生群操作指令可以是对派生群进行的任何操作的指令,对派生群的操作可以是创建、邀请用户加入派生群、退出派生群、退出基群、解散等中的至少一个。In the embodiment of the present disclosure, the derived group operation instruction may be an instruction for any operation on the derived group, and the operation on the derived group may be creating, inviting users to join the derived group, exiting the derived group, exiting the base group, disbanding, etc. at least one.
需要说明的是,由于本公开的派生群是在基群的基础上创建的,因此,在基群中的用户退出基群的情况下,该用户默认也退出了在基群基础上创建的所有派生群。因此,退出基群可以认为是派生群的一种特殊操作。It should be noted that since the derived group in this disclosure is created on the basis of the base group, when a user in the base group quits the base group, the user also quits all the created base groups by default. derived group. Therefore, exiting the base group can be regarded as a special operation of the derived group.
在本公开实施例中,由于创建派生群的过程是基于复用基群的业务面通信链路来实现的,因此,派生群服务器、基群服务器和终端之间在进行派生群操作的过程中传输的任何信息都可以认为是业务消息。也就是说,实际上是通过业务消息来传递派生群操作过程中所需要的一些信息。In the embodiment of the present disclosure, since the process of creating a derived group is realized based on multiplexing the service plane communication link of the base group, the derived group server, the base group server, and the terminal are in the process of performing the derived group operation Any information transmitted can be considered a business message. That is to say, in fact, some information required in the operation process of the derived group is transmitted through business messages.
在一些示例性实施例中,第一业务消息还包括以下至少之一:派生群消息的标识、派生群标识、创建派生群的第一用户标识、邀请加入派生群的第二用户标识、邀请加入派生群的第三用户标识、请求加入派生群的第四用户标识、退出派生群的第五用户标识、退出基群的第六用户标识、表示是否允许基群中的非派生群用户主动加入派生群的标识。In some exemplary embodiments, the first service message further includes at least one of the following: the identifier of the derived group message, the derived group identifier, the first user identifier for creating the derived group, the second user identifier for inviting to join the derived group, the invitation to join The third user ID of the derived group, the fourth user ID requesting to join the derived group, the fifth user ID of withdrawing from the derived group, the sixth user ID of withdrawing from the base group, indicating whether non-derived group users in the base group are allowed to actively join the derived group The ID of the group.
在本公开实施例中,针对不同的操作,第一业务消息中携带的信息可能不同。In the embodiments of the present disclosure, for different operations, the information carried in the first service message may be different.
例如,在派生群操作指令为派生群创建指令的情况下,第一业务消息包括:基群标识、派生群创建指令;第一业务消息还可以包括以下至少之一:创建派生群的第一用户标识、邀请加入派生群的第二用户标识。For example, when the derived group operation instruction is a derived group creation instruction, the first service message includes: a base group identifier, a derived group creation instruction; the first service message may also include at least one of the following: the first user who created the derived group A second user ID that identifies and invites to join the derived group.
在派生群操作指令为邀请加入派生群指令的情况下,第一业务消息包括:基群标识、邀请加入派生群指令、邀请加入派生群的第三用户标识;第一业务消息还可以包括:派生群标识。In the case where the derived group operation instruction is an instruction to invite to join the derived group, the first service message includes: the base group identifier, the instruction to invite to join the derived group, and the third user ID to invite to join the derived group; the first service message may also include: Group ID.
在派生群操作指令为请求加入派生群指令的情况下,第一业务消息包括:基群标识、请求加入派生群指令、请求加入派生群的第四用户标识;第一业务消息还可以包括:派生群标识。In the case where the derived group operation instruction is a request to join the derived group, the first service message includes: the base group identifier, the request to join the derived group instruction, and the fourth user ID requesting to join the derived group; the first service message may also include: Group ID.
在派生群操作指令为退出派生群指令的情况下,第一业务消息包括:基群标识、退出派生群的第五用户标识、退出派生群指令;第一业务消息还可以包括:派生群标识。In the case that the derived group operation instruction is an instruction to exit the derived group, the first service message includes: the base group identifier, the fifth user identifier for withdrawing from the derived group, and an instruction to exit the derived group; the first service message may also include: the derived group identifier.
在派生群操作指令为派生群信息传输指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群信息传输指令。In the case that the derived group operation instruction is a derived group information transmission instruction, the first service message includes: a basic group identifier, a derived group identifier, and a derived group information transmission instruction.
在派生群操作指令为派生群解散指令的情况下,第一业务消息包括:基群标识、派生群标识、派生群解散指令。In the case that the derived group operation instruction is a derived group disbanding instruction, the first service message includes: a base group identifier, a derived group identifier, and a derived group disbanding instruction.
在本公开实施例中,针对不同的派生群操作,终端会接收到不同的反馈信息,并做不同的处理,下面分别介绍各种派生群操作对应的反馈信息和相应的处理。In the embodiments of the present disclosure, for different derived group operations, the terminal will receive different feedback information and perform different processing. The feedback information and corresponding processing corresponding to various derived group operations will be introduced below.
(一)、派生群创建(1) Derived group creation
在一些示例性实施例中,通过基群的业务面通信链路发送第一业务消息后,该方法还包括:In some exemplary embodiments, after sending the first service message through the service plane communication link of the group, the method further includes:
通过业务面通信链路接收基群服务器发送的第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识;receiving a second service message sent by the base group server through the service plane communication link, wherein the second service message includes: response information and the first user identifier for creating the derived group;
打开新的群聊页面作为派生群页面。Open a new group chat page as a derived group page.
在本公开实施例中,响应信息用于指示派生群是否创建成功。在响应信息用于指示派生群创建成功的情况下,打开新的群聊页面作为派生群页面;在响应信息用于指示派生群创建失败的情况下,提示用户派生群创建失败。In the embodiment of the present disclosure, the response information is used to indicate whether the derived group is created successfully. When the response information is used to indicate that the derived group is successfully created, a new group chat page is opened as the derived group page; when the response information is used to indicate that the derived group has failed to be created, the user is prompted that the derived group has failed to be created.
在一些示例性实施例中,第二业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the second service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第三业务消息,其中,第三业务消息包括:入群通知信息和邀请加入派生群的第二用户标识;Receive a third service message sent by the base group server through the service plane communication link, where the third service message includes: group entry notification information and a second user ID invited to join the derived group;
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,第三业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the third service message further includes: a primary group identifier and a derived group identifier.
在本公开实施例中,可以认为第二用户标识包括第一用户标识。也就是说,第一用户标识在创建派生群的同时,邀请第一用户标识自身加入派生群。In this embodiment of the present disclosure, it may be considered that the second user identifier includes the first user identifier. That is to say, the first user identification invites the first user identification itself to join the derived group while creating the derived group.
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第四业务消息,其中,第四业务消息包括:邀请加入派生群信息和基群的部分或全部用户标识;Receive the fourth service message sent by the base group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the base group;
在基群页面显示邀请加入派生群信息或弹出一个对话框,在对话框上显示邀请加入派生群信息。Display the invitation to join the derivative group information on the base group page or pop up a dialog box, and display the invitation to join the derivative group information on the dialog box.
在一些示例性实施例中,第四业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fourth service message further includes: a primary group identifier and a derived group identifier.
在本公开实施例中,用户可以通过点击邀请加入派生群信息以请求加入 派生群。In the embodiment of the present disclosure, the user can request to join the derived group by clicking the invitation to join the derived group information.
在一些示例性实施例中,第四业务消息中包括的基群的部分或全部用户标识为基群中除第二用户标识之外的用户标识。In some exemplary embodiments, part or all of the user identifiers of the group included in the fourth service message are user identifiers in the group other than the second user identifier.
(二)、邀请用户加入派生群(2) Invite users to join the derived group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第五业务消息,其中,第五业务消息包括:入群通知信息和邀请加入派生群的第三用户标识,其中,第三用户标识为基群中的部分或全部用户标识;The fifth service message sent by the base group server is received through the communication link of the service plane, wherein the fifth service message includes: group entry notification information and a third user ID invited to join the derived group, wherein the third user ID is a member of the base group part or all of the User ID;
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,第五业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the fifth service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过所述业务面通信链路接收所述基群服务器发送的第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识;Receive a sixth service message sent by the base group server through the service plane communication link, where the sixth service message includes: notification information of new user joining the group and user identifiers that have joined the derived group;
在派生群页面上显示所述新用户入群通知信息。The notification information of the new user joining the group is displayed on the derived group page.
在一些示例性实施例中,第六业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the sixth service message further includes: a primary group identifier and a derived group identifier.
(三)、用户请求加入派生群(3) The user requests to join the derivative group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第七业务消息,其中,第七业务消息包括:入群通知信息和请求加入派生群的第四用户标识,其中,第四用户标识为基群中的部分或全部用户标识;The seventh service message sent by the base group server is received through the communication link of the service plane, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group, wherein the fourth user identification is in the base group part or all of the User ID;
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,第七业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the seventh service message further includes: a primary group identifier and a derived group identifier.
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过所述业务面通信链路接收所述基群服务器发送的第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标 识;Receive the sixth service message sent by the base group server through the service plane communication link, where the sixth service message includes: notification information of new user joining the group and user identifiers that have joined the derived group;
在派生群页面上显示所述新用户入群通知信息。The notification information of the new user joining the group is displayed on the derived group page.
(四)、用户退出派生群(4) The user exits the derived group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第八业务消息,其中,第八业务消息包括:退出派生群通知信息和退出派生群的第五用户标识;Receive the eighth service message sent by the base group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
从派生群页面退出。Log out from the derived group page.
在一些示例性实施例中,第八业务消息还包括:基群标识和派生群标识。In some exemplary embodiments, the eighth service message further includes: a primary group identifier and a derived group identifier.
(五)、用户退出基群(5) Users withdraw from the base group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过基群的控制面链路向基群服务器发送退出基群请求,其中,退出基群请求包括:退出基群的第六用户标识和基群标识;Sending an exit group request to the group server through the control plane link of the group, wherein the exit group request includes: the sixth user identification and the group identification of the exit group;
通过控制面链路接收基群服务器发送的第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识;Receive a tenth service message sent by the group server through a control plane link, where the tenth service message includes: exit group notification information and a sixth user identifier;
从基群页面和派生群页面退出。Log out from base group pages and derived group pages.
在一些示例性实施例中,第十业务消息还包括:基群标识。In some exemplary embodiments, the tenth service message further includes: a group identifier.
(六)、传输群信息(6) Transmission group information
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第十一业务消息,其中,第十一业务消息包括:基群标识、派生群标识和群信息;Receive an eleventh service message sent by the base group server through the service plane communication link, where the eleventh service message includes: a base group identifier, a derived group identifier, and group information;
在确定群信息为派生群信息的情况下,在派生群页面中显示群信息。If the group information is determined to be derived group information, the group information is displayed on the derived group page.
在本公开实施例中,可以采用多种方式识别群信息是否为派生群信息,具体的实现方式不用于限定本公开实施例的保护范围。例如,在第十业务消息中添加派生群消息的标识,根据该标识识别群信息是否为派生群信息,也可以根据第十业务消息中是否包括派生群标识确定群信息是否为派生群信息。具体的,如果第十业务消息中包括派生群标识,则确定群信息为派生群信息;如果第十业务消息不包括派生群标识,则确定群信息为基群信息。In the embodiments of the present disclosure, multiple ways may be used to identify whether the group information is derived group information, and the specific implementation manners are not intended to limit the protection scope of the embodiments of the present disclosure. For example, the identifier of the derived group message is added to the tenth service message, and whether the group information is derived group information is identified according to the identifier, or whether the group information is derived group information can also be determined according to whether the derived group identifier is included in the tenth service message. Specifically, if the tenth service message includes the derived group identifier, determine that the group information is the derived group information; if the tenth service message does not include the derived group identifier, determine that the group information is the primary group information.
(七)、派生群解散(7) Dissolution of the derived group
在一些示例性实施例中,该方法还包括:In some exemplary embodiments, the method also includes:
通过业务面通信链路接收基群服务器发送的第十二业务消息,其中,第十二业务消息包括:基群标识、派生群标识、派生群解散信息、派生群中的用户标识;Receive the twelfth service message sent by the base group server through the communication link of the service plane, wherein the twelfth service message includes: the base group ID, the derived group ID, the derived group disbandment information, and the user ID in the derived group;
从派生群页面退出,显示派生群解散信息。Exit from the derived group page, and display the information about the dissolution of the derived group.
在本公开实施例中,接收第二业务消息到第十二业务消息的终端可以是同一个终端,也可以是不同的终端。例如,接收第二业务消息的终端和接收第三业务消息的终端不是同一个终端。这是因为创建派生群的用户和被邀请加入派生群的用户不是同一个用户。In the embodiment of the present disclosure, the terminals receiving the second service message to the twelfth service message may be the same terminal or different terminals. For example, the terminal receiving the second service message is not the same terminal as the terminal receiving the third service message. This is because the user who created the spinoff and the user who was invited to join the spinoff are not the same user.
本公开实施例中将接收第二业务消息到第十二业务消息均认为是终端的功能,是因为对于不同的派生群,终端可能扮演不同的角色,例如创建派生群的用户,被邀请加入派生群的用户、请求加入派生群的用户等等。但是这些均是终端包含的功能。In the embodiment of the present disclosure, receiving the second service message to the twelfth service message is considered to be the function of the terminal, because the terminal may play different roles for different derived groups, for example, the user who creates the derived group is invited to join the derived group users of a group, users who request to join a derived group, and so on. But these are functions included in the terminal.
根据本公开实施例提供的群聊处理方法,在基群的基础上,通过复用基群的业务面通信链路实现了派生群的操作,而不需要建立新群,节省了建立新群所需要的建群资源和控制面的交互。同时,还可以避免由于群信息数量巨大导致群信息被淹没,减少了用户的垃圾信息,为用户提供了更好的体验。According to the group chat processing method provided by the embodiment of the present disclosure, on the basis of the basic group, the operation of the derived group is realized by reusing the communication link of the business plane of the basic group, without the need to establish a new group, saving the cost of establishing a new group The interaction between the required building resources and the control plane. At the same time, it can also prevent the group information from being overwhelmed due to the huge amount of group information, reduce spam information of users, and provide users with a better experience.
为了更直观地呈现派生群操作过程,下面列举几个示例分别说明派生群的创建、邀请用户加入派生群、退出派生群、退出基群、传输群信息、解散派生群的过程,所列举的示例仅仅是为了说明方便,不用于限定本公开实施例的保护范围。In order to present the derived group operation process more intuitively, the following examples illustrate the process of creating a derived group, inviting users to join the derived group, exiting the derived group, exiting the base group, transmitting group information, and disbanding the derived group. It is only for convenience of description, and is not intended to limit the protection scope of the embodiments of the present disclosure.
示例1Example 1
本示例描述派生群的创建过程,如图4所示,包括:This example describes the process of creating a derived group, as shown in Figure 4, including:
步骤400、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派生群创建指令、创建派生群的第一用户标识和邀请加入派生群的第二用户标识。Step 400, terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the instruction for creating the derived group, and the creation of the derived group The first user ID of and the second user ID invited to join the derived group.
步骤401、SIP代理服务器将第一业务消息发送给基群服务器。Step 401, the SIP proxy server sends the first service message to the group server.
步骤402、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,对第一用户标识进行鉴权,在对第一用户标识鉴权通过的情况下, 执行步骤403;在对第二用户标识鉴权不通过的情况下,结束本流程。Step 402, the base group server determines that the first service message is a derived group message according to the identifier of the derived group message, and authenticates the first user ID, and executes step 403 if the authentication of the first user ID passes; If the authentication of the second user ID fails, this process ends.
步骤403、基群服务器通过业务面通信链路将第一业务消息发送给派生群服务器。Step 403, the primary group server sends the first service message to the derived group server through the service plane communication link.
步骤404、派生群服务器生成派生群标识,保存基群标识和派生群标识之间的第一对应关系,保存派生群标识和第二用户标识之间的第二对应关系;通过业务面通信链路向基群服务器发送第二业务消息,其中,第二业务消息包括:响应信息、基群标识、派生群标识和第一用户标识;通过业务面通信链路向基群服务器发送第三业务消息,其中,第三业务消息包括:入群通知信息、基群标识、派生群标识和第二用户标识;通过业务面通信链路向基群服务器发送第四业务消息,其中,第四业务消息包括:邀请加入派生群信息、基群标识、派生群标识和基群中除第二用户标识之外的用户标识。Step 404, the derived group server generates a derived group ID, saves the first corresponding relationship between the base group ID and the derived group ID, and saves the second corresponding relationship between the derived group ID and the second user ID; Sending a second service message to the base group server, wherein the second service message includes: response information, a base group ID, a derived group ID, and a first user ID; sending a third service message to the base group server through a service plane communication link, Wherein, the third service message includes: group entry notification information, the primary group identifier, the derived group identifier and the second user identifier; the fourth service message is sent to the primary group server through the service plane communication link, wherein the fourth service message includes: Invitation to join derived group information, base group ID, derived group ID and user IDs in the base group except the second user ID.
步骤405、基群服务器将第二业务消息发送给SIP代理服务器,将第三业务消息发送给SIP代理服务器,将第四业务消息发送给SIP代理服务器。Step 405, the group server sends the second service message to the SIP proxy server, sends the third service message to the SIP proxy server, and sends the fourth service message to the SIP proxy server.
在本公开实施例中,不同终端归属的SIP代理服务器可能相同,也可能不同,基群服务器向SIP代理服务器发送业务消息时,根据接收业务消息的用户标识对应的业务通道发送给对应的SIP代理服务器。In the embodiment of the present disclosure, the SIP proxy servers to which different terminals belong may be the same or different. When the group server sends a service message to the SIP proxy server, it sends the service message to the corresponding SIP proxy according to the service channel corresponding to the user ID receiving the service message server.
步骤406、SIP代理服务器将第二业务消息发送给终端1,将第三业务消息发送给终端2,将第四业务消息发送给终端3。Step 406 , the SIP proxy server sends the second service message to terminal 1 , the third service message to terminal 2 , and the fourth service message to terminal 3 .
在本公开实施例中,终端2为第二用户标识对应的终端,终端3为第四业务消息中包括的基群中除第二用户标识之外的用户标识对应的终端。In the embodiment of the present disclosure, terminal 2 is a terminal corresponding to the second user identifier, and terminal 3 is a terminal corresponding to user identifiers other than the second user identifier in the group included in the fourth service message.
步骤407、终端1打开新的群聊页面作为派生群页面,在派生群页面上显示入群通知信息。Step 407, terminal 1 opens a new group chat page as a derived group page, and displays group joining notification information on the derived group page.
步骤408、终端2打开新的群聊页面作为派生群页面,在派生群页面上显示入群通知信息。Step 408, terminal 2 opens a new group chat page as a derived group page, and displays group joining notification information on the derived group page.
步骤409、终端3在基群页面显示邀请加入派生群信息。In step 409, the terminal 3 displays the invitation to join the derived group information on the primary group page.
示例2Example 2
本示例描述派生群创建完成后,邀请用户加入派生群的过程,如图5所示,包括:This example describes the process of inviting users to join a derived group after the derived group is created, as shown in Figure 5, including:
步骤500、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派 生群标识、邀请加入派生群的第三用户标识、邀请加入派生群指令。Step 500, terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, the invitation to join the derived group Instructions for identifying the third user and inviting to join the derived group.
步骤501、SIP代理服务器将第一业务消息发送给基群服务器。Step 501, the SIP proxy server sends the first service message to the group server.
步骤502、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,通过业务面通信链路将第一业务消息发送给派生群服务器。Step 502, the base group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
步骤503、在确定派生群操作指令为邀请加入派生群指令的情况下,派生群服务器保存派生群标识和第三用户标识之间的第二对应关系;通过业务面通信链路向基群服务器发送第五业务消息,其中,第五业务消息包括:入群通知信息、基群标识、派生群标识和第三用户标识;通过业务面通信链路向基群服务器发送第六业务消息,其中,第六业务消息包括:新用户入群通知信息、基群标识、派生群标识和已加入派生群的用户标识。Step 503, when it is determined that the derived group operation instruction is an instruction to invite to join the derived group, the derived group server saves the second corresponding relationship between the derived group ID and the third user ID; The fifth service message, wherein the fifth service message includes: group entry notification information, the primary group identifier, the derived group identifier and the third user identifier; the sixth service message is sent to the primary group server through the communication link of the service plane, wherein the first The six service messages include: notification information of new users joining the group, basic group ID, derived group ID, and user IDs that have joined the derived group.
步骤504、基群服务器通过业务面通信链路向SIP代理服务器发送第五业务消息,通过业务面通信链路向SIP代理服务器发送第六业务消息。Step 504, the group server sends the fifth service message to the SIP proxy server through the service plane communication link, and sends the sixth service message to the SIP proxy server through the service plane communication link.
步骤505、SIP代理服务器通过业务面通信链路向第三用户标识对应的终端4发送第五业务消息,通过业务面通信链路向已加入派生群的用户标识对应的终端5发送第六业务消息。Step 505, the SIP proxy server sends the fifth service message to the terminal 4 corresponding to the third user identifier through the service plane communication link, and sends the sixth service message to the terminal 5 corresponding to the user identifier that has joined the derived group through the service plane communication link .
步骤506、终端4打开新的群聊页面作为派生群页面;在派生群页面上显示入群通知信息。Step 506, the terminal 4 opens a new group chat page as a derived group page; and displays group joining notification information on the derived group page.
步骤507、终端5在派生群页面上显示新用户入群通知信息。Step 507, the terminal 5 displays the notification information of the new user joining the group on the derived group page.
示例3Example 3
本示例描述派生群创建完成后,用户请求加入派生群的过程,如图6所示,包括:This example describes the process of a user requesting to join a derived group after the derived group is created, as shown in Figure 6, including:
步骤600、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派生群标识、请求加入派生群的第四用户标识、请求加入派生群指令。Step 600, terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, and the request to join the derived group The fourth user ID of , requests to join the derivative group instruction.
步骤601、SIP代理服务器将第一业务消息发送给基群服务器。Step 601, the SIP proxy server sends the first service message to the group server.
步骤602、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,通过业务面通信链路将第一业务消息发送给派生群服务器。Step 602: The base group server determines that the first service message is a derived group message according to the identifier of the derived group message, and sends the first service message to the derived group server through the communication link of the service plane.
步骤603、在确定派生群操作指令为请求加入派生群指令的情况下,派生群服务器保存派生群标识和第四用户标识之间的第二对应关系;通过业务 面通信链路向基群服务器发送第七业务消息,其中,第七业务消息包括:入群通知信息、基群标识、派生群标识和第四用户标识;通过业务面通信链路向基群服务器发送第六业务消息,其中,第六业务消息包括:新用户入群通知信息、基群标识、派生群标识和已加入派生群的用户标识。Step 603, when it is determined that the derived group operation instruction is an instruction to request to join the derived group, the derived group server saves the second corresponding relationship between the derived group ID and the fourth user ID; and sends it to the base group server through the service plane communication link A seventh service message, wherein the seventh service message includes: group entry notification information, a primary group identifier, a derived group identifier, and a fourth user identifier; the sixth service message is sent to the primary group server through a service plane communication link, wherein the first The six service messages include: notification information of new users joining the group, basic group ID, derived group ID, and user IDs that have joined the derived group.
步骤604、基群服务器通过业务面通信链路向SIP代理服务器发送第七业务消息,通过业务面通信链路向SIP代理服务器发送第六业务消息。Step 604, the group server sends the seventh service message to the SIP proxy server through the service plane communication link, and sends the sixth service message to the SIP proxy server through the service plane communication link.
步骤605、SIP代理服务器通过业务面通信链路向第四用户标识对应的终端1发送第七业务消息,通过业务面通信链路向已加入派生群的用户标识对应的终端5发送第六业务消息。Step 605, the SIP proxy server sends the seventh service message to the terminal 1 corresponding to the fourth user identifier through the service plane communication link, and sends the sixth service message to the terminal 5 corresponding to the user identifier that has joined the derived group through the service plane communication link .
步骤606、终端1打开新的群聊页面作为派生群页面;在派生群页面上显示入群通知信息。Step 606, terminal 1 opens a new group chat page as a derived group page; and displays group joining notification information on the derived group page.
步骤607、终端5在派生群页面上显示新用户入群通知信息。Step 607, the terminal 5 displays the notification information of the new user joining the group on the derived group page.
示例4Example 4
本示例描述用户加入派生群后,退出派生群的过程,如图7所示,包括:This example describes the process of exiting a derived group after a user joins the derived group, as shown in Figure 7, including:
步骤700、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派生群标识、退出派生群的第五用户标识、退出派生群指令。Step 700, terminal 1 sends a first service message to the SIP proxy server through the communication link of the service plane of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, the exit from the derived group Fifth user identification, exit derived group instruction.
步骤701、SIP代理服务器将第一业务消息发送给基群服务器。Step 701, the SIP proxy server sends the first service message to the group server.
步骤702、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,通过业务面通信链路将第一业务消息发送给派生群服务器。Step 702: The primary group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
步骤703、在确定派生群操作指令为退出派生群指令的情况下,派生群服务器删除派生群标识和第五用户标识之间的第二对应关系;通过业务面通信链路向基群服务器发送第八业务消息,其中,第八业务消息包括:退出派生群通知信息、基群标识、派生群标识和第五用户标识。Step 703: When it is determined that the derived group operation instruction is an instruction to exit the derived group, the derived group server deletes the second corresponding relationship between the derived group ID and the fifth user ID; Eight service messages, wherein the eighth service message includes: notification information for exiting a derived group, a base group identifier, a derived group identifier, and a fifth user identifier.
步骤704、基群服务器通过业务面通信链路向SIP代理服务器发送第八业务消息。Step 704, the group server sends the eighth service message to the SIP proxy server through the service plane communication link.
步骤705、SIP代理服务器通过业务面通信链路向第五用户标识对应的终端1发送第八业务消息。Step 705, the SIP proxy server sends the eighth service message to the terminal 1 corresponding to the fifth user identifier through the service plane communication link.
步骤706、终端1从派生群页面退出。Step 706, terminal 1 exits from the derived group page.
示例5Example 5
本示例描述用户加入派生群后,退出基群的过程,如图8所示,包括:This example describes the process of exiting the primary group after the user joins the derived group, as shown in Figure 8, including:
步骤800、终端1通过基群的控制面链路向SIP代理服务器发送退出基群请求;其中,退出基群请求包括:退出基群的第六用户标识和基群标识。In step 800, the terminal 1 sends a group exit request to the SIP proxy server through the group control plane link; wherein, the group exit request includes: the sixth user ID and the group ID of the group exit group.
步骤801、SIP代理服务器将退出基群请求发送给基群服务器。Step 801, the SIP proxy server sends a group exit request to the group server.
步骤802、基群服务器删除基群标识和第六用户标识之间的第三对应关系;通过业务面通信链路向派生群服务器发送第九业务消息,其中,第九业务消息包括:基群标识、第六用户标识和退出基群指令。Step 802, the base group server deletes the third corresponding relationship between the base group ID and the sixth user ID; sends the ninth service message to the derived group server through the service plane communication link, wherein the ninth service message includes: the base group ID , the sixth user identification and an instruction to exit the group.
步骤803、派生群服务器删除第六用户标识和派生群标识之间的第二对应关系;通过业务面通信链路向基群服务器发送第十业务消息,其中,第十业务消息包括:退出基群通知信息、基群标识和第六用户标识。Step 803, the derived group server deletes the second corresponding relationship between the sixth user ID and the derived group ID; sends a tenth service message to the base group server through the service plane communication link, wherein the tenth service message includes: exit the base group The notification information, the group ID and the sixth user ID.
步骤804、基群服务器通过控制面链路向SIP代理服务器发送第十业务消息。Step 804, the group server sends the tenth service message to the SIP proxy server through the control plane link.
步骤805、SIP代理服务器通过业务面通信链路向终端1发送第十业务消息。Step 805, the SIP proxy server sends the tenth service message to the terminal 1 through the communication link of the service plane.
步骤806、终端1从基群页面和派生群页面退出。Step 806, terminal 1 exits from the base group page and derived group page.
示例6Example 6
本示例描述用户加入派生群后,在派生群中发送群信息的过程,如图9所示,包括:This example describes the process of sending group information in the derived group after the user joins the derived group, as shown in Figure 9, including:
步骤900、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派生群标识、群信息、派生群信息传输指令。Step 900: Terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, group information, the derived group Group information transmission command.
步骤901、SIP代理服务器将第一业务消息发送给基群服务器。Step 901, the SIP proxy server sends the first service message to the group server.
步骤902、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,通过业务面通信链路将第一业务消息发送给派生群服务器。In step 902, the primary group server determines that the first service message is a derived group message according to the identifier of the derived group message, and sends the first service message to the derived group server through the service plane communication link.
步骤903、在确定派生群操作指令为派生群信息传输指令的情况下,派生群服务器通过业务面通信链路向基群服务器发送第十一业务消息,其中,第十一业务消息包括:基群标识、派生群标识、群信息。Step 903: When it is determined that the derived group operation instruction is a derived group information transmission instruction, the derived group server sends an eleventh service message to the base group server through the service plane communication link, wherein the eleventh service message includes: base group ID, derived group ID, group information.
步骤904、基群服务器通过业务面通信链路向SIP代理服务器发送第十 一业务消息。Step 904, the group server sends the eleventh service message to the SIP proxy server through the service plane communication link.
步骤905、SIP代理服务器通过业务面通信链路向终端5发送第十一业务消息。Step 905, the SIP proxy server sends the eleventh service message to the terminal 5 through the communication link of the service plane.
在本公开实施例中,终端5为派生群中的用户标识对应的终端。In the embodiment of the present disclosure, the terminal 5 is the terminal corresponding to the user identifier in the derived group.
步骤906、终端5在派生群页面中显示群信息。Step 906, the terminal 5 displays group information on the derived group page.
示例7Example 7
本示例描述用户解散派生群的过程,如图10所示,包括:This example describes the process of a user disbanding a derived group, as shown in Figure 10, including:
步骤1000、终端1通过基群的业务面通信链路向SIP代理服务器发送第一业务消息,其中,第一业务消息包括:派生群消息的标识、基群标识、派生群标识、群信息、派生群解散指令。Step 1000, terminal 1 sends a first service message to the SIP proxy server through the service plane communication link of the primary group, wherein the first service message includes: the identifier of the derived group message, the primary group identifier, the derived group identifier, group information, the derived Group disband command.
步骤1001、SIP代理服务器将第一业务消息发送给基群服务器。Step 1001, the SIP proxy server sends the first service message to the group server.
步骤1002、基群服务器根据派生群消息的标识确定第一业务消息为派生群消息,通过业务面通信链路将第一业务消息发送给派生群服务器。Step 1002, the base group server determines the first service message as a derived group message according to the derived group message identifier, and sends the first service message to the derived group server through the service plane communication link.
步骤1003、在确定派生群操作指令为派生群解散指令的情况下,派生群服务器删除派生群标识和派生群中的用户标识之间的第二对应关系;通过业务面通信链路向基群服务器发送第十二业务消息,其中,第十二业务消息包括:基群标识、派生群标识、派生群解散信息、派生群中的用户标识。Step 1003, when it is determined that the derived group operation instruction is a derived group disbanding instruction, the derived group server deletes the second corresponding relationship between the derived group ID and the user ID in the derived group; A twelfth service message is sent, wherein the twelfth service message includes: a basic group identifier, a derived group identifier, information about the dissolution of the derived group, and user identifiers in the derived group.
步骤1004、基群服务器通过业务面通信链路向SIP代理服务器发送第十二业务消息。Step 1004, the group server sends the twelfth service message to the SIP proxy server through the service plane communication link.
步骤1005、SIP代理服务器通过业务面通信链路向终端5发送第十二业务消息。Step 1005, the SIP proxy server sends the twelfth service message to the terminal 5 through the communication link of the service plane.
在本公开实施例中,终端5为派生群中的用户标识对应的终端。In the embodiment of the present disclosure, the terminal 5 is the terminal corresponding to the user identifier in the derived group.
步骤1006、终端5从派生群页面退出,显示派生群解散信息。Step 1006, the terminal 5 exits from the derived group page, and displays the information about the dissolution of the derived group.
第四方面,本公开另一个实施例提供一种电子设备,包括:In a fourth aspect, another embodiment of the present disclosure provides an electronic device, including:
至少一个处理器;at least one processor;
存储器,存储器上存储有至少一个程序,当至少一个程序被至少一个处理器执行时,实现上述任意一种群聊处理方法。A memory, at least one program is stored in the memory, and when the at least one program is executed by at least one processor, any one of the above group chat processing methods is realized.
其中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器 (CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。Wherein, the processor is a device with data processing capability, which includes but not limited to central processing unit (CPU), etc.; the memory is a device with data storage capability, which includes but not limited to random access memory (RAM, more specifically SDRAM , DDR, etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH).
在一些实施例中,处理器、存储器通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, the processor and the memory are connected to each other through a bus, and further connected to other components of the computing device.
第五方面,本公开另一个实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述任意一种群聊处理方法。In a fifth aspect, another embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above group chat processing methods is implemented.
图11为本公开另一个实施例提供的群聊处理装置的组成框图。Fig. 11 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
第六方面,参照图11,本公开另一个实施例提供一种群聊处理装置(如派生服务器),包括:In the sixth aspect, referring to FIG. 11 , another embodiment of the present disclosure provides a group chat processing device (such as a derived server), including:
第一接收模块1101,被配置成通过基群的业务面通信链路接收基群服务器发送的第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令;The
第一群操作模块1102,被配置成进行派生群操作指令对应的派生群操作。The first
在一些示例性实施例中,第一群操作模块1102具体被配置成:In some exemplary embodiments, the first
在确定派生群操作指令为派生群创建指令的情况下,生成派生群标识,保存基群标识和派生群标识之间的第一对应关系;In the case where it is determined that the derived group operation instruction is a derived group creation instruction, a derived group identifier is generated, and the first corresponding relationship between the base group identifier and the derived group identifier is saved;
通过业务面通信链路向基群服务器发送第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识。Sending a second service message to the base group server through the service plane communication link, where the second service message includes: response information and the first user identifier for creating the derived group.
在一些示例性实施例中,第一业务消息还包括:邀请加入派生群的第二用户标识,其中,第二用户标识为基群中的部分或全部用户标识;In some exemplary embodiments, the first service message further includes: a second user ID inviting to join the derived group, where the second user ID is part or all of the user IDs in the base group;
第一群操作模块1102还被配置成:The first group of
保存派生群标识和第二用户标识之间的第二对应关系;saving the second corresponding relationship between the derived group identifier and the second user identifier;
通过业务面通信链路向基群服务器发送第三业务消息,其中,第三业务消息包括:入群通知信息和第二用户标识。Sending a third service message to the group server through the service plane communication link, where the third service message includes: group entry notification information and a second user identifier.
在一些示例性实施例中,第一群操作模块1102还被配置成:In some exemplary embodiments, the first
通过业务面通信链路向基群服务器发送第四业务消息,其中,第四业务 消息包括:邀请加入派生群信息和基群的部分或全部用户标识。Send the fourth service message to the primary group server through the service plane communication link, wherein the fourth service message includes: invitation to join the derived group information and some or all user identifications of the primary group.
在一些示例性实施例中,第一群操作模块1102具体被配置成:In some exemplary embodiments, the first
在确定派生群操作指令为邀请加入派生群指令的情况下,第一业务消息还包括:邀请加入派生群的第三用户标识和派生群标识,其中,第三用户标识为基群中的部分或全部用户标识;When it is determined that the derived group operation instruction is an instruction to invite to join the derived group, the first service message further includes: the third user ID and the derived group ID invited to join the derived group, wherein the third user ID is part or part of the base group All User IDs;
保存派生群标识和第三用户标识之间的第二对应关系;storing the second corresponding relationship between the derived group identifier and the third user identifier;
通过业务面通信链路向基群服务器发送第五业务消息,其中,第五业务消息包括:入群通知信息和第三用户标识。Sending the fifth service message to the group server through the service plane communication link, where the fifth service message includes: group entry notification information and a third user identifier.
在一些示例性实施例中,第一群操作模块1102还被配置成:In some exemplary embodiments, the first
通过所述业务面通信链路向所述基群服务器发送第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识。Sending a sixth service message to the primary group server through the service plane communication link, where the sixth service message includes: notification information of a new user joining a group and identifiers of users who have joined the derived group.
在一些示例性实施例中,第一群操作模块1102具体被配置成:In some exemplary embodiments, the first
在确定派生群操作指令为请求加入派生群指令的情况下,第一业务消息还包括请求加入派生群的第四用户标识和派生群标识,其中,第四用户标识为基群中的部分或全部用户标识;When it is determined that the derived group operation instruction is an instruction to request to join the derived group, the first service message also includes the fourth user ID requesting to join the derived group and the derived group ID, wherein the fourth user ID is part or all of the base group User ID;
保存派生群标识和第四用户标识之间的第二对应关系;storing the second corresponding relationship between the derived group identifier and the fourth user identifier;
通过业务面通信链路向基群服务器发送第七业务消息,其中,第七业务消息包括:入群通知信息和第四用户标识。Sending a seventh service message to the group server through the service plane communication link, where the seventh service message includes: group entry notification information and a fourth user identifier.
在一些示例性实施例中,第一群操作模块1102具体被配置成:In some exemplary embodiments, the first
在确定派生群操作指令为退出派生群指令的情况下,第一业务消息还包括:退出派生群的第五用户标识和派生群标识;In the case where it is determined that the derived group operation instruction is an instruction to exit the derived group, the first service message further includes: the fifth user identification and the derived group identification for exiting the derived group;
删除派生群标识和第五用户标识之间的第二对应关系;deleting the second corresponding relationship between the derived group identifier and the fifth user identifier;
通过业务面通信链路向基群服务器发送第八业务消息,其中,第八业务消息包括:退出派生群通知信息和第五用户标识。An eighth service message is sent to the primary group server through the service plane communication link, where the eighth service message includes: notification information for exiting the derived group and the fifth user identifier.
在一些示例性实施例中,第一群操作模块1102还被配置成:In some exemplary embodiments, the first
通过业务面通信链路接收基群服务器发送的第九业务消息,其中,第九业务消息包括:基群标识、退出基群的第六用户标识和退出基群指令;Receive the ninth service message sent by the group server through the communication link of the service plane, wherein the ninth service message includes: the group identification, the sixth user identification for exiting the group, and the exit group instruction;
删除第六用户标识和派生群标识之间的第二对应关系;deleting the second corresponding relationship between the sixth user identifier and the derived group identifier;
通过业务面通信链路向基群服务器发送第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识。Sending a tenth service message to the group server through the service plane communication link, where the tenth service message includes: group exit notification information and a sixth user identifier.
上述群聊处理装置的具体实体过程与前述实施例群聊处理方法的具体实现过程相同,这里不再赘述。The specific substantive process of the above-mentioned device for processing group chat is the same as the specific implementation process of the method for processing group chat in the aforementioned embodiment, and will not be repeated here.
图12为本公开另一个实施例提供的群聊处理装置的组成框图。Fig. 12 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
第七方面,参照图12,本公开另一个实施例提供一种群聊处理装置(如基群服务器),包括:In the seventh aspect, referring to FIG. 12 , another embodiment of the present disclosure provides a group chat processing device (such as a group server), including:
第二接收模块1201,被配置成通过基群的业务面通信链路接收终端发送的第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令;The
第二群操作模块1202,被配置成在确定第一业务消息为派生群消息的情况下,通过业务面通信链路将第一业务消息发送给派生群服务器。The second
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识;Receive a second service message sent by the derived group server through the service plane communication link, where the second service message includes: response information and the first user identifier for creating the derived group;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向第一用户标识对应的终端发送第二业务消息。Sending the second service message to the terminal corresponding to the first user identifier through the service plane communication link.
在一些示例性实施例中,第一业务消息还包括:创建派生群的第一用户标识;In some exemplary embodiments, the first service message further includes: the first user identifier for creating the derived group;
第二群操作模块1202还被配置成:The second
在确定派生群操作指令为派生群创建指令的情况下,对第一用户标识进行鉴权;In the case of determining that the derived group operation instruction is a derived group creation instruction, authenticating the first user identifier;
在对第一用户标识鉴权通过的情况下,继续执行通过业务面通信链路将第一业务消息发送给派生群服务器的操作。In the case that the first user identifier is authenticated successfully, the operation of sending the first service message to the derived group server through the communication link of the service plane is continued.
在一些示例性实施例中,第二群操作模块1202还被配置成:In some exemplary embodiments, the second
在确定派生群操作指令不是派生群创建指令的情况下,继续执行通过业务面通信链路将第一业务消息发送给派生群服务器的操作。When it is determined that the derived group operation instruction is not the derived group creation instruction, continue to perform the operation of sending the first service message to the derived group server through the communication link of the service plane.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第三业务消息,其中,第 三业务消息包括:入群通知信息和邀请加入派生群的第二用户标识;Receive the third service message sent by the derived group server through the service plane communication link, wherein the third service message includes: group entry notification information and the second user identification invited to join the derived group;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向第二用户标识对应的终端发送第四业务消息。Send the fourth service message to the terminal corresponding to the second user identifier through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第四业务消息,其中,第四业务消息包括:邀请加入派生群信息和基群的部分或全部用户标识;Receive the fourth service message sent by the derived group server through the service plane communication link, where the fourth service message includes: invitation to join the derived group information and some or all user identifiers of the base group;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向基群的部分或全部用户标识对应的终端发送第四业务消息。The fourth service message is sent to terminals corresponding to part or all of the user identifiers of the group through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第五业务消息,其中,第五业务消息包括:入群通知信息和邀请加入派生群的第三用户标识,其中,第三用户标识为基群中的部分或全部用户标识;The fifth service message sent by the derived group server is received through the service plane communication link, wherein the fifth service message includes: group entry notification information and the third user identification invited to join the derived group, wherein the third user identification is the part or all of the User ID;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向第三用户标识对应的终端发送第五业务消息。Send the fifth service message to the terminal corresponding to the third user identifier through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过所述业务面通信链路接收所述派生群服务器发送的第六业务消息;其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识;Receive a sixth service message sent by the derived group server through the service plane communication link; wherein, the sixth service message includes: notification information of new users entering the group and user identifiers that have joined the derived group;
第二群操作模块1202还被配置成:The second
通过所述业务面通信链路向所述已加入派生群的用户标识对应的终端发送所述第六业务消息。Sending the sixth service message to the terminal corresponding to the user identifier that has joined the derived group through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第七业务消息,其中,第七业务消息包括:入群通知信息和请求加入派生群的第四用户标识,其中,第四用户标识为基群中的部分或全部用户标识;The seventh service message sent by the derived group server is received through the service plane communication link, wherein the seventh service message includes: group entry notification information and the fourth user identification requesting to join the derived group, wherein the fourth user identification is the part or all of the User ID;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向第四用户标识对应的终端发送第七业务消息。Send the seventh service message to the terminal corresponding to the fourth user identifier through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收派生群服务器发送的第八业务消息,其中,第八业务消息包括:退出派生群通知信息和退出派生群的第五用户标识;Receive the eighth service message sent by the derived group server through the service plane communication link, wherein the eighth service message includes: exiting the derived group notification information and the fifth user identification of exiting the derived group;
第二群操作模块1202还被配置成:The second
通过业务面通信链路向第五用户标识对应的终端发送第八业务消息。Send the eighth service message to the terminal corresponding to the fifth user identifier through the service plane communication link.
在一些示例性实施例中,第二接收模块1201还被配置成:In some exemplary embodiments, the
通过基群的控制面链路接收终端发送的退出基群请求,其中,退出基群请求包括:退出基群的第六用户标识和基群标识;Receive a group exit request sent by the terminal through the control plane link of the group, where the group exit request includes: the sixth user identification and group identification for exiting the group;
第二群操作模块1202还被配置成:The second
删除基群标识和第六用户标识之间的第三对应关系;Delete the third corresponding relationship between the group ID and the sixth user ID;
通过业务面通信链路向派生群服务器发送第九业务消息,其中,第九业务消息包括:基群标识、第六用户标识和退出基群指令;Send a ninth service message to the derived group server through the service plane communication link, where the ninth service message includes: a group identifier, a sixth user identifier, and an exit group instruction;
通过业务面通信链路接收派生群服务器发送的第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识;Receive the tenth service message sent by the derived group server through the service plane communication link, where the tenth service message includes: exit group notification information and a sixth user identifier;
通过控制面链路向第五用户标识对应的终端发送第十业务消息。Send the tenth service message to the terminal corresponding to the fifth user identifier through the control plane link.
上述群聊处理装置的具体实体过程与前述实施例群聊处理方法的具体实现过程相同,这里不再赘述。The specific substantive process of the above-mentioned device for processing group chat is the same as the specific implementation process of the method for processing group chat in the aforementioned embodiment, and will not be repeated here.
图13为本公开另一个实施例提供的群聊处理装置的组成框图。Fig. 13 is a block diagram of a group chat processing device provided by another embodiment of the present disclosure.
第八方面,参照图13,本公开另一个实施例提供一种群聊处理装置(如终端),包括:In the eighth aspect, referring to FIG. 13 , another embodiment of the present disclosure provides a group chat processing device (such as a terminal), including:
发送模块1301,被配置成通过基群的业务面通信链路向基群服务器发送第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令。The sending
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过业务面通信链路接收基群服务器发送的第二业务消息,其中,第二业务消息包括:响应信息和创建派生群的第一用户标识;The
群处理模块1303,被配置成打开新的群聊页面作为派生群页面。The
在一些示例性实施例中,所述第三接收模块1302还被配置成:In some exemplary embodiments, the
通过业务面通信链路接收基群服务器发送的第三业务消息,其中,第三业务消息包括:入群通知信息和邀请加入派生群的第二用户标识;Receive a third service message sent by the base group server through the service plane communication link, where the third service message includes: group entry notification information and a second user ID invited to join the derived group;
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过业务面通信链路接收基群服务器发送的第四业务消息,其中,第四业务消息包括:邀请加入派生群信息和基群的部分或全部用户标识;The
群处理模块1303,被配置成在基群页面显示邀请加入派生群信息或弹出一个对话框,在对话框上显示邀请加入派生群信息。The
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过业务面通信链路接收基群服务器发送的第五业务消息,其中,第五业务消息包括:入群通知信息和邀请加入派生群的第三用户标识,其中,第三用户标识为基群中的部分或全部用户标识;The
群处理模块1303,被配置成:The
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过所述业务面通信链路接收所述基群服务器发送的第六业务消息,其中,所述第六业务消息包括:新用户入群通知信息和已加入派生群的用户标识;The
群处理模块1303,被配置成在派生群页面上显示所述新用户入群通知信息。The
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过业务面通信链路接收基群服务器发送的第七业务消息,其中,第六业务消息包括:入群通知信息和请求加入派生群的第四用户标识,其中,第四用户标识为基群中的部分或全部用户标识;The
群处理模块1303,被配置成:The
打开新的群聊页面作为派生群页面;Open a new group chat page as a derived group page;
在派生群页面上显示入群通知信息。Display group entry notification information on the derived group page.
在一些示例性实施例中,所述群聊处理装置还包括:In some exemplary embodiments, the group chat processing device further includes:
第三接收模块1302,被配置成通过业务面通信链路接收基群服务器发送的第八业务消息,其中,第八业务消息包括:退出派生群通知信息和退出派生群的第五用户标识;The
群处理模块1303,被配置成从派生群页面退出。The
在一些示例性实施例中,发送模块1301还被配置成:In some exemplary embodiments, the sending
通过基群的控制面链路向基群服务器发送退出基群请求,其中,退出基群请求包括:退出基群的第六用户标识和基群标识;Sending an exit group request to the group server through the control plane link of the group, wherein the exit group request includes: the sixth user identification and the group identification of the exit group;
所述群聊处理装置还包括:The group chat processing device also includes:
第三接收模块1302,被配置成通过控制面链路接收基群服务器发送的第十业务消息,其中,第十业务消息包括:退出基群通知信息和第六用户标识;The
群处理模块1303,被配置成从基群页面和派生群页面退出。The
上述群聊处理装置的具体实体过程与前述实施例群聊处理方法的具体实现过程相同,这里不再赘述。The specific substantive process of the above-mentioned device for processing group chat is the same as the specific implementation process of the method for processing group chat in the aforementioned embodiment, and will not be repeated here.
图14为本公开另一个实施例提供的群聊处理系统的组成框图。Fig. 14 is a block diagram of a group chat processing system provided by another embodiment of the present disclosure.
第九方面,参照图14,本公开另一个实施例提供一种群聊处理系统,包括:In the ninth aspect, referring to FIG. 14 , another embodiment of the present disclosure provides a group chat processing system, including:
终端1401,被配置成通过基群的业务面通信链路发送第一业务消息,其中,第一业务消息包括:基群标识和派生群操作指令;The terminal 1401 is configured to send a first service message through a service plane communication link of the base group, where the first service message includes: a base group identifier and a derived group operation instruction;
基群服务器1402,被配置成:通过基群的业务面通信链路接收第一业务消息;在确定第一业务消息为派生群消息的情况下,通过业务面通信链路将第一业务消息发送给派生群服务器;The
派生服务器1403,被配置成:通过基群的业务面通信链路接收基群服务器发送的第一业务消息;进行派生群操作指令对应的派生群操作。The
在一些示例性实施例中,基群服务器1402和派生群服务器1403为同一个服务器或为不同的服务器。In some exemplary embodiments, the
上述群聊处理系统的具体实体过程与前述实施例群聊处理方法的具体实现过程相同,这里不再赘述。The specific substantive process of the above group chat processing system is the same as the specific implementation process of the group chat processing method in the foregoing embodiment, and will not be repeated here.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage, or may be used Any other medium that stores desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。Example embodiments have been disclosed herein, and while specific terms have been employed, they are used and should be construed in a generic descriptive sense only and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be described in combination with other embodiments, unless explicitly stated otherwise. Combinations of features and/or elements. Accordingly, it will be understood by those of ordinary skill in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims (32)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110748568.1A CN113225247B (en) | 2021-07-02 | 2021-07-02 | Group chat processing method and system, electronic device and computer readable storage medium |
| CN202110748568.1 | 2021-07-02 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023274283A1 true WO2023274283A1 (en) | 2023-01-05 |
Family
ID=77081066
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/102221 Ceased WO2023274283A1 (en) | 2021-07-02 | 2022-06-29 | Group chat processing method and system, and electronic device and computer-readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113225247B (en) |
| WO (1) | WO2023274283A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113225247B (en) * | 2021-07-02 | 2021-12-07 | 中兴通讯股份有限公司 | Group chat processing method and system, electronic device and computer readable storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101753475A (en) * | 2008-12-04 | 2010-06-23 | 上海赢思软件技术有限公司 | Method and device for realizing real-time communication among a plurality of members in real-time communication group |
| CN101883057A (en) * | 2009-05-04 | 2010-11-10 | 上海赢思软件技术有限公司 | A method and device for realizing instant messaging among multiple members in an instant messaging group |
| CN104579708A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Group joining method and device |
| CN104580431A (en) * | 2014-12-27 | 2015-04-29 | 北京奇虎科技有限公司 | Communication group configuration method and device |
| CN106911555A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Group chat message treatment method, server and terminal |
| US20210126806A1 (en) * | 2019-10-28 | 2021-04-29 | LINE Plus Corporation | Method for recognizing and utilizing user face based on profile picture in chatroom created using group album |
| CN113225247A (en) * | 2021-07-02 | 2021-08-06 | 中兴通讯股份有限公司 | Group chat processing method and system, electronic device and computer readable storage medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103686618B (en) * | 2012-09-11 | 2017-04-05 | 普天信息技术研究院有限公司 | It is a kind of to trigger the method for setting up wideband multimedia cluster service |
| CN103888344B (en) * | 2014-03-20 | 2017-07-14 | 小米科技有限责任公司 | Group creating method, group exit method and apparatus |
| CN111885508B (en) * | 2015-12-15 | 2022-04-12 | 华为云计算技术有限公司 | Group multicast and group creation method and mobile network platform |
| US10616289B2 (en) * | 2016-02-16 | 2020-04-07 | LinkTime Corp. | System and method for managing online group chat |
| CN106453066B (en) * | 2016-12-09 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Group session processing method, terminal, server and system |
-
2021
- 2021-07-02 CN CN202110748568.1A patent/CN113225247B/en active Active
-
2022
- 2022-06-29 WO PCT/CN2022/102221 patent/WO2023274283A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101753475A (en) * | 2008-12-04 | 2010-06-23 | 上海赢思软件技术有限公司 | Method and device for realizing real-time communication among a plurality of members in real-time communication group |
| CN101883057A (en) * | 2009-05-04 | 2010-11-10 | 上海赢思软件技术有限公司 | A method and device for realizing instant messaging among multiple members in an instant messaging group |
| CN104579708A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Group joining method and device |
| CN104580431A (en) * | 2014-12-27 | 2015-04-29 | 北京奇虎科技有限公司 | Communication group configuration method and device |
| CN106911555A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Group chat message treatment method, server and terminal |
| US20210126806A1 (en) * | 2019-10-28 | 2021-04-29 | LINE Plus Corporation | Method for recognizing and utilizing user face based on profile picture in chatroom created using group album |
| CN113225247A (en) * | 2021-07-02 | 2021-08-06 | 中兴通讯股份有限公司 | Group chat processing method and system, electronic device and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113225247A (en) | 2021-08-06 |
| CN113225247B (en) | 2021-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102123156B (en) | Systems and methods for associating private and public user identities | |
| KR101741866B1 (en) | Method and system for reliable protocol tunneling over http | |
| EP3424186B1 (en) | Managing multiple profiles for a single account in an asynchronous messaging system | |
| US8676899B2 (en) | Offline IM chat to avoid server connections | |
| KR101150594B1 (en) | Method and apparatus for cpm session management | |
| US20090049190A1 (en) | Multiple points of presence in real time communications | |
| EP1599014A2 (en) | Mechanism for controlling a decentralized multi-party conference | |
| US20070100944A1 (en) | Uniform resource identifier decoration to enable connectivity for instant messaging providers serving non-authoritative namespaces | |
| CN102959905B (en) | Method, device and system for synchronizing contact information | |
| EP2560329B1 (en) | Method and processing system for routing a message request | |
| CN106161201B (en) | A method, device and system for participating in a group chat with an email account as an identifier | |
| WO2023274283A1 (en) | Group chat processing method and system, and electronic device and computer-readable storage medium | |
| CN114025005B (en) | Data communication method, system, electronic equipment and storage medium | |
| WO2023098816A1 (en) | Device communication method and apparatus based on mqtt protocol | |
| CN105721274A (en) | Method and device for integrating variety of instant messaging | |
| CN1992626B (en) | A Method of Establishing General Discussion Group in Instant Messaging | |
| US9338119B2 (en) | Direct electronic mail | |
| CN103973656A (en) | Method and system for judging terminal states, and RCS-e (rich communication suite-e) server | |
| WO2022041923A1 (en) | Network slice connection method, terminal, and computer-readable storage medium | |
| CN109120578A (en) | A kind of method and device for realizing link connection processing | |
| CN116055441A (en) | Two-way friendship establishment method, device, computer equipment and storage medium | |
| US20140019838A1 (en) | Method and system for communicating between client pages | |
| CN112333000A (en) | Equipment management system and method based on instant message communication | |
| CN105376727A (en) | Data card processing method and device | |
| CN120301869A (en) | Method, apparatus, device, storage medium and program product for communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22832096 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22832096 Country of ref document: EP Kind code of ref document: A1 |