Group call switching method and device

By pre-constructing the identifier library and PIM-SSM protocol mapping, combined with parallel operations and pre-configured resources, the information delay problem when switching between the broadcast group calls to the multi-select group calls in the cluster system is solved, efficient group call switching is achieved, and the flexibility and timeliness of cluster services are improved.

CN120239115APending Publication Date: 2025-07-01ZHANJIANG POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510657869.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In a cluster system, when the broadcast group call switches to the multi-select group call, the service interruption is caused due to the large number of signaling and process interactions, which limits the flexibility and timeliness of the cluster service, especially in the wide area network, information delay is severe.

Method used

By pre-constructing an identifier library, the member groups to be switched are accurately identified using static and dynamic identifiers, and the PIM-SSM protocol is used for mapping, combining parallel operations and pre-configured multicast resources to achieve rapid establishment or demolition of information channels, avoiding information delays in traditional methods.

Benefits of technology

It significantly improves the smoothness and flexibility of call switching between broadcast group to multi-select group, and enhances the timeliness and system performance of cluster services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120239115A_ABST
    Figure CN120239115A_ABST
Patent Text Reader

Abstract

The invention provides a group call switching method and device, and belongs to the technical field of cluster systems. The method is applied to switching between a broadcast call mode and a multicast call mode, and comprises the following steps: receiving a switching instruction for switching from a current call mode to a call mode to be switched; determining a member group to be switched and a corresponding switching processing mode based on the switching instruction; and establishing or removing an information channel of the member group to be switched by using a switching processing mode so as to complete switching of the corresponding group call. According to the method and the device, the identifier library is pre-constructed, and the to-be-switched member group is accurately identified by utilizing the identifier of the to-be-switched member group, so that the problem of information delay caused by releasing unicast signals, independently establishing communication and negotiating and constructing a multicast tree path by path when the on-broadcast call is switched to the multicast call in the prior art is effectively avoided; the smoothness of switching the broadcast group to the multi-selection group is obviously improved, and the flexibility and timeliness of the cluster service are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cluster systems, and particularly relates to a method and device for group call handover. Background Art

[0002] In a cluster system, there are two existing group call scenarios: multi-selection group call and broadcast group call. When the two call scenarios can be switched, when switching from a multi-selection group call to a broadcast group call, in the dispatching console, the multi-selection group deletes these member groups, configures some original member subgroups as broadcast groups in the eHSS (Evolved Home Subscriber Server), and conducts a broadcast group call; when switching from a broadcast group call to a multi-selection group call, in the dispatching console, the multi-selection group removes the channels between these member groups, dynamically reorganizes some original member subgroups, and initiates an ordinary group call. However, in the existing handover process, due to a large number of signaling and process interactions, when switching between the two calls, the service has to be interrupted, which limits the flexibility of the cluster service.

[0003] Especially during the process of switching from a broadcast group call to a multi-selection group call, it is necessary to first release the unicast signal, establish a separate communication method between the multicast source and the multicast group participating in the multi-selection group, and the IP (Internet Protocol) multicast depends on a routing protocol (such as PIM (Protocol - Independent Multicast)) to construct a multicast tree, and it is necessary to negotiate paths item by item, which is particularly obvious in a wide area network and is extremely likely to cause information delay, limiting the flexibility and timeliness of the cluster service.

[0004] Therefore, a method and device for group call handover are needed to improve the smoothness when switching from a broadcast group call to a multi-selection group call. Summary of the Invention

[0005] In view of this, the present invention aims to provide a method and device for group call handover to solve the problem of time delay when switching between a broadcast group and a multi-selection group.

[0006] To achieve the above object, the technical solution provided by the present invention is as follows:

[0007] In a first aspect, the present invention provides a method for group call handover, which is applied to the handover between a broadcast call mode and a multicast call mode, and includes the following steps:

[0008] Receiving a switching instruction for switching from a current call mode to a call mode to be switched; the switching instruction includes a set of member group identifiers to be switched, and the set of member group identifiers to be switched is used to identify a unique member group to be switched in a pre-built identifier library;

[0009] Determine the member group to be switched and the corresponding switching processing method based on the switching instruction;

[0010] The information channel is established or removed using the switching processing method for the member group to be switched, so as to complete the switching of the corresponding group call.

[0011] Furthermore, the identifier library includes dynamic identifiers and static identifiers of each member group in the target cluster, and each member group is set with a unique corresponding static identifier and dynamic identifier;

[0012] Determine the member group to be switched based on the switching instruction, including:

[0013] Determining corresponding static identifiers and dynamic identifiers based on the switching instruction;

[0014] indexing the first member group and the second member group in the identifier library according to the static identifier and the dynamic identifier respectively;

[0015] If the first member group and the second member group are the same, the indexed member group is used as the member group to be switched;

[0016] Otherwise, an alert instruction is generated.

[0017] Further, the static identifier is set based on configuration parameters of the multicast source, the configuration parameters including the multicast group ID, the multicast source ID and the multicast priority, and the static identifier is preconfigured in the core network routing table and the terminal device;

[0018] The dynamic identifier is generated based on a hash algorithm, and includes a timestamp and a hash value of a switching type task ID; the switching type task ID is a unique identifier of the switching task pointed to by the switching instruction.

[0019] Furthermore, the pre-construction process of the identifier library includes:

[0020] The timestamp, the switching type task ID and the random number are used as input to generate a dynamic identifier using a hash algorithm;

[0021] After setting the expiration time for the dynamic identifier, it is mapped with the corresponding member group and stored in the MongoDB database;

[0022] Pre-configure static identifiers based on configuration parameters of the multicast source;

[0023] The static identifier is mapped with the corresponding member group and pushed to the core network routing table and terminal devices.

[0024] Further, the PIM-SSM protocol is adopted to map the dynamic identifier, the static identifier and the corresponding member group.

[0025] Further, when the handover instruction is a demolition instruction, the member group to be handed over and the corresponding handover processing method are determined based on the handover instruction, including:

[0026] Parsing from the demolition instruction corresponding to the information channel to be demolished to obtain the member group identifier to be handed over pointed to in the demolition instruction;

[0027] Mapping the member group identifier to be handed over and the elements in the identifier library to determine the member group to be demolished;

[0028] Determining the information channel between the member groups to be demolished as the corresponding handover processing method.

[0029] Further, when the handover instruction is a setup instruction, the member group to be handed over and the corresponding handover processing method are determined based on the handover instruction, including:

[0030] Parsing from the setup instruction corresponding to the information channel to be set up to obtain the member group identifier to be handed over pointed to in the setup instruction;

[0031] Mapping the member group identifier to be handed over and the elements in the identifier library to determine the member group to be set up;

[0032] Determining the information channel between the member groups to be set up as the corresponding handover processing method.

[0033] Further, the handover processing method further includes: pre-configuring multicast resources;

[0034] Pre-configuring multicast resources means pre-allocating bandwidth resources for the multicast tree path of the core network before receiving the handover instruction.

[0035] Further, the handover processing method further includes: parallel operation;

[0036] Parallel operation means triggering a resource allocation request for the call mode to be handed over while demolishing the information channel of the current call mode.

[0037] In a second aspect, the present invention provides a handover device for group call, which is applied to the handover between the all-call call mode and the multicast call mode, including:

[0038] An instruction receiving module, configured to receive a handover instruction for switching from the current call mode to the call mode to be handed over; the handover instruction includes a set of member group identifiers to be handed over, and a set of member group identifiers to be handed over is used to identify the unique member group to be handed over in a pre-constructed identifier library;

[0039] An identification module, configured to determine a member group to be switched and a corresponding switching processing method based on a switching instruction;

[0040] A switching module, configured to establish or remove an information channel for the member group to be switched by using the switching processing method, so as to complete the switching of the corresponding group call.

