CN110430605B - Session line switching method and system - Google Patents

Session line switching method and system Download PDF

Info

Publication number
CN110430605B
CN110430605B CN201910865453.3A CN201910865453A CN110430605B CN 110430605 B CN110430605 B CN 110430605B CN 201910865453 A CN201910865453 A CN 201910865453A CN 110430605 B CN110430605 B CN 110430605B
Authority
CN
China
Prior art keywords
session
functional entity
terminal
base station
entity
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.)
Active
Application number
CN201910865453.3A
Other languages
Chinese (zh)
Other versions
CN110430605A (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 CN201910865453.3A priority Critical patent/CN110430605B/en
Publication of CN110430605A publication Critical patent/CN110430605A/en
Application granted granted Critical
Publication of CN110430605B publication Critical patent/CN110430605B/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/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The invention discloses a method and a system for switching conversation lines. The method comprises the following steps: when the terminal is based on a first network, a session is carried out with a session opposite terminal through a user plane functional entity, and the current signal quality of the terminal is lower than a preset quality threshold, a session management functional entity sends a first session circuit switching instruction comprising first connection address information of a preset application functional entity to the terminal; the terminal establishes a first data connection relation with a preset application function entity according to the second network and the first connection address information; the session management functional entity sends a second session line switching instruction comprising second connection address information of the preset application functional entity to the user plane functional entity; the user plane functional entity establishes a second data connection relation with the preset application functional entity according to the second connection address information; the terminal carries out conversation with the conversation opposite terminal through the preset application function entity and the user plane function entity to complete conversation line switching.

Description

Session line switching method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for switching a session line.
Background
At present, when an end user makes a call through a terminal (such as a mobile phone), the situation that a sound is interrupted or the call is disconnected due to poor call signals is often encountered, and at this time, the end user generally needs to move around to try to find a position with better network signal coverage so as to keep the call in normal operation, which results in poor user experience.
Therefore, how to ensure smooth call of the user when the call signal is not good so as to improve the experience of the user becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The present invention is directed to at least one of the technical problems in the prior art, and provides a method and a system for switching a session line.
In order to achieve the above object, the present invention provides a method for switching a session line, where when a terminal performs a session with a session peer through a user plane function entity connected correspondingly based on a first network, the method for switching the session line includes:
when the current signal quality of the terminal is lower than a preset quality threshold, a session management functional entity corresponding to the terminal sends a first session circuit switching instruction to the terminal, wherein the first session circuit switching instruction at least comprises first connection address information of a preset application functional entity, which is acquired in advance;
the terminal establishes a first data connection relation with the preset application function entity according to the available second network and the first connection address information;
the session management functional entity sends a second session line switching instruction to the user plane functional entity, wherein the second session line switching instruction at least comprises second connection address information of a preset application functional entity, which is acquired in advance;
the user plane functional entity establishes a second data connection relation with the preset application functional entity according to the second connection address information;
and based on the first data connection relation and the second data connection relation, the terminal carries out the session with the session opposite terminal through the preset application function entity and the user plane function entity to complete the session line switching.
Optionally, before the session management functional entity corresponding to the terminal sends the first session line switching instruction to the terminal, the method further includes:
the session management functional entity sends a session connection request to the preset application functional entity;
the preset application function entity generates the first connection address information according to the session connection request;
and the preset application function entity returns the first connection address information to the session management function entity.
Optionally, before the session management functional entity sends the session connection request to the preset application functional entity, the method further includes: an access and mobility management functional entity corresponding to the terminal sends a session line change request to the session management functional entity, wherein the session line change request at least comprises a pre-acquired entry address of the preset application functional entity;
the session management functional entity sends a session connection request to the preset application functional entity, and the session connection request comprises the following steps: and the session management functional entity sends the session connection request to the preset application functional entity corresponding to the entry address according to the entry address.
Optionally, before the access and mobility management functional entity corresponding to the terminal sends the session line change request to the session management functional entity, the method further includes:
the access and mobile management functional entity sends a line switching service query request to a policy control functional entity, wherein the line switching service query request comprises a base station identifier of a base station currently connected with the terminal and position information of the base station, which are acquired in advance;
the strategy control functional entity inquires whether the base station opens the line switching service according to the line switching service inquiry request;
if the policy control functional entity inquires that the base station has opened the line switching service, sending an inquiry request of the entry address to a unified data warehouse, wherein the inquiry request of the entry address comprises the position information of the base station;
the unified data warehouse inquires an entry address of a preset application function entity corresponding to the position information of the base station according to the position information of the base station;
and the policy control functional entity returns the entry address of the preset application functional entity to the access and mobile management functional entity.
Optionally, before the accessing and mobility management functional entity sends the line switching service query request to the policy control functional entity, the method further includes:
the base station detects whether the current signal quality of the terminal is lower than a preset quality threshold value;
if the base station detects that the current signal quality of the terminal is lower than a preset quality threshold, reporting an event that the current signal quality of the terminal is lower than the preset quality threshold to the access and mobile management functional entity, wherein the event comprises a base station identifier of the base station and position information of the base station;
the access and mobility management functional entity sends a line switching service query request to a policy control functional entity, and the method comprises the following steps: and the access and mobile management functional entity sends the line switching service inquiry request to the policy control functional entity according to the event.
Optionally, after the user plane functional entity establishes a second data connection relationship with the preset application functional entity according to the second connection address information, the method further includes:
the session management functional entity returns a message that the session line is changed to the access and mobile management functional entity;
the access and mobile management functional entity sends a command of releasing wireless link resources to the base station according to the message that the conversation line is changed;
and the base station interacts with the terminal according to the wireless link resource releasing command so as to release the wireless link resource of the terminal.
Optionally, the first connection address information includes a first uniform resource locator, and the second connection address information includes a second uniform resource locator.
In order to achieve the above object, the present invention further provides a session line switching system, which includes a terminal, a user plane functional entity, a session management functional entity corresponding to the terminal, and a preset application functional entity;
the session management functional entity is used for sending a first session circuit switching instruction to the terminal when the terminal is currently in a session with a session opposite terminal through the user plane functional entity correspondingly connected based on a first network and the current signal quality of the terminal is lower than a preset quality threshold, wherein the first session circuit switching instruction at least comprises first connection address information of the preset application functional entity acquired in advance; sending a second session line switching instruction to the user plane functional entity, wherein the second session line switching instruction at least comprises second connection address information of the preset application functional entity acquired in advance;
the terminal is used for establishing a first data connection relation with the preset application function entity according to the available second network and the first connection address information;
the user plane functional entity is used for establishing a second data connection relation with the preset application functional entity according to the second connection address information;
and the terminal is also used for carrying out the session with the session opposite terminal through the preset application function entity and the user plane function entity based on the first data connection relation and the second data connection relation so as to complete the session line switching.
Optionally, the session management functional entity is further configured to send a session connection request to the preset application functional entity before sending the first session line switching instruction to the terminal;
the preset application function entity is used for generating the first connection address information according to the session connection request; and returning the first connection address information to the session management function entity.
Optionally, the terminal further includes an access and mobility management functional entity corresponding to the terminal;
the access and mobility management functional entity is configured to send a session line change request to the session management functional entity before the session management functional entity sends a session connection request to the preset application functional entity, where the session line change request at least includes a pre-acquired entry address of the preset application functional entity;
the session management functional entity is specifically configured to send the session connection request to the preset application functional entity corresponding to the entry address according to the entry address.
Optionally, the terminal further comprises a base station, a policy control function entity and a unified data warehouse, which are currently connected with the terminal;
the access and mobility management functional entity is further configured to send a line switching service query request to the policy control functional entity before sending a session line change request to the session management functional entity, where the line switching service query request includes a base station identifier of the base station and location information of the base station, which are acquired in advance;
the strategy control functional entity is used for inquiring whether the base station opens the line switching service according to the line switching service inquiry request; if the base station is inquired to have the line switching service opened, sending an inquiry request of the entry address to the unified data warehouse, wherein the inquiry request of the entry address comprises the position information of the base station;
the unified data warehouse is used for inquiring an entry address of a preset application function entity corresponding to the position information of the base station according to the position information of the base station;
the policy control function entity is further configured to return an entry address of the preset application function entity to the access and mobility management function entity.
Optionally, the base station is configured to detect whether a current signal quality of the terminal is lower than a preset quality threshold before the access and mobility management functional entity sends a line switching service query request to a policy control functional entity; if the current signal quality of the terminal is detected to be lower than a preset quality threshold, reporting an event that the current signal quality of the terminal is lower than the preset quality threshold to the access and mobile management functional entity, wherein the event comprises a base station identifier of the base station and position information of the base station;
the access and mobility management functional entity is specifically configured to send the line switching service query request to the policy control functional entity according to the event.
Optionally, the session management functional entity is further configured to return a message that the session line has been changed to the access and mobility management functional entity after the user plane functional entity establishes a second data connection relationship with the preset application functional entity according to the second connection address information;
the access and mobile management functional entity is also used for sending a command of releasing wireless link resources to the base station according to the message that the conversation line is changed;
and the base station is also used for interacting with the terminal according to the command for releasing the wireless link resource so as to release the wireless link resource of the terminal.
The invention has at least the following beneficial effects:
in the technical scheme of the session line switching method and system provided by the invention, when a terminal is currently based on a first network and carries out a session with a session opposite terminal through a corresponding connected user plane functional entity, and the current signal quality of the terminal is lower than a preset quality threshold, a session management functional entity sends a session line switching instruction to the terminal and the user plane functional entity respectively so as to enable the terminal to establish a data connection relation with a preset application functional entity through an available second network and establish a data connection relation with the preset application functional entity, thereby enabling a session line to be switched from the session line based on the first network with the current signal quality lower than the preset quality threshold to the session line based on the available second network, further enabling the terminal to interact with the preset application functional entity through the second network and then interact with the user plane functional entity through the preset application functional entity, and the user plane functional entity interacts with the session opposite terminal to realize the session between the terminal and the session opposite terminal, thereby improving the user experience.
Drawings
Fig. 1 is a flowchart of a session line switching method according to an embodiment of the present invention;
fig. 2 is a flowchart of a session line switching method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a session line switching system according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following describes in detail the session line switching method and system provided by the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a session line switching method according to an embodiment of the present invention, and as shown in fig. 1, when a terminal performs a session with a session peer end through a user plane function entity correspondingly connected to the terminal based on a first network, the session line switching method includes:
step 11, when the current signal quality of the terminal is lower than a preset quality threshold, a session management functional entity corresponding to the terminal sends a first session circuit switching instruction to the terminal, wherein the first session circuit switching instruction at least comprises first connection address information of a preset application functional entity, which is acquired in advance.
And step 12, the terminal establishes a first data connection relation with a preset application function entity according to the available second network and the first connection address information.
Step 13, the session management functional entity sends a second session line switching instruction to the user plane functional entity, where the second session line switching instruction at least includes second connection address information of the pre-acquired preset application functional entity.
And step 14, the user plane functional entity establishes a second data connection relation with the preset application functional entity according to the second connection address information.
And step 15, based on the first data connection relation and the second data connection relation, the terminal carries out conversation with the opposite terminal of the conversation through the preset application function entity and the user plane function entity to complete conversation line switching.
In the method for switching session lines provided in this embodiment, when a terminal is currently in a session with a session peer end through a corresponding connected user plane function entity based on a first network, and the current signal quality of the terminal is lower than a preset quality threshold, a session management function entity sends a session line switching instruction to the terminal and the user plane function entity respectively, so that the terminal establishes a data connection relationship with a preset application function entity through an available second network, and the user plane function entity establishes a data connection relationship with the preset application function entity, so that a session line is switched from a session line based on the first network whose current signal quality is lower than the preset quality threshold to a session line based on the available second network, and the terminal can interact with the preset application function entity through the second network first and then interact with the user plane function entity through the preset application function entity, and the user plane functional entity interacts with the session opposite terminal to realize the session between the terminal and the session opposite terminal, thereby improving the user experience.
Fig. 2 is a flowchart of a session line switching method according to a second embodiment of the present invention, and as shown in fig. 2, when a terminal performs a session with a session peer end through a user plane function entity correspondingly connected to the terminal based on a first network, the session line switching method includes:
and 21, detecting whether the current signal quality of the terminal is lower than a preset quality threshold value by the base station to which the terminal is currently connected, if so, executing the step 22, and otherwise, ending the process.
In this embodiment, when a terminal (User Equipment, abbreviated as UE) performs a session with a session peer through a User Plane Function (UPF) correspondingly connected to the terminal based on a first network, a base station currently connected to the terminal detects whether a current signal quality of the terminal is lower than a preset quality threshold, if so, step 22 is executed, otherwise, the process is ended. The current signal quality of the terminal may also be referred to as the signal quality of the current session or the signal quality of the currently accessed first network, or the current wireless signal quality. The first network may be a mobile communication network, such as a 5G network, a 4G network, or a 3G network.
In this embodiment, the base station may detect whether the current signal quality of the terminal is lower than a preset quality threshold through a Radio Access Network, such as a Next Generation Radio Access Network (NG-RAN), which is also called a 5G Radio Access Network, and when the current signal quality of the terminal is detected to be lower than the preset quality threshold, it indicates that the current signal quality of the terminal is lower than the minimum requirement for maintaining a normal session, and a situation that a session between the terminal and an opposite terminal is interrupted by a sound or disconnected by a session may occur, so that step 22 and subsequent steps are executed to perform session line switching, thereby ensuring smooth session of the terminal. And when the current signal quality of the terminal is detected to be higher than or equal to the preset quality threshold, the current signal quality of the terminal can maintain the normal conversation with the opposite terminal of the conversation, so the process is ended. The preset quality threshold is specifically determined according to the minimum requirement for actually maintaining a normal session, which is not limited in this embodiment.
In this embodiment, the session may be an audio call, a video call, or the like.
In this embodiment, the base station may be a 5G base station (5G Node B, abbreviated as gNB).
And step 22, the base station reports an event that the current signal quality of the terminal is lower than a preset quality threshold to an access and mobile management functional entity corresponding to the terminal, wherein the event comprises a base station identifier of the base station and position information of the base station.
In this embodiment, the base station may report, to an Access and Mobility Management Function (AMF) entity corresponding to the terminal, an event that the current signal quality of the terminal is lower than a preset quality threshold through a wireless Access network (e.g., a 5G wireless Access network), where the event includes a base station identifier of the base station and location information of the base station. The location information of the base station may include a location of the base station and/or a current coverage area of the base station, and the current coverage area of the base station may be understood as a location area where the base station can provide a service of the base station.
And step 23, the access and mobility management functional entity sends a line switching service query request to the policy control functional entity, wherein the line switching service query request comprises a base station identifier of a base station currently connected with the terminal and position information of the base station, which are acquired in advance.
Specifically, the access and mobility management Function (AMF) sends a line switching service query request to a Policy Control Function (PCF) according to the event reported by the base station, so as to query a response Policy of the event. The line switching service inquiry request comprises a base station identifier of a base station currently connected with the terminal and position information of the base station, which are acquired in advance.
And step 24, the policy control functional entity inquires whether the base station opens the line switching service according to the line switching service inquiry request, if so, step 25 is executed, otherwise, the flow is ended.
Specifically, the policy control function entity (PCF) queries, according to the line switching service query request, the location of the base station or whether the current coverage area of the base station has opened the line switching service. Specifically, the policy control function entity (PCF) may store in advance a corresponding relationship between a location of the base station or a current coverage area of the base station (location information of the base station) and the line switching service, and after receiving the line switching service query request, the policy control function entity (PCF) may query whether the line switching service has been activated or not according to a base station identifier of the base station and the location information of the base station and the corresponding relationship.
When the base station is found to have the line switching service enabled, it indicates that the location of the base station or the terminal under the current coverage of the base station can perform a session, and when the current signal quality is not good, the session line switching is performed, so step 25 is performed to perform the session line switching.
In this embodiment, in the line switching service, the data connection mode of the supportable session line may include a data connection mode based on a wireless network (Wifi), and may also include other data connection modes, for example, a data connection mode based on data traffic of a 4G network or a data connection mode based on data traffic of a 3G network.
And step 25, the policy control function entity sends an entrance address query request to the unified data warehouse, wherein the entrance address query request comprises the position information of the base station.
In this embodiment, if a policy control function entity (PCF) queries that a base station has opened a line switching service, it sends a query request of an entry address to a Unified Data Repository (UDR), where the query request of the entry address includes location information of the base station.
And step 26, the unified data warehouse inquires the entry address of the preset application function entity corresponding to the position information of the base station according to the position information of the base station.
Specifically, a Unified Data Repository (UDR) queries, according to the location information of the base station, a preset Application Function (AF) and an entry address thereof corresponding to the location information of the base station, and returns the entry address of the preset Application Function to the policy control Function entity. The preset application function entity (AF) may be a session access server facing the internet, which is preset by using the capability of a mobile communication network (e.g., a 5G network).
And 27, the policy control function entity sends the entry address of the preset application function entity returned by the unified data warehouse to the access and mobile management function entity.
Step 28, the access and mobility management functional entity sends a session line change request to the session management functional entity, where the session line change request at least includes the pre-acquired entry address of the preset application functional entity.
In this embodiment, the access and mobility Management Function entity (AMF) sends a Session Management Function (SMF) request to switch the current Session path of the terminal based on the first network to an internet access. Optionally, the session change request further includes a terminal identifier of the terminal (UE), for example, the terminal (UE) may be a 5G terminal (UE), and the terminal identifier may be a 5G Temporary Mobile Subscriber Identity (5G-TMSI) of the terminal (UE).
And step 29, the session management functional entity sends a session connection request to the preset application functional entity.
Specifically, the session management function entity (SMF) sends a session connection request to a preset application function entity (AF) corresponding to an entry address according to the entry address of the preset application function entity (AF). Optionally, the session connection request may include a terminal identification (e.g., 5G-TMSI) of the terminal (UE) and a session identifier of a session that the terminal (UE) is currently conducting over the first network.
Specifically, when the preset application function entity (AF) is provided by the operator to which the terminal belongs, in step 29, the session management function entity (SMF) directly sends a session connection request to the preset application function entity (AF) corresponding to the entry address according to the entry address of the preset application function entity (AF). When the predetermined application Function entity (AF) is provided by an untrusted third party company, in step 29, the session management Function entity (SMF) sends a session connection request to the predetermined application Function entity (AF) corresponding to the entry address through a Network open Function (NEF) according to the entry address of the predetermined application Function entity (AF). The network open function entity (NEF) is an ingress gateway of a core network (e.g., a 5G core network) for an application function provided by an untrusted third party.
And step 30, the preset application function entity generates first connection address information according to the session connection request.
The first connection address information may include a first Uniform Resource Locator (URL), and the first Uniform Resource Locator may include an IP address, a port, and a Protocol type of a preset application function entity, for example, the Protocol type may be a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP).
Optionally, the preset application function entity (AF) creates the first connection address information and the first password according to a session connection request of the session management function entity.
And 31, the preset application function entity returns the first connection address information to the session management function entity.
Optionally, the preset application function entity (AF) returns the first connection address information and the first password to the session management function entity (SMF).
And step 32, the session management functional entity sends a first session circuit switching instruction to the terminal, wherein the first session circuit switching instruction at least comprises the first connection address information of the preset application functional entity, which is acquired in advance.
In this embodiment, the session management function entity (SMF) sends a first session leg switching instruction to the terminal (UE) to instruct the terminal (UE) to perform session leg switching.
Optionally, the first session line switching instruction further includes a first password created by a pre-acquired preset application functional entity.
And step 33, the terminal establishes a first data connection relation with the preset application function entity according to the available second network and the first connection address information.
In this embodiment, when the terminal recognizes that the first session line switching instruction requires session line switching, a first data connection relationship is established with the predetermined application function entity according to the available second network and the first connection address information. Wherein the second network may be a wireless network (Wifi).
Optionally, the terminal (UE) connects to a first Uniform Resource Locator (URL) of the predetermined application function entity (AF) through an available second network (e.g. Wifi), so as to establish a first data connection relationship with the predetermined application function entity (AF).
Optionally, the terminal (UE) may send a connection request to the preset application function entity (AF) according to the available second network and the first connection address information, where the connection request may include a terminal identifier (e.g., 5G-TMSI) of the terminal (UE), a session identifier of a session currently based on the first network, and a first password, and the preset application function entity (AF) verifies an identity of the terminal (UE) that sent the connection request according to the connection request of the terminal and a session connection request of a session management function entity (SMF) that is obtained in advance, and if the verification is passed, establishes a first data connection relationship with the terminal (UE). Specifically, when comparing that the terminal identifier of the terminal (UE) in the session connection request of the session management function entity is consistent with the terminal identifier in the connection request of the terminal, the session identifier in the session connection request is consistent with the session identifier in the connection request, and the first password code created according to the session connection request is consistent with the first password code in the connection request, the authentication of the terminal (UE) sending the connection request is passed.
And step 34, the terminal and the preset application function entity respectively return connection established messages to the session management function entity.
Step 35, the session management functional entity sends a second session line switching instruction to the user plane functional entity, where the second session line switching instruction at least includes second connection address information of the pre-acquired preset application functional entity.
In this embodiment, in step 30, the preset application function entity (AF) further generates second connection address information according to the session connection request. The second connection address information may include a second Uniform Resource Locator (URL), where the second URL may include an IP address, a port, and a Protocol type of a preset application function entity (AF), and the Protocol type may be a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP), for example.
And step 36, the user plane functional entity establishes a second data connection relation with the preset application functional entity according to the second connection address information.
In this embodiment, the user plane function entity (UPF) establishes a second data connection relationship with the predetermined application function entity (AF) through a second uniform resource locator in the second connection address information according to a second session line switching instruction of the session management function entity (SMF).
So far, both the terminal (UE) and the user plane functional entity (UPF) have completed establishing a data connection relationship with the preset application functional entity (AF), and the terminal (UE) may perform data interaction with the user plane functional entity (UPF) through the preset application functional entity (AF), and then perform data interaction with the session opposite end of the session through the user plane functional entity (UPF).
Step 37, the session management function entity returns the message that the session line has been changed to the access and mobility management function entity.
In this embodiment, the session management function entity (SMF) returns a session line changed message to the access and mobility management function entity (AMF) to inform the access and mobility management function entity (AMF) that the terminal has established the first data connection relationship with the default application function entity (AF), and the default application function entity (AF) has established the first data connection relationship with the user plane function entity (UPF).
And step 38, based on the first data connection relation and the second data connection relation, the terminal carries out conversation with the opposite terminal of the conversation through the preset application function entity and the user plane function entity, and the conversation line switching is completed.
In this embodiment, after the terminal (UE) and the predetermined application function entity (AF) establish a first data connection relationship, and the predetermined application function entity (AF) and the user plane function entity (UPF) establish a second data connection relationship, the terminal (UE) may send data to the predetermined application function entity (AF) through the second network and the first data connection relationship, the predetermined application function entity (AF) then sends data from the terminal (UE) to the user plane function entity (UPF) through the second data connection relationship, the user plane function entity (UPF) then sends data from the predetermined application function entity (AF) to the session peer, and the session peer may also send data to the terminal through the user plane function entity (UPF) and the predetermined application function entity (AF), thereby implementing a session between the terminal and the session peer.
It can be understood that, before the session line is switched, the terminal (UE) performs a session with the opposite session end through a corresponding connected user plane function entity (UPF) based on a first network (e.g. a mobile communication network); and after the session line is switched, the terminal (UE) performs data interaction through the corresponding connected preset application function entity (AF) and user plane function entity (UPF) based on a second network (such as Wifi), and the user plane function entity (UPF) performs data interaction with the opposite session terminal, so that the session between the terminal (UE) and the opposite session terminal is realized.
In the embodiment of the present disclosure, the signal quality of the terminal (UE) is poor, which is usually caused by the poor quality of the wireless signal at the current location itself, or may be caused by the contention of the wireless link resource by multiple terminals at the current location. Therefore, in order to indirectly improve the network service (session) quality of other terminals at the current location, the radio link resource of the terminal having completed the session line switching can be released, so that the network service (session) quality of other terminals can be indirectly improved.
Optionally, after step 37, further comprising:
step 371, the access and mobility management functional entity sends a release radio link resource command to the base station according to the session line changed message.
In step 371, the access and mobility management function entity (AMF) transmits a release radio link resource command to the base station according to the session leg changed message to command the base station to release radio link resources of the terminal (UE) having completed the session leg switch.
And step 372, the base station interacts with the terminal according to the command of releasing the wireless link resource so as to release the wireless link resource of the terminal.
In step 372, the base station interacts with the terminal to release radio link resources of the terminal, so as to disconnect the connection relationship between the terminal (UE) and a User Plane Function (UPF) based on the first network.
In this embodiment, an internet-oriented session access server and a preset application function entity (AF) are preset, and when the base station detects that the signal quality of a first network (such as a mobile communication network) at the current location of the terminal is poor and a second network available to the terminal is available at present for connection, the base station is triggered by the network side to switch the session line of the terminal based on the first network to the session line based on the second network, thereby implementing the session line switching of the terminal in a session.
In an application scenario, because signal quality coverage of mobile communication networks in places such as shopping malls and office buildings is usually poor, or because users in the places such as the commercial buildings are dense, a situation that a plurality of terminals contend for wireless link resources at the same time occurs, so that part of users cannot obtain good service experience. However, usually, many commercial buildings are provided with a free wireless network (Wifi), when a terminal is in the commercial building and performs a session based on a mobile communication network, the current signal quality is not good, and the terminal is connected to the wireless network (Wifi) provided by the commercial building, the session line switching method provided by the embodiment can be used to implement switching of the session line of the current session of the terminal, thereby ensuring the session quality of the session of the terminal and improving the user experience.
In the method for switching session lines provided in this embodiment, when a terminal is currently in a session with a session peer end through a corresponding connected user plane function entity based on a first network, and the current signal quality of the terminal is lower than a preset quality threshold, a session management function entity sends a session line switching instruction to the terminal and the user plane function entity respectively, so that the terminal establishes a data connection relationship with a preset application function entity through an available second network, and the user plane function entity establishes a data connection relationship with the preset application function entity, so that a session line is switched from a session line based on the first network whose current signal quality is lower than the preset quality threshold to a session line based on the available second network, and the terminal can interact with the preset application function entity through the second network first and then interact with the user plane function entity through the preset application function entity, and the user plane functional entity interacts with the session opposite terminal to realize the session between the terminal and the session opposite terminal, thereby improving the user experience.
Fig. 3 is a schematic structural diagram of a session line switching system according to a third embodiment of the present invention, and as shown in fig. 3, the session line switching system includes: the terminal 301, the user plane functional entity 302, the session management functional entity 303 corresponding to the terminal 301, and the preset application functional entity 304.
The session management functional entity 303 is configured to send a first session line switching instruction to the terminal 301 when the terminal 301 performs a session with a session opposite terminal through the correspondingly connected user plane functional entity 302 based on a first network currently and the current signal quality of the terminal 301 is lower than a preset quality threshold, where the first session line switching instruction at least includes first connection address information of a preset application functional entity 304, which is acquired in advance; and sending a second session line switching instruction to the user plane functional entity 302, where the second session line switching instruction at least includes second connection address information of the pre-set application functional entity 304, which is acquired in advance.
The terminal 301 is configured to establish a first data connection relationship with the predetermined application function entity 304 according to the available second network and the first connection address information.
The user plane functional entity 302 is configured to establish a second data connection relationship with the predetermined application functional entity 304 according to the second connection address information.
The terminal 301 is further configured to perform a session with the opposite session end through the preset application function entity 304 and the user plane function entity 302 based on the first data connection relationship and the second data connection relationship, so as to complete session line switching.
Optionally, the session management functional entity 303 is further configured to send a session connection request to the preset application functional entity 304 before sending the first session line switching instruction to the terminal 301.
The preset application function entity 304 is configured to generate first connection address information according to the session connection request; the first connection address information is returned to the session management function entity 303.
Optionally, the session line switching system further includes an access and mobility management function entity 305 corresponding to the terminal 301. The access and mobility management functional entity 305 is configured to send a session line change request to the session management functional entity 303 before the session management functional entity 303 sends the session connection request to the preset application functional entity 304, where the session line change request at least includes a pre-acquired entry address of the preset application functional entity 304; the session management functional entity 303 is specifically configured to send a session connection request to the preset application functional entity 304 corresponding to the entry address according to the entry address.
Optionally, the session line switching system further includes a base station 306 to which the terminal 301 is currently connected, a policy control function entity 307, and a unified data repository 308.
Wherein, the access and mobility management function entity 305 is further configured to send a line switching service query request to the policy control function entity 307 before sending the session line change request to the session management function entity 303, where the line switching service query request includes the pre-acquired identity of the base station 306 and the location information of the base station 306.
The policy control function entity 307 is configured to query, according to the line switching service query request, whether the base station 306 has already activated the line switching service; if the base station 306 is queried to have the line switching service enabled, an entry address query request is sent to the unified data repository 308, where the entry address query request includes the location information of the base station 306.
The unified data warehouse 308 is configured to query, according to the location information of the base station 306, an entry address of the preset application function entity 304 corresponding to the location information of the base station 306; and returning the entry address of the preset application function entity 304 corresponding to the location information of the base station 306 to the policy control function entity 307.
The policy control function 307 is further configured to return the entry address of the predetermined application function 304 to the access and mobility management function 305.
Optionally, the base station 306 is configured to detect whether the current signal quality of the terminal 301 is lower than a preset quality threshold before the access and mobility management functional entity 305 sends a line switching service query request to the policy control functional entity 307; if the current signal quality of the terminal 301 is detected to be lower than the preset quality threshold, reporting an event that the current signal quality of the terminal 301 is lower than the preset quality threshold to the access and mobility management function entity 305, where the event includes a base station identifier of the base station 306 and location information of the base station 306.
The access and mobility management function 305 is specifically configured to send a line switching service query request to the policy control function 307 according to the above event.
Optionally, the session management function entity 303 is further configured to return a session line changed message to the access and mobility management function entity 305 after the user plane function entity 302 establishes the second data connection relationship with the preset application function entity 304 according to the second connection address information.
The access and mobility management function 305 is further configured to send a release radio link resource command to the base station 306 according to the session leg changed message.
The base station 306 is further configured to interact with the terminal 301 according to the command of releasing the radio link resource, so as to release the radio link resource of the terminal 301.
Optionally, the first connection address information includes a first uniform resource locator, and the second connection address information includes a second uniform resource locator.
In addition, the session line switching system provided in this embodiment is used to implement the session line switching method provided in the first embodiment or the second embodiment, and specific descriptions may refer to the descriptions in the first embodiment or the second embodiment, which are not described herein again.
In the session line switching system provided in this embodiment, when the terminal is currently performing a session with the opposite session terminal through the corresponding connected user plane functional entity based on the first network and the current signal quality of the terminal is lower than the preset quality threshold, the session management functional entity may send a session line switching instruction to the terminal and the user plane functional entity, respectively, so that the terminal may establish a data connection relationship with the preset application functional entity through the available second network, and the user plane functional entity may establish a data connection relationship with the preset application functional entity, so that the session line is switched from the session line based on the first network whose current signal quality is lower than the preset quality threshold to the session line based on the available second network, and further, the terminal may interact with the preset application functional entity through the second network first and then interact with the user plane functional entity through the preset application functional entity, and the user plane functional entity interacts with the session opposite terminal to realize the session between the terminal and the session opposite terminal, thereby improving the user experience.
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 (13)

