[go: up one dir, main page]

CN114339921B - Session migration method, session management functional entity and terminal - Google Patents

Session migration method, session management functional entity and terminal Download PDF

Info

Publication number
CN114339921B
CN114339921B CN202111570472.7A CN202111570472A CN114339921B CN 114339921 B CN114339921 B CN 114339921B CN 202111570472 A CN202111570472 A CN 202111570472A CN 114339921 B CN114339921 B CN 114339921B
Authority
CN
China
Prior art keywords
session
network
link
session link
functional 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
CN202111570472.7A
Other languages
Chinese (zh)
Other versions
CN114339921A (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 CN202111570472.7A priority Critical patent/CN114339921B/en
Publication of CN114339921A publication Critical patent/CN114339921A/en
Application granted granted Critical
Publication of CN114339921B publication Critical patent/CN114339921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开一种会话迁移方法、会话管理功能实体及终端,属于通信技术领域。方法包括:在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,第一会话链路和第二会话链路是第一网络中的会话链路,且均属于同一个多接入协议数据单元会话;利用第二网络建立第三会话链路,第三会话链路是第二网络中连接终端与用户面功能实体的会话链路,用户面功能实体为承载多接入协议数据单元会话的功能实体,且用户面功能实体位于第一网络;将第二会话链路的数据流量迁移至第三会话链路。通过该方法,在发生网络切换的情况下,终端仍然可以通过第一会话链路和第三会话链路承载同一会话,保留了会话的多路连接特性。

The invention discloses a session migration method, session management functional entity and terminal, and belongs to the field of communication technology. The method includes: when it is recognized that the terminal switches from the first network to the second network, retaining the first session link and suspending sending data traffic of the second session link, where the first session link and the second session link are The session links in the first network all belong to the same multiple access protocol data unit session; the second network is used to establish a third session link, and the third session link is the connection between the terminal and the user plane functional entity in the second network session link, the user plane functional entity is a functional entity carrying multiple access protocol data unit sessions, and the user plane functional entity is located in the first network; migrate the data traffic of the second session link to the third session link. Through this method, in the event of network switching, the terminal can still carry the same session through the first session link and the third session link, retaining the multi-channel connection characteristics of the session.

Description

会话迁移方法、会话管理功能实体及终端Session migration method, session management functional entity and terminal

技术领域Technical field

本发明涉及通信技术领域,具体涉及一种会话迁移方法、会话管理功能实体及终端。The present invention relates to the field of communication technology, and specifically relates to a session migration method, a session management functional entity and a terminal.

背景技术Background technique

第五代移动通信技术(5th Generation Mobile Communication Technology,5G)支持用户终端(User Equipment,UE)使用多接入(Multi Access,MA)技术建立协议数据单元(Protocol Data Unit,PDU)会话,从而实现MA PDU会话。The fifth generation mobile communication technology (5G) supports user terminals (User Equipment, UE) to use multi-access (Multi Access, MA) technology to establish protocol data unit (PDU) sessions, thereby achieving MA PDU session.

例如,UE同时采用3GPP(The 3rd Generation Partnership Project,第三代移动通信伙伴项目)和非3GPP两种方式接入5G网络,并基于两种接入方式分别建立两条会话链路,通过这两条会话链路实现MA PDU会话。并且,当UE从5G网络切换到4G网络时,UE可以选择是否将MA PDU会话保留在5G网络中。如果UE选择将MA PDU会话保留在5G网络中,则5G网络将MA PDU会话的数据流量全部分配到非3GPP接入方式对应的会话链路,并断开3GPP接入方式对应的会话链路。如果UE选择不将MA PDU会话保留在5G网络中,则5G网络将MA PDU会话的所有数据流量全部转交到4G网络的会话链路,并断开5G网络中的所有会话链路。换言之,在现有技术中,当终端从5G网络切换到其他网络之后,无论是否保留5G网络中的MA PDU会话,均只能保留MA PDU会话的某一路会话链路,无法保持MA PDU会话的多路连接特性。For example, the UE uses both 3GPP (The 3rd Generation Partnership Project) and non-3GPP methods to access the 5G network, and establishes two session links based on the two access methods. Session links implement MA PDU sessions. And, when the UE switches from the 5G network to the 4G network, the UE can choose whether to keep the MA PDU session in the 5G network. If the UE chooses to keep the MA PDU session in the 5G network, the 5G network will allocate all the data traffic of the MA PDU session to the session link corresponding to the non-3GPP access mode, and disconnect the session link corresponding to the 3GPP access mode. If the UE chooses not to keep the MA PDU session in the 5G network, the 5G network will transfer all data traffic of the MA PDU session to the session links of the 4G network and disconnect all session links in the 5G network. In other words, in the existing technology, when a terminal switches from a 5G network to another network, no matter whether the MA PDU session in the 5G network is retained, it can only retain a certain session link of the MA PDU session, and cannot maintain the MA PDU session. Multiple connection features.

发明内容Contents of the invention

为此,本发明提供一种会话迁移方法、会话管理功能实体及终端,以解决终端发生网络切换时,无法保持MA PDU的多路连接特性的问题。To this end, the present invention provides a session migration method, a session management functional entity and a terminal to solve the problem that the terminal cannot maintain the multi-channel connection characteristics of the MA PDU when network switching occurs.

为了实现上述目的,本发明第一方面提供一种会话迁移方法,该会话迁移方法包括:In order to achieve the above object, a first aspect of the present invention provides a session migration method. The session migration method includes:

在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,其中,所述第一会话链路和所述第二会话链路是所述第一网络中的会话链路,且均属于同一个多接入协议数据单元会话;When it is recognized that the terminal switches from the first network to the second network, the first session link is retained and the data traffic of the second session link is suspended, wherein the first session link and the second session link are The links are session links in the first network, and they all belong to the same multiple access protocol data unit session;

利用所述第二网络建立第三会话链路,其中,所述第三会话链路是所述第二网络中连接所述终端与用户面功能实体的会话链路,所述用户面功能实体为承载所述多接入协议数据单元会话的功能实体,且所述用户面功能实体位于所述第一网络;A third session link is established using the second network, wherein the third session link is a session link connecting the terminal and a user plane functional entity in the second network, and the user plane functional entity is A functional entity that carries the multiple access protocol data unit session, and the user plane functional entity is located in the first network;

将所述第二会话链路的数据流量迁移至所述第三会话链路。Migrate data traffic of the second session link to the third session link.

进一步地,所述在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量之前,还包括:Further, when it is recognized that the terminal switches from the first network to the second network, retaining the first session link and suspending sending data traffic of the second session link also includes:

基于第一接入方式和第二接入方式建立所述多接入协议数据单元会话,其中,所述第一会话链路是基于所述第一接入方式建立的会话链路,所述第二会话链路是基于所述第二接入方式建立的会话链路。The multi-access protocol data unit session is established based on the first access mode and the second access mode, wherein the first session link is a session link established based on the first access mode, and the third access protocol data unit session is established based on the first access mode. The second session link is a session link established based on the second access mode.

进一步地,所述第一接入方式为基于非3GPP互操作功能实体的接入方式,所述第二接入方式为基于无线接入网络的接入方式。Further, the first access method is an access method based on a non-3GPP interoperability functional entity, and the second access method is an access method based on a wireless access network.

进一步地,所述利用所述第二网络建立第三会话链路,包括:Further, using the second network to establish a third session link includes:

在所述第一网络中建立所述终端与所述用户面功能实体之间的会话隧道;Establish a session tunnel between the terminal and the user plane functional entity in the first network;

将所述会话隧道迁移至所述第二网络,获得所述第三会话链路。Migrate the session tunnel to the second network to obtain the third session link.

进一步地,所述利用所述第二网络建立第三会话链路,包括:Further, using the second network to establish a third session link includes:

向第二网络功能实体发送第一指示信息,以供所述第二网络功能实体根据所述第一指示信息在所述第二网络中建立所述第三会话链路,其中,所述第二网络功能实体是所述第二网络中的功能实体。Send first instruction information to a second network function entity, so that the second network function entity establishes the third session link in the second network according to the first instruction information, wherein the second network function entity establishes the third session link in the second network according to the first instruction information. The network functional entity is a functional entity in the second network.

进一步地,所述将所述第二会话链路的数据流量迁移至所述第三会话链路,包括:Further, migrating the data traffic of the second session link to the third session link includes:

向所述终端发送第二指示信息,以供所述终端根据所述第二指示信息将以第一网络地址为源地址、发向所述用户面功能实体的数据包的路由指向所述第三会话链路,获得第一更新路由信息,其中,所述第一网络地址为所述终端在所述第二会话链路中的网络地址;Send second instruction information to the terminal, so that the terminal uses the first network address as the source address and directs the route of the data packet sent to the user plane functional entity to the third party according to the second instruction information. Session link, obtain the first updated routing information, wherein the first network address is the network address of the terminal in the second session link;

向所述用户面功能实体发送第三指示信息,以供所述用户面功能实体根据所述第三指示信息将第二网络地址的路由指向所述第三会话链路,获得第二更新路由信息,其中,所述第二网络地址为所述用户面功能实体在所述第二会话链路中使用的网络地址;Send third indication information to the user plane functional entity, so that the user plane functional entity points the route of the second network address to the third session link according to the third indication information, and obtains the second updated routing information. , wherein the second network address is the network address used by the user plane functional entity in the second session link;

根据所述第一更新路由信息和所述第二更新路由信息,将所述第二会话链路的数据流量迁移至所述第三会话链路。Migrate the data traffic of the second session link to the third session link according to the first updated routing information and the second updated routing information.

进一步地,所述将所述第二会话链路的数据流量迁移至所述第三会话链路之后,还包括:Further, after migrating the data traffic of the second session link to the third session link, the method further includes:

向接入和移动性管理功能实体发送第四指示信息,以供所述接入和移动性管理功能实体根据所述第四指示信息,在所述多接入协议数据单元会话的有效期内为所述终端保留所述第一网络地址。Send fourth indication information to the access and mobility management function entity, so that the access and mobility management function entity can provide the access and mobility management function entity with the information within the validity period of the multi-access protocol data unit session according to the fourth indication information. The terminal reserves the first network address.

进一步地,所述将所述第二会话链路的数据流量迁移至所述第三会话链路之后,还包括:Further, after migrating the data traffic of the second session link to the third session link, the method further includes:

保留所述第二会话链路的路由条目;Retain the routing entry of the second session link;

在识别出所述终端从所述第二网络切换回所述第一网络的情况下,根据所述第二会话链路的路由条目修改所述终端和所述用户面功能实体的路由信息,获得更新路由信息;When it is recognized that the terminal switches back to the first network from the second network, the routing information of the terminal and the user plane functional entity is modified according to the routing entry of the second session link, and the routing information of the terminal and the user plane functional entity is obtained. Update routing information;

根据所述更新路由信息,将所述第三会话链路的数据流量恢复至所述第二会话链路;According to the updated routing information, restore the data traffic of the third session link to the second session link;

断开所述第三会话链路。Disconnect the third session link.

为了实现上述目的,本发明第二方面提供一种会话迁移方法,该会话迁移方法包括:In order to achieve the above object, a second aspect of the present invention provides a session migration method. The session migration method includes:

在从第一网络切换到第二网络的情况下,通过所述第一网络中的第一会话链路和所述第二网络中的第三会话链路进行会话,其中,所述第一会话链路为多接入协议数据单元会话中的会话链路,所述多接入协议数据单元会话还包括第二会话链路,所述第一会话链路和所述第二会话链路均为所述第一网络中的会话链路,且所述第二会话链路的数据流量在终端从所述第一网络切换到所述第二网络之后被暂停发送,并由所述第三会话链路承载所述第二会话链路的数据链路。In the case of switching from the first network to the second network, a session is conducted through a first session link in the first network and a third session link in the second network, wherein the first session The link is a session link in a multiple access protocol data unit session, the multiple access protocol data unit session also includes a second session link, and both the first session link and the second session link are The session link in the first network, and the data traffic of the second session link is suspended after the terminal switches from the first network to the second network, and is sent by the third session link A data link carrying the second session link.

为了实现上述目的,本发明第三方面提供一种会话管理功能实体,该会话管理功能实体包括:In order to achieve the above object, the third aspect of the present invention provides a session management functional entity, which includes:

处理模块,被配置为在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,其中,所述第一会话链路和所述第二会话链路是所述第一网络中的会话链路,且均属于同一个多接入协议数据单元会话;The processing module is configured to retain the first session link and suspend sending data traffic of the second session link when it is recognized that the terminal switches from the first network to the second network, wherein the first session link and the second session link are session links in the first network, and both belong to the same multiple access protocol data unit session;

建立模块,被配置为利用所述第二网络建立第三会话链路,其中,所述第三会话链路是所述第二网络中连接所述终端与用户面功能实体的会话链路,所述用户面功能实体为承载所述多接入协议数据单元会话的功能实体,且所述用户面功能实体位于所述第一网络;An establishment module configured to establish a third session link using the second network, wherein the third session link is a session link connecting the terminal and the user plane functional entity in the second network, so The user plane functional entity is a functional entity that carries the multi-access protocol data unit session, and the user plane functional entity is located in the first network;

迁移模块,被配置为将所述第二会话链路的数据流量迁移至所述第三会话链路。A migration module configured to migrate the data traffic of the second session link to the third session link.

为了实现上述目的,本发明第四方面提供一种终端,该终端包括:In order to achieve the above object, a fourth aspect of the present invention provides a terminal, which includes:

会话模块,被配置为在从第一网络切换到第二网络的情况下,通过所述第一网络中的第一会话链路和所述第二网络中的第三会话链路进行会话,其中,所述第一会话链路为多接入协议数据单元会话中的会话链路,所述多接入协议数据单元会话还包括第二会话链路,所述第一会话链路和所述第二会话链路均为所述第一网络中的会话链路,且所述第二会话链路的数据流量在终端从所述第一网络切换到所述第二网络之后被暂停发送,并由所述第三会话链路承载所述第二会话链路的数据链路。a session module configured to conduct a session through a first session link in the first network and a third session link in the second network when switching from the first network to the second network, wherein , the first session link is a session link in a multiple access protocol data unit session, the multiple access protocol data unit session also includes a second session link, the first session link and the third session link Both session links are session links in the first network, and the data traffic of the second session link is suspended after the terminal switches from the first network to the second network, and is sent by The third session link carries the data link of the second session link.

本发明具有如下优点:The invention has the following advantages:

本发明提供的会话迁移方法、会话管理功能实体及终端,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,从而可以在发生网络切换时保留终端在第一网络中的部分会话链路;利用第二网络建立第三会话链路,使得终端除第一网络中保留的会话链路之外,在第二网络中建立新的会话链路;将第二会话链路的数据流量迁移至第三会话链路,终端可以通过第一会话链路和第三会话链路共同承载同一会话,保留了会话的多路连接特性。The session migration method, session management functional entity and terminal provided by the present invention retain the first session link and suspend sending the data traffic of the second session link when it is recognized that the terminal switches from the first network to the second network. Therefore, when a network switch occurs, part of the session links of the terminal in the first network can be retained; the second network can be used to establish a third session link, so that in addition to the session links retained in the first network, the terminal can also be used in the second network. Establish a new session link; migrate the data traffic of the second session link to the third session link. The terminal can jointly carry the same session through the first session link and the third session link, retaining the multi-path of the session. Connection characteristics.

附图说明Description of the drawings

附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the following specific embodiments, but do not constitute a limitation of the present invention.

图1为本发明实施例提供的一种会话网络的结构示意图;Figure 1 is a schematic structural diagram of a conversation network provided by an embodiment of the present invention;

图2为本发明一实施例提供的一种会话迁移方法的流程图;Figure 2 is a flow chart of a session migration method provided by an embodiment of the present invention;

图3为本发明又一实施例提供的一种会话迁移方法的流程图;Figure 3 is a flow chart of a session migration method provided by yet another embodiment of the present invention;

图4为本发明再一实施例提供的一种会话迁移方法的流程图;Figure 4 is a flow chart of a session migration method provided by yet another embodiment of the present invention;

图5为本发明实施例提供的一种会话管理功能实体的组成方框图;Figure 5 is a block diagram of a session management functional entity provided by an embodiment of the present invention;

图6为本发明实施例提供的一种终端的组成方框图;Figure 6 is a block diagram of a terminal provided by an embodiment of the present invention;

图7为本发明实施例提供的一种会话迁移系统的组成方框图;Figure 7 is a block diagram of a session migration system provided by an embodiment of the present invention;

图8为本发明实施例提供的一种会话迁移网络的结构示意图;Figure 8 is a schematic structural diagram of a session migration network provided by an embodiment of the present invention;

图9为本申请实施例提供的一种会话迁移方法的流程图。Figure 9 is a flow chart of a session migration method provided by an embodiment of the present application.

具体实施方式Detailed ways

以下结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

在5G网络中,允许终端在通过无线接入网连接到5G核心网(5GCore Network,5GC)的同时,通过非3GPP方式接入到5GC。为此,3GPP定义了一个专用于此种接入方式的功能实体——非3GPP互操作功能实体(Non-3GPP Inter Working Function,N3IWF)。具体地,UE首先通过任意网络建立与N3IWF的隧道连接,然后将与5GC交互的协议数据封装在隧道中,发送给N3IWF,N3IWF对通过隧道接收的协议数据进行解封装,并将协议数据转发给5GC,从而完成UE与5GC的交互,使得终端接入5GC。In the 5G network, terminals are allowed to connect to the 5G core network (5GCore Network, 5GC) through the wireless access network and at the same time access the 5GC through non-3GPP methods. To this end, 3GPP defines a functional entity dedicated to this access method - Non-3GPP Interworking Function (Non-3GPP Inter Working Function, N3IWF). Specifically, the UE first establishes a tunnel connection with N3IWF through any network, and then encapsulates the protocol data for interaction with 5GC in the tunnel and sends it to N3IWF. N3IWF decapsulates the protocol data received through the tunnel and forwards the protocol data to 5GC, thereby completing the interaction between UE and 5GC, allowing the terminal to access 5GC.

图1为本申请实施例提供的一种会话网络的结构示意图。如图1所示,会话网络结构包括终端101、无线接入网102、非3GPP互操作功能实体103、用户面功能实体(User PlaneFunction,UPF)104、代理105、数据网络106和服务器107。Figure 1 is a schematic structural diagram of a conversation network provided by an embodiment of the present application. As shown in Figure 1, the session network structure includes a terminal 101, a radio access network 102, a non-3GPP interoperability function entity 103, a user plane function entity (User Plane Function, UPF) 104, a proxy 105, a data network 106 and a server 107.

终端101通过无线接入网102和非3GPP互操作功能实体103接入代理105,并通过代理105所在的用户面功能实体104与数据网络106的服务器107建立连接。其中,无线接入网102对应3GPP接入方式,非3GPP互操作功能实体103对应非3GPP接入方式。代理105为多路径TCP协议代理(Multi-Path TCP Protocol Proxy,MPTCP Proxy),支持MPTCP协议,其作为客户端和服务端的桥梁,使得客户端可以同时使用3GPP接入方式和非3GPP接入方式和服务器进行交互。在实际应用中,代理105可以是代理服务器,也可以是代理软件,本申请对此不作限定。The terminal 101 accesses the agent 105 through the radio access network 102 and the non-3GPP interoperability functional entity 103, and establishes a connection with the server 107 of the data network 106 through the user plane functional entity 104 where the agent 105 is located. Among them, the wireless access network 102 corresponds to the 3GPP access method, and the non-3GPP interoperability functional entity 103 corresponds to the non-3GPP access method. The proxy 105 is a Multi-Path TCP Protocol Proxy (MPTCP Proxy), which supports the MPTCP protocol. It serves as a bridge between the client and the server, allowing the client to use 3GPP access methods and non-3GPP access methods at the same time. server to interact. In practical applications, the agent 105 may be a proxy server or agent software, which is not limited in this application.

对于终端101而言,其可以通过无线接入网102—代理105(或用户面功能实体104)—服务器107对应的会话链路接入数据网络,也可以通过非3GPP互操作功能实体103—代理105(或用户面功能实体104)—服务器107对应的会话链路接入数据网络。上述两条会话链路构成MA PDU会话。For the terminal 101, it can access the data network through the session link corresponding to the wireless access network 102-agent 105 (or user plane functional entity 104)-server 107, or it can also access the data network through the non-3GPP interoperability functional entity 103-agent. 105 (or user plane functional entity 104)—the session link corresponding to the server 107 accesses the data network. The above two session links constitute an MA PDU session.

需要说明的是,5G网络提供了接入流量切换与分流管理(Access TrafficSteering,Switching and Splitting,ATSSS)技术,以此来分配MA PDU会话中各条会话链路的数据流。目前,ATSSS技术提供的四种工作模式,分别为:It should be noted that the 5G network provides Access Traffic Steering, Switching and Splitting (ATSSS) technology to allocate the data flow of each session link in the MA PDU session. Currently, ATSSS technology provides four working modes:

热备模式(Active-Standby):当主用接入方式不可用时,自动将数据流切换到备用接入方式,特点为两种接入方式不同时承载数据流。Hot standby mode (Active-Standby): When the primary access method is unavailable, the data flow is automatically switched to the backup access method. The characteristic is that the two access methods do not carry data flows at the same time.

最小延迟模式(Smallest Delay):自动将数据流切换到传输延迟相对较小的接入方式上,特点为两种接入方式不同时承载数据流。Smallest Delay mode: Automatically switches the data flow to an access method with a relatively small transmission delay. The characteristic is that the two access methods do not carry data flows at the same time.

负载均衡模式(Load-Balancing):按照预设的分配比例在两种接入方式之间分配数据流。Load-Balancing mode (Load-Balancing): Allocates data flows between two access methods according to a preset distribution ratio.

优先级模式(Priority-based):默认在优先级较高的接入方式上承载数据流,当探测到高优先级接入方式产生拥塞时,将一部分数据流切换至低优先级接入方式。Priority-based mode: By default, the data flow is carried on the access method with higher priority. When congestion is detected in the high-priority access method, some data flows are switched to the low-priority access method.

本申请第一方面提供一种会话迁移方法。图2是本申请一实施例提供的一种会话迁移方法的流程图,该会话迁移方法可应用于会话管理功能实体。如图2所示,该会话迁移方法包括如下步骤:A first aspect of this application provides a session migration method. Figure 2 is a flow chart of a session migration method provided by an embodiment of the present application. The session migration method can be applied to session management functional entities. As shown in Figure 2, the session migration method includes the following steps:

步骤S201,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量。Step S201: When it is recognized that the terminal switches from the first network to the second network, the first session link is retained and data traffic of the second session link is suspended.

其中,第一会话链路和第二会话链路是第一网络中的会话链路,且均属于同一个多接入协议数据单元会话。The first session link and the second session link are session links in the first network, and both belong to the same multiple access protocol data unit session.

在一些实施例中,终端在第一网络中建立多接入协议数据单元会话,该多接入协议数据单元会话包括两条会话链路,分别是第一会话链路和第二会话链路。其中,第一网络可以是5G网络,第二网络可以是4G网络,第一会话链路对应基于非3GPP互操作功能实体N3IWF的接入方式,第二会话链路对应基于无线接入网络的接入方式。当会话管理功能实体(Session Management Function,SMF)识别出终端从第一网络切换到第二网络时(该会话管理功能实体位于第一网络中),保留第一会话链路,并暂停发送第二会话链路的数据流量。In some embodiments, the terminal establishes a multi-access protocol data unit session in the first network, and the multi-access protocol data unit session includes two session links, namely a first session link and a second session link. The first network may be a 5G network, the second network may be a 4G network, the first session link corresponds to an access method based on the non-3GPP interoperability function entity N3IWF, and the second session link corresponds to an access method based on the wireless access network. entry method. When the session management function entity (Session Management Function, SMF) recognizes that the terminal switches from the first network to the second network (the session management function entity is located in the first network), the first session link is retained and the second session link is suspended. Data traffic on the session link.

需要说明的是,由于第一会话链路对应非3GPP互操作功能实体接入方式,因此,即便终端切换到第二网络,第一会话链路仍得以保留。在实际应用中,可以通过保留MA PDU会话命令实现保留第一会话链路、暂停发送第二会话链路数据流量的操作。It should be noted that since the first session link corresponds to the non-3GPP interoperability function entity access mode, even if the terminal switches to the second network, the first session link is still retained. In practical applications, the operation of retaining the first session link and suspending the transmission of data traffic of the second session link can be achieved by using the retain MA PDU session command.

还需要说明的是,第一网络与第二网络之间应存在互操作关系,基于此,才能实现本申请实施例提供的会话迁移方法。换言之,如果第一网络和第二网络相互独立,则无法实现该会话迁移方法。例如,没有预先达成合作协议的第一通信运营商和第二通信运营商,终端在第一通信运营商和第二通信运营商的网络之间发生切换时,无法实现该会话迁移方法。It should also be noted that there should be an interoperability relationship between the first network and the second network. Based on this, the session migration method provided by the embodiment of the present application can be implemented. In other words, if the first network and the second network are independent of each other, the session migration method cannot be implemented. For example, if the first communication operator and the second communication operator do not reach a cooperation agreement in advance, and the terminal switches between the networks of the first communication operator and the second communication operator, the session migration method cannot be implemented.

步骤S202,利用第二网络建立第三会话链路。Step S202: Establish a third session link using the second network.

其中,第三会话链路是第二网络中连接终端与用户面功能实体的会话链路,用户面功能实体为承载多接入协议数据单元会话的功能实体,且用户面功能实体位于第一网络。The third session link is a session link connecting the terminal and the user plane functional entity in the second network. The user plane functional entity is a functional entity that carries multiple access protocol data unit sessions, and the user plane functional entity is located in the first network. .

需要说明的是,利用第二网络建立第三会话链路主要包括两种方式:第一种方式是在第一网络中建立会话隧道,再将该会话隧道迁移至第二网络;第二种方式是直接在第二网络中建立会话隧道,将该会话隧道作为第三会话链路。It should be noted that using the second network to establish the third session link mainly includes two methods: the first method is to establish a session tunnel in the first network, and then migrate the session tunnel to the second network; the second method The method is to directly establish a session tunnel in the second network and use the session tunnel as the third session link.

在一些实施例中,会话管理功能实体在第一网络中建立终端与用户面功能实体之间的会话隧道,并将会话隧道迁移至第二网络,获得第三会话链路。In some embodiments, the session management functional entity establishes a session tunnel between the terminal and the user plane functional entity in the first network, and migrates the session tunnel to the second network to obtain a third session link.

在另外一些实施例中,会话管理功能实体向第二网络功能实体发送第一指示信息,第二网络功能实体接收第一指示信息,并根据第一指示信息在第二网络中建立会话隧道作为第三会话链路。其中,第二网络功能实体是第二网络中的功能实体。In some other embodiments, the session management function entity sends the first indication information to the second network function entity, and the second network function entity receives the first indication information, and establishes the session tunnel in the second network according to the first indication information as the second network function entity. Three session links. Wherein, the second network functional entity is a functional entity in the second network.

步骤S203,将第二会话链路的数据流量迁移至第三会话链路。Step S203: Migrate the data traffic of the second session link to the third session link.

由于第二会话链路的数据流量被迁移至第三会话链路,从而可以由第三会话链路承载原第二会话链路的数据流。基于此,第一会话链路和第三会话链路重新构成多接入协议数据单元会话。Since the data traffic of the second session link is migrated to the third session link, the data flow of the original second session link can be carried by the third session link. Based on this, the first session link and the third session link reconstitute a multiple access protocol data unit session.

在一些实施例中,会话管理功能实体首先向终端发送第二指示信息,以供终端根据第二指示信息将以第一网络地址为源地址、发向所述用户面功能实体的数据包的路由指向第三会话链路,获得第一更新路由信息,其中,第一网络地址为终端在第二会话链路中的网络地址;其次,会话管理功能实体向用户面功能实体发送第三指示信息,以供用户面功能实体根据第三指示信息将第二网络地址的路由指向第三会话链路,获得第二更新路由信息,其中,第二网络地址为用户面功能实体在第二会话链路中使用的网络地址;最后,会话管理功能实体根据第一更新路由信息和第二更新路由信息,将第二会话链路的数据流量迁移至第三会话链路。In some embodiments, the session management function entity first sends second instruction information to the terminal, so that the terminal uses the first network address as the source address to route the data packet sent to the user plane function entity according to the second instruction information. Point to the third session link to obtain the first updated routing information, where the first network address is the network address of the terminal in the second session link; secondly, the session management functional entity sends third indication information to the user plane functional entity, The user plane functional entity directs the route of the second network address to the third session link according to the third instruction information to obtain the second updated routing information, where the second network address is the user plane functional entity in the second session link. The network address used; finally, the session management function entity migrates the data traffic of the second session link to the third session link based on the first updated routing information and the second updated routing information.

在本实施例中,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,从而可以在发生网络切换时保留终端在第一网络中的部分会话链路;利用第二网络建立第三会话链路,使得终端除第一网络中保留的会话链路之外,在第二网络中建立新的会话链路;将第二会话链路的数据流量迁移至第三会话链路,终端可以通过第一会话链路和第三会话链路共同承载同一会话,保留了会话的多路连接特性。In this embodiment, when it is recognized that the terminal switches from the first network to the second network, the first session link is retained and the data traffic of the second session link is suspended, so that the terminal can be retained when network switching occurs. Part of the session link in the first network; using the second network to establish a third session link, so that the terminal establishes a new session link in the second network in addition to the session link retained in the first network; The data traffic of the second session link is migrated to the third session link, and the terminal can jointly carry the same session through the first session link and the third session link, retaining the multi-channel connection characteristics of the session.

需要说明的是,在一些实施例中,利用第二网络建立第三会话链路,具体包括两种情况:在第一种情况下,第一网络和第二网络之间存在接口(例如,N26接口);在第二种情况下,第一网络和第二网络之间不存在接口。其中,第一网络和第二网络之间是否存在接口,可以由接入和移动性管理功能实体(Access and Mobility Management Function,AMF)发送至终端。It should be noted that in some embodiments, the second network is used to establish the third session link, which specifically includes two situations: In the first situation, there is an interface (for example, N26) between the first network and the second network. interface); in the second case, there is no interface between the first network and the second network. Whether there is an interface between the first network and the second network can be sent to the terminal by an Access and Mobility Management Function (AMF).

