Call forwarding method and device, electronic equipment and storage medium
By receiving and parsing the call transfer information, redeploying the receiving group, and forming a temporary call group, call transfer and group call transfer in a system-less environment are realized, which solves the limitations of the call transfer function in the existing technology and the problems in a system-less environment. The call transfer problem improves the timeliness and convenience of calls.
Patent Information
- Application Number
- CN202310389041.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the call transfer function only supports individual call transfer and does not support group call transfer. Moreover, call transfer needs to be implemented on the system side, and there is a lack of call transfer solutions in a system-less environment.
By receiving the call transfer information broadcast by the target terminal, parsing the call transfer object and receiving group, redeploying the receiving group of the current terminal, forming a temporary call group based on the call transfer object and receiving group, and notifying the call transfer object to add the temporary call group to the local Receive group to realize group call transfer.
The call transfer function is implemented in a system-less environment, supports group call transfer, improves call timeliness and convenience, is suitable for emergency applications, and can be quickly and reliably applied in existing equipment.
Smart Images

Figure CN118612677A
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a call forwarding method, device, electronic device and storage medium. Background Art
[0002] Call forwarding or call transfer means that when the user terminal fails, is turned off, the user cannot answer the call, or the user does not want to answer the call at this time, the call can be transferred to another pre-set terminal so that the call can continue. In the relevant technology, cluster communication supports call forwarding, but call forwarding under the cluster is completely implemented on the system side, and for conventional communication without a system, the call forwarding function is not supported, and the current call forwarding only supports individual call forwarding, not group call forwarding.
[0003] With respect to the above-mentioned problems existing in the related technologies, no effective solutions have been found so far. Summary of the invention
[0004] The present application provides a call forwarding method, device, electronic device and storage medium to solve the technical problem in the related art that call forwarding needs to rely on the system.
[0005] According to one aspect of an embodiment of the present application, a call forwarding method is provided, including: receiving first call forwarding information broadcast by a target terminal; parsing a call forwarding object and a first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set to which the target terminal is located; redeploying a second receiving group according to the call forwarding object and the first receiving group, wherein the second receiving group is a receiving group set to which the current terminal is located; and receiving a group call initiated by a calling terminal for the first receiving group according to the deployed second receiving group.
[0006] Furthermore, the call transfer object is a target transfer terminal or a target transfer group, and redeploying the second receiving group according to the call transfer object and the first receiving group includes: determining whether the current terminal is the target transfer terminal, or whether the current terminal is a member of the target transfer group; if the current terminal is the target transfer terminal, or the current terminal is a member of the target transfer group, then adding the first receiving group to the second receiving group.
[0007] Furthermore, after adding the first receiving group to the second receiving group, the method also includes: receiving second call forwarding information broadcast by the target terminal; parsing the on / off status of the call forwarding function in the second call forwarding information; if the call forwarding function is in the off state, removing the first receiving group from the second receiving group.
[0008] Furthermore, the first call forwarding information includes a valid time for call forwarding. After adding the first receiving group to the second receiving group, the method further includes: taking the time point of receiving the first call forwarding information as a starting point, detecting whether the valid time has been reached; when the valid time has been reached, removing the first receiving group from the second receiving group.
[0009] Furthermore, after parsing the call forwarding object and the first receiving group of the first call forwarding information, the method also includes: initiating a group call request to the target group; responding to the group call request, determining whether there is a target terminal configured for call forwarding in the locally stored target group; if there is a target terminal configured for call forwarding in the locally stored target group, obtaining third call forwarding information of the target terminal, wherein the third call forwarding information includes a call forwarding object; forming a temporary call group based on the target group and the call forwarding object, and notifying the call forwarding object to add the temporary call group to the local current receiving group; and initiating a group call to the temporary call group.
[0010] Furthermore, the call transfer object is a target transfer terminal or a target transfer group, and forming a temporary call group according to the target group and the call transfer object includes: if the call transfer object is a target transfer terminal, adding the target transfer terminal to the target group, and using the target group after adding the target transfer terminal as a temporary call group; if the call transfer object is a target transfer group, merging all members in the target transfer group with all members in the target group to generate a temporary call group.
[0011] Furthermore, the method also includes: receiving an individual call request initiated by a calling end; returning a response message to the calling end, wherein the response message carries call forwarding information, the call forwarding information includes a call forwarding object, and the response message is used by the calling end to initiate a call request to the call forwarding object.
[0012] According to another aspect of an embodiment of the present application, a call forwarding device is also provided, including: a receiving module for receiving first call forwarding information broadcast by a target terminal; a parsing module for parsing a call forwarding object and a first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set to which the target terminal is located; a deployment module for redeploying a second receiving group according to the call forwarding object and the first receiving group, wherein the second receiving group is a receiving group set to which the current terminal is located; and a calling module for receiving a group call initiated by a calling terminal for the first receiving group according to the deployed second receiving group.
[0013] Furthermore, the deployment module includes a first deployment unit, which is used to determine whether the current terminal is the target transfer terminal, or whether the current terminal is a member of the target transfer group; if the current terminal is the target transfer terminal, or the current terminal is a member of the target transfer group, the first receiving group is added to the second receiving group.
[0014] Furthermore, the call forwarding device also includes a first cancellation module, which is used to receive the second call forwarding information broadcast by the target terminal; parse the on / off status of the call forwarding function in the second call forwarding information; if the call forwarding function is in the off state, remove the first receiving group from the second receiving group.
[0015] Furthermore, the call forwarding device also includes a second cancellation module, which is used to detect whether the effective time is reached based on the time point of receiving the first call forwarding information as the starting point; when the effective time is reached, the first receiving group is removed from the second receiving group.
[0016] Furthermore, the deployment module also includes a second deployment unit, which is used to initiate a group call request to the target group; in response to the group call request, determine whether there is a target terminal configured for call forwarding in the locally stored target group; if there is a target terminal configured for call forwarding in the locally stored target group, obtain third call forwarding information of the target terminal, wherein the third call forwarding information includes a call forwarding object; form a temporary call group based on the target group and the call forwarding object, and notify the call forwarding object to add the temporary call group to the local current receiving group; and initiate a group call to the temporary call group.
[0017] Furthermore, the second deployment unit is also used to add the target transfer terminal to the target group if the call transfer object is a target transfer terminal, and use the target group after adding the target transfer terminal as a temporary call group; if the call transfer object is a target transfer group, all members in the target transfer group are merged with all members in the target group to generate a temporary call group.
[0018] Furthermore, the call transfer device also includes a response module, which is used to receive a call request initiated by the calling end; and return a response message to the calling end, wherein the response message carries call transfer information, the call transfer information includes a call transfer object, and the response message is used by the calling end to initiate a call request to the call transfer object.
[0019] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0020] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
[0021] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0022] Through this application, call forwarding information is broadcast to all terminals. After each terminal receives the broadcast call forwarding information, a new current receiving group is formed according to the call forwarding object and the receiving group of the target terminal. When the caller calls the receiving group where the target terminal is located, each terminal can determine whether to receive the call based on the new current receiving group, thereby realizing the call forwarding function. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 is a hardware structure block diagram of a computer according to an embodiment of the present application;
[0025] Figure 2 is a flow chart of a call transfer method according to an embodiment of the present application;
[0026] Figure 3 It is a flowchart of group call transfer in an embodiment of the present application;
[0027] Figure 4 It is a flowchart of call transfer in an embodiment of the present application;
[0028] Figure 5 is a schematic diagram of a first application scenario of an embodiment of the present application;
[0029] Figure 6 is a schematic diagram of a second application scenario of an embodiment of the present application;
[0030] Figure 7 is a schematic diagram of a third application scenario of an embodiment of the present application;
[0031] Figure 8 It is a structural block diagram of a call transfer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the present application, the technical solutions 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 only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] Example 1
[0035] The method embodiment provided in the first embodiment of the present application can be executed in a walkie-talkie, a mobile phone, a computer, a tablet or a similar computing device. Taking running on a computer as an example, Figure 1 is a hardware structure block diagram of a computer in an embodiment of the present application. Figure 1 As shown, the computer may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the computer may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0036] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a call forwarding method in an embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0037] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0038] In this embodiment, a call transfer method is provided. Figure 2 is a flow chart of a call transfer method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:
[0039] Step S10, receiving first call forwarding information broadcast by the target terminal;
[0040] In this embodiment, the target terminal notifies other terminals of the first call forwarding information in a timed manner by broadcasting, and the timed notification method is not limited to broadcasting, and can also be message push, point-to-point message notification, etc. Due to the principle of service priority, the target terminal can be set to perform timed notification in an idle state with no service, such as timed notification in states such as power on / off, channel switching, mode switching, and area switching. The first call forwarding information includes the call forwarding type, the call forwarding object, the first receiving group, the on / off state of the call forwarding function, and the effective time of the call forwarding, wherein the call forwarding type is used to indicate that the call is forwarded to a specified terminal, or the call is forwarded to a specified group.
[0041] Step S20, parsing the call forwarding object and the first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set where the target terminal is located;
[0042] Step S30, redeploying a second receiving group according to the call transfer object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located;
[0043] Step S40: receiving a group call initiated for the first receiving group according to the deployed second receiving group.
[0044] After receiving the first call forwarding information broadcast by the target terminal, the call forwarding object and the first receiving group in the first call forwarding information are parsed, wherein the first receiving group is a set of all receiving groups or a part of the receiving group set where the target terminal is located. Furthermore, the first receiving group in this application can also be an identifier representing the target terminal itself. The second receiving group is redeployed according to the call forwarding object and the first receiving group, wherein the second receiving group is a set of receiving groups where the current terminal is located, and the group call initiated by the calling terminal for the first receiving group is received according to the deployed second receiving group.
[0045] It should be noted in this embodiment that in a regular call, there is no processing by the system server. The calling terminal initiates a call in the form of a broadcast, carrying the call target information. Optionally, the call target information is a group call ID or an individual call terminal ID. If the called terminal determines that the ID corresponding to the call target information is in the receiving group saved by itself, the call is received. The information of the first receiving group can also be the identity information of the call transfer terminal (such as the terminal ID), that is, when the first receiving group broadcast by the target terminal is the terminal ID, it indicates a call transfer of an individual call. Reference Figure 3 , the target terminal is terminal B, terminal B configures the call forwarding object as Group4, the broadcast information is the group call ID (Group1, Group2) of the first receiving group of terminal B, the current terminal is terminal C, terminal C is a group member of Group4, terminal C receives the first call forwarding information broadcast by terminal B, parses the call forwarding object Group4 and the first receiving group (Group1, Group2) in the first call forwarding information, and redeploys the current receiving group of terminal C according to the call forwarding object and the first receiving group. Terminal C receives the group call initiated by the calling end for the first receiving group according to the deployed current receiving group.
[0046] Related technology Call forwarding in private network cluster mode is a call based on system implementation, and the specific process includes: MS (Mobile Station, terminal equipment in the cluster system) initiates an application to TS (Trunked Station, system equipment in the cluster system) to call the original called terminal; TS determines whether the original called terminal has activated the call forwarding function; if the original called terminal has not activated the call forwarding function, TS processes the call request according to the conventional individual call processing process; if the original called terminal has activated the call forwarding function, TS will establish a call with the new called terminal (the new called terminal is the call forwarding number set for the original called terminal); after the call between TS and the new called terminal is successfully established, TS sends the user address or user ID of the new called terminal to the calling MS, and does not allocate a service channel to the calling MS; after MS receives the user address or user ID of the new called terminal sent by TS on the control channel, MS directly communicates with the new called terminal through the allocated service channel without re-establishing the call with the new called terminal. In the prior art, call forwarding under mobile cellular networks or broadband clusters is also based on system-implemented calls, and the process is as follows: 1) When the original called party turns on the call forwarding function, the server is notified to record it; 2) The caller calls the original called party, and the original called party is not online or the call is unresponsive, and the server directly transfers the call to the preset transfer object; 3) The caller and the preset transfer object establish a call. In contrast, this embodiment broadcasts the call forwarding information to all terminals through the above steps. After each terminal receives the broadcasted call forwarding information, it forms a new current receiving group according to the call forwarding object and the receiving group of the target terminal. When the caller calls the receiving group where the target terminal is located, each terminal can determine whether to receive the call according to the new current receiving group, and call forwarding can be achieved without relying on the system. In addition, this embodiment can realize call forwarding of group calls, that is, it solves the technical problem that call forwarding under cluster communication only supports individual call forwarding and no group call forwarding.
[0047] In one implementation of this embodiment, the call transfer object is a target transfer terminal or a target transfer group, and redeploying the second receiving group according to the call transfer object and the first receiving group includes:
[0048] Step 31, determining whether the current terminal is the target transfer terminal, or whether the current terminal is a member of the target transfer group;
[0049] Step 32: If the current terminal is the target transfer terminal, or the current terminal is a member of the target transfer group, then the first receiving group is added to the second receiving group.
[0050] The current terminal receives the first call forwarding information. If the call forwarding object in the first call forwarding information is the target transfer terminal, it means that the target terminal is configured to forward calls to the target transfer terminal. It is determined whether the current terminal is the target transfer terminal. If the current terminal is the target transfer terminal, it is necessary to add the first receiving group of the target terminal to the current receiving group of the current terminal, and mark the first receiving group in the current receiving group, that is, the current receiving group of the current terminal includes the original second receiving group and the first receiving group of the target terminal. When the caller calls the first receiving group, the current terminal will receive the call from the caller, thereby realizing call forwarding. If the call forwarding object in the first call forwarding information is the target transfer group, it means that the target terminal is configured to forward calls to the target transfer group. It is determined whether the current terminal is a member of the target transfer group. If the current terminal is a member of the target transfer group, the first receiving group is also added to the second receiving group.
[0051] In one example, reference Figure 3 and Figure 5 When terminal B configures call forwarding to Group4, it notifies other terminals of the call forwarding information by notification. Other terminals (such as terminal C) receive the notification information and determine whether the forwarding target Group4 exists in the current receiving group of terminal C. If the forwarding target Group4 exists in the current receiving group of terminal C, it means that terminal C is a member of Group4. Terminal C adds the group call ID (Group1, Group2) of the first receiving group of terminal B to its own current receiving group (Group4, Group5) to form a new current receiving group (Group4, Group5, Group1, Group2); if the forwarding target Group4 is not in the current receiving group of terminal C, it means that terminal C is not a member of Group4 and does not need to forward the call of terminal B, so the current receiving group of terminal C is not changed. When calling terminal A calls Group2, before terminal B turns on call forwarding, the receiving members are terminal B and terminal D. After turning on call forwarding, the receiving members are terminal C and terminal D. In another example, when terminal B configures call forwarding to terminal C, it notifies other terminals of the call forwarding information by notification. Other terminals (such as terminal C) receive the notification information and determine whether terminal C is the target forwarding terminal configured by terminal B. If terminal C is the forwarding target, terminal C adds the group call ID (Group1, Group2) of the first receiving group of terminal B to its own current receiving group (Group4, Group5) to form a new current receiving group (Group4, Group5, Group1, Group2). In this embodiment, the call forwarding type of the call forwarding object of the target terminal is not limited to individual call, group call and all call.
[0052] In another implementation of this embodiment, after adding the first receiving group to the second receiving group, the method further includes:
[0053] Step A, receiving second call forwarding information broadcast by the target terminal;
[0054] Step B, parsing the on / off status of the call forwarding function in the second call forwarding information;
[0055] Step C: if the call forwarding function is in a closed state, removing the first receiving group from the second receiving group.
[0056] After the current terminal adds a first receiving group with a special mark to its own current receiving group, it receives the second call forwarding information broadcast by the target terminal, and parses the on / off status of the call forwarding function in the second call forwarding information. If the call forwarding function is in the off state, it means that the target terminal has canceled the call forwarding function, and the current terminal removes the first receiving group from the second receiving group. In an example, 1) when terminal B cancels the call forwarding function, the second call forwarding information is notified by means of a notification method, and the call forwarding information includes the following notification targets and notification information: the notification target is the call forwarding object Gruop4 of terminal B; the notification information is the group call ID (Group1, Group2) of the current receiving group of terminal B; the call forwarding function is turned off; 2) the remaining terminals receive the above notification information, and determine whether the notification target Group4 is in the current receiving group of their own special record. If the notification target Group4 is in the current receiving group of their own special mark, B's notification information: Group1, Group2 group call ID is removed from the current receiving group of the special record. For example, C's current receiving group changes from (Group4, Group5, Group1(Group4), Group2(Group4)) to (Group4, Group5). If the notification target Group4 is not in its own special marked current receiving group, its current receiving group remains unchanged. For example, D's current receiving group does not include Group4, so the current receiving group remains unchanged, that is, Group2 and Group3 are maintained.
[0057] In another implementation of this embodiment, after adding the first receiving group to the second receiving group, the method further includes: in this implementation, the first call forwarding information also includes the effective time of the call forwarding, taking the time point of receiving the first call forwarding information as the starting point, detecting whether the effective time has been reached, and removing the first receiving group from the second receiving group when the effective time has been reached. This embodiment sets a specific call forwarding effective time to ensure the reliability of the above-mentioned call forwarding cancellation function.
[0058] In another implementation of this embodiment, after parsing the call forwarding object and the first receiving group of the first call forwarding information, the method further includes:
[0059] Step 21, initiating a group call request to the target group;
[0060] Step 22, responding to the group call request, determining whether there is a target terminal configured for call forwarding in the locally stored target group;
[0061] Step 23: if there is a target terminal configured with call forwarding in the locally stored target group, obtain third call forwarding information of the target terminal, wherein the third call forwarding information includes a call forwarding object;
[0062] Step 24, forming a temporary call group according to the target group and the call transfer object, and notifying the call transfer object to add the temporary call group to the local current receiving group;
[0063] Step 25: Initiate a group call to the temporary call group.
[0064] In this embodiment, the current terminal acts as the calling terminal. The current terminal receives the first call forwarding information broadcast by the target terminal and stores the call forwarding information locally. When a group call request is initiated to the target group, the current terminal responds to the group call request locally and determines whether there is a target terminal configured for call forwarding in the target group based on the locally stored call forwarding information. If there is a target terminal configured for call forwarding in the locally stored target group, it means that a member of the called target group has set up the call forwarding function. The call forwarding information of the target terminal is obtained, the call forwarding object in the call forwarding information is parsed, and a temporary call group is formed based on the target group and the call forwarding object. The call forwarding object can be notified to add the temporary call group to the local current receiving group, that is, the target transfer terminal that needs to join the temporary call group is notified to join the temporary call group, so that the call forwarding object can receive the group call of the current terminal and initiate a group call to the temporary call group.
[0065] In this embodiment, the call transfer object is a target transfer terminal or a target transfer group, and forming a temporary call group according to the target group and the call transfer object includes:
[0066] Step 241: if the call transfer object is a target transfer terminal, the target transfer terminal is added to the target group, and the target group after the target transfer terminal is added is used as a temporary call group;
[0067] Step 242: If the call transfer object is a target transfer group, all members in the target transfer group are merged with all members in the target group to generate a temporary call group.
[0068] If the call forwarding object configured for the target terminal is the target transfer terminal, indicating that the target terminal needs to transfer the group call to another terminal, the user address or ID information of the transfer terminal is added to the called target group, and the redeployed target group is used as a temporary call group, and the target transfer terminal is notified to add the temporary call group to the local current receiving group, and the current terminal calls the temporary call group; if the call forwarding object configured for the target terminal is the target transfer group, indicating that the target terminal needs to transfer the call to a group, all members of the target transfer group are merged with all members of the target group to generate a temporary call group, and all group members in the target transfer group can be notified to belong to the temporary call group respectively.
[0069] For example, the current terminal is terminal C, which locally stores the call forwarding information broadcast by terminal B, initiates a group call request to the target group Group2, queries the locally stored call forwarding information, determines whether there is a target terminal configured with call forwarding in Group2, detects that there is a target terminal B configured with call forwarding in the target group, obtains the call forwarding object in the call forwarding information of terminal B, and if it is terminal D, then the ID number of terminal D is added to Group2, and the current terminal C calls Group2 to which terminal D is added. If the call forwarding object is Group3, then the members in Group3, such as (D, E, F) are merged with the members in Group2 to generate a temporary call group, and a group call request is initiated to the temporary group.
[0070] In another implementation of this embodiment, the method further includes:
[0071] Step S50, receiving a call request initiated by the calling terminal;
[0072] Step S60, returning a response message to the calling end, wherein the response message carries call forwarding information, the call forwarding information includes a call forwarding object, and the response message is used by the calling end to initiate a call request to the call forwarding object.
[0073] The current terminal receives an individual call request initiated by the calling terminal. If the current terminal turns on the call forwarding function, it returns a response message carrying call forwarding information to the calling terminal. The response message is not limited to the control signaling frame transmission (ControlSignalling Block) or the call busy response. The response message takes the control signaling frame transmission (Control SignallingBlock) as an example. UDTO can be defined as an Opcode code specifically used for call forwarding information. The call forwarding information is transmitted with the help of Service Options service mode selection and Answer Response. The call forwarding information includes the call forwarding object and the call type. After receiving the response message, the calling terminal initiates a call request to the call forwarding object. The call request includes a group call request or an individual call request based on the call forwarding object and the call forwarding type.
[0074] Reference Figure 4 , 1) The called party D receives the call request from the calling party A. If D turns on the call forwarding function, that is, D configures the call forwarding function and the call is forwarded to the called party F, then D carries the call forwarding number to A through a response message. The response message is not limited to CSBK: Control Signaling Block or call busy response message. 2) A receives the above response message, parses it into the call forwarding object, calls the new called party F, and realizes smooth switching. The call type of the call forwarding object of the above called party D is not limited to individual call, group call, and all call.
[0075] refer to Figure 6 , the calling party initiates a call, and the called party D configures call forwarding to individual call F: A calls D. If D turns on the call forwarding function, the call forwarding information is carried to the calling party A through the answer message. The call forwarding type of the call forwarding information is individual call, and the call forwarding object is F. The calling party A calls the new called party F to achieve smooth switching; A calls D. When D turns off the call forwarding function, A and D establish a call directly.
[0076] refer to Figure 7, the calling party initiates calls one by one, and the called party B configures call forwarding group call Group2: A calls B. If B turns on the call forwarding function, the call forwarding information is carried to the caller A through the answer message. The call forwarding type of the call forwarding information is group call, and the call forwarding object is the ID of Group2. The caller A calls Group2 to achieve smooth switching; A calls B. When B turns off the call forwarding function, A and B directly establish a call. Call forwarding can be achieved in both conventional private networks and clusters, making up for the lack of call forwarding function in conventional private networks and the fact that clusters do not support group call forwarding function. The call forwarding method of this embodiment can improve the timeliness and convenience of calls, and is suitable for emergency applications. The call forwarding function is realized without increasing costs, and can be quickly and reliably applied to existing private network equipment.
[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0078] Example 2
[0079] In this embodiment, a call transfer device is also provided to implement the above embodiments and preferred implementations, which have been described and will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0080] Figure 8 is a structural block diagram of a call transfer device according to an embodiment of the present application, such as Figure 8 As shown, the device includes: a receiving module 60, a parsing module 62, a deployment module 63, and a calling module 64, wherein:
[0081] A receiving module 60, configured to receive first call forwarding information broadcast by a target terminal;
[0082] A parsing module 62, configured to parse a call forwarding object and a first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set where the target terminal is located;
[0083] A deployment module 63, configured to redeploy a second receiving group according to the call forwarding object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located;
[0084] The calling module 64 is configured to receive a group call initiated by the calling end for the first receiving group according to the deployed second receiving group.
[0085] Optionally, the deployment module includes a first deployment unit, used to determine whether the current terminal is the target transfer terminal, or whether the current terminal is a member of the target transfer group; if the current terminal is the target transfer terminal, or the current terminal is a member of the target transfer group, the first receiving group is added to the second receiving group.
[0086] Optionally, the call forwarding device also includes a first cancellation module, which is used to receive the second call forwarding information broadcast by the target terminal; parse the on / off status of the call forwarding function in the second call forwarding information; if the call forwarding function is in the off state, remove the first receiving group from the second receiving group.
[0087] Optionally, the call forwarding device also includes a second cancellation module, which is used to detect whether the valid time is reached with the time point of receiving the first call forwarding information as the starting point; when the valid time is reached, the first receiving group is removed from the second receiving group.
[0088] Optionally, the deployment module also includes a second deployment unit, which is used to initiate a group call request to the target group; in response to the group call request, determine whether there is a target terminal configured for call forwarding in the locally stored target group; if there is a target terminal configured for call forwarding in the locally stored target group, obtain third call forwarding information of the target terminal, wherein the third call forwarding information includes a call forwarding object; form a temporary call group based on the target group and the call forwarding object, and notify the call forwarding object to add the temporary call group to the local current receiving group; and initiate a group call to the temporary call group.
[0089] Optionally, the second deployment unit is also used to, if the call transfer object is a target transfer terminal, add the target transfer terminal to the target group, and use the target group after adding the target transfer terminal as a temporary call group; if the call transfer object is a target transfer group, merge all members in the target transfer group with all members in the target group to generate a temporary call group.
[0090] Optionally, the call transfer device also includes a response module, which is used to receive a call request initiated by a calling end; and return a response message to the calling end, wherein the response message carries call transfer information, the call transfer information includes a call transfer object, and the response message is used by the calling end to initiate a call request to the call transfer object.
[0091] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0092] Example 3
[0093] An embodiment of the present application further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0094] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0095] S1, receiving first call forwarding information broadcast by a target terminal;
[0096] S2, parsing the call forwarding object and the first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set where the target terminal is located;
[0097] S3, redeploying a second receiving group according to the call transfer object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located;
[0098] S4: receiving, according to the deployed second receiving group, a group call initiated by the calling end for the first receiving group.
[0099] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0100] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0101] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0102] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0103] S1, receiving first call forwarding information broadcast by a target terminal;
[0104] S2, parsing the call forwarding object and the first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set where the target terminal is located;
[0105] S3, redeploying a second receiving group according to the call transfer object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located;
[0106] S4: receiving, according to the deployed second receiving group, a group call initiated by the calling end for the first receiving group.
[0107] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0108] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0109] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0110] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0113] 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 this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0114] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A call transfer method, characterized in that: The method comprises: Receiving first call forwarding information broadcast by a target terminal; parsing a call forwarding object and a first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set to which the target terminal belongs; redeploying a second receiving group according to the call transfer object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located; The deployed second receiving group receives a group call initiated for the first receiving group.
2. The method according to claim 1, characterized in that The call transfer object is a target transfer terminal or a target transfer group, and redeploying the second receiving group according to the call transfer object and the first receiving group includes: Determine whether the current terminal is the target transfer terminal, or whether the current terminal is a member of the target transfer group; If the current terminal is the target transfer terminal, or the current terminal is a member of the target transfer group, the first receiving group is added to the second receiving group.
3. The method according to claim 2, characterized in that After adding the first receiving group to the second receiving group, the method further includes: receiving second call forwarding information broadcasted by the target terminal; parsing the on / off status of the call forwarding function in the second call forwarding information; If the call forwarding function is in a closed state, the first receiving group is removed from the second receiving group.
4. The method according to claim 2, characterized in that: The first call forwarding information includes an effective time of the call forwarding. After adding the first receiving group to the second receiving group, the method further includes: Taking the time point of receiving the first call forwarding information as the starting point, detecting whether the validity time has been reached; When the validity period is reached, the first receiving group is removed from the second receiving group.
5. The method according to claim 1, characterized in that After parsing the call forwarding object and the first receiving group of the first call forwarding information, the method further includes: Initiate a group call request to the target group; In response to the group call request, determining whether there is a target terminal configured with call forwarding in the locally stored target group; If there is a target terminal configured with call forwarding in the locally stored target group, obtaining third call forwarding information of the target terminal, wherein the third call forwarding information includes a call forwarding object; forming a temporary call group according to the target group and the call transfer object, and notifying the call transfer object to add the temporary call group to the local current receiving group; A group call is initiated to the temporary call group.
6. The method according to claim 5, characterized in that The call transfer object is a target transfer terminal or a target transfer group, and forming a temporary call group according to the target group and the call transfer object includes: If the call transfer object is a target transfer terminal, the target transfer terminal is added to the target group, and the target group after the target transfer terminal is added is used as a temporary call group; If the call transfer object is a target transfer group, all members in the target transfer group are merged with all members in the target group to generate a temporary call group.
7. The method according to claim 1, characterized in that The method further comprises: Receive a call request initiated by the calling party; A response message is returned to the calling end, wherein the response message carries call forwarding information, the call forwarding information includes a call forwarding object, and the response message is used by the calling end to initiate a call request to the call forwarding object.
8. A call transfer device, characterized in that: include: A receiving module, used for receiving first call forwarding information broadcast by a target terminal; A parsing module, configured to parse a call forwarding object and a first receiving group of the first call forwarding information, wherein the first receiving group is a receiving group set to which the target terminal belongs; A deployment module, configured to redeploy a second receiving group according to the call transfer object and the first receiving group, wherein the second receiving group is a receiving group set where the current terminal is located; The calling module is used to receive a group call initiated by the calling end for the first receiving group according to the deployed second receiving group.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method steps of any one of claims 1 to 7 by running a program stored in a memory.
10. A storage medium, characterized in that: The storage medium comprises a stored program, wherein the program executes the method steps of any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Method, terminal and system of achieving call forwarding
CN103067899A
Group call transfer method and storage medium
CN110149596A
Calling method and device, computing device and computer readable storage medium
CN110381085A
Call control method and device and electronic equipment
CN111654827A
Group patching method for trunked communication system, and communication system and storage medium
WO2020087586A1
Cited By
Call forwarding method and communication terminal thereof
CN120857084A