1. A method for switching session line is characterized in that when a terminal carries out a session with a session opposite terminal through a user plane function entity correspondingly connected based on a first network, the method for switching session line comprises the following steps:
when the current signal quality of the terminal is lower than a preset quality threshold, a session management functional entity corresponding to the terminal sends a first session circuit switching instruction to the terminal, wherein the first session circuit switching instruction at least comprises first connection address information of a preset application functional entity, which is acquired in advance;
the terminal establishes a first data connection relation with the preset application function entity according to the available second network and the first connection address information;
the session management functional entity sends a second session line switching instruction to the user plane functional entity, wherein the second session line switching instruction at least comprises second connection address information of a preset application functional entity, which is acquired in advance;
the user plane functional entity establishes a second data connection relation with the preset application functional entity according to the second connection address information;
and based on the first data connection relation and the second data connection relation, the terminal carries out the session with the session opposite terminal through the preset application function entity and the user plane function entity to complete the session line switching.
2. The method according to claim 1, wherein before the session management functional entity corresponding to the terminal sends the first session line switching instruction to the terminal, the method further comprises:
the session management functional entity sends a session connection request to the preset application functional entity;
the preset application function entity generates the first connection address information according to the session connection request;
and the preset application function entity returns the first connection address information to the session management function entity.
3. The method according to claim 2, wherein before the session management functional entity sends the session connection request to the predetermined application functional entity, the method further comprises: an access and mobility management functional entity corresponding to the terminal sends a session line change request to the session management functional entity, wherein the session line change request at least comprises a pre-acquired entry address of the preset application functional entity;
the session management functional entity sends a session connection request to the preset application functional entity, and the session connection request comprises the following steps: and the session management functional entity sends the session connection request to the preset application functional entity corresponding to the entry address according to the entry address.
4. The method according to claim 3, wherein before the access and mobility management functional entity corresponding to the terminal sends the session line change request to the session management functional entity, the method further comprises:
the access and mobile management functional entity sends a line switching service query request to a policy control functional entity, wherein the line switching service query request comprises a base station identifier of a base station currently connected with the terminal and position information of the base station, which are acquired in advance;
the strategy control functional entity inquires whether the base station opens the line switching service according to the line switching service inquiry request;
if the policy control functional entity inquires that the base station has opened the line switching service, sending an inquiry request of the entry address to a unified data warehouse, wherein the inquiry request of the entry address comprises the position information of the base station;
the unified data warehouse inquires an entry address of a preset application function entity corresponding to the position information of the base station according to the position information of the base station;
and the policy control functional entity returns the entry address of the preset application functional entity to the access and mobile management functional entity.
5. The session leg switching method according to claim 4, wherein before the access and mobility management function entity sends the leg switching service query request to the policy control function entity, the method further comprises:
the base station detects whether the current signal quality of the terminal is lower than a preset quality threshold value;
if the base station detects that the current signal quality of the terminal is lower than a preset quality threshold, reporting an event that the current signal quality of the terminal is lower than the preset quality threshold to the access and mobile management functional entity, wherein the event comprises a base station identifier of the base station and position information of the base station;
the access and mobility management functional entity sends a line switching service query request to a policy control functional entity, and the method comprises the following steps: and the access and mobile management functional entity sends the line switching service inquiry request to the policy control functional entity according to the event.
6. The method according to claim 4 or 5, wherein after the user plane functional entity establishes the second data connection relationship with the preset application functional entity according to the second connection address information, the method further comprises:
the session management functional entity returns a message that the session line is changed to the access and mobile management functional entity;
the access and mobile management functional entity sends a command of releasing wireless link resources to the base station according to the message that the conversation line is changed;
and the base station interacts with the terminal according to the wireless link resource releasing command so as to release the wireless link resource of the terminal.
7. The method according to any of claims 1 to 5, wherein the first connection address information comprises a first uniform resource locator, and the second connection address information comprises a second uniform resource locator.
8. A conversation line switching system is characterized by comprising a terminal, a user plane functional entity, a conversation management functional entity corresponding to the terminal and a preset application functional entity;
the session management functional entity is used for sending a first session circuit switching instruction to the terminal when the terminal is currently in a session with a session opposite terminal through the user plane functional entity correspondingly connected based on a first network and the current signal quality of the terminal is lower than a preset quality threshold, wherein the first session circuit switching instruction at least comprises first connection address information of the preset application functional entity acquired in advance; sending a second session line switching instruction to the user plane functional entity, wherein the second session line switching instruction at least comprises second connection address information of the preset application functional entity acquired in advance;
the terminal is used for establishing a first data connection relation with the preset application function entity according to the available second network and the first connection address information;
the user plane functional entity is used for establishing a second data connection relation with the preset application functional entity according to the second connection address information;
and the terminal is also used for carrying out the session with the session opposite terminal through the preset application function entity and the user plane function entity based on the first data connection relation and the second data connection relation so as to complete the session line switching.
9. The system according to claim 8, wherein the session management function entity is further configured to send a session connection request to the predetermined application function entity before sending the first session line switching instruction to the terminal;
the preset application function entity is used for generating the first connection address information according to the session connection request; and returning the first connection address information to the session management function entity.
10. The system according to claim 9, further comprising an access and mobility management function entity corresponding to the terminal;
the access and mobility management functional entity is configured to send a session line change request to the session management functional entity before the session management functional entity sends a session connection request to the preset application functional entity, where the session line change request at least includes a pre-acquired entry address of the preset application functional entity;
the session management functional entity is specifically configured to send the session connection request to the preset application functional entity corresponding to the entry address according to the entry address.
11. The system according to claim 10, further comprising a base station, a policy control function entity, and a unified data repository to which the terminal is currently connected;
the access and mobility management functional entity is further configured to send a line switching service query request to the policy control functional entity before sending a session line change request to the session management functional entity, where the line switching service query request includes a base station identifier of the base station and location information of the base station, which are acquired in advance;
the strategy control functional entity is used for inquiring whether the base station opens the line switching service according to the line switching service inquiry request; if the base station is inquired to have the line switching service opened, sending an inquiry request of the entry address to the unified data warehouse, wherein the inquiry request of the entry address comprises the position information of the base station;
the unified data warehouse is used for inquiring an entry address of a preset application function entity corresponding to the position information of the base station according to the position information of the base station;
the policy control function entity is further configured to return an entry address of the preset application function entity to the access and mobility management function entity.
12. The conversational line switching system of claim 11, wherein the base station is configured to detect whether the current signal quality of the terminal is lower than a preset quality threshold before the access and mobility management function entity sends a line switching service query request to a policy control function entity; if the current signal quality of the terminal is detected to be lower than a preset quality threshold, reporting an event that the current signal quality of the terminal is lower than the preset quality threshold to the access and mobile management functional entity, wherein the event comprises a base station identifier of the base station and position information of the base station;
the access and mobility management functional entity is specifically configured to send the line switching service query request to the policy control functional entity according to the event.
13. The system according to claim 11 or 12, wherein the session management functional entity is further configured to return a message that the session leg has been changed to the access and mobility management functional entity after the user plane functional entity establishes the second data connection relationship with the preset application functional entity according to the second connection address information;
the access and mobile management functional entity is also used for sending a command of releasing wireless link resources to the base station according to the message that the conversation line is changed;
and the base station is also used for interacting with the terminal according to the command for releasing the wireless link resource so as to release the wireless link resource of the terminal.
CN201910865453.3A 2019-09-12 2019-09-12 Session line switching method and system Active CN110430605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865453.3A CN110430605B (en) 2019-09-12 2019-09-12 Session line switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865453.3A CN110430605B (en) 2019-09-12 2019-09-12 Session line switching method and system