针对第一种情况,至少存在两种具体实施方式。在第一种具体实施方式中,第一网络和第二网络之间存在接口,会话管理功能实体向第二网络中的分组数据网关-控制平面功能实体(Packet Data Network Gateway control plane,PGW-C)或者专用于第一网络与第二网络互操作的SMF+PGW-C(或者PGW-C+SMF)发送通知(即第一指示信息),以使第二网络中的PGW-C或者SMF+PGW-C建立终端到承载MA PDU会话的UPF(或者UPF中的MPTCP代理)之间的会话隧道,从而获得第三会话链路。在第二种具体实施方式中,第一网络和第二网络之间不存在接口,会话管理功能实体在第一网络中发起并建立终端与UPF之间的会话隧道,然后指示PGW-C(或者PGW-C+SMF)将该会话隧道迁移至第二网络中,获得第三会话链路。For the first situation, there are at least two specific implementations. In a first specific implementation manner, there is an interface between the first network and the second network, and the session management function entity communicates to the Packet Data Network Gateway control plane (PGW-C) function entity in the second network. ) or the SMF+PGW-C (or PGW-C+SMF) dedicated to the interoperation between the first network and the second network sends a notification (ie, the first indication information), so that the PGW-C or SMF+ in the second network PGW-C establishes a session tunnel between the terminal and the UPF (or MPTCP proxy in UPF) carrying the MA PDU session, thereby obtaining the third session link. In the second specific implementation, there is no interface between the first network and the second network. The session management function entity initiates and establishes a session tunnel between the terminal and the UPF in the first network, and then instructs the PGW-C (or PGW-C+SMF) migrates the session tunnel to the second network to obtain the third session link.

