Method and device for avoiding abnormal group session, equipment and storage medium
By monitoring the current session in the terminal device and processing multicast group session establishment and release messages according to the session ID, the problem of multicast session anomalies is solved and the stability of group communication is ensured.
Patent Information
- Application Number
- CN202310180702.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
In the mission-critical push-to-talk service, when multicast sessions of the same group are frequently established and terminated, multicast group session establishment messages and release messages are out of order, causing multicast session abnormalities.
By receiving information containing the current session ID and group ID, the terminal device monitors the current session and decides whether to exit the session based on the target session ID and group ID, ensuring that the session sequence is consistent and avoiding exceptions.
It effectively avoids multicast session anomalies in the same group, ensures session sequence consistency, and improves the stability of group communication.
Smart Images

Figure CN118574085A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a method, apparatus, device and storage medium for avoiding group session abnormalities. Background Art
[0002] The mission critical push to talk (MCPTT) service provides an enhanced push to talk (PTT) service suitable for mission critical scenarios. It supports authentication, group attachment, group management, group call, multicast, single call, priority call, floor control, location reporting and other functions.
[0003] In the related art, the same group may frequently establish and terminate multicast sessions. If the multicast group session establishment message and the multicast group session release message are out of order, the multicast session of the same group may be abnormal. Summary of the invention
[0004] The embodiments of the present application relate to a method, apparatus, device and storage medium for avoiding group session abnormalities, thereby avoiding multicast session abnormalities in the same group.
[0005] In a first aspect, an embodiment of the present application provides a method for avoiding group session abnormalities, which is applied to a terminal device, and the method includes:
[0006] receiving first information, wherein the first information includes a current session identifier and a first group identifier; monitoring a current session of the first group according to the current session identifier and the first group identifier;
[0007] receiving second information, wherein the second information includes a target session identifier and a second group identifier;
[0008] Determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier.
[0009] In a possible implementation manner, determining whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier includes:
[0010] Determining whether the first group identifier and the second group identifier are the same;
[0011] If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier;
[0012] If not, continue to monitor the current session of the first group.
[0013] In a possible implementation manner, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier includes:
[0014] Determining whether the target session identifier is the same as the current session identifier;
[0015] If yes, exit the current session of the first group;
[0016] If not, continue to monitor the current session of the first group.
[0017] In a possible implementation manner, the receiving the first information includes:
[0018] A multicast group session establishment message is received, where the multicast group session establishment message includes the first information.
[0019] In a possible implementation manner, the receiving the second information includes:
[0020] A multicast group session release message is received, where the multicast group session release message includes the second information.
[0021] In a second aspect, an embodiment of the present application provides a method for avoiding group session abnormalities, which is applied to a network device, and the method includes:
[0022] Sending first information to the terminal device, where the first information includes a current session identifier and a first group identifier, and the first information is used to indicate the establishment of a current session of the first group;
[0023] Sending second information to the terminal device, where the second information includes a target session identifier and a second group identifier, and the second information is used to indicate the release of the target session of the second group.
[0024] In a third aspect, an embodiment of the present application provides a device for avoiding group session abnormality, including:
[0025] A communication module, configured to receive first information, wherein the first information includes a current session identifier and a first group identifier;
[0026] A processing module, configured to monitor a current session of the first group according to the current session identifier and the first group identifier;
[0027] The communication module is further used to receive second information, wherein the second information includes a target session identifier and a second group identifier;
[0028] The processing module is further configured to determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier and the second group identifier.
[0029] In a possible implementation manner, the processing module is specifically used to:
[0030] Determining whether the first group identifier and the second group identifier are the same;
[0031] If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier;
[0032] If not, continue to monitor the current session of the first group.
[0033] In a possible implementation manner, the processing module is specifically used to:
[0034] Determining whether the target session identifier is the same as the current session identifier;
[0035] If yes, exit the current session of the first group;
[0036] If not, continue to monitor the current session of the first group.
[0037] In a possible implementation manner, the communication module is specifically used to:
[0038] A multicast group session establishment message is received, where the multicast group session establishment message includes the first information.
[0039] In a possible implementation manner, the communication module is specifically used to:
[0040] A multicast group session release message is received, where the multicast group session release message includes the second information.
[0041] In a fourth aspect, an embodiment of the present application provides a device for avoiding group session abnormality, including:
[0042] A communication module, configured to send first information to a terminal device, wherein the first information includes a current session identifier and a first group identifier, and the first information is used to indicate the establishment of a current session of the first group;
[0043] The communication module is further used to send second information to the terminal device, where the second information includes a target session identifier and a second group identifier, and the second information is used to indicate the release of the target session of the second group.
[0044] In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a transceiver, and a memory;
[0045] The memory stores computer-executable instructions;
[0046] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method described in any one of the first aspect or the method described in the second aspect.
[0047] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method described in any one of the first aspect or the method described in the second aspect.
[0048] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in any one of the first aspect or the method described in the second aspect.
[0049] The embodiment of the present application provides a method, apparatus, device and storage medium for avoiding abnormal group sessions. In the method, a network device sends a first message to a terminal device, the first message includes a current session identifier and a first group identifier; the terminal device monitors the current session of the first group according to the current session identifier and the first group identifier; the network device sends a second message to the terminal device, the second message includes a target session identifier and a second group identifier; the terminal device determines whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier and the second group identifier. The abnormal multicast session of the same group is avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the present application, a brief introduction will be given below to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0052] Figure 2 A schematic diagram of a process for establishing an MCPTT voice multicast service is provided for an embodiment of the present application;
[0053] Figure 3 A schematic diagram of a process for terminating an MCPTT voice multicast service provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of an interactive process of an MCPTT voice multicast service provided in an embodiment of the present application;
[0055] Figure 5 A flowchart of a method for avoiding group session abnormalities provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of the field structure of a multicast group session establishment message provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of the field structure of a multicast group session release message provided in an embodiment of the present application;
[0058] Figure 8 A flowchart of another method for avoiding group session abnormalities provided in an embodiment of the present application;
[0059] Fig. 9 A schematic diagram of the structure of a device for avoiding group conversation abnormalities provided in an embodiment of the present application;
[0060] Fig.10 A schematic diagram of the structure of another device for avoiding group conversation abnormalities provided in an embodiment of the present application;
[0061] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application.
[0063] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0065] It should be noted that, although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. Optionally, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.
[0066] It should be understood that the terms "comprises" and "includes" indicate the presence of the previously mentioned features, steps, operations, but do not exclude the presence, occurrence or addition of one or at least one other feature, step, operation. The terms "and / or" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. Optionally, "A and / or B" means "any of the following: A; B; A and B". In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.
[0067] The technical solutions of the embodiments of the present application can be applied to fifth-generation (5th generation, 5G) mobile communication systems or new radio access technology (new radio access technology, NR), or future mobile communication systems, such as sixth-generation (6th generation, 6G) mobile communication systems.
[0068] In the embodiment of the present application, the network device may be any device having a wireless transceiver function or a chip or chip system that may be provided in the device. The network device includes but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WiFi) system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., and can also be a gNB in 5G, such as NR, system, or a transmission point (TRP or TP), one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or, can also be a network node constituting a gNB or a transmission point, such as a BBU, or a distributed unit (DU), etc.
[0069] In the embodiments of the present application, the terminal device may be any device with wireless transceiver functions or a chip or chip system that can be set in the device. The terminal device may also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function (such as a laptop computer, a PDA, etc.), a mobile internet device (MID), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a public land mobile communication network to be evolved in the future. network, PLMN) and other terminal devices.
[0070] For ease of understanding, the following Figure 1 , the application scenarios to which the embodiments of the present application are applicable are described.
[0071] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1 , including a server 101 and multiple terminal devices 102, and the multiple terminal devices 102 are all connected to the server 101.
[0072] Multicast communication is a one-to-many communication method. A terminal device can send messages to the terminal devices in the multicast group to which it belongs. Multicast communication can also be described as multicast communication, etc. Correspondingly, multicast groups can also be described as multicast groups, etc. Among them, the source of the message sent with the multicast group address as the destination address is called the multicast source, and the multicast users receiving multicast data are called multicast members. That is, multicast has a direction, from the multicast source to the multicast members.
[0073] Figure 2 A schematic diagram of the process of establishing an MCPTT voice multicast service is provided for the embodiment of the present application. Figure 2 , the method comprising:
[0074] S201. Activation and announcement of multimedia broadcast multicast service (MBMS) bearer.
[0075] The MCPTT server (server) can send multicast channel information to the MCPTT terminal device (client) 2 and the MCPTT terminal device 3.
[0076] S202. The MCPTT terminal device 1 sends an initial session request (initial floor request) to the MCPTT server.
[0077] S203. The MCPTT server sends a multicast group session establishment message (map group to bearer) to the MCPTT terminal device 2 and the MCPTT terminal device 3.
[0078] The MCPTT terminal device receives a multicast group session establishment message through a signaling multicast channel, obtains group session related information after receiving the multicast group session establishment message, and then performs service monitoring processing of the multicast session.
[0079] S204. The MCPTT server sends a session authorization (floor granted) to the MCPTT terminal device 1.
[0080] S205. The MCPTT server sends a floor right notification (floor taken) to the MCPTT terminal device 2 and the MCPTT terminal device 3.
[0081] MCPTT terminal device 1 conducts a multicast session with MCPTT terminal devices 2 and MCPTT terminal devices 3. During the multicast session, MCPTT terminal device 1 unicasts a media flow to the MCPTT server, and the MCPTT server multicasts the media flow to MCPTT terminal devices 2 and MCPTT terminal devices 3.
[0082] Figure 3 A schematic diagram of the process of ending the MCPTT voice multicast service provided in the embodiment of the present application. Figure 3 , the method comprising:
[0083] S301. The MCPTT server decides to terminate the session or to disconnect from the MBMS bearer.
[0084] S302. The MCPTT server sends a multicast group session release message (disconnect / unmap group from bearer) to the MCPTT terminal device 2 and the MCPTT terminal device 3.
[0085] The MCPTT terminal device receives the multicast group session release message through the signaling multicast channel, obtains the group session related information after receiving the multicast group session release message, and then finds the corresponding multicast session and ends it.
[0086] In the related art, the same group may frequently establish and terminate multicast sessions. Since the multicast group session establishment message and the multicast group session release message only carry the group identifier, if the multicast group session establishment message and the multicast group session release message are out of order, the multicast session of the same group may be abnormal. Figure 4 As shown, when the MCPTT terminal device is monitoring session 2, if it receives a multicast group session release message about session 1, the MCPTT terminal device cannot identify the group call session in the same group, and therefore will abnormally exit session 2.
[0087] In order to solve the above technical problems, the embodiments of the present application provide a method, an apparatus, a device and a storage medium for avoiding group session abnormalities, which can avoid multicast session abnormalities in the same group.
[0088] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0089] Figure 5 A flowchart of a method for avoiding group session abnormalities provided in an embodiment of the present application. Figure 5 , the method comprising:
[0090] S501. A network device sends first information to a terminal device.
[0091] In other words, the terminal device receives the first information sent by the network device.
[0092] The first information may include a current session identifier and a first group identifier.
[0093] When determining that the current session needs to be established, the network device may send first information to the terminal device, and the first information may be used to indicate the establishment of the current session of the first group.
[0094] In a possible implementation manner, the network device may send the first information to the terminal device in the following manner:
[0095] The network device sends a multicast group session establishment message to the terminal device, where the multicast group session establishment message includes first information.
[0096] In other words, the terminal device receives a multicast group session establishment message sent by the network device, and the multicast group session establishment message includes the first information.
[0097] The terminal device may refer to a multicast source terminal device or a multicast member terminal device.
[0098] For example, a terminal device may refer to Figure 2 The MCPTT terminal device 1 in the embodiment may also refer to Figure 2 The MCPTT terminal device 2 or the MCPTT terminal device 3 in the system.
[0099] In a possible implementation manner, the first group identifier may be indicated by an MCPTT group identity field in a multicast group session establishment message.
[0100] In a possible implementation manner, the current session identifier may be indicated by an MCPTT session identity field in a multicast group session establishment message.
[0101] In one possible implementation, Figure 6As shown (the numbers in the figure represent bits), the multicast group session establishment message includes not only the first information, but also a length field, a name field, a synchronization source (synchronization source, SSRC) field participating in the MCPTT function, a temporary mobile group identity (temporary mobile group identity, TMGI) field, and an MBMS subchannel field.
[0102] S502: The terminal device monitors the current session of the first group according to the current session identifier and the first group identifier.
[0103] The terminal device belongs to the first group. The first group may include other terminal devices.
[0104] S503: The network device sends second information to the terminal device.
[0105] In other words, the terminal device receives the second information sent by the network device.
[0106] The second information may include a target session identifier and a second group identifier.
[0107] The target session ID can be the same as or different from the current session ID.
[0108] The second group identifier may be the same as or different from the first group identifier.
[0109] The second information may be used to instruct to release the target session of the second group.
[0110] In a possible implementation manner, the network device may send the second information to the terminal device in the following manner:
[0111] The network device sends a multicast group session release message to the terminal device, where the multicast group session release message includes second information.
[0112] In other words, the terminal device receives a multicast group session release message sent by the network device, and the multicast group session release message includes the second information.
[0113] In a possible implementation manner, the first group identifier may be indicated by an MCPTT group identifier field in a multicast group session release message.
[0114] In a possible implementation manner, the target session identifier may be indicated by the MCPTT session identifier field in the multicast group session release message.
[0115] In one possible implementation, Figure 7As shown (the numbers in the figure represent bits), the multicast group session release message includes not only the second information, but also a length field, a name field, and an SSRC field for participating in the MCPTT function.
[0116] S504: Determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier.
[0117] In a possible implementation, whether to exit the current session of the first group may be determined according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier in the following manner:
[0118] Determine whether the first group identifier and the second group identifier are the same;
[0119] If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier;
[0120] If not, continue to monitor the current session of the first group.
[0121] If the first group identifier and the second group identifier are different, it means that the multicast group session release message received by the terminal device is a message of another group. In this case, the terminal device remains the same and continues to monitor the current session of the first group.
[0122] exist Figure 5 In the embodiment shown, the network device sends first information to the terminal device, the first information includes the current session identifier and the first group identifier; the terminal device monitors the current session of the first group according to the current session identifier and the first group identifier; the network device sends second information to the terminal device, the second information includes the target session identifier and the second group identifier; the terminal device determines whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier and the second group identifier. Different sessions in the same group can be identified by the session identifier, avoiding abnormal multicast sessions in the same group.
[0123] exist Figure 5 Based on the embodiment shown, the following Figure 6 Detailed explanation of how to avoid abnormalities in group conversations.
[0124] Figure 8 A flowchart of another method for avoiding group session abnormalities provided in an embodiment of the present application. Figure 8 , the method comprising:
[0125] S801. A network device sends first information to a terminal device.
[0126] It should be noted that the execution process of S801 can refer to the execution process of S501, which will not be repeated here.
[0127] S802: The terminal device monitors the current session of the first group according to the current session identifier and the first group identifier.
[0128] It should be noted that the execution process of S802 can refer to the execution process of S502, which will not be repeated here.
[0129] S803: The network device sends second information to the terminal device.
[0130] It should be noted that the execution process of S803 can refer to the execution process of S503, which will not be repeated here.
[0131] S804: The terminal device determines whether the first group identifier and the second group identifier are the same.
[0132] If yes, execute S805.
[0133] If not, execute S806.
[0134] S805: The terminal device determines whether to exit the current session of the first group according to the target session identifier and the current session identifier.
[0135] In a possible implementation, whether to exit the current session of the first group may be determined according to the target session identifier and the current session identifier in the following manner:
[0136] Determine whether the target session identifier is the same as the current session identifier;
[0137] If yes, exit the current session of the first group;
[0138] If not, continue to monitor the current session of the first group.
[0139] S806: The terminal device continues to monitor the current session of the first group.
[0140] exist Figure 8 In the illustrated embodiment, the network device sends a first message to the terminal device, the first message including the current session identifier and the first group identifier; the terminal device monitors the current session of the first group according to the current session identifier and the first group identifier; the network device sends a second message to the terminal device, the second message including the target session identifier and the second group identifier; the terminal device determines whether the first group identifier and the second group identifier are the same; if so, it determines whether to exit the current session of the first group according to the target session identifier and the current session identifier; if not, it continues to monitor the current session of the first group. Different sessions in the same group can be identified by the session identifier, avoiding abnormal multicast sessions in the same group.
[0141] Fig. 9 A schematic diagram of a structure of a device for avoiding group conversation abnormalities provided in an embodiment of the present application. Fig. 9 The device 10 includes a communication module 11 and a processing module 12, wherein:
[0142] The communication module 11 is used to receive first information, where the first information includes a current session identifier and a first group identifier;
[0143] The processing module 12 is used to monitor the current session of the first group according to the current session identifier and the first group identifier;
[0144] The communication module 11 is also used to receive second information, where the second information includes a target session identifier and a second group identifier;
[0145] The processing module 12 is further configured to determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier and the second group identifier.
[0146] In a possible implementation manner, the processing module 12 is specifically configured to:
[0147] Determine whether the first group identifier and the second group identifier are the same;
[0148] If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier;
[0149] If not, continue to monitor the current session of the first group.
[0150] In a possible implementation manner, the processing module 12 is specifically configured to:
[0151] Determine whether the target session identifier is the same as the current session identifier;
[0152] If yes, exit the current session of the first group;
[0153] If not, continue to monitor the current session of the first group.
[0154] In a possible implementation manner, the communication module 11 is specifically used for:
[0155] A multicast group session establishment message is received, where the multicast group session establishment message includes first information.
[0156] In a possible implementation manner, the communication module 11 is specifically used for:
[0157] A multicast group session release message is received, where the multicast group session release message includes second information.
[0158] Fig. 9 The device 10 for avoiding group conversation abnormality shown in the embodiment can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be described in detail here.
[0159] Fig.10 A schematic diagram of another structure of a device for avoiding abnormal group conversations provided in an embodiment of the present application. Fig.10 , the device 20 comprises a communication module 21, wherein,
[0160] The communication module 21 is used to send first information to the terminal device, where the first information includes a current session identifier and a first group identifier, and the first information is used to indicate the establishment of a current session of the first group;
[0161] The communication module 21 is further used to send second information to the terminal device, where the second information includes a target session identifier and a second group identifier, and the second information is used to indicate the release of the target session of the second group.
[0162] Fig.10 The device 20 for avoiding group session abnormality shown in the embodiment can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0163] Fig.11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.11 The electronic device 30 is a terminal device, which may include: a transceiver 31, a memory 32, and a processor 33. The transceiver 31 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or similar descriptions, and the receiver may also be referred to as a receiver, a reception port, a reception interface, or similar descriptions. Exemplarily, the transceiver 31, the memory 32, and the processor 33 are interconnected via a bus 34.
[0164] The memory 32 is used to store program instructions.
[0165] The transceiver 31 is used to perform the transceiver function of the electronic device 30 in the method for avoiding abnormal group conversation.
[0166] The processor 33 is used to execute the program instructions stored in the memory, so as to enable the electronic device 30 to execute any of the above-mentioned methods for avoiding group conversation abnormalities.
[0167] Fig.11 The electronic device 30 shown in the embodiment can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0168] Fig.12This is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. Fig.12 The electronic device 40 is a network device, including a transceiver 41, a memory 42, and a processor 43. The transceiver 41 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or similar descriptions, and the receiver may also be referred to as a receiver, a receiver, a reception port, a reception interface, or similar descriptions. Exemplarily, the transceiver 41, the memory 42, and the processor 43 are interconnected via a bus 44.
[0169] The memory 42 is used to store program instructions;
[0170] The processor 43 is used to execute the program instructions stored in the memory, so as to enable the electronic device 40 to execute any of the above-mentioned methods for avoiding group conversation abnormalities.
[0171] The transceiver 41 is used to perform the transceiver function of the electronic device 40 in the above method for avoiding abnormal group conversation.
[0172] Fig.12 The electronic device 40 shown in the embodiment can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0173] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the method for avoiding group session abnormalities is implemented.
[0174] The embodiment of the present application further provides a computer program product, which can be executed by a processor. When the computer program product is executed, the above-mentioned method for avoiding group session abnormalities can be implemented.
[0175] The device, electronic device, computer-readable storage medium, and computer program product for avoiding group session abnormalities in the embodiments of the present application can execute the technical solutions shown in the above-mentioned method embodiments for avoiding group session abnormalities. The implementation principles and beneficial effects thereof are similar and will not be described in detail here.
[0176] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.
[0177] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0178] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0180] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for avoiding group conversation abnormality, characterized in that: Applied to a terminal device, the method comprises: Receiving first information, wherein the first information includes a current session identifier and a first group identifier; Monitoring a current session of the first group according to the current session identifier and the first group identifier; receiving second information, wherein the second information includes a target session identifier and a second group identifier; Determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier.
2. The method according to claim 1, characterized in that The determining whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier, and the second group identifier includes: Determining whether the first group identifier and the second group identifier are the same; If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier; If not, continue to monitor the current session of the first group.
3. The method according to claim 2, characterized in that The determining whether to exit the current session of the first group according to the target session identifier and the current session identifier includes: Determining whether the target session identifier is the same as the current session identifier; If yes, exit the current session of the first group; If not, continue to monitor the current session of the first group.
4. The method according to any one of claims 1 to 3, characterized in that: The receiving of the first information comprises: A multicast group session establishment message is received, where the multicast group session establishment message includes the first information.
5. The method according to any one of claims 1 to 3, characterized in that: The receiving of the second information comprises: A multicast group session release message is received, where the multicast group session release message includes the second information.
6. A method for avoiding abnormal group conversation, characterized in that: Applied to a network device, the method comprises: Sending first information to the terminal device, where the first information includes a current session identifier and a first group identifier, and the first information is used to indicate the establishment of a current session of the first group; Sending second information to the terminal device, where the second information includes a target session identifier and a second group identifier, and the second information is used to indicate the release of the target session of the second group.
7. A device for avoiding abnormal group conversation, characterized in that: include: A communication module, configured to receive first information, wherein the first information includes a current session identifier and a first group identifier; A processing module, configured to monitor a current session of the first group according to the current session identifier and the first group identifier; The communication module is further used to receive second information, wherein the second information includes a target session identifier and a second group identifier; The processing module is further configured to determine whether to exit the current session of the first group according to the target session identifier, the first group identifier, the current session identifier and the second group identifier.
8. The device according to claim 7, characterized in that The processing module is specifically used for: Determining whether the first group identifier and the second group identifier are the same; If yes, determining whether to exit the current session of the first group according to the target session identifier and the current session identifier; If not, continue to monitor the current session of the first group.
9. The device according to claim 8, characterized in that The processing module is specifically used for: Determining whether the target session identifier is the same as the current session identifier; If yes, exit the current session of the first group; If not, continue to monitor the current session of the first group.
10. The device according to any one of claims 7 to 9, characterized in that The communication module is specifically used for: A multicast group session establishment message is received, where the multicast group session establishment message includes the first information.
11. The device according to any one of claims 7 to 9, characterized in that The communication module is specifically used for: A multicast group session release message is received, where the multicast group session release message includes the second information.
12. A device for avoiding abnormal group conversation, characterized in that: include: A communication module, configured to send first information to a terminal device, wherein the first information includes a current session identifier and a first group identifier, and the first information is used to indicate the establishment of a current session of the first group; The communication module is further used to send second information to the terminal device, where the second information includes a target session identifier and a second group identifier, and the second information is used to indicate the release of the target session of the second group.
13. An electronic device, characterized in that: include: processors, transceivers, and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method according to any one of claims 1 to 5, or executes the method according to claim 6.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method according to any one of claims 1 to 5, or to execute the method according to claim 6.
15. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5, or performs the method according to claim 6.