[0041] In summary, the present invention provides a method and apparatus for switching group calls, which are applied to the switching between the all-call call mode and the multicast call mode, and include receiving a switching instruction for switching from the current call mode to the call mode to be switched; the switching instruction includes a set of member group identifiers to be switched, and the set of member group identifiers to be switched is used to identify a unique member group to be switched in a pre-constructed identifier library; determining the member group to be switched and the corresponding switching processing method based on the switching instruction; establishing or removing an information channel for the member group to be switched by using the switching processing method, so as to complete the switching of the corresponding group call. By pre-constructing an identifier library and using a set of member group identifiers to be switched to accurately identify the member group to be switched, the present invention effectively avoids the information delay problem caused by releasing unicast signals, separately establishing communications, and negotiating and constructing a multicast tree path by path in the prior art when switching from an all-call call to a multicast call, significantly improves the smoothness when switching from an all-call group to a multi-select group, and enhances the flexibility and timeliness of cluster services. Description of the Drawings

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0043] Figure 1 It is a flowchart of a method for switching group calls provided by an embodiment of the present invention;

[0044] Figure 2 It is a block diagram of the composition of a group call switching device provided by an embodiment of the present invention;

[0045] Figure 3 It is a block diagram of the composition of a computer device provided by an embodiment of the present invention. Detailed Embodiments

[0046] To make the objectives, features, and advantages of the present invention more apparent and understandable, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.

[0047] Please refer to Figure 1 , the embodiments of the present invention provide a method for switching group calls, which is applied to the switching between the general call mode and the multicast call mode, and includes the following steps:

[0048] S1: Receive a switching instruction to switch from the current call mode to the call mode to be switched; the switching instruction includes a set of member group identifiers to be switched, and a set of member group identifiers to be switched is used to identify the unique member group to be switched in a pre-constructed identifier library.

[0049] It should be noted that the current call mode refers to the call mode currently in use, which may be the general call mode or the multicast call mode. The general call mode generally broadcasts information to all relevant members; the multicast call mode sends information to a specific member group. The call mode to be switched is the target call mode to which the switch needs to be made, which is different from the current call mode. The switching instruction is an instruction used to trigger the call mode switching operation and contains the key information required for the switch. The member group identifier to be switched is a specific code or number used to identify the member group to be switched, and it is unique in the pre-constructed identifier library. The pre-constructed identifier library is a pre-established database that stores the identifiers of all member groups and their related information, and can be used for quickly searching and identifying member groups.

[0050] In the target cluster, when the core network control unit (such as an MSC (Mobile Switching Center Server) server) receives a switching instruction sent by the dispatching console or the terminal, the instruction indicates to switch the current call mode to the call mode to be switched. Parsing the switching instruction can obtain information such as the type of switch, the call group identifier to be switched, and the switch type task ID. The task ID is a unique operation identifier generated by the service system. Among them, the current call mode includes general call and multicast call, and the switch types include: when the current call mode is general call, the switch type is from general call to multicast call; when the current call mode is multicast call, the switch type is from multicast call to general call.

[0051] S2: Determine the member group to be switched and the corresponding switching processing method based on the switching instruction.

[0052] It should be noted that the switching processing method is a specific operation method formulated for the member group to be switched in different call mode switching scenarios, such as establishing a new information channel, demolishing an existing information channel, etc.

[0053] In this step, according to the member group to be switched determined in step S1 and other relevant information in the switching instruction, combined with the preset rules and logics of the system, the specific switching processing method to be adopted for the member group to be switched is determined. For example, if switching from the all-call call mode to the multicast call mode, it may be necessary to establish a new multicast information channel for a specific member group; conversely, if switching from the multicast call mode to the all-call call mode, some multicast information channels may need to be demolished.

[0054] S3: Use the switching processing method to establish or demolish the information channel for the member group to be switched, so as to complete the switching of the corresponding group call.

[0055] It should be noted that the information channel is the path for information transmission among members in the call mode. Different call modes may correspond to different types of information channels, such as all-call channels, multicast channels, etc. The switching instruction is sent to the member group terminal through the cluster control channel (such as the PDCH (Packet Data Channel) channel), and the terminal demolishes or establishes the channel of the selected member group to be switched according to the specific switching method. The core network verifies the channel status through signaling interaction (such as the SIP (Session Initiation Protocol) protocol) to ensure the success of the establishment or demolition operation.

[0056] According to the switching processing method determined in step S2, perform the operation of establishing or demolishing the information channel for the member group to be switched determined in step S1. For example, if establishing an information channel, the system will allocate corresponding resources for the member group and establish a connection according to relevant protocols and configurations, and return a determination instruction and feedback the channel parameters; if demolishing an information channel, the system will release relevant resources and disconnect the connection, and then return and feedback the list of released channel resources.

[0057] This embodiment provides a method for switching group calls. The core of this method lies in accurately positioning the member group to be switched according to the received switching instruction, and adopting a suitable switching processing method to operate on the information channels of these member groups, so as to achieve the switching between the all-call call mode and the multicast call mode. Compared with the traditional technology, this method uses a pre-constructed identifier library and uses the member group identifier to quickly identify the member group to be switched, without first releasing the unicast signal, relying on the routing protocol to construct the multicast tree and negotiating the path item by item like the traditional method, effectively reducing the information delay and improving the smoothness, flexibility and timeliness of the group call switching.

[0058] In one embodiment, the identifier library includes the dynamic identifiers and static identifiers of each member group in the target cluster, and each member group is provided with a uniquely corresponding static identifier and dynamic identifier;

[0059] Determining the member group to be switched based on the switching instruction includes:

[0060] S11: Determine the corresponding static identifier and dynamic identifier based on the switching instruction;

[0061] S12: Index the first member group and the second member group in the identifier library according to the static identifier and the dynamic identifier respectively;

[0062] S13: If the first member group and the second member group are the same, use the indexed member group as the member group to be switched;

[0063] S14: Otherwise, generate an alarm instruction.

[0064] It should be noted that this embodiment provides a method for determining the member group to be switched based on a switching instruction. This method uses the static identifier and dynamic identifier uniquely corresponding to each member group in the identifier library. First, it determines the corresponding static and dynamic identifiers according to the switching instruction, and then indexes the first member group and the second member group in the identifier library according to them respectively. By comparing whether these two member groups are the same, it determines the member group to be switched. If they are different, it generates an alarm instruction. This process reflects the mechanism of using static and dynamic identifiers to work together to accurately determine the member group to be switched, ensuring the accuracy of the switching operation and avoiding incorrect switching caused by inconsistent identification information.

[0065] In one embodiment, the static identifier is set based on the configuration parameters of the multicast source. The configuration parameters include the multicast group ID, the multicast source ID, and the multicast priority, and the static identifier is pre-configured in the core network routing table and the terminal device;

[0066] The dynamic identifier is generated based on a hash algorithm and includes the hash value of the timestamp and the switching type task ID; the switching type task ID is the unique identifier of the switching task pointed to by the switching instruction.

[0067] It should be noted that this embodiment clarifies the generation methods of static identifiers and dynamic identifiers. The static identifier is set based on the configuration parameters of the multicast source (multicast group ID, multicast source ID, and multicast priority), and is pre-configured in the core network routing table and terminal devices. This provides basic identification information for fixed group calls, enabling the device to have basic group call capabilities when starting up, and is applicable to fixed group call scenarios with high priorities. The dynamic identifier is generated based on a hash algorithm, including the hash value of the timestamp and the handover type task ID. This generation method ensures the uniqueness and dynamics of the dynamic identifier, can support high-frequency generation within a short period of time, improves the response speed and accuracy of identifier establishment, and is applicable to dynamic scenarios such as temporary call groups.

[0068] In one embodiment, the pre-construction process of the identifier library includes:

[0069] S21: Use the timestamp, handover type task ID, and random number as inputs, and generate a dynamic identifier using a hash algorithm;

[0070] S22: Set the time to live for the dynamic identifier, map it to the corresponding member group, and store it in the MongoDB database;

[0071] S23: Pre-configure the static identifier based on the configuration parameters of the multicast source;

[0072] S24: Map the static identifier to the corresponding member group and push it to the core network routing table and terminal devices.

[0073] It should be noted that this embodiment provides a pre-construction process of an identifier library. For dynamic identifiers, use the timestamp + handover type task ID + random number as inputs, generate them using a hash algorithm (such as SHA-256 or HMAC-SHA256), set the time to live, and map them to the corresponding member groups and store them in the MongoDB database. The characteristics of the MongoDB database (such as supporting dynamic schemas, setting indexes, etc.) help to accelerate data query and sorting operations. For static identifiers, after pre-configuration based on the configuration parameters of the multicast source, map them to the corresponding member groups and push them to the core network routing table and terminal devices to complete the construction of the identifier library, providing a basis for identification information for subsequent group call handover operations.

[0074] For the update of the identifier library, if it is a static identifier, directly update the local multicast routing table; if it is a dynamic identifier, cache it in the temporary group call list, and automatically delete it when the TTL (Time To Live) expires.

[0075] Due to the need of call services, the volume of switched services increases within a short period. To improve the speed of service switching, dynamic identifiers with access frequencies exceeding a certain threshold can be cached within the set time window.

[0076] MongoDB is a database based on distributed file storage, written in C++. It aims to provide a scalable and high-performance data storage solution for web data applications. It supports dynamic schemas. In the unique dynamic identifier corresponding to each member group (call group), the encoding method can change each time, ensuring both uniqueness and dynamism. Moreover, the MongoDB database can set corresponding indexes for retrieval modes of any attributes, which helps to accelerate data query and sorting operations, reduce the number of data scans, and thus improve the performance of the MongoDB database.

[0077] In this embodiment, by using the dynamic identifier set by the hash algorithm, the uniqueness of the identifiers corresponding to each member group is ensured, and it supports high-frequency generation within a short period, improving the response speed and accuracy of identifier establishment. By setting the distributed index of MongoDB to accelerate queries and combining Redis to cache high-frequency dynamic IDs, the switching time of dynamic group calls is effectively shortened. The TTL survival time automatically clears expired dynamic IDs, reducing the storage pressure on the database.

[0078] The static identifier is set using the configuration parameters of the multicast source. The configuration parameters include the multicast group ID, the multicast source ID, and the multicast priority. The static identifier is pre-configured in the core network routing table and the terminal device. The static identifier is pre-configured through the CLI (Command Line Interface) or API (Application Programming Interface), and the static identifier is pushed to the device terminal through OTA (Over-The-Air).

[0079] In this embodiment, by writing the multicast parameters as identifiers into the core network routing table and the terminal device in advance, the delay caused by real-time parsing is avoided. By pushing the static identifier to the terminal through OTA, it is ensured that the device has the basic group call ability when it starts up, which is applicable to fixed group calls with high priority.

[0080] In one embodiment, the PIM-SSM protocol is used to map the dynamic identifier, the static identifier, and the corresponding member groups.

[0081] It should be noted that in this embodiment, the PIM-SSM protocol is used to map dynamic identifiers, static identifiers, and corresponding member groups. For static identifiers, the pre-configured multicast parameters are directly called to create a multicast distribution tree in the core network. The PIM-SSM protocol automatically constructs an efficient multicast distribution path based on the multicast source and multicast group information to achieve accurate mapping. For the temporary call group corresponding to the dynamic identifier, after quickly creating the mapping relationship through MongoDB, the PIM-SSM protocol is used to establish the corresponding multicast path in the multicast distribution tree according to the multicast source information associated with the dynamic identifier to complete the mapping. Based on the characteristics of source-specific multicast, this protocol can accurately and quickly map the identification information to the call group, improving the efficiency of group call handover and avoiding the errors and ambiguities that may occur in traditional mapping methods.