针对第二种情况,至少存在一种具体实施方式。具体地,会话管理功能实体在第一网络中建立终端与UPF之间的会话隧道,然后指示终端将该会话隧道迁移至第二网络中,获得第三会话链路。For the second situation, there is at least one specific implementation. Specifically, the session management function entity establishes a session tunnel between the terminal and the UPF in the first network, and then instructs the terminal to migrate the session tunnel to the second network to obtain a third session link.

还需要说明的是,在一些实施例中,将第二会话链路的数据流量迁移至第三会话链路之后,还包括:It should also be noted that in some embodiments, after migrating the data traffic of the second session link to the third session link, it also includes:

向接入和移动性管理功能实体发送第四指示信息,以供接入和移动性管理功能实体根据第四指示信息,在多接入协议数据单元会话的有效期内为终端保留第一网络地址。其中,接入和移动性管理功能实体位于第一网络。Send fourth indication information to the access and mobility management functional entity, so that the access and mobility management functional entity reserves the first network address for the terminal within the validity period of the multi-access protocol data unit session according to the fourth indication information. Wherein, the access and mobility management functional entity is located in the first network.

图3是本申请又一实施例提供的一种会话迁移方法的流程图,该会话迁移方法可应用于会话管理功能实体。如图3所示,该会话迁移方法包括如下步骤:Figure 3 is a flow chart of a session migration method provided by yet another embodiment of the present application. The session migration method can be applied to session management functional entities. As shown in Figure 3, the session migration method includes the following steps:

步骤S301,基于第一接入方式和第二接入方式建立多接入协议数据单元会话。Step S301: Establish a multi-access protocol data unit session based on the first access mode and the second access mode.

其中,第一会话链路是基于第一接入方式建立的会话链路,第二会话链路是基于第二接入方式建立的会话链路。The first session link is a session link established based on the first access method, and the second session link is a session link established based on the second access method.

在一些实施例中,第一接入方式为基于非3GPP互操作功能实体的接入方式;第二接入方式为基于无线接入网络的接入方式。其中,基于无线接入网络的接入方式包括由3GPP组织所提出的接入技术,例如,时分同步码分多址(Time Division-Synchronous CodeDivision Multiple Access,TD-SCDMA)技术、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)技术;基于非3GPP互操作功能实体的接入方式是指由除3GPP之外的组织所提出的接入技术,例如,码分多址(Code Division Multiple Access,CDMA)技术。In some embodiments, the first access method is an access method based on a non-3GPP interoperability functional entity; the second access method is an access method based on a wireless access network. Among them, access methods based on wireless access networks include access technologies proposed by the 3GPP organization, such as Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) technology, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) technology; access methods based on non-3GPP interoperability functional entities refer to access technologies proposed by organizations other than 3GPP, such as Code Division Multiple Access (CDMA) )technology.