Publications (2)

Publication Number Publication Date
CN110430605A CN110430605A (en) 2019-11-08
CN110430605B true CN110430605B (en) 2021-08-24

Family

ID=68418147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865453.3A Active CN110430605B (en) 2019-09-12 2019-09-12 Session line switching method and system

Country Status (1)

Country Link
CN (1) CN110430605B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112867050B (en) * 2019-11-28 2022-03-04 大唐移动通信设备有限公司 UPF network element management method and system
CN115334494A (en) * 2021-05-10 2022-11-11 华为技术有限公司 Communication method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108934007A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 A kind of policy control method, PCF and the SMF of UPF gravity treatment
CN109981316A (en) * 2017-12-27 2019-07-05 华为技术有限公司 The switching method and session management network element, terminal device of application server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10779345B2 (en) * 2017-03-20 2020-09-15 Qualcomm Incorporated User plane relocation techniques in wireless communication systems
CN109257779A (en) * 2017-07-14 2019-01-22 华为技术有限公司 Method for switching network and device
CN109756937A (en) * 2017-11-01 2019-05-14 ***通信有限公司研究院 Business continuance support method, functional network element and storage medium
CN109951824B (en) * 2018-04-09 2022-04-05 华为技术有限公司 Communication method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108934007A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 A kind of policy control method, PCF and the SMF of UPF gravity treatment
CN109981316A (en) * 2017-12-27 2019-07-05 华为技术有限公司 The switching method and session management network element, terminal device of application server

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
5G移动通信技术标准综述;杜滢;《电信科学》;20180820;全文 *
Correcting AMF behaviour for Service Request that is not integrity protected;Nokia, Nokia Shanghai Bell;《SA WG2 Meeting #132,S2-1903668》;20190412;全文 *
Mobility Management in the 5G Network between Various Access Networks;Young-il Choi;《IEEE》;20190705;全文 *
基于IMS的LTE/EPS与WLAN融合方案研究;邹虹;《中国硕士论文全文数据库》;20150515;全文 *