[0082] The PIM-SSM (Protocol Independent Multicast - Source Specific Multicast) protocol is a multicast routing protocol. PIM-SSM is an extension of the PIM protocol and is based on the source-specific multicast model. In the SSM model, the receivers of multicast data explicitly specify the multicast sources to receive and are only interested in multicast traffic from specific sources. Based on the characteristics of source-specific multicast, the PIM-SSM protocol can accurately map the identification information to the call group according to the precise information of the multicast source and multicast group. Whether it is a static identifier or a dynamic identifier, the corresponding call group can be quickly located through the multicast distribution tree of the PIM-SSM protocol, avoiding the errors and ambiguities that may occur in traditional mapping methods. The PIM-SSM protocol adopts an efficient multicast distribution mechanism and can quickly construct and maintain the multicast distribution tree. When looking up the call group corresponding to the identification information, by querying the multicast source and multicast group mapping relationship table maintained by the PIM-SSM protocol, the mapping operation can be completed in a short time, greatly improving the efficiency of group call handover.

[0083] In one embodiment, when the handover instruction is a demolition instruction, the member group to be handed over and the corresponding handover processing method are determined based on the handover instruction, including:

[0084] S31: Parse from the demolition instruction corresponding to the information channel to be demolished to obtain the identifier of the member group to be handed over pointed to in the demolition instruction;

[0085] S32: Map the identifier of the member group to be handed over and the elements in the identifier library to determine the member group to be demolished;

[0086] S33: Determine the information channel between the member groups to be demolished as the corresponding handover processing method.

[0087] It should be noted that when the handover instruction is a demolition instruction, it describes how to determine the member group to be handed over and the corresponding handover processing method based on this instruction. Parse the member group identifier to be handed over from the demolition instruction, map it with the elements in the identifier library to determine the member group to be demolished, and take the demolition of the information channel between the member groups to be demolished as the corresponding handover processing method. It also includes releasing the communication channel, such as demolishing the tunnel connection established based on GTP-U (GPRS Tunneling Protocol for User plane) on the S1-U interface, and updating the terminal device group call list (notifying through OTA messages), etc., to ensure the consistency and accuracy of the system when demolishing the information channel.

[0088] In one embodiment, when the handover instruction is an establishment instruction, determine the member group to be handed over and the corresponding handover processing method based on the handover instruction, including:

[0089] S41: Parse from the establishment instruction corresponding to the information channel to be established to obtain the member group identifier to be handed over pointed to in the establishment instruction;

[0090] S42: Map the member group identifier to be handed over with the elements in the identifier library to determine the member group to be established;

[0091] S43: Determine the establishment of the information channel between the member groups to be established as the corresponding handover processing method.

[0092] It should be noted that when the handover instruction is an establishment instruction, similarly, parse the member group identifier to be handed over from the establishment instruction, map it with the elements in the identifier library to determine the member group to be established, and take the establishment of the information channel between the member groups to be established as the handover processing method. It also includes establishing an end-to-end communication channel, such as allocating dedicated PDCP (Packet Data Convergence Protocol) data bearers and caching dynamic IDs for high-frequency access, etc., to support the establishment of a new group call connection, reduce repeated hash calculations, and improve system performance.

[0093] In one embodiment, the handover processing method further includes: pre-configuring multicast resources;

[0094] Pre-configuring multicast resources means pre-allocating bandwidth resources for the multicast tree path of the core network before receiving the handover instruction.

[0095] This embodiment provides a switching processing method for pre-configuring multicast resources, that is, before receiving a switching instruction, bandwidth resources are pre-allocated for the multicast tree path of the core network. This pre-configuration method can prepare the necessary resources in advance, avoid delays or failures caused by insufficient resources during the switching process, and improve the reliability and efficiency of the switching operation.

[0096] In one embodiment, the switching processing method further includes: parallel operation;

[0097] The parallel operation is to trigger a resource allocation request for the call mode to be switched while tearing down the information channel of the current call mode.

[0098] This embodiment provides a switching processing method for parallel operation, that is, while tearing down the information channel of the current call mode, a resource allocation request for the call mode to be switched is triggered. Taking the switch from the broadcast group call to the multicast call as an example, the core network control unit starts the tearing-down thread and the establishing thread to work in parallel, and synchronizes through semaphores to ensure that there is no conflict in the resources of the tearing-down and establishing operations. At the same time, the resource allocation request is optimized. Different fast acquisition methods of multicast parameters are adopted according to different identifier types (dynamic or static), and QoS differentiated services (Quality of Service Differentiated Services) are used to ensure the priority of the switching-related signaling, prevent redundant information transmission and response delay, and further improve the efficiency and performance of the group call switching.

[0099] The threads are synchronized through semaphores to ensure that there is no conflict in the resources of the tearing-down and establishing operations, such as the bandwidth resources of the same node are not re-allocated;

[0100] When optimizing the request for resource allocation:

[0101] For the temporary group call corresponding to the dynamic identifier, the establishing thread preferentially obtains the mapping relationship between the pre-generated dynamic IDs from the Redis cache (if the cache is hit, skip the MongoDB query and directly use the cached multicast parameters);

[0102] For the fixed group call corresponding to the static identifier, the establishing thread directly reads the pre-configured information of the core network routing table without real-time parsing of the multicast parameters;

[0103] That is, when sending a tearing-down instruction for the old group call to the terminal and a resource allocation request instruction for the new group call to the base station, QoS differentiated services are adopted to ensure that the priority of the switching-related signaling is higher than that of ordinary services, and prevent redundant information transmission and consequent response delay.

[0104] Based on the same inventive concept, the embodiment of the present application also provides a group call switching device for implementing the group call switching method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the group call switching device embodiment provided below can refer to the limitations of the group call switching method above, and will not be repeated here.

[0105] See also Figure 2 The embodiment of the present invention further provides a group call switching device, which is applied to switching between a general call mode and a multicast call mode, and includes:

[0106] An instruction receiving module is used to receive a switching instruction for switching from a current call mode to a call mode to be switched; the switching instruction includes a set of member group identifiers to be switched, and the set of member group identifiers to be switched is used to identify a unique member group to be switched in a pre-built identifier library;

[0107] An identification module, used to determine a member group to be switched and a corresponding switching processing method based on a switching instruction;

[0108] The switching module is used to establish or remove the information channel for the member group to be switched using the switching processing method to complete the switching of the corresponding group call.

[0109] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0110] Reference Figure 3 The embodiment of the present invention further provides a computer device, comprising: a memory and a processor and a computer program stored in the memory. When the computer program is executed on the processor, the group call switching method described in any one of the above methods is implemented.

[0111] The computer device may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 3 merely examples of computer devices, which do not constitute a limitation on computer devices, may include more or fewer components than those shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0112] The so-called processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0113] The memory may be an internal storage unit of the computer device in some embodiments, such as the hard disk or memory of the computer device. The memory may also be an external storage device of the computer device in other embodiments, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the memory may also include both the internal storage unit and the external storage device of the computer device. The memory is used to store an operating system, application programs, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory may also be used to temporarily store data that has been output or will be output.

[0114] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it implements the group call switching method described in any one of the above methods.

[0115] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the method of the above embodiment in this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium may not be an electrical carrier signal and a telecommunication signal.

[0116] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0117] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0118] In the embodiments disclosed in this application, it should be understood that the disclosed device / terminal device and method can be implemented in other ways. For example, the device / terminal device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0119] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A group call switching method, characterized in that: The steps include: Receiving a switching instruction for switching from a current call mode to a call mode to be switched; the switching instruction includes a set of identifiers of member groups to be switched, and the set of identifiers of member groups to be switched is used to identify a unique member group to be switched in a pre-built identifier library; Determine the member group to be switched and the corresponding switching processing method based on the switching instruction; The information channel is established or removed for the member group to be switched using the switching processing method to complete the switching of the corresponding group call.

2. The method for switching a group call according to claim 1, characterized in that: The identifier library includes dynamic identifiers and static identifiers of each member group in the target cluster, and each member group is set with a unique corresponding static identifier and dynamic identifier; Determining a member group to be switched based on the switching instruction includes: Determine the corresponding static identifier and the dynamic identifier based on the switching instruction; indexing a first member group and a second member group in the identifier library according to the static identifier and the dynamic identifier, respectively; If the first member group and the second member group are the same, the indexed member group is used as the member group to be switched; Otherwise, an alert instruction is generated.

3. The method for switching a group call according to claim 2, characterized in that: The static identifier is set based on configuration parameters of the multicast source, the configuration parameters including the multicast group ID, the multicast source ID and the multicast priority, and the static identifier is pre-configured in the core network routing table and the terminal device; The dynamic identifier is generated based on a hash algorithm, and includes a timestamp and a hash value of a switching type task ID; the switching type task ID is a unique identifier of the switching task pointed to by the switching instruction.

4. The method for switching a group call according to claim 3, characterized in that: The pre-construction process of the identifier library includes: Using the timestamp, the switching type task ID and a random number as input, a hash algorithm is used to generate the dynamic identifier; After setting a life time for the dynamic identifier, mapping it with the corresponding member group and storing it in the MongoDB database; pre-configuring the static identifier based on the configuration parameters of the multicast source; The static identifier is mapped with the corresponding member group and pushed to the core network routing table and the terminal device.

5. The method for switching a group call according to claim 3 or 4, characterized in that: The PIM-SSM protocol is used to map the dynamic identifier and the static identifier with the corresponding member group.

6. The method for switching a group call according to claim 1, characterized in that: When the switching instruction is a removal instruction, determining the member group to be switched and the corresponding switching processing method based on the switching instruction includes: Parsing the removal instruction corresponding to the information channel to be removed to obtain the identifier of the member group to be switched pointed to in the removal instruction; Mapping the identifier of the member group to be switched and the elements in the identifier library, thereby determining the member group to be removed; Determining the removal of the information channel between the to-be-removed member groups as the corresponding switching processing mode.

7. The method for switching a group call according to claim 1, characterized in that: When the switching instruction is a setup instruction, determining the member group to be switched and the corresponding switching processing method based on the switching instruction includes: Parsing the establishment instruction corresponding to the information channel to be established to obtain the identifier of the member group to be switched pointed to in the establishment instruction; Mapping the member group identifier to be switched and the elements in the identifier library, thereby determining the member group to be established; Establishing an information channel between the member groups to be established is determined as the corresponding switching processing mode.

8. The method for switching a group call according to claim 1, characterized in that: The switching processing method also includes: pre-configuring multicast resources; The pre-configured multicast resources are bandwidth resources pre-allocated to the multicast tree path of the core network before receiving the switching instruction.

9. The method for switching a group call according to claim 1, characterized in that: The switching processing method also includes: parallel operation; The parallel operation is to trigger a resource allocation request for the call mode to be switched while removing the information channel of the current call mode.

10. A group call switching device, characterized in that: include: An instruction receiving module, used for receiving a switching instruction for switching from a current call mode to a call mode to be switched; the switching instruction includes a set of member group identifiers to be switched, and the set of member group identifiers to be switched is used to identify a unique member group to be switched in a pre-built identifier library; An identification module, used to determine a member group to be switched and a corresponding switching processing method based on the switching instruction; The switching module is used to establish or remove the information channel for the member group to be switched using the switching processing method to complete the switching of the corresponding group call.