步骤S302,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量。Step S302: When it is recognized that the terminal switches from the first network to the second network, the first session link is retained and data traffic of the second session link is suspended.

步骤S303,利用第二网络建立第三会话链路。Step S303: Use the second network to establish a third session link.

步骤S304,将第二会话链路的数据流量迁移至第三会话链路。Step S304: Migrate the data traffic of the second session link to the third session link.

本实施例中的步骤S302~S304与本申请上一实施例中步骤S201~S203的内容相同,在此不再赘述。Steps S302 to S304 in this embodiment are the same as steps S201 to S203 in the previous embodiment of this application, and will not be described again.

步骤S305,保留第二会话链路的路由条目。Step S305: Reserve the routing entry of the second session link.

在本申请实施例中,终端从第一网络切换到第二网络之后,第二会话链路的数据流量被暂停发送,但是第二会话链路并没有被断开。具体地,由于网络切换,第二会话链路本身无法进行正常通信,但是第二会话链路的资源(路由资源、网络地址资源等)并未被回收,其路由条目仍被保留,以便当网络切换回第一网络时,能够便捷快速地恢复第二会话链路的数据流量的发送。In this embodiment of the present application, after the terminal switches from the first network to the second network, the data traffic of the second session link is suspended, but the second session link is not disconnected. Specifically, due to network switching, the second session link itself cannot communicate normally, but the resources of the second session link (routing resources, network address resources, etc.) have not been recycled, and its routing entries are still retained so that when the network When switching back to the first network, the transmission of data traffic on the second session link can be resumed conveniently and quickly.

步骤S306,在识别出终端从第二网络切换回第一网络的情况下,根据第二会话链路的路由条目修改终端和用户面功能实体的路由信息,获得更新路由信息。Step S306: When it is recognized that the terminal switches back to the first network from the second network, the routing information of the terminal and the user plane functional entity is modified according to the routing entry of the second session link to obtain updated routing information.

步骤S307,根据更新路由信息,将第三会话链路的数据流量恢复至第二会话链路。Step S307: According to the updated routing information, restore the data traffic of the third session link to the second session link.

第三会话链路的数据流量是将原第二会话链路的数据流量进行迁移获得的数据流量,在终端从第二网络切换回第一网络的情况下,会话管理功能实体将第三会话链路的数据流量恢复至第二会话链路。基于此,第一会话链路和第二会话链路构成多接入协议数据单元会话。The data traffic of the third session link is the data traffic obtained by migrating the data traffic of the original second session link. When the terminal switches back to the first network from the second network, the session management functional entity transfers the third session link The data traffic of the session link is restored to the second session link. Based on this, the first session link and the second session link constitute a multiple access protocol data unit session.

需要说明的是,将第三会话链路的数据流量恢复至第二会话链路的方式,与将第二会话链路的数据流量迁移至第三会话链路的方式相同,在此不再赘述。It should be noted that the method of restoring the data traffic of the third session link to the second session link is the same as the method of migrating the data traffic of the second session link to the third session link, and will not be described again here. .

步骤S308,断开第三会话链路。Step S308: Disconnect the third session link.

在本实施例中,基于第一接入方式和第二接入方式建立多接入协议数据单元会话,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,利用第二网络建立第三会话链路,将第二会话链路的数据流量迁移至第三会话链路,在识别出终端从第二网络切换回第一网络的情况下,将第三会话链路的数据流量恢复至第二会话链路,断开第三会话链路。基于此,在终端切换回第一网络之后,将第三会话链路的数据流量恢复至第二会话链路,并断开第三会话链路,从而基于第一会话链路和第二会话链路恢复之前的多接入协议数据单元会话,保障在发生网络切换情况下仍保持MA PDU会话的多路连接特性。In this embodiment, a multi-access protocol data unit session is established based on the first access mode and the second access mode. When it is recognized that the terminal switches from the first network to the second network, the first session link is retained. , suspend sending the data traffic of the second session link, use the second network to establish a third session link, migrate the data traffic of the second session link to the third session link, and after identifying that the terminal switches back from the second network In the case of the first network, the data traffic of the third session link is restored to the second session link, and the third session link is disconnected. Based on this, after the terminal switches back to the first network, the data traffic of the third session link is restored to the second session link, and the third session link is disconnected, so that based on the first session link and the second session link The multi-access protocol data unit session before the path is restored ensures that the multi-path connection characteristics of the MA PDU session are still maintained in the event of network switching.

图4是本申请再一实施例提供的一种会话迁移方法的流程图,该会话迁移方法可应用于终端。如图4所示,该会话迁移方法包括如下步骤:Figure 4 is a flow chart of a session migration method provided by yet another embodiment of the present application. The session migration method can be applied to terminals. As shown in Figure 4, the session migration method includes the following steps:

步骤S401,在从第一网络切换到第二网络的情况下,通过第一网络中的第一会话链路和第二网络中的第三会话链路进行会话。Step S401: When switching from the first network to the second network, conduct a session through the first session link in the first network and the third session link in the second network.

其中,第一会话链路为多接入协议数据单元会话中的会话链路,多接入协议数据单元会话还包括第二会话链路,第一会话链路和第二会话链路均为第一网络中的会话链路,且第二会话链路的数据流量在终端从第一网络切换到第二网络之后被暂停,并由第三会话链路承载第二会话链路的数据链路。Wherein, the first session link is a session link in a multiple access protocol data unit session, the multiple access protocol data unit session also includes a second session link, and the first session link and the second session link are both A session link in one network, and the data traffic of the second session link is suspended after the terminal switches from the first network to the second network, and the third session link carries the data link of the second session link.

在一些实施例中,终端分别通过第一接入方式和第二接入方式接入第一网络。第一网络中的会话管理功能实体基于第一接入方式和第二接入方式建立多接入协议数据单元会话,在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,利用第二网络建立第三会话链路,将第二会话链路的数据流量迁移至第三会话链路。基于此,终端通过第一会话链路在第一网络中建立会话连接,通过第二会话链路在第二网络中建立会话连接,保留了MA PDU会话的多路连接特性。In some embodiments, the terminal accesses the first network through the first access method and the second access method respectively. The session management function entity in the first network establishes a multi-access protocol data unit session based on the first access mode and the second access mode, and retains the first access protocol data unit session when identifying that the terminal switches from the first network to the second network. The session link suspends sending the data traffic of the second session link, uses the second network to establish a third session link, and migrates the data traffic of the second session link to the third session link. Based on this, the terminal establishes a session connection in the first network through the first session link, and establishes a session connection in the second network through the second session link, retaining the multi-channel connection characteristics of the MA PDU session.

在本实施例中,当终端从第一网络切换到第二网络之后,保留MA PDU会话中的第一会话链路,暂停发送第二会话链路的数据流量,并在第二网络中建立第三会话链路,基于第一会话链路和第三会话链路构建MA PDU会话,从而保持MA PDU会话的多路连接特性。In this embodiment, after the terminal switches from the first network to the second network, the first session link in the MA PDU session is retained, the data traffic of the second session link is suspended, and the third session link is established in the second network. Three session links: Build an MA PDU session based on the first session link and the third session link, thereby maintaining the multi-channel connection characteristics of the MA PDU session.

上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the various methods above are divided just for the purpose of clear description. During implementation, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process without changing the core design of the algorithm and process are within the scope of protection of this patent.

本申请第二方面提供一种会话管理功能实体。图5是本申请实施例提供的一种会话管理功能实体的组成方框图。如图5所示,该会话管理功能实体500包括:The second aspect of this application provides a session management functional entity. Figure 5 is a block diagram of a session management functional entity provided by an embodiment of the present application. As shown in Figure 5, the session management function entity 500 includes:

处理模块501,被配置为在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量。The processing module 501 is configured to retain the first session link and suspend sending data traffic of the second session link when it is recognized that the terminal switches from the first network to the second network.

其中,第一会话链路和第二会话链路是第一网络中的会话链路,且均属于同一个多接入协议数据单元会话。The first session link and the second session link are session links in the first network, and both belong to the same multiple access protocol data unit session.

建立模块502,被配置为利用第二网络建立第三会话链路。The establishment module 502 is configured to establish a third session link using the second network.

其中,第三会话链路是第二网络中连接终端与用户面功能实体的会话链路,用户面功能实体为承载多接入协议数据单元会话的功能实体,且用户面功能实体位于第一网络。The third session link is a session link connecting the terminal and the user plane functional entity in the second network. The user plane functional entity is a functional entity that carries multiple access protocol data unit sessions, and the user plane functional entity is located in the first network. .

迁移模块503,被配置为将第二会话链路的数据流量迁移至第三会话链路。The migration module 503 is configured to migrate the data traffic of the second session link to the third session link.

在本实施例中,处理模块在识别出终端从第一网络切换到第二网络的情况下,保留第一会话链路,暂停发送第二会话链路的数据流量,建立模块利用第二网络建立第三会话链路,并通过迁移模块将第二会话链路的数据流量迁移至第三会话链路。基于此,即便发生网络切换,终端仍然可以通过第一会话链路和第三会话链路共同承载同一会话,从而保留了会话的多路连接特性。In this embodiment, when the processing module recognizes that the terminal switches from the first network to the second network, it retains the first session link, suspends sending the data traffic of the second session link, and the establishment module uses the second network to establish the third session link, and migrates the data traffic of the second session link to the third session link through the migration module. Based on this, even if a network switch occurs, the terminal can still jointly carry the same session through the first session link and the third session link, thereby retaining the multi-channel connection characteristics of the session.

本申请第三方面提供一种终端。图6是本申请实施例提供的一种终端的组成方框图。如图6所示,该终端600包括:A third aspect of this application provides a terminal. Figure 6 is a block diagram of a terminal provided by an embodiment of the present application. As shown in Figure 6, the terminal 600 includes:

会话模块601,被配置为在从第一网络切换到第二网络的情况下,通过第一网络中的第一会话链路和第二网络中的第三会话链路进行会话。The session module 601 is configured to conduct a session through the first session link in the first network and the third session link in the second network when switching from the first network to the second network.

其中,第一会话链路为多接入协议数据单元会话中的会话链路,多接入协议数据单元会话还包括第二会话链路,第一会话链路和第二会话链路均为第一网络中的会话链路,且第二会话链路的数据流量在终端从第一网络切换到第二网络之后被暂停发送,并由第三会话链路承载第二会话链路的数据链路。Wherein, the first session link is a session link in a multiple access protocol data unit session, the multiple access protocol data unit session also includes a second session link, and the first session link and the second session link are both A session link in one network, and the data traffic of the second session link is suspended after the terminal switches from the first network to the second network, and the data link of the second session link is carried by the third session link .

在本实施例中,当终端从第一网络切换到第二网络之后,保留MA PDU会话中的第一会话链路,暂停发送第二会话链路的数据流量,在第二网络中建立第三会话链路,并由会话模块通过第一网络中的第一会话链路和第二网络中的第三会话链路进行会话,从而保持MA PDU会话的多路连接特性。In this embodiment, after the terminal switches from the first network to the second network, it retains the first session link in the MA PDU session, suspends sending data traffic of the second session link, and establishes a third session link in the second network. session link, and the session module conducts the session through the first session link in the first network and the third session link in the second network, thereby maintaining the multi-channel connection characteristics of the MA PDU session.

本申请第三方面提供一种会话迁移系统。图7为本申请实施例提供的一种会话迁移系统的组成示意图。如图7所示,该会话迁移系统700包括:第一网络701、终端702和第二网络703。The third aspect of this application provides a session migration system. Figure 7 is a schematic diagram of the composition of a session migration system provided by an embodiment of the present application. As shown in Figure 7, the session migration system 700 includes: a first network 701, a terminal 702 and a second network 703.

其中,终端通过两种接入方式接入第一网络之后,建立MA PDU会话,该MA PDU会话包括第一会话链路和第二会话链路。当终端从第一网络切换到第二网络之后,暂停发送第二会话链路的数据流量,保持第一会话链路。并且,第一网络通过其会话管理功能实体在第二网络中建立第三会话链路,将第二会话链路的数据流量迁移至第三会话链路,从而基于第一会话链路和第三会话链路重新构建MA PDU会话。基于此,终端在第一网络中保留第一会话链路,在第二网络中保留第三会话链路,保持了MA PDU会话的多路连接特性。After the terminal accesses the first network through two access methods, the MA PDU session is established, and the MA PDU session includes a first session link and a second session link. After the terminal switches from the first network to the second network, it suspends sending data traffic of the second session link and maintains the first session link. Furthermore, the first network establishes a third session link in the second network through its session management functional entity, and migrates the data traffic of the second session link to the third session link, thereby based on the first session link and the third session link. The session link reconstructs the MA PDU session. Based on this, the terminal retains the first session link in the first network and the third session link in the second network, thereby maintaining the multi-channel connection characteristics of the MA PDU session.

