CN112165724A - Session switching method, communication network, source terminal and target terminal - Google Patents

Session switching method, communication network, source terminal and target terminal Download PDF

Info

Publication number
CN112165724A
CN112165724A CN202011099033.8A CN202011099033A CN112165724A CN 112165724 A CN112165724 A CN 112165724A CN 202011099033 A CN202011099033 A CN 202011099033A CN 112165724 A CN112165724 A CN 112165724A
Authority
CN
China
Prior art keywords
program
target terminal
source terminal
session
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011099033.8A
Other languages
Chinese (zh)
Other versions
CN112165724B (en
Inventor
张伦泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011099033.8A priority Critical patent/CN112165724B/en
Publication of CN112165724A publication Critical patent/CN112165724A/en
Application granted granted Critical
Publication of CN112165724B publication Critical patent/CN112165724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a session switching method, a communication network, a source terminal and a target terminal, belongs to the technical field of communication, and can at least partially solve the problem that data of a session running on a program on the terminal is easy to lose when the electric quantity of the existing terminal is insufficient. The method for switching the session of the embodiment of the invention is used for a communication network and comprises the following steps: receiving a session switching request sent by a source terminal, wherein the session switching request comprises an identifier of a first program of the source terminal and an identifier of a target terminal; sending a call request to a target terminal according to the identifier of the target terminal and receiving reply information of the target terminal, wherein the call request comprises the identifier of a first program; and if receiving reply information for confirming session switching from the target terminal, acquiring the running state data of the first program of the source terminal from the source terminal, sending the running state data of the first program of the source terminal to the target terminal, and forwarding the data message of the first program acquired from the source terminal to the target terminal.

Description

Session switching method, communication network, source terminal and target terminal
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a session switching method, a communication network, a source terminal and a target terminal.
Background
With the popularization of terminals (such as intelligent terminals), more and more programs are running on the intelligent terminals.
However, since the battery capacity of the intelligent terminal is not improved in a breakthrough manner in recent years, when a program on the intelligent terminal is operated, the situation that the electric quantity of the intelligent terminal is insufficient and the program cannot be continuously operated is often encountered. If the intelligent terminal cannot be charged in time at this time, data of the ongoing session of the program is lost.
Disclosure of Invention
The invention at least partially solves the problem that the data loss of the ongoing session of the program running on the terminal is easily caused when the power of the existing terminal is insufficient, and provides a session switching method, a communication network, a source terminal and a target terminal.
A first aspect of the present invention provides a method of session handover for a communications network, the method comprising:
receiving a session switching request sent by a source terminal, wherein the session switching request comprises an identifier of a first program of the source terminal and an identifier of a target terminal;
sending a call request to the target terminal according to the identifier of the target terminal and receiving reply information of the target terminal, wherein the call request comprises the identifier of the first program;
and if receiving reply information from the target terminal for confirming the session switching, acquiring the running state data of the first program of the source terminal from the source terminal, sending the running state data of the first program of the source terminal to the target terminal, and forwarding the data message of the first program acquired from the source terminal to the target terminal.
Optionally, after receiving the reply message of the target terminal, the method further includes: if receiving the reply information of refusing the session switching from the target terminal, returning to the step of receiving the session switching request sent by the source terminal.
Optionally, after receiving the reply message from the target terminal for confirming the session handover, the method further includes: and acquiring the session parameters of the first program of the source terminal, and providing session service for the first program of the target terminal according to the session parameters.
A second aspect of the present invention provides a session handover method, for a target terminal, where the method includes:
receiving a call request sent by a communication network, wherein the call request comprises a first program identifier;
judging whether the first program exists locally in the target terminal according to the first program identifier;
if so, sending reply information for confirming session switching to the communication network, and receiving running state data of a first program from a source terminal of the communication network;
and starting a local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
Optionally, after determining whether the first program locally exists in the target terminal according to the first program identifier, the method further includes: if the first program does not exist locally in the target terminal, sending reply information for rejecting session switching to the communication network, and returning to the step of receiving the call request sent by the communication network.
A third aspect of the present invention provides a session handover method, for a source terminal, where the method includes:
receiving session switching data, wherein the session switching data comprises an identifier of a first program of the source terminal and an identifier of a target terminal;
creating running state data of the first program according to the identifier of the first program;
sending a session handover request to a communication network, the session handover request including an identification of the first program and an identification of the target terminal.
Optionally, the creating of the running state data of the first program according to the identifier of the first program and the sending of the session handover request to the communication network further include: and compressing the created running state data of the first program.
A fourth aspect of the present invention provides a communication network comprising:
a first receiving module, configured to receive a session handover request sent by a source terminal, where the session handover request includes an identifier of a first program of the source terminal and an identifier of a target terminal;
a first sending module, configured to send a call request to the target terminal according to the identifier of the target terminal, and receive reply information of the target terminal, where the call request includes the identifier of the first program;
the first processing module is configured to, when receiving a reply message from the target terminal that confirms session switching, acquire running state data of a first program of the source terminal from the source terminal, send the running state data of the first program of the source terminal to the target terminal, and forward a data packet of the first program acquired from the source terminal to the target terminal.
A fifth aspect of the present invention provides a target terminal, comprising:
the second receiving module is used for receiving a call request sent by a communication network, wherein the call request comprises a first program identifier;
the judging module is used for judging whether the first program exists in the local part of the target terminal according to the first program identifier;
a second sending module, configured to send, when the first program locally exists in the target terminal, reply information for confirming session switching to the communication network, and receive running state data of the first program from a source terminal of the communication network;
and the second processing module is used for starting the local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
A sixth aspect of the present invention provides a source terminal, comprising:
a third receiving module, configured to receive session switching data, where the session switching data includes an identifier of the first program of the source terminal and an identifier of the target terminal;
the first creating module is used for creating the running state data of the first program according to the identifier of the first program;
a third sending module, configured to send a session handover request to a communication network, where the session handover request includes an identifier of the first program and an identifier of the target terminal.
In the session switching method, the communication network, the source terminal and the target terminal of the embodiment of the invention, the running state data of the first program of the source terminal is sent to the target terminal, and when the first program exists in the target terminal, the ongoing session of the first program of the source terminal is switched to the first program of the target terminal for continuous operation by sending the data message of the first program of the source terminal to the data message of the first program of the target terminal, so that the loss of the data of the ongoing session on the program, which is caused by the fact that the program of the source terminal cannot be supported to continue running due to insufficient electric quantity of the source terminal, is avoided.
Drawings
Fig. 1 is a flowchart illustrating a session handover method for a communication network according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another session handover method for a communication network according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a session handover method for a target terminal according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another session handover method for a target terminal according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a session handover method for a source terminal according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another session handover method for a source terminal according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a session handover method according to an embodiment of the present invention;
FIG. 8 is a block diagram illustrating the components of a communications network in accordance with an embodiment of the present invention;
fig. 9 is a block diagram schematically illustrating a target terminal according to an embodiment of the present invention;
fig. 10 is a block diagram schematically illustrating a source terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
It is to be understood that the specific embodiments and figures described herein are merely illustrative of the invention and are not limiting of the invention.
It is to be understood that the embodiments and features of the embodiments can be combined with each other without conflict.
It is to be understood that, for the convenience of description, only parts related to the present invention are shown in the drawings of the present invention, and parts not related to the present invention are not shown in the drawings.
It should be understood that each unit and module related in the embodiments of the present invention may correspond to only one physical structure, may also be composed of multiple physical structures, or multiple units and modules may also be integrated into one physical structure.
It will be understood that, without conflict, the functions, steps, etc. noted in the flowchart and block diagrams of the present invention may occur in an order different from that noted in the figures.
It is to be understood that the flowchart and block diagrams of the present invention illustrate the architecture, functionality, and operation of possible implementations of systems, apparatus, devices and methods according to various embodiments of the present invention. Each block in the flowchart or block diagrams may represent a unit, module, segment, code, which comprises executable instructions for implementing the specified function(s). Furthermore, each block or combination of blocks in the block diagrams and flowchart illustrations can be implemented by a hardware-based system that performs the specified functions or by a combination of hardware and computer instructions.
It is to be understood that the units and modules involved in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware, for example, the units and modules may be located in a processor.
Example 1:
referring to fig. 1 and 2, the present embodiment provides a method for a session handover of a communication network, the method including:
s101, receiving a session switching request sent by a source terminal, wherein the session switching request comprises an identifier of a first program of the source terminal and an identifier of a target terminal.
A communication network, such as an SMF (Session Management Function) on the communication network that provides a Session service for a source terminal, receives a Session handover request from the source terminal.
The Session handover request specifically includes an identifier of a first program of the source terminal and an identifier of the target terminal, where the first program may be a program running on the source terminal, and there is a Session (Session) in a connected state, and the Session handover request is used to request to handover the Session in the connected state of the first program to the target terminal, and continue to perform the Session of the program on the target terminal.
The source terminal and the target terminal are both terminals, and may specifically be devices capable of performing a session, such as a mobile phone and a tablet computer. The source terminal and the target terminal are not fixed terminals, in the process of one session switching, the source terminal is the terminal which sends the session switching request, and correspondingly, the terminal to which the user wants to switch the session is the target terminal. In different session switching processes, the source terminal and the target terminal may be different, and the source terminal in one session switching process may be the target terminal in the next session switching process.
S102, sending a call request to the target terminal according to the identification of the target terminal and receiving reply information of the target terminal, wherein the call request comprises the identification of the first program.
A communication network (e.g., an SMF providing session service for a source terminal on the communication network) sends a call request to a target terminal and waits for receiving reply information from the target terminal through a UDM (Unified Data Management Function) and an AMF (Access and Mobility Management Function) providing service for the target terminal according to an identifier of the target terminal in a received session handover request.
The type of the call request is set as session switching, and specifically includes an identifier of the first program.
S103, if the reply message of confirming the session switching from the target terminal is received, acquiring the running state data of the first program of the source terminal from the source terminal, sending the running state data of the first program of the source terminal to the target terminal, and forwarding the data message of the first program acquired from the source terminal to the target terminal.
If the communication network (such as an AMF providing service for the target terminal) receives reply information from the target terminal, wherein the reply information is used for confirming the session switching, the communication network sends the information of the reply information for confirming the session switching of the target terminal to the source terminal, the source terminal sends the running state data of the first program of the source terminal to the communication network after receiving the information, and the communication network sends the running state data of the first program of the source terminal to the target terminal after receiving the running state data, relocates the data message of the first program to be sent to the source terminal and forwards the data message to the target terminal.
Optionally, after receiving a reply message from the target terminal to confirm the session handover (S103), the method further includes:
s104, acquiring the session parameters of the first program of the source terminal, and providing session service for the first program of the target terminal according to the session parameters.
The communication network acquires session state parameters of a session of a first program of the source terminal (namely, a session which is required to be switched to the target terminal for continuing), and sends the session state parameters to an SMF (simple message format) which is used for providing session services for the target terminal on the communication network, so that the SMF uses the session state parameters to provide the session services for the first program of the target terminal.
Providing session service for the first program of the target terminal according to the session parameters of the first program of the source terminal, so that on one hand, the session carried out on the first program of the target terminal is ensured to be completely consistent with the session on the first program of the source terminal; on the other hand, the SMF providing the session service to the target terminal may immediately provide the session service to the first program of the target terminal using the existing parameters without reconfiguring the parameters.
Optionally, after receiving the reply message of the target terminal (S102), the method further includes:
and S105, if the reply information of refusing the session switching from the target terminal is received, returning to the step of receiving the session switching request sent by the source terminal.
If the communication network (such as the AMF providing service for the target terminal) receives the reply message from the target terminal, and the reply message is the refusal of session switching, the session switching process fails, and the session switching request step sent by the receiving source terminal is returned again.
According to the session switching method, the running state data of the first program of the source terminal is sent to the target terminal, when the first program exists in the target terminal, the data message of the first program of the source terminal is sent to the data message of the first program of the target terminal, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session of the program caused by the fact that the program of the source terminal cannot be supported to continue running due to the fact that the electric quantity of the source terminal is insufficient is avoided.
Example 2:
referring to fig. 3 and 4, the present embodiment provides a session handover method for a target terminal, where the method includes:
s201, receiving a call request sent by a communication network, wherein the call request comprises a first program identifier.
S202, judging whether the first program exists in the local target terminal according to the first program identifier.
The target terminal receives a call request sent by a communication network (such as an AMF (advanced metering framework) providing service for the target terminal on the communication network), identifies that the type of the call request is session switching, and judges whether a first program exists in the local of the target terminal according to a first program identifier in the call request.
And S203, if so, sending reply information for confirming the session switching to the communication network, and receiving the running state data of the first program from the source terminal of the communication network.
And if the target terminal judges that the first program locally exists, sending reply information for confirming session switching to the communication network, and then receiving the running state data of the first program from the source terminal of the communication network.
S204, starting a local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
The target terminal starts a local first program, loads the received running state data of the first program of the source terminal to a memory of the target terminal, covers a running memory file when the first program of the target terminal runs, receives a data message of the first program to be sent to the source terminal at the same time, and continues conversation in the first program of the target terminal according to the data message.
Optionally, after determining whether the first program locally exists in the target terminal according to the first program identifier (S202), the method further includes:
s205, if the first program does not exist in the local area of the target terminal, sending reply information for rejecting session switching to the communication network, and returning to the step of receiving the call request sent by the communication network.
If the target terminal judges that the first program does not exist locally, sending reply information for refusing session switching to the communication network, and returning to the step of receiving the call request sent by the communication network.
In the session switching method of this embodiment, when the first program exists in the target terminal, the running memory file during running of the local first program is covered by using the received running state data of the first program of the source terminal, and the data packet of the first program of the source terminal is sent to the data packet of the first program of the target terminal, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and loss of data of the ongoing session of the program due to insufficient electric quantity of the source terminal and incapability of supporting the continuous running of the program of the source terminal is avoided.
Example 3:
referring to fig. 5 and 6, the present embodiment provides a session handover method for a source terminal, including:
s301, receiving session switching data, wherein the session switching data comprises an identifier of a first program of a source terminal and an identifier of a target terminal.
The user sends the identifier comprising the first program of the source terminal and the identifier of the target terminal to the source terminal in an interactive mode of a touch screen, and the source terminal receives session switching data sent by the user.
S302, creating the running state data of the first program according to the identification of the first program.
And the source terminal acquires all data of the first program in the memory space currently operated by the source terminal according to the identifier of the first program in the session switching data, and packages the data to create the running state data of the first program.
And after the source terminal receives the information which is sent by the communication network and receives the reply information of the target terminal for confirming the session switching, the source terminal sends the created running state data of the first program to the communication network.
S303, sending a session switching request to the communication network, wherein the session switching request comprises the identifier of the first program and the identifier of the target terminal.
When the source terminal has the situation that the power supply is insufficient and the like, which can not support the ongoing session of the first program, can not continue, the source terminal sends a session switching request to the communication network according to the acquired session switching data, wherein the session switching request comprises the identification of the first program and the identification of the target terminal.
Of course, the source terminal may support that the ongoing session of the first program continues (only the terminal running the first program is to be replaced without losing the ongoing session of the first program), and may also send a session handover request to the communication network.
Optionally, between creating the operation state data of the first program (S302) according to the identifier of the first program and sending a session switching request to the communication network (S303), the method further includes:
and S3021, compressing the created running state data of the first program.
And the source terminal compresses the created running state data of the first program and sends the data to the communication network. That is, after the source terminal receives the information sent by the communication network and received the reply message of the target terminal confirming the session switching, the source terminal sends the compressed running state data of the first program to the communication network.
By compressing the running state data of the first program, the size of the running state data of the first program is reduced, and the running state data of the first program is conveniently sent to a communication network.
In the session switching method of this embodiment, the running state data of the first program of the source terminal is sent to the communication network, and the running state data of the first program of the source terminal is sent to the target terminal through the communication network, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session on the program, which is caused by the fact that the program of the source terminal cannot continue to run due to the insufficient electric quantity of the source terminal, is avoided.
Example 4:
referring to fig. 7, the present embodiment provides a session switching method, which specifically includes:
s401, the source terminal receives session switching data, wherein the session switching data comprises an identifier of a first program of the source terminal and an identifier of a target terminal.
When a user wants to switch the data Session state of the first program of the source terminal to a target terminal and continue the data Session on the target terminal, Session switching data comprising the first program identification and the identification of the target terminal is sent to the source terminal through terminal interaction (such as clicking a predefined shortcut and the like), and the source terminal receives the Session switching data sent by the user.
The identifier of the first program is used for the source terminal to determine the program corresponding to the switched data session, and the identifier of the target terminal is used for determining the terminal to which the data session is switched.
S402, the source terminal creates running state data of the first program according to the identification of the first program.
The source terminal compresses all data of the first program (certainly, the data may also include a memory exchange file stored on a disk of the source terminal and generated by the first program to save the running memory) in the memory space in which the source terminal currently runs according to the session switching data, and creates running state data of the first program.
Specifically, in order to save data traffic and facilitate transmission, the source terminal instructs the first program to perform the memory access and the memory swap file access before creating the running state data of the first program, so as to release unnecessary memory space and reduce or even completely eliminate the size of the memory swap file.
S403, the source terminal sends a session switching request to the communication network, wherein the session switching request comprises the identifier of the first program and the identifier of the target terminal.
S404, the communication network receives a session switching request sent by the source terminal, wherein the session switching request comprises the identifier of the first program of the source terminal and the identifier of the target terminal.
Specifically, the source terminal sends the first degree of identification as well as the identification of the target terminal to the SMF (referred to as SMF1 in this embodiment) currently providing the data session service for the source terminal in the communication network.
S405, the communication network sends a call request to the target terminal according to the identification of the target terminal and receives reply information of the target terminal, wherein the call request comprises the identification of the first program.
The SMF1 first sends a call request for calling a target terminal to a UDM (Unified Data Management function) according to the received identification of the target terminal.
Specifically, the type of the call request is set as session handover, and includes the identifier of the first program.
The UDM finds the AMF currently serving the target terminal among the call requests received from the SMF1, and transmits the call request to the target terminal through the AMF.
S406, the target terminal receives a call request sent by the communication network, wherein the call request comprises a first program identifier.
S407, the target terminal judges whether the first program exists locally in the target terminal according to the first program identifier.
After receiving the call request sent by the AMF, the target terminal identifies that the type of the call request is session switching, extracts the identifier of the first program in the call request, and judges whether the first program (or the program adaptive to the first program) exists locally.
And S408, if so, sending reply information for confirming the session switching to the communication network, and receiving the running state data of the first program from the source terminal of the communication network.
And if the target terminal judges that the first program exists locally, sending reply information for confirming the session switching to the AMF.
Of course, if the target terminal determines that the first program does not exist locally, the target terminal sends a reply message rejecting the session handover to the communication network.
S409, if the communication network receives a reply message from the destination terminal to confirm the session handover, acquiring the operation state data of the first program of the source terminal from the source terminal, sending the operation state data of the first program of the source terminal to the destination terminal, and forwarding the data packet of the first program acquired from the source terminal to the destination terminal.
After receiving the response from the target terminal, the AMF selects an SMF (referred to as SMF2 in this embodiment) to serve the switched data session (i.e., the data session continued on the first program of the target terminal).
The SMF1 transmits information that a reply message confirming the session switching of the target terminal has been received to the source terminal, and the source terminal transmits the operation state data of the first program to a UPF (User Plane Function), referred to as UPF1 in this embodiment, that provides a data forwarding service for the source terminal after receiving the message.
The SMF2 requests the SMF1 for the session state parameters of the data session of the first program of the source terminal (i.e. the data session that the target terminal wants to switch to continue), and the SMF1 sends the corresponding session state parameters to the SMF2, so that the SMF2 can provide data session services for the target terminal according to the session state parameters.
Meanwhile, the AMF also selects a UPF (referred to as UPF2 in this embodiment) providing a data forwarding service for the target terminal, and the UPF1 sends the received operation status data of the first program of the source terminal to the UPF 2. The UPF1 notifies a DN to switch the connection of Data packets to the UPF2 while forwarding the Data packets of a first program from a source terminal of the DN (Data Network) to the UPF2 in real time. The UPF2 sends the received data packets to the destination terminal and receives data packets from the destination terminal and sends them to other terminals in the network (in case the IP addresses of both parties of the data session cannot be changed freely, the UPF2 modifies the source IP address of the data packets from the first program on the destination terminal to the IP address used by the first program of the source terminal).
After the DN completes the connection, that is, after the DN receives the data packets of the first program of the source terminal and redirects the data packets to the UPF2, the UPF1 notifies the SMF1 that the session switching is completed, and recovers the resources corresponding to the data session, and the SMF1 also notifies the source terminal that the session switching is completed, and recovers the resources corresponding to the data session.
Specifically, SMF1 and SMF2 may be the same entity, that is, the same SMF provides data session service for both the source terminal and the target terminal. The UPF1 and the UPF2 may be the same entity, i.e., the same UPF provides data forwarding services for both the source terminal and the target terminal.
S410, the target terminal starts a local first program of the target terminal, the running state data of the first program of the source terminal is used for covering a running memory file of the local first program of the target terminal, and a data message of the first program of the source terminal from the communication network is received.
The target terminal starts a local first program, loads the received running state data of the first program of the source terminal to a memory of the target terminal, covers a running memory file (a memory exchange file is created or replaced when necessary) when the first program of the target terminal runs, receives a message (namely a data message of the first program which is desired to be sent to the source terminal) from the UPF2, and continues to perform a session in the first program of the target terminal according to the data message.
According to the session switching method, the running state data of the first program of the source terminal is sent to the target terminal, when the first program exists in the target terminal, the data message of the first program of the source terminal is sent to the data message of the first program of the target terminal, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session of the program caused by the fact that the program of the source terminal cannot be supported to continue running due to the fact that the electric quantity of the source terminal is insufficient is avoided.
Example 5:
referring to fig. 8, the present embodiment provides a communication network including:
the first receiving module is used for receiving a session switching request sent by a source terminal, wherein the session switching request comprises an identifier of a first program of the source terminal and an identifier of a target terminal;
the first sending module is used for sending a calling request to the target terminal according to the identifier of the target terminal and receiving the reply information of the target terminal, wherein the calling request comprises the identifier of the first program;
the first processing module is configured to, when receiving a reply message from the target terminal that confirms session switching, acquire running state data of a first program of the source terminal from the source terminal, send the running state data of the first program of the source terminal to the target terminal, and forward a data packet of the first program acquired from the source terminal to the target terminal.
The communication network of the embodiment sends the running state data of the first program of the source terminal to the target terminal, and when the first program exists in the target terminal, the data message of the first program of the source terminal is sent to the data message of the first program of the target terminal, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session of the program, which is caused by the fact that the program of the source terminal cannot be supported to continue running due to the insufficient electric quantity of the source terminal, is avoided.
Example 6:
referring to fig. 9, the present embodiment provides a target terminal, including:
the second receiving module is used for receiving a call request sent by a communication network, wherein the call request comprises a first program identifier;
the judging module is used for judging whether a first program exists in the local target terminal according to the first program identifier;
the second sending module is used for sending reply information for confirming session switching to the communication network when the first program locally exists in the target terminal, and receiving running state data of the first program of the source terminal from the communication network;
and the second processing module is used for starting the local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
In the target terminal of this embodiment, when the first program exists in the target terminal, the received running state data of the first program of the source terminal is used to cover the running memory file when the local first program runs, and the data packet of the first program of the source terminal is sent to the data packet of the first program of the target terminal, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session of the program, which is caused by the fact that the program of the source terminal cannot be supported to continue running due to insufficient electric quantity of the source terminal, is avoided.
Example 7:
referring to fig. 10, the present embodiment provides a source terminal, including:
the third receiving module is used for receiving session switching data, and the session switching data comprises the identifier of the first program of the source terminal and the identifier of the target terminal;
the first creating module is used for creating the running state data of the first program according to the identifier of the first program;
and the third sending module is used for sending a session switching request to the communication network, wherein the session switching request comprises the identifier of the first program and the identifier of the target terminal.
In the source terminal of this embodiment, the running state data of the first program of the source terminal is sent to the communication network, and the running state data of the first program of the source terminal is sent to the target terminal through the communication network, so that the ongoing session of the first program of the source terminal is switched to the first program of the target terminal to continue, and the loss of data of the ongoing session of the program due to insufficient electric quantity of the source terminal and incapability of supporting the continued operation of the program of the source terminal is avoided.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A method of session handoff for a communication network, the method comprising:
receiving a session switching request sent by a source terminal, wherein the session switching request comprises an identifier of a first program of the source terminal and an identifier of a target terminal;
sending a call request to the target terminal according to the identifier of the target terminal and receiving reply information of the target terminal, wherein the call request comprises the identifier of the first program;
and if receiving reply information from the target terminal for confirming the session switching, acquiring the running state data of the first program of the source terminal from the source terminal, sending the running state data of the first program of the source terminal to the target terminal, and forwarding the data message of the first program acquired from the source terminal to the target terminal.
2. The method according to claim 1, wherein the receiving the reply message of the target terminal further comprises:
if receiving the reply information of refusing the session switching from the target terminal, returning to the step of receiving the session switching request sent by the source terminal.
3. The method according to claim 1, wherein after receiving the reply message from the target terminal confirming the session handover, further comprising:
and acquiring the session parameters of the first program of the source terminal, and providing session service for the first program of the target terminal according to the session parameters.
4. A session handover method for a target terminal, the method comprising:
receiving a call request sent by a communication network, wherein the call request comprises a first program identifier;
judging whether the first program exists locally in the target terminal according to the first program identifier;
if so, sending reply information for confirming session switching to the communication network, and receiving running state data of a first program from a source terminal of the communication network;
and starting a local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
5. The method according to claim 4, wherein after determining whether the first program locally exists in the target terminal according to the first program identifier, the method further comprises:
if the first program does not exist locally in the target terminal, sending reply information for rejecting session switching to the communication network, and returning to the step of receiving the call request sent by the communication network.
6. A session switching method for a source terminal, the method comprising:
receiving session switching data, wherein the session switching data comprises an identifier of a first program of the source terminal and an identifier of a target terminal;
creating running state data of the first program according to the identifier of the first program;
sending a session handover request to a communication network, the session handover request including an identification of the first program and an identification of the target terminal.
7. The method of claim 6,
the creating of the running state data of the first program according to the identifier of the first program and the sending of the session switching request to the communication network further comprise: and compressing the created running state data of the first program.
8. A communication network, characterized in that it comprises:
a first receiving module, configured to receive a session handover request sent by a source terminal, where the session handover request includes an identifier of a first program of the source terminal and an identifier of a target terminal;
a first sending module, configured to send a call request to the target terminal according to the identifier of the target terminal, and receive reply information of the target terminal, where the call request includes the identifier of the first program;
the first processing module is configured to, when receiving a reply message from the target terminal that confirms session switching, acquire running state data of a first program of the source terminal from the source terminal, send the running state data of the first program of the source terminal to the target terminal, and forward a data packet of the first program acquired from the source terminal to the target terminal.
9. A target terminal, the target terminal comprising:
the second receiving module is used for receiving a call request sent by a communication network, wherein the call request comprises a first program identifier;
the judging module is used for judging whether the first program exists in the local part of the target terminal according to the first program identifier;
a second sending module, configured to send, when the first program locally exists in the target terminal, reply information for confirming session switching to the communication network, and receive running state data of the first program from a source terminal of the communication network;
and the second processing module is used for starting the local first program of the target terminal, covering the running memory file of the local first program of the target terminal by using the running state data of the first program of the source terminal, and receiving the data message of the first program of the source terminal from the communication network.
10. A source terminal, the source terminal comprising:
a third receiving module, configured to receive session switching data, where the session switching data includes an identifier of the first program of the source terminal and an identifier of the target terminal;
the first creating module is used for creating the running state data of the first program according to the identifier of the first program;
a third sending module, configured to send a session handover request to a communication network, where the session handover request includes an identifier of the first program and an identifier of the target terminal.
CN202011099033.8A 2020-10-14 2020-10-14 Session switching method, communication network, source terminal and target terminal Active CN112165724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011099033.8A CN112165724B (en) 2020-10-14 2020-10-14 Session switching method, communication network, source terminal and target terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011099033.8A CN112165724B (en) 2020-10-14 2020-10-14 Session switching method, communication network, source terminal and target terminal

Publications (2)

Publication Number Publication Date
CN112165724A true CN112165724A (en) 2021-01-01
CN112165724B CN112165724B (en) 2023-03-14

Family

ID=73867009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011099033.8A Active CN112165724B (en) 2020-10-14 2020-10-14 Session switching method, communication network, source terminal and target terminal

Country Status (1)

Country Link
CN (1) CN112165724B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060187926A1 (en) * 2005-02-23 2006-08-24 Kddi Corporation Communications session switching method and system
CN1989746A (en) * 2004-07-30 2007-06-27 夏普株式会社 Control system of communication network
CN102056255A (en) * 2009-11-11 2011-05-11 中兴通讯股份有限公司 Session switching implementation method and system
CN107295075A (en) * 2017-06-14 2017-10-24 天津大学 Cross-terminal application state migration method based on session maintenance
CN109032768A (en) * 2018-08-10 2018-12-18 北京智能管家科技有限公司 Moving method, device, terminal, server and the storage medium of utility cession

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1989746A (en) * 2004-07-30 2007-06-27 夏普株式会社 Control system of communication network
US20060187926A1 (en) * 2005-02-23 2006-08-24 Kddi Corporation Communications session switching method and system
CN102056255A (en) * 2009-11-11 2011-05-11 中兴通讯股份有限公司 Session switching implementation method and system
CN107295075A (en) * 2017-06-14 2017-10-24 天津大学 Cross-terminal application state migration method based on session maintenance
CN109032768A (en) * 2018-08-10 2018-12-18 北京智能管家科技有限公司 Moving method, device, terminal, server and the storage medium of utility cession

Also Published As

Publication number Publication date
CN112165724B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN109151807B (en) Method and system for binding main card and auxiliary card of dual-card dual-standby mobile terminal
CN109981316A (en) The switching method and session management network element, terminal device of application server
CN110809299B (en) Mode switching method of broadcast service and related device
EP2078360B1 (en) Session transfer method and method for supporting session continuity
CN109891933A (en) The method and terminal of voice service and data service are supported simultaneously
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN116405461A (en) Data processing method, network element equipment and readable storage medium
KR102590338B1 (en) Short message service ability updating method, device and apparatus
CN107959918B (en) Session management method, mobility management function and session management function
CN106576227B (en) Method, device and system for conventional interconnection and intercommunication of DMR/PDT cluster and DMR/PDT
JP2020508610A (en) Information processing method, apparatus, computer-readable storage medium, and electronic device
CN108781217B (en) Multimedia data transmission method, server and terminal
WO2012151813A1 (en) Communication system and method for converging different access technologies
CN114679753A (en) Network slice switching method and device and communication system
CN107426090B (en) Information processing method, device, medium, electronic device, server and system
CN112165724B (en) Session switching method, communication network, source terminal and target terminal
CN109845329B (en) Communication method, network equipment and application management unit
CN112235840B (en) Session terminal switching method, device, entity and system
CN102244928B (en) A kind of audio call is exhaled, is risen and exhale method for building up, Apparatus and system
CN114071379B (en) Group communication method, system and storage medium of broadband cluster
CN114945203B (en) Multi-terminal network connection method, device, equipment and medium
CN111371843B (en) Data storage method and device
US20230309191A1 (en) Emergency call method and apparatus, storage medium, and terminal
US7697451B2 (en) System, method and apparatus for a resend response
CN112118606B (en) Method, related device and system for realizing service continuity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant