Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the system for performing call handover according to the embodiment of the present invention includes: a service platform 10 and a second terminal 20.
The service platform 10 is configured to initiate paging to at least one other terminal bound to a second terminal after receiving a handover request of the second terminal that performs a call with a first terminal; and after other terminals are communicated with the first terminal, releasing the session connection between the first terminal and the second terminal.
The second terminal 20 is configured to send a handover request to the service platform after a second terminal in a call with the first terminal needs to perform call handover, so that the service platform initiates paging to at least one other terminal bound to the second terminal; and after receiving a release message of the service platform, releasing the session connection with the first terminal, wherein the release message is sent by the service platform after other terminals are communicated with the first terminal.
The service platform of the embodiment of the invention initiates paging to at least one other terminal bound with a second terminal when receiving a switching request sent by the second terminal which communicates with the first terminal, and releases the session connection between the first terminal and the second terminal after the other terminals are communicated with the first terminal. When the cross-terminal call switching is carried out, the terminal in the call can initiate the switching, and the call is not initiated by the third terminal, so that a new call mode is added, and the method can adapt to more application scenes.
The embodiment of the present invention provides two schemes for performing call handover, which are separately described below.
In the first method, when switching, the service platform initiates paging to all bound terminals.
Specifically, when the second terminal in communication with the first terminal needs to perform call handover, the user may trigger in some manner, so that the second terminal sends a handover request to the service platform.
For example, an APP (computer application), a specific gesture, a button, and the like may be set in the second terminal, and after the user starts the APP, executes the specific gesture, or presses the button, the second terminal sends a switching request to the service platform.
It should be noted that the above manner is only an example, and any triggering manner that enables the second terminal to send the handover request to the service platform is applicable to the embodiment of the present invention.
Correspondingly, after receiving a switching request of a second terminal which communicates with the first terminal, the service platform initiates paging to other terminals bound with the second terminal according to the terminal information which is stored by the service platform and bound with the second terminal.
After the service platform initiates paging to other terminals bound to the second terminal, the other terminals bound to the second terminal receive the call request to ring, and notify the service platform that the terminal has performed ringing (for example, 180ring message is sent to the service platform);
after the other terminals are connected with the first terminal, the other terminals inform the service platform that the other terminals are connected with the first terminal (for example, a 200OK message is sent to the service platform).
Here, the other terminal is connected with the first terminal after receiving the connection command of the user. The on command may be a user click on key trigger, a user voice trigger, a user action trigger, etc. And the other terminals are connected with the first terminal at the signaling level.
After receiving a message that other terminals have communicated with a first terminal (i.e. receiving a first 200OK message), a service platform updates media to the first terminal, and simultaneously sends a message for releasing a call with the first terminal to the second terminal and a terminal which does not establish a session with the first terminal among the plurality of other terminals.
Correspondingly, the second terminal and a terminal which does not establish session connection with the first terminal in the plurality of other terminals release a path with the first terminal after receiving the release message of the service platform.
At this time, the first terminal completes the connection of the media layer with other terminals, establishes a normal call, and completes the call switching from the second terminal to other terminals.
And in the second method, the service platform initiates paging to the appointed terminal when switching.
If a user wants to obtain URI (Uniform Resource Identifier) information of all bound terminals, the user may obtain the URI information by using some manner, for example, when the user opens an APP, the terminal obtains URI information of other terminals bound to a service platform from a core network; the core network sends the URI information of other terminals to the terminal and displays the URI information of other terminals through a UI (User Interface) Interface.
The URI information of the terminal is a call address of the terminal, and includes but is not limited to part or all of the following information: such as code number, domain name information.
It should be noted that the above manners are only examples, and any manner that enables a user to obtain URI information of all bound terminals is applicable to the embodiment of the present invention.
If the user wants to designate a certain bound terminal to perform call switching when the second terminal performing call with the first terminal performs call, the URI information of all the bound terminals can be acquired by the above mode, and the user selects the terminal which wants to perform call switching according to the URI information of the terminal displayed on the UI interface.
After the user selects the terminal, the second terminal sends the switching request containing the appointed terminal to the service platform by adopting some triggering modes.
For example, an APP, a specific gesture, a button, and the like may be set in the second terminal, and when the user starts the APP, executes the specific gesture, or presses the button, the second terminal sends a switching request to the service platform.
Correspondingly, after the service platform receives a switching request of a second terminal which is communicated with the first terminal, the service platform initiates paging to a specified terminal selected by a user according to the terminal information which is stored by the service platform and is bound with the second terminal.
After the service platform initiates paging to the specified terminal bound with the second terminal, the specified terminal bound with the second terminal receives the call request to ring, and notifies the service platform that the terminal has performed ringing (for example, 180ring message is sent to the service platform);
after the designated terminal is connected with the first terminal, the designated terminal informs the service platform that the terminal is connected with the first terminal (for example, sends a 200OK message to the service platform).
The designated terminal is connected to the first terminal after receiving a user's connect command. The on command may be a user click on key trigger, a user voice trigger, a user action trigger, etc. And the connection between the designated terminal and the first terminal is connected in a signaling layer, and the call between the two terminals cannot be realized.
After receiving a message that a designated terminal is connected with a first terminal, a service platform updates media to the first terminal and sends a message for releasing the call established with the first terminal to a second terminal.
Correspondingly, the second terminal releases the session connection with the first terminal after receiving the release message of the service platform.
At this time, the first terminal and the designated terminal complete the connection of the media layer, establish a normal call, and complete the call switching from the second terminal to the designated terminal.
As shown in fig. 2, a first service platform structure for performing call handover according to an embodiment of the present invention includes: at least one processing unit 200 and at least one memory unit 201, wherein the memory unit stores program code which, when executed by the processing unit, causes the processing unit to perform the following:
the program code, when executed by the processing unit, causes the processing unit to perform the following:
after receiving a switching request of a second terminal which communicates with a first terminal, initiating paging to at least one other terminal bound with the second terminal;
and after the other terminals are communicated with the first terminal, releasing the session connection between the first terminal and the second terminal.
Optionally, the processing unit 200 is further specifically configured to:
if the switching request comprises the terminal information of the terminal bound with the second terminal, initiating paging to the terminal corresponding to the terminal information in the switching request; or
And if the switching request does not comprise the terminal information of the terminal bound with the second terminal, initiating paging to all other terminals bound with the second terminal.
Optionally, the processing unit 200 is specifically configured to:
after at least one other terminal bound with the second terminal initiates paging, if paging is initiated to a plurality of other terminals bound with the second terminal, after one other terminal establishes session connection with the first terminal, notifying a terminal which does not establish session connection with the first terminal in the plurality of other terminals to release the conversation with the first terminal.
As shown in fig. 3, a first structure of a second terminal for performing call handover according to an embodiment of the present invention includes: at least one processing unit 300 and at least one memory unit 301, wherein the memory unit stores program code which, when executed by the processing unit, causes the processing unit to perform the following:
after a second terminal which communicates with a first terminal needs to perform communication switching, sending a switching request to the service platform so that the service platform initiates paging to at least one other terminal bound with the second terminal;
and after receiving a release message of the service platform, releasing the session connection with the first terminal, wherein the release message is sent by the service platform after other terminals are communicated with the first terminal.
Optionally, the processing unit 300 is further specifically configured to:
determining a terminal needing to be accessed in other terminals bound with the second terminal; and sending a switching request containing the terminal information of the terminal needing to be accessed to the service platform.
Optionally, the processing unit 300 is further specifically configured to:
and before determining the terminal needing to be accessed in the other terminals bound with the second terminal, acquiring the other terminals bound with the second terminal through a network, and displaying the acquired other terminals to a user.
As shown in fig. 4, the device of the service platform according to the embodiment of the present invention includes:
a receiving module 400, configured to receive a handover request of a second terminal that performs a call with a first terminal;
a configuration module 401, configured to initiate paging to at least one other terminal bound to the second terminal;
an executing module 402, configured to release the session connection between the first terminal and the second terminal after the other terminals are connected to the first terminal.
As shown in fig. 5, the apparatus of the second terminal according to the embodiment of the present invention includes:
a sending module 500, configured to send a handover request to the service platform after a second terminal that is in a call with a first terminal needs to perform call handover, so that the service platform initiates paging to at least one other terminal bound to the second terminal;
a processing module 501, configured to release a session connection with the first terminal after receiving a release message of the service platform, where the release message is sent by the service platform after other terminals are connected to the first terminal.
In some possible embodiments, the aspects of the method for switching a call provided by the embodiments of the present invention may also be implemented in the form of a program product, which includes program code for causing a computer device to execute the steps in the method for switching a call according to various exemplary embodiments of the present invention described in this specification, when the program code runs on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A program product for data forwarding control according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited thereto, and in this document, the readable storage medium may be any tangible medium containing or storing the program, which can be used by or in connection with an information transmission, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the periodic network action system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device.
Based on the same inventive concept, the embodiment of the present invention further provides a method for call handover, and since the device corresponding to the method is a service platform in a system for call handover in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the method can be implemented by referring to the system implementation, and repeated details are not repeated.
As shown in fig. 6, the method for call handover according to the embodiment of the present invention includes:
step 600, after receiving a handover request of a second terminal communicating with a first terminal, initiating paging to at least one other terminal bound with the second terminal;
step 601, after the other terminals are connected with the first terminal, releasing the session connection between the first terminal and the second terminal.
Optionally, the initiating, by the service platform, paging to at least one other terminal bound to the second terminal includes:
if the switching request comprises terminal information of a terminal bound with the second terminal, the service platform initiates paging to the terminal corresponding to the terminal information included in the switching request; or
And if the switching request does not comprise the terminal information of the terminal bound with the second terminal, the service platform initiates paging to all other terminals bound with the second terminal.
Optionally, after the service platform initiates paging to at least one other terminal bound to the second terminal, the method further includes:
if the service platform initiates paging to a plurality of other terminals bound with the second terminal, the service platform notifies a terminal which does not establish a session with the first terminal among the plurality of other terminals to release the call with the first terminal after one other terminal establishes a session connection with the first terminal.
Based on the same inventive concept, the embodiment of the present invention further provides a method for call handover, and since the device corresponding to the method is the second terminal in the system for call handover in the embodiment of the present invention for the second terminal, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are omitted.
As shown in fig. 7, the method for call handover according to the embodiment of the present invention includes:
step 700, after a second terminal in communication with a first terminal needs to perform communication switching, sending a switching request to the service platform so that the service platform initiates paging to at least one other terminal bound with the second terminal;
and 701, after receiving a release message of the service platform, releasing the session connection with the first terminal, wherein the release message is sent by the service platform after other terminals are communicated with the first terminal.
Optionally, before the handover request sent by the second terminal to the service platform, the method further includes:
the second terminal determines terminals needing to be accessed in other terminals bound with the second terminal;
the switching request sent by the second terminal to the service platform includes:
and the second terminal sends a switching request containing the terminal information of the terminal needing to be accessed to the service platform.
Optionally, before the second terminal determines a terminal that needs to be accessed in other terminals bound to the second terminal, the method further includes:
and the second terminal acquires other terminals bound with the second terminal through a network and displays the acquired other terminals to a user.
The embodiment of the invention provides two complete call switching modes.
As shown in fig. 8, a first call handover method according to an embodiment of the present invention includes:
step 800, the terminal A and the terminal D normally talk;
step 801, a terminal A sends a switching request to a service platform;
step 802, the service platform initiates paging to terminal B and terminal C;
step 803, terminal B and terminal C ring;
step 804, after the appointed terminal is connected with the first terminal, sending 200OK to inform the service platform that the terminal is connected with the first terminal;
step 805, the service platform sends the update media to the terminal D, and simultaneously sends a release message to the terminal a and the terminal C, releasing the call with the first terminal;
in step 806, terminal B establishes a call with terminal D.
As shown in fig. 9, a second call handover method according to the embodiment of the present invention includes:
step 900, the terminal A and the terminal D normally talk;
step 901, the terminal a acquires URI information of other terminals bound with the service platform from the core network;
step 902, after the user selects the terminal, the terminal a sends the switching request containing the designated terminal to the service platform;
step 903, the service platform initiates paging to the terminal B;
step 904, terminal B receives the call request to send ringing;
step 905, after the terminal B is connected with the terminal D, sending 200OK to inform the service platform that the terminal is connected with the first terminal;
step 906, the service platform updates the media to the terminal D, sends a release message to the terminal A, and releases the establishment of the conversation with the UE-D;
step 907, terminal B establishes a call with terminal D.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.