图8为本申请实施例提供的一种会话迁移网络结构的示意图。如图8所示,该会话迁移网络结构800包括:终端801、第二无线接入网802、分组数据网关803、第一无线接入网804、非3GPP互操作功能实体805、用户面功能实体806、代理807、数据网络808和服务器809。Figure 8 is a schematic diagram of a session migration network structure provided by an embodiment of the present application. As shown in Figure 8, the session migration network structure 800 includes: terminal 801, second radio access network 802, packet data gateway 803, first radio access network 804, non-3GPP interoperability functional entity 805, user plane functional entity 806, proxy 807, data network 808 and server 809.

在一些实施例中,终端801基于WIFI方式通过非3GPP互操作功能实体805与用户面功能实体806中的代理807建立第一会话链路,同时,终端801通过第一无线接入网804与用户面功能实体806中的代理807建立第二会话链路,从而构建第一网络中的MA PDU会话。用户面功能实体806与数据网络808中的服务器809建立连接。其中,第一无线接入网804是第一网络对应的接入网。In some embodiments, the terminal 801 establishes a first session link with the agent 807 in the user plane functional entity 806 through the non-3GPP interoperability functional entity 805 based on WIFI. At the same time, the terminal 801 communicates with the user through the first wireless access network 804. The agent 807 in the surface function entity 806 establishes a second session link, thereby constructing a MA PDU session in the first network. The user plane functional entity 806 establishes a connection with the server 809 in the data network 808. Among them, the first wireless access network 804 is an access network corresponding to the first network.

当终端801从第一网络切换到第二网络之后,第一网络中的会话管理功能实体(图中未示出)保持第一会话链路,暂停发送第二会话链路的数据流量,并基于第二无线接入网802、分组数据网关803在第二网络中建立第三会话链路。其中,分组数据网关803与用户面功能实体806连接,第二无线接入网802是第二网络对应的接入网。After the terminal 801 switches from the first network to the second network, the session management function entity (not shown in the figure) in the first network maintains the first session link, suspends sending the data traffic of the second session link, and based on The second radio access network 802 and the packet data gateway 803 establish a third session link in the second network. Among them, the packet data gateway 803 is connected to the user plane functional entity 806, and the second radio access network 802 is the access network corresponding to the second network.

基于此,终端801通过第一会话链路与服务器809在第一网络中保持会话连接,通过第三会话链路与服务器809在第二网络中保持会话连接,从而保持MA PDU会话的多路连接特性。Based on this, the terminal 801 maintains a session connection with the server 809 in the first network through the first session link, and maintains a session connection with the server 809 in the second network through the third session link, thereby maintaining the multi-channel connection of the MA PDU session. characteristic.

图9是本申请实施例提供的一种会话迁移方法的流程图。如图9所示,该会话迁移方法包括:Figure 9 is a flow chart of a session migration method provided by an embodiment of the present application. As shown in Figure 9, the session migration method includes:

步骤S901,终端基于MPTCP协议在第一网络中建立MA PDU会话。Step S901: The terminal establishes a MA PDU session in the first network based on the MPTCP protocol.

其中,MA PDU会话包括第一会话链路和第二会话链路,第一会话链路是基于非3GPP互操作功能实体接入方式建立的会话链路,第二会话链路是基于无线接入网络接入方式建立的会话链路。Among them, the MA PDU session includes a first session link and a second session link. The first session link is a session link established based on the non-3GPP interoperability function entity access method, and the second session link is based on wireless access. Session link established through network access.

步骤S902,终端从第一网络切换到第二网络。Step S902: The terminal switches from the first network to the second network.

其中,终端发生网络切换的原因包括网络覆盖信号范围、网络覆盖信号强度以及某些特定业务触发切换网络等。Among them, the reasons for network switching in the terminal include network coverage signal range, network coverage signal strength, and certain specific services triggering network switching.

步骤S903,第一网络中的会话管理功能实体识别出终端从第一网络切换到第二网络时,保留第一会话链路,并暂停发送第二会话链路的数据流量。Step S903: When the session management function entity in the first network recognizes that the terminal switches from the first network to the second network, it retains the first session link and suspends sending data traffic of the second session link.

步骤S904,会话管理功能实体在第一网络中建立会话隧道。Step S904: The session management function entity establishes a session tunnel in the first network.

其中,该会话隧道连接终端和用户面功能实体,该用户面功能实体是第一网络中承载MA PDU会话的功能实体。Wherein, the session tunnel connects the terminal and the user plane functional entity, and the user plane functional entity is the functional entity that carries the MA PDU session in the first network.

步骤S905,会话管理功能实体将会话隧道迁移到第二网络,将该会话隧道作为第三会话链路。Step S905: The session management function entity migrates the session tunnel to the second network and uses the session tunnel as the third session link.

步骤S906,会话管理功能实体将第二会话链路的数据流量迁移到第三会话链路。Step S906: The session management function entity migrates the data traffic of the second session link to the third session link.

基于此,第一会话链路和第三会话链路构成MA PDU会话,保障了MA PDU会话的多路连接特性。Based on this, the first session link and the third session link constitute an MA PDU session, ensuring the multi-channel connection characteristics of the MA PDU session.

需要说明的是,在一些实施例中,在步骤S906之后,会话管理功能实体指示AMF在MA PDU会话期间保留终端在第三会话链路(或者第二会话链路)中的网络地址。当终端从第二网络切换回第一网络之后,会话管理功能实体指示AMF不为终端分配新的用于3GPP接入方式的网络地址,将第三会话链路的数据流量恢复至第二会话链路(使用终端和UPF在第二会话链路中的网络地址),并断开第三会话链路。It should be noted that, in some embodiments, after step S906, the session management function entity instructs the AMF to retain the network address of the terminal in the third session link (or the second session link) during the MA PDU session. When the terminal switches back to the first network from the second network, the session management function entity instructs the AMF not to allocate a new network address for the 3GPP access mode to the terminal, and restores the data traffic of the third session link to the second session link. path (using the network address of the terminal and UPF in the second session link), and disconnect the third session link.

值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that each module involved in this implementation is a logical module. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, or it can be multiple physical units. The combination of units is realized. In addition, in order to highlight the innovative part of the present invention, units that are not closely related to solving the technical problems raised by the present invention are not introduced in this embodiment, but this does not mean that other units do not exist in this embodiment.

可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.

Claims (10)

1. A method for session migration, comprising:
under the condition that the terminal is identified to be switched from a first network to a second network, a first session link is reserved, and data traffic of a second session link is suspended, wherein the first session link and the second session link are session links in the first network and all belong to the same multi-access protocol data unit session, the first session link is a session link established based on a first access mode, and the second session link is a session link established based on a second access mode;
establishing a third session link by using the second network, wherein the third session link is a session link in the second network for connecting the terminal and a user plane functional entity, the user plane functional entity is a functional entity for bearing the multi-access protocol data unit session, and the user plane functional entity is located in the first network;
and migrating the data traffic of the second session link to the third session link.
2. The session migration method according to claim 1, wherein in the case that the terminal is identified to be handed over from the first network to the second network, the first session link is reserved, and before the data traffic of the second session link is suspended, the method further comprises:
the multi-access protocol data unit session is established based on the first access mode and the second access mode, wherein the first access mode is an access mode based on a non-3GPP interoperable functional entity, and the second access mode is an access mode based on a wireless access network.
3. The session migration method of claim 1, wherein the establishing a third session link using the second network comprises:
establishing a session tunnel between the terminal and the user plane functional entity in the first network;
and migrating the session tunnel to the second network to obtain the third session link.
4. The session migration method of claim 1, wherein the establishing a third session link using the second network comprises:
and sending first indication information to a second network functional entity so that the second network functional entity can establish the third session link in the second network according to the first indication information, wherein the second network functional entity is a functional entity in the second network.
5. The session migration method according to claim 1, wherein said migrating data traffic of the second session link to the third session link comprises:
sending second indication information to the terminal so that the terminal directs the route of a data packet which takes a first network address as a source address and is sent to the user plane functional entity to the third session link according to the second indication information to obtain first updated route information, wherein the first network address is a network address of the terminal in the second session link;
transmitting third indication information to the user plane functional entity so that the user plane functional entity directs a route of a second network address to the third session link according to the third indication information to obtain second updated route information, wherein the second network address is a network address used by the user plane functional entity in the second session link;
and migrating the data traffic of the second session link to the third session link according to the first updated routing information and the second updated routing information.
6. The session migration method of claim 5, wherein after migrating the data traffic of the second session link to the third session link, further comprising:
and sending fourth indication information to an access and mobility management functional entity, so that the access and mobility management functional entity reserves the first network address for the terminal in the validity period of the multi-access protocol data unit session according to the fourth indication information.
7. The session migration method according to claim 1, wherein after migrating the data traffic of the second session link to the third session link, further comprising:
reserving a routing entry for the second session link;
under the condition that the terminal is identified to be switched back to the first network from the second network, the routing information of the terminal and the user plane functional entity is modified according to the routing entry of the second session link, and updated routing information is obtained;
restoring the data flow of the third session link to the second session link according to the updated routing information;
and disconnecting the third session link.
8. A method for session migration, comprising:
in the case of switching from a first network to a second network, a session is performed through a first session link in the first network and a third session link in the second network, wherein the first session link is a session link in a multi-access protocol data unit session, the multi-access protocol data unit session further comprises a second session link, the first session link and the second session link are both session links in the first network, data traffic of the second session link is suspended to be sent after a terminal is switched from the first network to the second network, and the third session link carries data links of the second session link, the first session link is a session link established based on a first access mode, and the second session link is a session link established based on a second access mode.
9. A session management functional entity, comprising:
the processing module is configured to reserve a first session link and suspend sending data traffic of a second session link under the condition that the terminal is identified to be switched from a first network to a second network, wherein the first session link and the second session link are session links in the first network and all belong to the same multi-access protocol data unit session, the first session link is a session link established based on a first access mode, and the second session link is a session link established based on a second access mode;
the establishing module is configured to establish a third session link by using the second network, wherein the third session link is a session link in the second network for connecting the terminal and a user plane functional entity, the user plane functional entity is a functional entity for bearing the multi-access protocol data unit session, and the user plane functional entity is located in the first network;
and the migration module is configured to migrate the data traffic of the second session link to the third session link.
10. A terminal, comprising:
and a session module configured to perform a session through a first session link in a first network and a third session link in a second network in case of switching from the first network to the second network, wherein the first session link is a session link in a multi-access protocol data unit session, the multi-access protocol data unit session further comprises a second session link, the first session link and the second session link are both session links in the first network, and data traffic of the second session link is suspended to be sent after a terminal is switched from the first network to the second network, and the third session link carries data links of the second session link, the first session link is a session link established based on a first access mode, and the second session link is a session link established based on a second access mode.
CN202111570472.7A 2021-12-21 2021-12-21 Session migration method, session management functional entity and terminal Active CN114339921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111570472.7A CN114339921B (en) 2021-12-21 2021-12-21 Session migration method, session management functional entity and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111570472.7A CN114339921B (en) 2021-12-21 2021-12-21 Session migration method, session management functional entity and terminal

Publications (2)

Publication Number Publication Date
CN114339921A CN114339921A (en) 2022-04-12
CN114339921B true CN114339921B (en) 2023-10-10

Family

ID=81055339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111570472.7A Active CN114339921B (en) 2021-12-21 2021-12-21 Session migration method, session management functional entity and terminal

Country Status (1)

Country Link
CN (1) CN114339921B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117015071A (en) * 2022-04-28 2023-11-07 中国电信股份有限公司 Access switching method, AMF entity and communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109673024A (en) * 2017-10-17 2019-04-23 华为技术有限公司 Processing method, the device and system of data transmission channel
CN111972003A (en) * 2018-02-16 2020-11-20 艾达克控股有限公司 Mobility handling of multiple access Protocol Data Unit (PDU) sessions in 5G networks
CN112400341A (en) * 2019-06-18 2021-02-23 联发科技股份有限公司 Multiple access protocol data unit session handling with intersystem translation
CN112400357A (en) * 2019-06-18 2021-02-23 联发科技股份有限公司 Multiple access protocol data unit session enhancement
CN113079586A (en) * 2020-01-06 2021-07-06 联发科技股份有限公司 Method for processing session handover of multiple access protocol data unit and user equipment thereof
CN113439486A (en) * 2019-02-14 2021-09-24 Lg电子株式会社 Method and terminal for displaying information for using MA PDU session

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11064388B2 (en) * 2018-05-21 2021-07-13 Electronics And Telecommunications Research Institute Traffic distribution method through multi-access network in a network and network entity performing the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109673024A (en) * 2017-10-17 2019-04-23 华为技术有限公司 Processing method, the device and system of data transmission channel
CN111972003A (en) * 2018-02-16 2020-11-20 艾达克控股有限公司 Mobility handling of multiple access Protocol Data Unit (PDU) sessions in 5G networks
CN113439486A (en) * 2019-02-14 2021-09-24 Lg电子株式会社 Method and terminal for displaying information for using MA PDU session
CN112400341A (en) * 2019-06-18 2021-02-23 联发科技股份有限公司 Multiple access protocol data unit session handling with intersystem translation
CN112400357A (en) * 2019-06-18 2021-02-23 联发科技股份有限公司 Multiple access protocol data unit session enhancement
CN113079586A (en) * 2020-01-06 2021-07-06 联发科技股份有限公司 Method for processing session handover of multiple access protocol data unit and user equipment thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"S2-182123 Proposed Solution for Multi-access PDU Session".3GPP tsg_sa\WG2_Arch.2018,全文. *
Ericsson.S2-2000287 "Applicability of Data Off to Non-3GPP PDU Session and Multi Access PDU Session".3GPP tsg_sa\wg2_arch.2020,(第tsgs2_136ah_incheon期),全文. *
面向边缘计算的5G增强技术探讨;王海梅;;移动通信(第04期);全文 *

Also Published As

Publication number Publication date
CN114339921A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
US10693677B2 (en) Method, device, and system for controlling tunnel identifier allocation
WO2018145671A1 (en) Cross-system handover method and device, and computer storage medium
KR102088721B1 (en) SDN-based LTE Network Architecture and Operations
CN113473508B (en) Communication method and communication device
US9913174B2 (en) Method, device and system for implementing optimized inter-rat handover
CN101212810B (en) Customer premise equipment switching method in radio network
CN102308628B (en) For the method and apparatus carrying out data process in the mobile communication network
US10624145B2 (en) Service transmission method, apparatus, and device
US20210120620A1 (en) Communication Method and Apparatus
CN108738082B (en) Session processing method, device and system
EP3410752B1 (en) Mobility management method, apparatus and system
CN107846713B (en) Network switching method and communication system
EP2850912B1 (en) Efficient distribution of signaling messages in a mobility access gateway or local mobility anchor
CN114339921B (en) Session migration method, session management functional entity and terminal
CN102056258B (en) A kind of method and system realizing terminal switch
CN107148061B (en) LTE and WLAN heterogeneous network switching system and method based on SDN
CN102984813B (en) Data straight through processing method, equipment and system
CN101784033A (en) Processing method, processing device and processing system for switching data forwarding
JP5621622B2 (en) Communication system, communication terminal, gateway, communication method and program
CN102497396B (en) Communication method, base station, base station controller and mobile switching center
CN114189912B (en) Session method, control plane functional entity, proxy, and session system
CN114338607A (en) 5G user terminal IP address confirmation method, device and system
CN106792656B (en) Data transmission method and asymmetric shunting system
WO2015054850A1 (en) Communication method, communication device, and communication system
CN108307504B (en) Data transmission method and device

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