Also Published As

Publication number Publication date
CN110430605A (en) 2019-11-08

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
CN100356815C (en) Method and system for roaming between mobile network and wireless network
EP1123626B1 (en) Ip roaming number gateway
US20150016421A1 (en) System and method for transitioning a communication session between networks that are not commonly controlled
KR101015642B1 (en) System and Method for Delivering PUSH data through Heterogeneous Network
CN110149166B9 (en) Transmission control method, device and system
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
CN105873241B (en) Method and device for establishing call connection
US8010125B2 (en) Call system
CN110430605B (en) Session line switching method and system
CN108307082B (en) Method for realizing IP voice service access
EP2759098B1 (en) Method and apparatus for configuring service settings for a mobile subscriber
WO2008106873A1 (en) A method, a system and a device for realizing register and communication of the personal handhold telephone terminal
KR100703291B1 (en) Method for notifying according to converting of communication service in wireless terminal
CN110582086B (en) Session line switching method and system
CN109921993B (en) Data transmission method of communication system and communication system
CN110381451B (en) Method, device and system for establishing group communication by mobile network
CN108738089B (en) Method and device for interoffice transmission of subscriber number
KR101270241B1 (en) Method for call setup based on fmc communication and call connection infra
US8244251B1 (en) Concurrent call handover
CN111328114A (en) Switching control method and equipment
KR101711082B1 (en) Method for processing alwayson signal in a packet switchboard system
CN110418346B (en) Call establishment method and call establishment system
KR20130023970A (en) Traffic control gateway and traffic control method using the same
CN108881239B (en) Software telephone, roaming method thereof and soft switch equipment

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