CN116074819A - PDU session processing method, network equipment, device and storage medium - Google Patents

PDU session processing method, network equipment, device and storage medium Download PDF

Info

Publication number
CN116074819A
CN116074819A CN202111288502.5A CN202111288502A CN116074819A CN 116074819 A CN116074819 A CN 116074819A CN 202111288502 A CN202111288502 A CN 202111288502A CN 116074819 A CN116074819 A CN 116074819A
Authority
CN
China
Prior art keywords
group
upf
session
available address
address segment
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.)
Pending
Application number
CN202111288502.5A
Other languages
Chinese (zh)
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202111288502.5A priority Critical patent/CN116074819A/en
Publication of CN116074819A publication Critical patent/CN116074819A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The embodiment of the application relates to the technical field of mobile communication and discloses a PDU session processing method, network equipment, a device and a storage medium, wherein the method comprises the following steps: receiving a protocol data unit PDU session establishment request of a first user equipment UE, and determining an available address field of a virtual network VN group to which the first UE belongs, wherein the available address field is associated with a first user plane function network element UPF, and the first UPF is an anchor UPF serving the first UE; wherein the available address segment is allocated when any UE in the VN group is activated on the first UPF for the first time; and according to the available address segment, distributing an Internet Protocol (IP) address to the first UE, and establishing a PDU session of the first UE. The embodiment of the application solves the problem of frequent information interaction between the control plane and the user plane in the PDU conversation processing process.

Description

PDU会话处理方法、网络设备、装置及存储介质PDU session processing method, network equipment, device and storage medium

技术领域technical field

本申请涉及移动通信技术领域,尤其涉及一种PDU会话处理方法、网络设备、装置及存储介质。The present application relates to the technical field of mobile communication, and in particular to a PDU session processing method, network equipment, device and storage medium.

背景技术Background technique

在移动通信系统中,用户设备(或终端,User Equipment,UE)和外部网络之间传输的数据以数据包的形式传输,这些数据包通常被称为协议数据单元(Protocol Data Unit,PDU);UE与外部网络之间的数据传输链路,作为一个PDU会话(Session)。相关技术中,PDU会话处理过程中,控制面与用户面信息交互频繁。例如,UE创建PDU会话过程,会话管理功能网元(Session Management Function,SMF)需要根据该PDU会话的互联网协议(InternetProtocol,IP)地址配置包检测规则(Packet Detection Rules,PDR),并通过组级N4会话更新过程将该PDR更新到虚拟网络组(Virtual Network group,VN组)内的其他PSA UPF(PDUSession AnchorUser Plane Function,PDU会话锚点的用户面功能网元)。In the mobile communication system, the data transmitted between the user equipment (or terminal, User Equipment, UE) and the external network is transmitted in the form of data packets, and these data packets are usually called protocol data units (Protocol Data Unit, PDU); The data transmission link between the UE and the external network is regarded as a PDU session (Session). In the related art, during the process of PDU session processing, information interaction between the control plane and the user plane is frequent. For example, when the UE creates a PDU session, the session management function network element (Session Management Function, SMF) needs to configure packet detection rules (Packet Detection Rules, PDR) according to the Internet Protocol (Internet Protocol, IP) address of the PDU session, and pass the group level The N4 session update process updates the PDR to other PSA UPFs (PDUSession Anchor User Plane Function, user plane function network element of the PDU session anchor point) in the virtual network group (Virtual Network group, VN group).

或者,UE释放PDU会话过程,SMF也需要向VN组内的其他PSA UPF发起组级N4会话更新过程,用于移除该IP地址相关的PDR。Or, when the UE releases the PDU session process, the SMF also needs to initiate a group-level N4 session update process to other PSA UPFs in the VN group to remove the PDR related to the IP address.

因此,VN组内的UE创建和/或释放PDU会话过程,导致控制面与用户面消息交互频繁。Therefore, the UEs in the VN group create and/or release the PDU session process, resulting in frequent message interaction between the control plane and the user plane.

发明内容Contents of the invention

本申请实施例提供一种PDU会话处理方法、网络设备、装置及存储介质,以解决PDU会话处理过程中,控制面与用户面信息交互频繁的问题。Embodiments of the present application provide a PDU session processing method, network equipment, device, and storage medium to solve the problem of frequent information interaction between the control plane and the user plane during the PDU session processing process.

第一方面,本申请实施例提供了一种PDU会话处理方法,应用于会话管理功能网元SMF,所述方法包括:In the first aspect, the embodiment of the present application provides a PDU session processing method, which is applied to the session management function network element SMF, and the method includes:

接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF;Receive a protocol data unit PDU session establishment request from the first user equipment UE, determine an available address segment of the virtual network VN group to which the first UE belongs, the available address segment is associated with the first user plane functional network element UPF, and the first UPF is an anchor UPF serving the first UE;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的;Wherein, the available address segment is allocated for any UE in the VN group when it is activated on the first UPF for the first time;

根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。Allocating an Internet Protocol IP address to the first UE according to the available address segment, and establishing a PDU session of the first UE.

可选地,所述接收第一用户设备UE的协议数据单元PDU会话建立请求之前,所述方法包括:Optionally, before receiving the protocol data unit PDU session establishment request of the first user equipment UE, the method includes:

在所述VN组内的任一UE首次在所述第一UPF上激活时,确定所述VN组的可用地址段;When any UE in the VN group is activated on the first UPF for the first time, determine the available address segment of the VN group;

根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则;Create the data packet processing rule for the group-level N4 session of the VN group according to the available address segment;

向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则;所述第二UPF为所述VN组内除所述第一UPF之外的UPF。Sending a first group-level N4 session request to the second UPF, carrying the data packet processing rule in the first group-level N4 session request; the second UPF is the VN group except the first UPF Outer UPF.

可选地,所述确定所述VN组的可用地址段,包括:Optionally, the determining the available address segment of the VN group includes:

为所述VN组分配可用地址段;Allocating an available address segment for the VN group;

接收所述第一UPF发送的第一N4会话建立响应,获取所述第一N4会话建立响应中携带的所述VN组的可用地址段;receiving the first N4 session establishment response sent by the first UPF, and obtaining the available address segment of the VN group carried in the first N4 session establishment response;

or

获取所述第一UPF发送的N4关联建立请求或N4关联建立响应,从所述N4关联建立请求或N4关联建立响应中,获取所述VN组的可用地址段。Obtain the N4 association establishment request or the N4 association establishment response sent by the first UPF, and obtain the available address segment of the VN group from the N4 association establishment request or the N4 association establishment response.

可选地,在所述接收所述第一UPF发送的第一N4会话建立响应之前,所述方法包括:Optionally, before receiving the first N4 session establishment response sent by the first UPF, the method includes:

向所述第一UPF发送第一N4会话建立请求,所述第一N4会话建立请求指示所述第一UPF为所述VN组分配可用地址段。Sending a first N4 session establishment request to the first UPF, where the first N4 session establishment request instructs the first UPF to allocate an available address segment for the VN group.

可选地,所述第一组级N4会话请求包括N4会话修改请求,所述向第二UPF发送第一组级N4会话请求,包括:Optionally, the first group-level N4 session request includes an N4 session modification request, and the sending the first group-level N4 session request to the second UPF includes:

在所述第一UPF与第二UPF之间已建立N19隧道的情况下,向所述第二UPF发送N4会话修改请求;或者In the case where an N19 tunnel has been established between the first UPF and the second UPF, sending an N4 session modification request to the second UPF; or

在所述第一UPF与第二UPF之间未建立N19隧道的情况下,向所述第一UPF发送第二组级N4会话建立请求,在所述第二组级N4会话建立请求中携带所述第二UPF的N19隧道信息,并根据所述N19隧道信息以及所述可用地址段为所述VN组的组级N4会话创建所述数据包处理规则;向第二UPF发送第一组级N4会话请求。When the N19 tunnel is not established between the first UPF and the second UPF, a second group-level N4 session establishment request is sent to the first UPF, and the second group-level N4 session establishment request carries the The N19 tunnel information of the second UPF, and create the packet processing rule for the group-level N4 session of the VN group according to the N19 tunnel information and the available address segment; send the first group-level N4 session to the second UPF session request.

可选地,所述向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则之后,包括:Optionally, the sending the first group-level N4 session request to the second UPF, after carrying the data packet processing rule in the first group-level N4 session request, includes:

接收到所述VN组内的第三UE的PDU会话释放请求,确定所述第三UE的IP地址为所述可用地址段内最后被释放的地址的情况下,释放所述可用地址段,并向所述第二UPF发送组级N4会话修改请求;所述组级N4会话修改请求指示所述第二UPF删除所述数据包处理规则。receiving the PDU session release request of the third UE in the VN group, and determining that the IP address of the third UE is the last released address in the available address segment, releasing the available address segment, and Sending a group-level N4 session modification request to the second UPF; the group-level N4 session modification request instructs the second UPF to delete the data packet processing rule.

可选地,所述根据所述可用地址段,为所述第一UE分配互联网协议IP地址,包括:Optionally, the allocating an Internet Protocol IP address to the first UE according to the available address segment includes:

当所述可用地址段中存在可用IP地址时,直接从所述可用地址段中为所述第一UE分配IP地址;When an available IP address exists in the available address segment, directly allocate an IP address to the first UE from the available address segment;

当所述可用地址段中不存在可用IP地址时,重新为所述第一UE所属的VN组分配新的可用地址段,并从新的可用地址段中为所述第一UE分配IP地址。When there is no available IP address in the available address segment, re-allocate a new available address segment to the VN group to which the first UE belongs, and allocate an IP address to the first UE from the new available address segment.

第二方面,本申请实施例还提供一种PDU会话处理方法,应用于第一用户面功能网元UPF,所述方法包括:In the second aspect, the embodiment of the present application also provides a method for processing a PDU session, which is applied to the first user plane function network element UPF, and the method includes:

接收会话管理功能网元SMF的第二N4会话建立请求;其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Receiving a second N4 session establishment request from a session management function network element SMF; wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the first UPF of the VN group to which the first UE belongs;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

可选地,所述接收会话管理功能网元SMF的第二N4会话建立请求之前,所述方法还包括:Optionally, before receiving the second N4 session establishment request of the session management function network element SMF, the method further includes:

接收所述SMF的第一N4会话建立请求,所述第一N4会话建立请求指示第一UPF为所述VN组分配可用地址段;向所述SMF发送第一N4会话建立响应,在所述第一N4会话建立响应中携带为所述VN组分配的可用地址段;receiving the first N4 session establishment request of the SMF, the first N4 session establishment request instructing the first UPF to allocate an available address segment for the VN group; sending a first N4 session establishment response to the SMF, in the first N4 session establishment request An N4 session establishment response carries an available address segment allocated for the VN group;

和/或and / or

向所述SMF发送N4关联建立请求或N4关联建立响应;在所述N4关联建立请求或N4关联建立响应中,携带为所述VN组分配的可用地址段。Sending an N4 association establishment request or an N4 association establishment response to the SMF; in the N4 association establishment request or N4 association establishment response, the available address segment allocated for the VN group is carried.

第三方面,本申请实施例还提供一种网络设备,所述网络设备包括会话管理功能网元SMF,所述网络设备还包括:In a third aspect, the embodiment of the present application further provides a network device, where the network device includes a session management function network element SMF, and the network device further includes:

存储器,收发机,处理器:Memory, Transceiver, Processor:

存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:

接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF;Receive a protocol data unit PDU session establishment request from the first user equipment UE, determine an available address segment of the virtual network VN group to which the first UE belongs, the available address segment is associated with the first user plane functional network element UPF, and the first UPF is an anchor UPF serving the first UE;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的;Wherein, the available address segment is allocated for any UE in the VN group when it is activated on the first UPF for the first time;

根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。Allocating an Internet Protocol IP address to the first UE according to the available address segment, and establishing a PDU session of the first UE.

第四方面,本申请实施例还提供一种网络设备,所述网络设备包括第一用户面功能网元UPF,所述网络设备还包括:In a fourth aspect, the embodiment of the present application further provides a network device, the network device includes a first user plane function network element UPF, and the network device further includes:

接收会话管理功能网元SMF的第二N4会话建立请求;Receive the second N4 session establishment request of the session management function network element SMF;

其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the VN group to which the first UE belongs and the first UPF;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

第五方面,本申请实施例还提供一种PDU会话处理装置,应用于会话管理功能网元SMF,所述装置包括:In the fifth aspect, the embodiment of the present application also provides a PDU session processing device, which is applied to a session management function network element SMF, and the device includes:

地址段确定模块,用于接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF;The address section determination module is configured to receive a protocol data unit PDU session establishment request of the first user equipment UE, and determine an available address section of the virtual network VN group to which the first UE belongs, and the available address section is related to the first user plane function network element UPF associating, the first UPF is an anchor UPF serving the first UE;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的;Wherein, the available address segment is allocated for any UE in the VN group when it is activated on the first UPF for the first time;

会话建立模块,用于根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。A session establishing module, configured to allocate an Internet Protocol IP address to the first UE according to the available address segment, and establish a PDU session of the first UE.

第六方面,本申请实施例还提供一种PDU会话处理装置,应用于第一用户面功能网元UPF,所述装置包括:In the sixth aspect, the embodiment of the present application further provides a PDU session processing device, which is applied to the first user plane function network element UPF, and the device includes:

接收模块,用于接收会话管理功能网元SMF的第二N4会话建立请求;A receiving module, configured to receive a second N4 session establishment request from a session management function network element SMF;

其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the VN group to which the first UE belongs and the first UPF;

所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。The available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

第七方面,本申请实施例还提供一种电子设备,该电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述方法中的步骤。In the seventh aspect, the embodiment of the present application also provides an electronic device, the electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, the As in the steps in the method above.

第八方面,本申请实施例还提供一种处理器可读存储介质,该处理器可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上方法中的步骤。In an eighth aspect, the embodiment of the present application further provides a processor-readable storage medium, where a computer program is stored on the processor-readable storage medium, and when the computer program is executed by a processor, the steps in the above method are implemented.

本申请实施例中,接收第一UE的PDU会话建立请求,确定第一UE所属虚拟网络VN组的互联网协议可用地址段;根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In the embodiment of the present application, the PDU session establishment request of the first UE is received, and the Internet Protocol available address segment of the virtual network VN group to which the first UE belongs is determined; according to the available address segment, an Internet Protocol IP address is assigned to the first UE , establish the PDU session of the first UE; since the SMF sends a group-level N4 session request including data packet processing rules to the second UPF in the VN group when establishing the first PDU session corresponding to the available address segment, for the VN group Only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs. When the subsequent PDU session is established again, the SMF does not need to initiate the group-level N4 session update process to achieve reduced control Message interaction between user plane and user plane.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present application. Obviously, the accompanying drawings in the following description are only some embodiments of the present application , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为本申请实施例提供的PDU会话处理方法的流程图之一;Fig. 1 is one of the flowcharts of the PDU session processing method provided by the embodiment of the present application;

图2为本申请实施例的第一示例的示意图;FIG. 2 is a schematic diagram of a first example of an embodiment of the present application;

图3为本申请实施例的第二示例的示意图;FIG. 3 is a schematic diagram of a second example of an embodiment of the present application;

图4为本申请实施例的第三示例的示意图之一;Fig. 4 is one of the schematic diagrams of the third example of the embodiment of the present application;

图5为本申请实施例的第三示例的示意图之二;FIG. 5 is the second schematic diagram of the third example of the embodiment of the present application;

图6为本申请实施例的第四示例的示意图;FIG. 6 is a schematic diagram of a fourth example of the embodiment of the present application;

图7为本申请实施例的第五示例的示意图;FIG. 7 is a schematic diagram of a fifth example of the embodiment of the present application;

图8为本申请实施例的第六示例的示意图;FIG. 8 is a schematic diagram of a sixth example of an embodiment of the present application;

图9为本申请实施例的第七示例的示意图之一;Fig. 9 is one of the schematic diagrams of the seventh example of the embodiment of the present application;

图10为本申请实施例的第七示例的示意图之二;FIG. 10 is the second schematic diagram of the seventh example of the embodiment of the present application;

图11为本申请实施例提供的PDU会话处理方法的流程图之二;FIG. 11 is the second flowchart of the PDU session processing method provided by the embodiment of the present application;

图12为本申请实施例提供的PDU会话处理方法的流程图之三;FIG. 12 is the third flowchart of the PDU session processing method provided by the embodiment of the present application;

图13为本申请实施例提供的PDU会话处理装置的结构框图之一;FIG. 13 is one of the structural block diagrams of the PDU session processing device provided by the embodiment of the present application;

图14为本申请实施例提供的PDU会话处理装置的结构框图之二;FIG. 14 is the second structural block diagram of the PDU session processing device provided by the embodiment of the present application;

图15为本申请实施例提供的PDU会话处理装置的结构框图之三;FIG. 15 is the third structural block diagram of the PDU session processing device provided by the embodiment of the present application;

图16为本申请实施例提供的网络设备的结构框图之一;FIG. 16 is one of the structural block diagrams of the network device provided by the embodiment of the present application;

图17为本申请实施例提供的网络设备的结构框图之二;FIG. 17 is the second structural block diagram of the network device provided by the embodiment of the present application;

图18为本申请实施例提供的网络设备的结构框图之三。FIG. 18 is a third structural block diagram of a network device provided by an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The term "and/or" in the embodiments of this application describes the association relationship of associated objects, indicating that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The character "/" generally indicates that the contextual objects are an "or" relationship.

本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。The term "plurality" in the embodiments of the present application refers to two or more, and other quantifiers are similar.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

本申请实施例提供了一种PDU会话处理方法、网络设备、装置及存储介质,用已解决PDU会话处理过程中,控制面与用户面信息交互频繁的问题。Embodiments of the present application provide a PDU session processing method, network equipment, device, and storage medium, which solve the problem of frequent information interaction between the control plane and the user plane during the PDU session processing process.

其中,方法和装置是基于同一申请构思的,由于方法和装置解决问题的原理相似,因此装置和方法的实施可以相互参见,重复之处不再赘述。Among them, the method and the device are conceived based on the same application. Since the principle of solving problems of the method and the device is similar, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.

此外,本申请实施例提供的技术方案可以适用于多种系统,尤其是5G系统。例如适用的系统可以是全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)通用分组无线业务(general packet radio service,GPRS)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequencydivision duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统、高级长期演进(long term evolution advanced,LTE-A)系统、通用移动系统(universal mobiletelecommunication system,UMTS)、全球互联微波接入(worldwide interoperabilityfor microwave access,WiMAX)系统、5G新空口(New Radio,NR)系统等。这多种系统中均包括终端设备和网络设备。系统中还可以包括核心网部分,例如演进的分组系统(EvolvedPacket System,EPS)、5G系统(5GS)等。In addition, the technical solutions provided by the embodiments of the present application can be applied to various systems, especially 5G systems. For example, the applicable system may be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio business (general packet radio service, GPRS) system, long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, advanced long-term Evolution (long term evolution advanced, LTE-A) system, universal mobile telecommunications system (UMTS), global interconnection microwave access (worldwide interoperability for microwave access, WiMAX) system, 5G new air interface (New Radio, NR) system, etc. . These various systems include end devices and network devices. The system may also include a core network part, such as an evolved packet system (Evolved Packet System, EPS), a 5G system (5GS), and the like.

本申请实施例涉及的终端设备(或用户设备),可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备等。在不同的系统中,终端设备的名称可能也不相同,例如在5G系统中,终端设备可以称为用户设备(User Equipment,UE)。无线终端设备可以经无线接入网(Radio AccessNetwork,RAN)与一个或多个核心网(Core Network,CN)进行通信,无线终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiated Protocol,SIP)话机、无线本地环路(Wireless LocalLoop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(userterminal)、用户代理(user agent)、用户装置(user device),本申请实施例中并不限定。The terminal equipment (or user equipment) involved in this embodiment of the present application may be a device that provides voice and/or data connectivity to users, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal equipment may be different. For example, in a 5G system, the terminal equipment may be called User Equipment (User Equipment, UE). The wireless terminal equipment can communicate with one or more core networks (Core Network, CN) via the radio access network (Radio AccessNetwork, RAN), and the wireless terminal equipment can be a mobile terminal equipment, such as a mobile phone (or called "cellular" telephones) and computers with mobile terminals, for example portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which exchange speech and/or data with the radio access network. For example, Personal Communication Service (PCS) phone, cordless phone, Session Initiated Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA) ) and other equipment. Wireless terminal equipment can also be called system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), and user device (user device), which are not limited in this embodiment of the application.

本申请实施例涉及的网络设备,可以是基站,该基站可以包括多个为终端提供服务的小区。根据具体应用场合不同,基站又可以称为接入点,或者可以是接入网中在空中接口上通过一个或多个扇区与无线终端设备通信的设备,或者其它名称。网络设备可用于将收到的空中帧与网际协议(Internet Protocol,IP)分组进行相互更换,作为无线终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)通信网络。网络设备还可协调对空中接口的属性管理。例如,本申请实施例涉及的网络设备可以是全球移动通信系统(Global System for Mobile communications,GSM)或码分多址接入(Code Division Multiple Access,CDMA)中的网络设备(Base Transceiver Station,BTS),也可以是带宽码分多址接入(Wide-band Code Division Multiple Access,WCDMA)中的网络设备(NodeB),还可以是长期演进(long term evolution,LTE)系统中的演进型网络设备(evolutional Node B,eNB或e-NodeB)、5G网络架构(next generation system)中的5G基站(gNB),也可以是家庭演进基站(Home evolved Node B,HeNB)、中继节点(relaynode)、家庭基站(femto)、微微基站(pico)等,本申请实施例中并不限定。在一些网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点和分布单元(distributedunit,DU)节点,集中单元和分布单元也可以地理上分开布置。The network device involved in this embodiment of the present application may be a base station, and the base station may include multiple cells that provide services for terminals. Depending on the specific application, the base station can also be called an access point, or it can be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device can be used to interchange received over-the-air frames with Internet Protocol (IP) packets and act as a router between the wireless terminal device and the rest of the access network, which can include the Internet Protocol (IP) communication network. Network devices may also coordinate attribute management for the air interface. For example, the network equipment involved in the embodiment of the present application may be a network equipment (Base Transceiver Station, BTS) in Global System for Mobile communications (GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA) ), it can also be a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or it can be an evolved network device in a long-term evolution (long term evolution, LTE) system (evolutional Node B, eNB or e-NodeB), a 5G base station (gNB) in the 5G network architecture (next generation system), or a Home evolved Node B (HeNB), a relay node (relaynode), The home base station (femto), pico base station (pico), etc. are not limited in this embodiment of the present application. In some network structures, a network device may include a centralized unit (centralized unit, CU) node and a distributed unit (distributed unit, DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

网络设备与终端设备之间可以各自使用一或多根天线进行多输入多输出(MultiInput Multi Output,MIMO)传输,MIMO传输可以是单用户MIMO(Single User MIMO,SU-MIMO)或多用户MIMO(Multiple User MIMO,MU-MIMO)。根据根天线组合的形态和数量,MIMO传输可以是2D-MIMO、3D-MIMO、FD-MIMO或massive-MIMO,也可以是分集传输或预编码传输或波束赋形传输等。One or more antennas can be used between the network device and the terminal device for Multi-Input Multi-Output (MIMO) transmission. The MIMO transmission can be Single User MIMO (Single User MIMO, SU-MIMO) or Multi-User MIMO ( Multiple User MIMO, MU-MIMO). According to the shape and number of root antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO, or massive-MIMO, or diversity transmission, precoding transmission, or beamforming transmission, etc.

如图1中所示,本申请实施例提供了一种PDU会话处理方法,所述方法应用于网络设备,可选地,所述网络设备可以是SMF(后续简称为SMF),该方法可以包括以下步骤:As shown in Figure 1, the embodiment of the present application provides a method for processing a PDU session, the method is applied to a network device, optionally, the network device may be an SMF (hereinafter referred to as SMF), and the method may include The following steps:

步骤101,接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF。Step 101, receiving a protocol data unit PDU session establishment request from the first user equipment UE, and determining an available address segment of the virtual network VN group to which the first UE belongs, the available address segment is associated with the first user plane function network element UPF, the The first UPF is an anchor UPF serving the first UE.

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

可以理解的是,VN组内的任一UE首次在所述第一UPF上激活时,第一UPF关联的可用地址段内的IP地址首次被分配,例如该可用地址段的地址段信息不存在(不存在SMF本地);或该可用地址段的地址段信息存在(存在SMF本地),但该段内的IP地址未被分配给VN组内的任一UE的情况。It can be understood that when any UE in the VN group is activated on the first UPF for the first time, the IP address in the available address segment associated with the first UPF is allocated for the first time, for example, the address segment information of the available address segment does not exist (SMF local does not exist); or the address segment information of the available address segment exists (SMF local exists), but the IP address in this segment is not allocated to any UE in the VN group.

若该段内的IP地址已有被分配的情况,则对应的PDU会话不是VN组内的UE首次在所述第一UPF上激活的PDU会话。If the IP address in the segment has already been allocated, the corresponding PDU session is not the first PDU session activated by the UE in the VN group on the first UPF.

这样,所述VN组内的第二UPF可记载有包括所述可用地址段的地址段信息的数据包处理规则;可选地,数据包处理规则包括包检测规则(Packet Detection Rules,PDR)以及转发行为规则(Forwarding Action Rules,FAR)中的至少一种。Like this, the second UPF in the described VN group can record the data packet processing rule that comprises the address field information of the available address segment; Optionally, the data packet processing rule includes packet detection rules (Packet Detection Rules, PDR) and At least one of Forwarding Action Rules (FAR).

其中,VN组内可以包括多个UPF,第一UPF是为第一UE(后续简称为UE1)服务的锚点UPF(后续简称为UPF1);对于每个UPF,建立可用地址段对应的首次PDU会话(即所述VN组内的任一UE首次在该UPF上激活并建立的PDU会话)时,SMF为该VN组分配与该UPF对应的可用地址段,并根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则,在数据包处理规则中携带所述可用地址段的地址段信息;并向该VN组内其他UPF发送组级N4会话请求,以发起组级N4会话更新过程,在组级N4会话请求中携带所述数据包处理规则。Among them, the VN group may include multiple UPFs, and the first UPF is the anchor UPF (hereinafter referred to as UPF1) serving the first UE (hereinafter referred to as UE1); for each UPF, the first PDU corresponding to the available address segment is established session (that is, any UE in the VN group activates and establishes a PDU session on the UPF for the first time), the SMF allocates an available address segment corresponding to the UPF for the VN group, and according to the available address segment, for The group-level N4 session of the VN group creates the packet processing rule, and carries the address segment information of the available address segment in the packet processing rule; and sends a group-level N4 session request to other UPFs in the VN group to A group-level N4 session update process is initiated, and the data packet processing rule is carried in the group-level N4 session request.

这样,后续该VN组内再次出现UE的服务锚点在该UPF上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,其他UPF由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程;也就是说,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程;后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In this way, when a PDU session establishment request with the service anchor point of the UE on the UPF appears again in the VN group, the SMF allocates an IP address to the UE according to the available address segment, and other UPFs have obtained the IP address from the group-level N4 session request. Packet processing rules, SMF does not need to initiate the group-level N4 session update process; that is, for UPFs in the VN group, only when the first PDU session corresponding to the available address segment is established, SMF initiates group-level N4 sessions to other UPFs Update process: when the PDU session is established again later, the SMF does not need to initiate the group-level N4 session update process, so as to reduce the interaction between the control plane and the user plane message.

步骤102,根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。Step 102: Allocate an Internet Protocol IP address to the first UE according to the available address segment, and establish a PDU session of the first UE.

其中,SMF确定UE1的锚点UPF为UPF1,则根据所述可用地址段为UE1分配IP地址,同时不向组内其他UPF发起组级N4会话更新过程,继续建立UE1的PDU会话。Wherein, the SMF determines that the anchor UPF of UE1 is UPF1, then allocates an IP address for UE1 according to the available address segment, and does not initiate a group-level N4 session update process to other UPFs in the group, and continues to establish the PDU session of UE1.

作为第一示例,以UPF1为例,第二UE(后续简称为UE2)在该UPF上建立可用地址段对应的首次PDU会话;SMF为VN组分配可用地址段,并根据地址段信息创建数据包处理规则,将数据包处理规则携带在组级N4会话请求中,将组级N4会话请求发送至该VN组内的其他UPF(即UPF2)。后续,UE1请求建立PDU会话,且UE1的锚点UPF为UPF1,则SMF根据可用地址段为UE1分配IP地址,不再向UPF2发送组级N4会话请求,该过程参见图2,主要包括以下步骤:As a first example, taking UPF1 as an example, the second UE (hereinafter referred to as UE2) establishes the first PDU session corresponding to the available address segment on the UPF; the SMF allocates the available address segment for the VN group, and creates a data packet according to the address segment information The processing rule carries the data packet processing rule in the group-level N4 session request, and sends the group-level N4 session request to other UPFs in the VN group (ie, UPF2). Subsequently, UE1 requests to establish a PDU session, and the anchor UPF of UE1 is UPF1, then SMF assigns an IP address to UE1 according to the available address segment, and no longer sends a group-level N4 session request to UPF2. See Figure 2 for the process, which mainly includes the following steps :

第1步,SMF确定为UE1分配的IP地址(IP allocated)。In the first step, the SMF determines the IP address (IP allocated) allocated to UE1.

SMF收到UE1的PDU会话建立请求,选择UPF1作为PDU会话的锚点UPF,且SMF已为UE1所属的VN组分配地址段A,则从地址段A中为UE1分配IP地址。SMF receives UE1's PDU session establishment request, selects UPF1 as the anchor UPF of the PDU session, and SMF has allocated address segment A to the VN group to which UE1 belongs, then allocates an IP address for UE1 from address segment A.

第2步,SMF向UPF1发送N4会话建立请求(N4 Session Establishment Request)。Step 2, SMF sends N4 session establishment request (N4 Session Establishment Request) to UPF1.

第3步,UPF1返回N4会话建立响应(N4 Session Establishment Response)Step 3, UPF1 returns N4 Session Establishment Response (N4 Session Establishment Response)

第4步,后续PDU会话建立过程(Subsequent PDU Session EstablishmentProcedure)。Step 4, Subsequent PDU Session Establishment Procedure (Subsequent PDU Session Establishment Procedure).

SMF判断为VN组分配的地址段为非首次分配IP地址,不再向UPF2发送组级N4会话更新请求,继续后续PDU会话建立过程。The SMF judges that the address segment assigned to the VN group is not the first assigned IP address, and no longer sends a group-level N4 session update request to UPF2, and continues the subsequent PDU session establishment process.

本申请实施例中,接收第一UE的PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段;根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。本申请实施例解决了PDU会话处理过程中,控制面与用户面信息交互频繁的问题。In the embodiment of the present application, the PDU session establishment request of the first UE is received, and the available address segment of the virtual network VN group to which the first UE belongs is determined; according to the available address segment, an Internet Protocol IP address is allocated to the first UE, and an IP address is established. The PDU session of the first UE; since the SMF sends a group-level N4 session request including data packet processing rules to the second UPF in the VN group when establishing the first PDU session corresponding to the available address segment, for the UPF in the VN group Only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs. When the subsequent PDU session is established again, the SMF does not need to initiate the group-level N4 session update process. Interaction of user plane messages. The embodiment of the present application solves the problem of frequent information interaction between the control plane and the user plane during the process of PDU session processing.

可选地,所述根据所述可用地址段,为所述第一UE分配互联网协议IP地址,包括:Optionally, the allocating an Internet Protocol IP address to the first UE according to the available address segment includes:

当所述可用地址段中存在可用IP地址时,直接从所述可用地址段中为所述第一UE分配IP地址;同时不向组内其他UPF发起组级N4会话更新过程,继续建立UE1的PDU会话;When there is an available IP address in the available address section, directly assign an IP address to the first UE from the available address section; at the same time, do not initiate a group-level N4 session update process to other UPFs in the group, and continue to establish UE1 PDU session;

当所述可用地址段中不存在可用IP地址时,重新为所述第一UE所属的VN组分配新的可用地址段(或选择新的可用地址段),并从新的可用地址段中为所述第一UE分配IP地址;可选地,可用地址段可以存在多个,当已经与第一UPF关联的可用地址段中不存在可以分配的IP地址时,重新为VN组确定新的可用地址段。When there is no available IP address in the available address segment, re-allocate a new available address segment (or select a new available address segment) for the VN group to which the first UE belongs, and assign all IP addresses from the new available address segment The above-mentioned first UE assigns an IP address; optionally, there may be multiple available address segments, and when there is no IP address that can be allocated in the available address segment associated with the first UPF, a new available address is determined for the VN group part.

在一个可选实施例中,所述接收第一用户设备UE的协议数据单元PDU会话建立请求之前,所述方法包括步骤11至步骤13:In an optional embodiment, before receiving the protocol data unit PDU session establishment request of the first user equipment UE, the method includes steps 11 to 13:

步骤11,在所述VN组内的任一UE首次在所述第一UPF上激活时,确定所述VN组的可用地址段。Step 11, when any UE in the VN group activates on the first UPF for the first time, determine the available address segment of the VN group.

其中,UE2为在UPF1上建立可用地址段对应的首次PDU会话的UE,SMF接收到UE2的PDU会话建立请求时,确定该VN组可用的可用地址段,并确定UE2所获得的IP地址。Among them, UE2 is the UE that establishes the first PDU session corresponding to the available address segment on UPF1. When the SMF receives the PDU session establishment request of UE2, it determines the available address segment available for the VN group and determines the IP address obtained by UE2.

步骤12,根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则。Step 12: Create the data packet processing rule for the group-level N4 session of the VN group according to the available address segment.

SMF为VN组分配可用地址段,并根据地址段信息创建数据包处理规则。SMF allocates available address segments for VN groups, and creates data packet processing rules based on address segment information.

步骤13,向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则;所述第二UPF为所述VN组内除所述第一UPF之外的UPF。Step 13, sending a first group-level N4 session request to the second UPF, carrying the data packet processing rule in the first group-level N4 session request; A UPF other than UPF.

SMF将数据包处理规则携带在组级N4会话请求中,将组级N4会话请求发送至该VN组内的其他UPF;后续再次建立UE的锚点UPF为UPF1的PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。The SMF carries the data packet processing rules in the group-level N4 session request, and sends the group-level N4 session request to other UPFs in the VN group; when the PDU session with the UE's anchor UPF as UPF1 is established again later, the SMF does not need to initiate Group-level N4 session update process to reduce interaction between control plane and user plane messages.

作为第二示例,结合图3,首次建立UE的锚点UPF为UPF1的PDU会话过程主要包括以下步骤:As a second example, in conjunction with FIG. 3 , the process of first establishing a PDU session in which the anchor UPF of the UE is UPF1 mainly includes the following steps:

第1步,SMF确定为UE1分配的IP地址(IP allocated)。In the first step, the SMF determines the IP address (IP allocated) allocated to UE1.

SMF收到UE1的PDU会话建立请求,选择UPF1作为服务的锚点UPF,为UE1所属的5GVN组分配可用地址段A,并从地址段A中为UE1分配IP地址。SMF receives UE1's PDU session establishment request, selects UPF1 as the anchor UPF of the service, allocates an available address segment A for the 5GVN group to which UE1 belongs, and assigns an IP address to UE1 from address segment A.

第2步,SMF向UPF1发送N4会话建立请求(N4 Session Establishment Request)。Step 2, SMF sends N4 session establishment request (N4 Session Establishment Request) to UPF1.

第3步,UPF1返回N4会话建立响应(N4 Session Establishment Response)Step 3, UPF1 returns N4 Session Establishment Response (N4 Session Establishment Response)

第4步,SMF向UPF2发送组级N4会话修改请求,其中包括PDR,PDR内包括可用地址段的地址段信息【N4 Session Modification Request(IP segment within PDR)】。Step 4: SMF sends a group-level N4 session modification request to UPF2, including PDR, which includes address segment information [N4 Session Modification Request (IP segment within PDR)] of the available address segment.

SMF判断UPF2也服务于该VN组,且UPF1和UPF2之间已经建立N19转发隧道,则SMF向UPF2发送组级N4会话修改请求,为组级N4会话下发包含地址段A信息的数据包处理规则,数据包处理规则包括包过滤规则和转发行为规则;示意性的,包过滤规则如以下表1所示:SMF judges that UPF2 also serves the VN group, and an N19 forwarding tunnel has been established between UPF1 and UPF2, then SMF sends a group-level N4 session modification request to UPF2, and sends a packet containing address segment A information for the group-level N4 session Rules, data packet processing rules include packet filtering rules and forwarding behavior rules; schematically, packet filtering rules are shown in Table 1 below:

表1:Table 1:

Figure BDA0003334087350000131
Figure BDA0003334087350000131

第5步,UPF2返回组级N4会话修改响应(N4 Session Modification Response)。In step 5, UPF2 returns a group-level N4 session modification response (N4 Session Modification Response).

第6步,后续PDU会话建立过程(Subsequent PDU Session EstablishmentProcedure)。Step 6, Subsequent PDU Session Establishment Procedure (Subsequent PDU Session Establishment Procedure).

后续再次建立服务锚点为UPF1的PDU会话时,SMF判断已为VN组分配地址段,不再向UPF2发送组级N4会话更新请求,过程可参考前述第一示例,在此不再赘述。When the PDU session with UPF1 as the service anchor is established again later, the SMF judges that the address segment has been allocated to the VN group, and no longer sends a group-level N4 session update request to UPF2. The process can refer to the first example above, and will not be repeated here.

在一个可选实施例中,步骤11中,所述确定所述VN组的可用地址段,包括步骤111、步骤112或步骤113:In an optional embodiment, in step 11, the determining the available address segment of the VN group includes step 111, step 112 or step 113:

步骤111,为所述VN组分配可用地址段。Step 111, allocate an available address segment for the VN group.

其中,为VN组分配可用地址段以及为所述第二UE分配IP地址可由SMF执行,具体过程参见前述第一示例和第二示例,在此不再赘述。Wherein, allocating an available address segment for the VN group and allocating an IP address for the second UE may be performed by the SMF. For specific processes, refer to the aforementioned first example and second example, and details will not be repeated here.

步骤112,接收所述第一UPF发送的第一N4会话建立响应,获取所述第一N4会话建立响应中携带的所述VN组的可用地址段;Step 112, receiving the first N4 session establishment response sent by the first UPF, and obtaining the available address segment of the VN group carried in the first N4 session establishment response;

在PDU会话建立的过程中,为VN组分配可用地址段还可由UPF执行,SMF接收第一UPF发送的N4会话建立响应,获取所述N4会话建立响应中携带为所述VN组分配的所述VN组的可用地址段。In the process of establishing a PDU session, the allocation of available address segments for the VN group can also be performed by the UPF. The SMF receives the N4 session establishment response sent by the first UPF, and obtains the N4 session establishment response carrying the address segment allocated for the VN group. The available address segment of the VN group.

步骤113,获取所述第一UPF发送的N4关联建立请求或N4关联建立响应,从所述N4关联建立请求或N4关联建立响应中,获取所述VN组的可用地址段。Step 113, obtain the N4 association establishment request or N4 association establishment response sent by the first UPF, and obtain the available address segment of the VN group from the N4 association establishment request or N4 association establishment response.

此外,在PDU会话建立之前,为VN组服务的每个UPF均可为VN组分配可用地址段;则在建立SMF与第一UPF节点级关联时,可获取第一UPF发送的N4关联建立请求或N4关联建立响应,从中获取可用地址段。In addition, before the PDU session is established, each UPF serving the VN group can allocate an available address segment for the VN group; then when establishing the node-level association between the SMF and the first UPF, the N4 association establishment request sent by the first UPF can be obtained Or N4 association establishment response, from which the available address segment is obtained.

其中,作为第三示例,参见图4,若SMF向UPF发送N4关联建立请求(N4 AssociationSetup Request),则UPF将为VN组分配的可用地址段信息(例如地址段的范围,如起始地址和结束地址,或起始地址和子网掩码)携带在N4关联建立响应(N4 Association SetupResponse)中,发送给SMF。Wherein, as a third example, referring to Fig. 4, if SMF sends N4 association establishment request (N4 AssociationSetup Request) to UPF, then UPF will be the available address segment information (such as the scope of address segment, such as starting address and The end address, or the start address and subnet mask) are carried in the N4 Association Setup Response (N4 Association SetupResponse) and sent to the SMF.

参见图5,若UPF(以UPF1为例)向SMF发送N4关联建立请求(N4Association SetupRequest),则UPF1将为VN组分配的可用地址段信息(例如地址段的范围,如起始地址和结束地址,或起始地址和子网掩码)携带在N4关联建立请求中,发送给SMF。Referring to Figure 5, if UPF (taking UPF1 as an example) sends an N4 Association Setup Request (N4Association SetupRequest) to SMF, UPF1 will allocate available address segment information for the VN group (such as the range of the address segment, such as the start address and end address , or the start address and subnet mask) are carried in the N4 association establishment request and sent to the SMF.

进一步地,步骤112,在所述接收所述第一UPF发送的第一N4会话建立响应之前,所述方法包括:Further, in step 112, before receiving the first N4 session establishment response sent by the first UPF, the method includes:

向所述第一UPF发送第一N4会话建立请求,所述第一N4会话建立请求指示所述第一UPF为所述VN组分配可用地址段。Sending a first N4 session establishment request to the first UPF, where the first N4 session establishment request instructs the first UPF to allocate an available address segment for the VN group.

在UPF1执行IP地址分配操作之前,SMF首先向所述第一UPF发送N4会话建立请求,请求UPF1为第二UE所属VN组分配可用地址段,并为所述第二UE分配IP地址;作为第四示例,结合图6,在UPF1建立可用地址段对应的首次PDU会话过程,且由UPF1执行IP地址分配操作的过程,主要包括以下步骤:Before UPF1 performs the IP address allocation operation, the SMF first sends an N4 session establishment request to the first UPF, requesting UPF1 to allocate an available address segment for the VN group to which the second UE belongs, and to allocate an IP address for the second UE; as the first Four examples, in conjunction with Figure 6, the first PDU session process corresponding to the available address segment is established at UPF1, and the process of performing the IP address allocation operation by UPF1 mainly includes the following steps:

第1步,SMF向UPF1发送N4会话建立请求(N4 Session Establishment Request)。Step 1, SMF sends N4 session establishment request (N4 Session Establishment Request) to UPF1.

SMF收到UE1的PDU会话建立请求,向UPF1发送N4会话建立请求,并请求UPF1为UE1分配IP地址,并为UE1所属的VN组分配可用地址段。SMF receives UE1's PDU session establishment request, sends N4 session establishment request to UPF1, and requests UPF1 to allocate an IP address for UE1, and allocate an available address segment for the VN group to which UE1 belongs.

第2步,UPF1返回N4会话建立响应(N4 Session Establishment Response)。Step 2, UPF1 returns N4 Session Establishment Response (N4 Session Establishment Response).

UPF1返回N4会话建立响应,携带为UE1分配的IP地址,以及为UE1所属的VN组分配的地址段A的信息。UPF1 returns a session establishment response to N4, carrying the IP address allocated for UE1 and the address segment A allocated for the VN group to which UE1 belongs.

第3步,SMF存储UPF1上的地址段A与VN组的关联关系(store Segment A toUPF1),以及地址段A的地址分配情况。Step 3: SMF stores the relationship between address segment A on UPF1 and the VN group (store Segment A to UPF1), and the address allocation of address segment A.

第4步,SMF向UPF发送组级N4会话修改请求,其中包括PDR,PDR内包括可用地址段的地址段信息【N4 Session Modification Request(IP segment within PDR)】。Step 4: SMF sends a group-level N4 session modification request to UPF, including PDR, which includes address segment information [N4 Session Modification Request (IP segment within PDR)] of available address segments.

SMF判断UPF2也服务于该VN组,且UPF1和UPF2之间已经建立N19转发隧道,则SMF向UPF2发送组级N4会话修改请求,为组级N4会话下发包含地址段A信息的数据包处理规则,数据包处理规则包括包过滤规则和转发行为规则;示意性的,包过滤规则如以下表2所示:SMF judges that UPF2 also serves the VN group, and an N19 forwarding tunnel has been established between UPF1 and UPF2, then SMF sends a group-level N4 session modification request to UPF2, and sends a packet containing address segment A information for the group-level N4 session Rules, data packet processing rules include packet filtering rules and forwarding behavior rules; schematically, packet filtering rules are shown in Table 2 below:

表2:Table 2:

Figure BDA0003334087350000151
Figure BDA0003334087350000151

Figure BDA0003334087350000161
Figure BDA0003334087350000161

第5步,UPF2返回组级N4会话修改响应(N4 Session Modification Response)。In step 5, UPF2 returns a group-level N4 session modification response (N4 Session Modification Response).

第6步,后续PDU会话建立过程(Subsequent PDU Session EstablishmentProcedure)。Step 6, Subsequent PDU Session Establishment Procedure (Subsequent PDU Session Establishment Procedure).

作为第五示例,后续再次建立锚点UPF为UPF1上的PDU会话过程如图7所示,主要包括以下步骤:As a fifth example, the subsequent re-establishment of the anchor point UPF as the PDU session process on UPF1 is shown in Figure 7, which mainly includes the following steps:

第1步,SMF向UPF1发送N4会话建立请求(N4 Session Establishment Request)。Step 1, SMF sends N4 session establishment request (N4 Session Establishment Request) to UPF1.

SMF收到UE1的PDU会话建立请求,向UPF1发送N4会话建立请求,并请求UPF1为UE1分配IP地址,并为UE1所属的VN组分配可用地址段。SMF receives UE1's PDU session establishment request, sends N4 session establishment request to UPF1, and requests UPF1 to allocate an IP address for UE1, and allocate an available address segment for the VN group to which UE1 belongs.

第2步,UPF1返回N4会话建立响应(N4 Session Establishment Response)。Step 2, UPF1 returns N4 Session Establishment Response (N4 Session Establishment Response).

UPF1返回N4会话建立响应,携带为UE1分配的IP地址,以及为UE1所属的VN组分配的地址段A的信息。UPF1 returns a session establishment response to N4, carrying the IP address allocated for UE1 and the address segment A allocated for the VN group to which UE1 belongs.

第3步,SMF存储UPF1上的地址段A与VN组的关联关系(store Segment A toUPF1),以及地址段A的地址分配情况。Step 3: SMF stores the relationship between address segment A on UPF1 and the VN group (store Segment A to UPF1), and the address allocation of address segment A.

第4步,后续PDU会话建立过程(Subsequent PDU Session EstablishmentProcedure)。Step 4, Subsequent PDU Session Establishment Procedure (Subsequent PDU Session Establishment Procedure).

SMF判断为VN组分配的地址段为非首次分配IP地址,不再向UPF2发送组级N4会话更新请求,继续后续PDU会话建立过程。The SMF judges that the address segment assigned to the VN group is not the first assigned IP address, and no longer sends a group-level N4 session update request to UPF2, and continues the subsequent PDU session establishment process.

在一个可选实施例中,所述组级N4会话请求包括N4会话修改请求;In an optional embodiment, the group-level N4 session request includes an N4 session modification request;

所述步骤13,包括步骤131或步骤132:Said step 13 includes step 131 or step 132:

步骤131,在所述第一UPF与第二UPF之间已建立N19隧道的情况下,向所述第二UPF发送N4会话修改请求。Step 131: In the case that the N19 tunnel has been established between the first UPF and the second UPF, send an N4 session modification request to the second UPF.

在UPF2与UPF1已建立N19隧道的情况下,SMF直接向UPF1发送N4会话修改请求即可,如前述第一示例至第四示例。In the case that UPF2 and UPF1 have established an N19 tunnel, it is sufficient for the SMF to directly send an N4 session modification request to UPF1, as in the foregoing first to fourth examples.

步骤132,在所述第一UPF与第二UPF之间未建立N19隧道的情况下,向所述第一UPF发送第二组级N4会话建立请求,在所述第二组级N4会话建立请求中携带所述第二UPF的N19隧道信息,在建立过程中可以一次性将所有UPF2的地址段相关的Filter下发给UPF1,即根据所述N19隧道信息以及所述可用地址段为所述VN组的组级N4会话创建所述数据包处理规则;向第二UPF发送第一组级N4会话请求;Step 132, when the N19 tunnel is not established between the first UPF and the second UPF, send a second group-level N4 session establishment request to the first UPF, and in the second group-level N4 session establishment request Carry the N19 tunnel information of the second UPF, during the establishment process, all the filters related to the address segment of UPF2 can be sent to UPF1 at one time, that is, according to the N19 tunnel information and the available address segment for the VN The group-level N4 session of the group creates the packet processing rule; sends the first group-level N4 session request to the second UPF;

作为第六示例,结合图8,在UPF2与UPF1未建立N19隧道的情况下,首次建立锚点UPF为UPF1的PDU会话过程,且由SMF执行IP地址分配操作的过程,主要包括以下步骤:As a sixth example, in conjunction with FIG. 8 , in the case that UPF2 and UPF1 have not established an N19 tunnel, the first establishment of the anchor UPF is the PDU session process of UPF1, and the process of performing the IP address allocation operation by the SMF mainly includes the following steps:

第1步,SMF确定为UE1分配的IP地址(IP allocated)。In the first step, the SMF determines the IP address (IP allocated) allocated to UE1.

SMF收到UE1的PDU会话建立请求,选择UPF1作为PDU会话的锚点UPF,为UE1所属的5G VN组分配可用地址段A,并从地址段A中为UE1分配IP地址。SMF receives UE1's PDU session establishment request, selects UPF1 as the anchor UPF of the PDU session, allocates available address segment A for the 5G VN group to which UE1 belongs, and allocates an IP address for UE1 from address segment A.

第2步,SMF向UPF1发送N4会话建立请求【N4 Session Establishment Request(UPF1 N19 tunnel info,IP Segment List)】。Step 2, SMF sends N4 session establishment request [N4 Session Establishment Request(UPF1 N19 tunnel info, IP Segment List)] to UPF1.

SMF判断UPF2也服务于该VN组,且UPF1尚未建立和UPF2之间N19转发隧道。SMF向UPF1发送组级N4会话建立请求,携带UPF2的N19隧道信息(UPF2 N19 tunnel info),并且根据本地查询到的UPF2上为VN组分配的全部可用地址段信息(IP Segment List),为组级N4会话下发包含全部可用地址段信息的数据包处理规则,数据包处理规则包括包过滤规则和转发行为规则;示意性的,包过滤规则如以下表3所示:SMF judges that UPF2 also serves the VN group, and UPF1 has not yet established an N19 forwarding tunnel with UPF2. The SMF sends a group-level N4 session establishment request to UPF1, carrying the N19 tunnel information of UPF2 (UPF2 N19 tunnel info), and according to the locally queried information about all available address segments (IP Segment List) allocated for the VN group on UPF2, the group The level N4 session sends data packet processing rules containing all available address segment information, and the data packet processing rules include packet filtering rules and forwarding behavior rules; schematically, the packet filtering rules are shown in Table 3 below:

表3:table 3:

Figure BDA0003334087350000171
Figure BDA0003334087350000171

第3步,UPF1返回N4会话建立响应(N4 Session Establishment Response)Step 3, UPF1 returns N4 Session Establishment Response (N4 Session Establishment Response)

第4步,SMF向UPF2组级N4会话修改请求,其中包括PDR,PDR内包括可用地址段的地址段信息【N4 Session Modification Request(IP segment within PDR)】。Step 4: SMF sends a UPF2 group-level N4 session modification request, including PDR, which includes address segment information [N4 Session Modification Request (IP segment within PDR)] of available address segments.

SMF判断UPF2也服务于该VN组,则SMF向UPF2发送组级N4会话修改请求。The SMF judges that UPF2 also serves the VN group, and then the SMF sends a group-level N4 session modification request to UPF2.

第5步,UPF2返回N4会话修改响应(N4 Session Modification Response)。Step 5, UPF2 returns N4 Session Modification Response (N4 Session Modification Response).

第6步,后续PDU会话建立过程(Subsequent PDU Session EstablishmentProcedure)。Step 6, Subsequent PDU Session Establishment Procedure (Subsequent PDU Session Establishment Procedure).

后续再次建立锚点在UPF1上的PDU会话时,SMF判断已为VN组分配地址段,不再向UPF2发送组级N4会话更新请求,过程可参考前述第一示例,在此不再赘述。When the PDU session with the anchor point on UPF1 is established again later, the SMF judges that the address segment has been allocated for the VN group, and no longer sends a group-level N4 session update request to UPF2. The process can refer to the first example above, and will not be repeated here.

在一个可选实施例中,所述向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则之后,包括:In an optional embodiment, the sending the first group-level N4 session request to the second UPF, after carrying the data packet processing rule in the first group-level N4 session request, includes:

接收到所述VN组内的第三UE的PDU会话释放请求,确定所述第三UE的IP地址为所述可用地址段内最后被释放的地址的情况下,释放所述可用地址段,并向所述第二UPF发送组级N4会话修改请求;所述组级N4会话修改请求指示所述第二UPF删除所述数据包处理规则。receiving the PDU session release request of the third UE in the VN group, and determining that the IP address of the third UE is the last released address in the available address segment, releasing the available address segment, and Sending a group-level N4 session modification request to the second UPF; the group-level N4 session modification request instructs the second UPF to delete the data packet processing rule.

其中,第三UE(UE3)为所述VN组内的UE,且第三UE的PDU会话锚点UPF为UPF1,UE3可以包括UE1或UE2,也可以不包括;确定所述第三UE的IP地址为所述可用地址段内最后被释放的地址的情况下,释放所述可用地址段,并向所述第二UPF发送组级N4会话修改请求,所述组级N4会话修改请求指示所述第二UPF删除包括所述地址段信息的数据包处理规则,即当UE3的IP地址为最后被释放的地址时,才释放所述可用地址段,作为第七示例,如图9所示,PDU会话释放,且地址段释放的过程主要包括:Wherein, the third UE (UE3) is a UE in the VN group, and the PDU session anchor UPF of the third UE is UPF1, UE3 may include UE1 or UE2, or may not include; determine the IP of the third UE When the address is the last released address in the available address segment, release the available address segment, and send a group-level N4 session modification request to the second UPF, and the group-level N4 session modification request indicates the The second UPF deletes the data packet processing rule including the address segment information, that is, when the IP address of UE3 is the last released address, the available address segment is released. As a seventh example, as shown in FIG. 9, the PDU The process of session release and address segment release mainly includes:

第1步,SMF收到UE1的PDU会话释放请求,向UPF1发送N4会话释放请求(N4 SessionRelease Request)。Step 1, SMF receives UE1's PDU session release request, and sends N4 session release request (N4 SessionRelease Request) to UPF1.

第2步,UPF1返回N4会话释放响应(N4 Session Release Response)。Step 2, UPF1 returns N4 Session Release Response (N4 Session Release Response).

第3步,SMF判断UE1的IP是地址段A内最后一个被释放的地址,则地址段A也被释放(IP SegmentA Recycle)。Step 3, SMF judges that the IP of UE1 is the last released address in address segment A, then address segment A is also released (IP SegmentA Recycle).

第4步,SMF向UPF2发送组级N4会话修改请求(N4 Session ModificationRequest),删除包含地址段A信息的数据包处理规则。In step 4, SMF sends a group-level N4 session modification request (N4 Session ModificationRequest) to UPF2, and deletes the data packet processing rule containing address segment A information.

第5步,UPF2返回组级N4会话修改响应(N4 Session Modification Response)。In step 5, UPF2 returns a group-level N4 session modification response (N4 Session Modification Response).

第6步,继续后续PDU会话释放过程(Subsequent PDU Session ReleaseProcedure)。Step 6, continue the subsequent PDU session release procedure (Subsequent PDU Session Release Procedure).

可以理解的是,若UE3的IP地址不是最后被释放的地址时,则仅释放UE3的IP地址,而不释放地址段;如图10所示,PDU会话释放,且地址段不释放的过程主要包括:It can be understood that if the IP address of UE3 is not the last released address, only the IP address of UE3 will be released, and the address segment will not be released; as shown in Figure 10, the process of releasing the PDU session and not releasing the address segment is mainly include:

第1步,SMF收到UE1的PDU会话释放请求,向UPF1发送N4会话释放请求(N4 SessionRelease Request)。Step 1, SMF receives UE1's PDU session release request, and sends N4 session release request (N4 SessionRelease Request) to UPF1.

第2步,UPF1返回N4会话释放响应(N4 Session Release Response)。Step 2, UPF1 returns N4 Session Release Response (N4 Session Release Response).

第3步,SMF判断UE1的IP不是地址段A内最后一个被释放的地址,则仍被VN组占用(IP SegmentA Occupied),SMF不需要向UPF2发送组级N4会话修改请求。In step 3, SMF judges that the IP of UE1 is not the last released address in address segment A, so it is still occupied by the VN group (IP SegmentA Occupied), and SMF does not need to send a group-level N4 session modification request to UPF2.

第4步,继续后续PDU会话释放过程(Subsequent PDU Session ReleaseProcedure)。Step 4, continue the subsequent PDU session release procedure (Subsequent PDU Session Release Procedure).

本申请实施例中,接收第一UE的PDU会话建立请求,确定第一UE所属虚拟网络VN组的互联网协议可用地址段;根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In the embodiment of the present application, the PDU session establishment request of the first UE is received, and the Internet Protocol available address segment of the virtual network VN group to which the first UE belongs is determined; according to the available address segment, an Internet Protocol IP address is assigned to the first UE , establish the PDU session of the first UE; since the SMF sends a group-level N4 session request including data packet processing rules to the second UPF in the VN group when establishing the first PDU session corresponding to the available address segment, for the VN group Only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs. When the subsequent PDU session is established again, the SMF does not need to initiate the group-level N4 session update process to achieve reduced control Message interaction between user plane and user plane.

参见图11,本申请实施例还提供一种PDU会话处理方法,应用于第一用户面功能网元UPF,所述方法包括:Referring to FIG. 11 , the embodiment of the present application also provides a method for processing a PDU session, which is applied to the first user plane functional network element UPF, and the method includes:

步骤1101,接收会话管理功能网元SMF的第二N4会话建立请求;Step 1101, receiving a second N4 session establishment request from a session management function network element SMF;

其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the VN group to which the first UE belongs and the first UPF;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。可以理解的是,VN组内的任一UE首次在所述第一UPF上激活时,第一UPF关联的可用地址段内的IP地址首次被分配,例如该可用地址段的地址段信息不存在(不存在SMF本地);或该可用地址段的地址段信息存在(存在SMF本地),但该段内的IP地址未被分配给VN组内的任一UE的情况。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time. It can be understood that when any UE in the VN group is activated on the first UPF for the first time, the IP address in the available address segment associated with the first UPF is allocated for the first time, for example, the address segment information of the available address segment does not exist (SMF local does not exist); or the address segment information of the available address segment exists (SMF local exists), but the IP address in this segment is not allocated to any UE in the VN group.

若该段内的IP地址已有被分配的情况,则对应的PDU会话不是VN组内的UE首次在所述第一UPF上激活的PDU会话。If the IP address in the segment has already been allocated, the corresponding PDU session is not the first PDU session activated by the UE in the VN group on the first UPF.

可选地,数据包处理规则包括包检测规则(Packet Detection Rules,PDR)以及转发行为规则(Forwarding Action Rules,FAR)中的至少一种。Optionally, the data packet processing rules include at least one of packet detection rules (Packet Detection Rules, PDR) and forwarding action rules (Forwarding Action Rules, FAR).

这样,所述数据包处理规则可由第二UPF(后续简称为UPF2)获取自组级N4会话请求,所述组级N4会话请求为所述SMF在所述VN组内的任一UE首次在所述第一UPF上激活时发送的;第一UPF(后续简称为UPF1)为第一UE(后续简称为UE1)的PDU会话的锚点UPF;其中,VN组内可以包括多个UPF,对于每个UPF,在该UPF上并建立可用地址段对应的首次PDU会话时,SMF为该VN组分配与该UPF对应的可用地址段,并根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则,在数据包处理规则中携带所述可用地址段的地址段信息;并向该VN组内其他UPF发送组级N4会话请求,以发起组级N4会话更新过程,在组级N4会话请求中携带所述数据包处理规则。In this way, the data packet processing rule can be obtained by the second UPF (hereinafter referred to as UPF2) from the group-level N4 session request, and the group-level N4 session request is the first time any UE in the VN group with the SMF The first UPF (hereinafter referred to as UPF1) is the anchor UPF of the PDU session of the first UE (hereinafter referred to as UE1); where multiple UPFs can be included in the VN group, for each When the first PDU session corresponding to the available address segment is established on the UPF, the SMF allocates the available address segment corresponding to the UPF for the VN group, and according to the available address segment, the group-level The N4 session creates the data packet processing rule, carries the address segment information of the available address segment in the data packet processing rule; and sends a group-level N4 session request to other UPFs in the VN group to initiate a group-level N4 session update process , carrying the data packet processing rule in the group-level N4 session request.

这样,后续该VN组内再次出现UE的服务锚点在该UPF上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,其他UPF由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程;也就是说,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程;后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In this way, when a PDU session establishment request with the service anchor point of the UE on the UPF appears again in the VN group, the SMF allocates an IP address to the UE according to the available address segment, and other UPFs have obtained the IP address from the group-level N4 session request. Packet processing rules, SMF does not need to initiate the group-level N4 session update process; that is, for UPFs in the VN group, only when the first PDU session corresponding to the available address segment is established, SMF initiates group-level N4 sessions to other UPFs Update process: when the PDU session is established again later, the SMF does not need to initiate the group-level N4 session update process, so as to reduce the interaction between the control plane and the user plane message.

可选地,所述接收会话管理功能网元SMF的第二N4会话建立请求之前,所述方法还包括情况一和/或情况二;Optionally, before receiving the second N4 session establishment request from the session management function network element SMF, the method further includes case 1 and/or case 2;

情况一,接收所述SMF的第一N4会话建立请求,所述第一N4会话建立请求指示第一UPF为所述VN组分配可用地址段;向所述SMF发送第一N4会话建立响应,在所述第一N4会话建立响应中携带为所述VN组分配的可用地址段;Case 1: receiving the first N4 session establishment request of the SMF, the first N4 session establishment request instructing the first UPF to allocate an available address segment for the VN group; sending the first N4 session establishment response to the SMF, and in The first N4 session establishment response carries an available address segment allocated for the VN group;

也即在UPF1执行IP地址分配操作之前,SMF首先向所述第一UPF发送第一N4会话建立请求,请求UPF1为第一UE所属VN组分配可用地址段。That is, before UPF1 performs an IP address allocation operation, the SMF first sends a first N4 session establishment request to the first UPF, requesting UPF1 to allocate an available address segment for the VN group to which the first UE belongs.

情况二,向所述SMF发送N4关联建立请求或N4关联建立响应;在所述N4关联建立请求或N4关联建立响应中,携带为所述VN组分配的可用地址段。Case 2: Send an N4 association establishment request or an N4 association establishment response to the SMF; the N4 association establishment request or N4 association establishment response carries the available address segment allocated for the VN group.

参见前述第三示例,若SMF向发送N4关联建立请求(N4 Association SetupRequest),则UPF将为VN组分配的可用地址段信息(例如地址段的范围,如起始地址和结束地址,或起始地址和子网掩码)携带在N4关联建立响应(N4 Association Setup Response)中,发送给SMF。Referring to the third example above, if the SMF sends an N4 Association Setup Request (N4 Association SetupRequest), the UPF will assign the available address segment information for the VN group (such as the range of the address segment, such as the start address and end address, or the start Address and subnet mask) are carried in the N4 Association Setup Response (N4 Association Setup Response) and sent to the SMF.

若UPF(以UPF1为例)向SMF发送N4关联建立请求(N4 Association SetupRequest),则UPF1将为VN组分配的可用地址段信息(例如地址段的范围,如起始地址和结束地址,或起始地址和子网掩码)携带在N4关联建立请求中,发送给SMF。If UPF (take UPF1 as an example) sends an N4 Association Setup Request (N4 Association SetupRequest) to SMF, then UPF1 will assign information about the available address segment for the VN group (such as the range of the address segment, such as the start address and end address, or the origin address and subnet mask) are carried in the N4 association establishment request and sent to the SMF.

本申请实施例中,接收会话管理功能网元SMF的第一N4会话建立请求;其中,所述N4会话建立请求为所述SMF确定第一UE所属VN组的可用地址段后发送的;其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In the embodiment of the present application, the first N4 session establishment request of the session management function network element SMF is received; wherein, the N4 session establishment request is sent after the SMF determines the available address segment of the VN group to which the first UE belongs; wherein, The available address segment is allocated for any UE in the VN group when it is activated on the first UPF for the first time; since the SMF sends the second UPF in the VN group when establishing the first PDU session corresponding to the available address segment For the UPF in the VN group, only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs, and then establishes the PDU session again When , the SMF does not need to initiate the group-level N4 session update process, so as to reduce the message interaction between the control plane and the user plane.

参见图12,本申请实施例还提供一种PDU会话处理方法,应用于第二用户面功能网元UPF,所述方法包括:Referring to FIG. 12 , the embodiment of the present application also provides a method for processing a PDU session, which is applied to the second user plane function network element UPF, and the method includes:

步骤1201,接收会话管理功能网元SMF发送的组级N4会话请求,获取并记载所述组级N4会话请求中携带的数据包处理规则;Step 1201, receiving the group-level N4 session request sent by the session management function network element SMF, obtaining and recording the data packet processing rules carried in the group-level N4 session request;

其中,所述组级N4会话请求为所述SMF在所述VN组内的任一UE首次在所述第一UPF上激活时发送的;所述组级N4会话请求中包括根据第一UPF所属VN组的可用地址段确定的数据包处理规则。Wherein, the group-level N4 session request is sent by the SMF when any UE in the VN group activates on the first UPF for the first time; the group-level N4 session request includes Packet processing rules determined by the available address segments of the VN group.

可以理解的是,VN组内的任一UE首次在所述第一UPF上激活时,第一UPF关联的可用地址段内的IP地址首次被分配,例如该可用地址段的地址段信息不存在(不存在SMF本地);或该可用地址段的地址段信息存在(存在SMF本地),但该段内的IP地址未被分配给VN组内的任一UE的情况。It can be understood that when any UE in the VN group is activated on the first UPF for the first time, the IP address in the available address segment associated with the first UPF is allocated for the first time, for example, the address segment information of the available address segment does not exist (SMF local does not exist); or the address segment information of the available address segment exists (SMF local exists), but the IP address in this segment is not allocated to any UE in the VN group.

若该段内的IP地址已有被分配的情况,则对应的PDU会话不是VN组内的UE首次在所述第一UPF上激活的PDU会话。If the IP address in the segment has already been allocated, the corresponding PDU session is not the first PDU session activated by the UE in the VN group on the first UPF.

这样,所述VN组内的第二UPF记载有包括所述可用地址段的地址段信息的数据包处理规则;可选地,数据包处理规则包括包检测规则(Packet Detection Rules,PDR)以及转发行为规则(Forwarding Action Rules,FAR)中的至少一种。In this way, the second UPF in the VN group records the data packet processing rules including the address segment information of the available address segment; optionally, the data packet processing rules include packet detection rules (Packet Detection Rules, PDR) and forwarding At least one of the Forwarding Action Rules (FAR).

所述数据包处理规则由第二UPF(后续简称为UPF2)获取自组级N4会话请求,所述组级N4会话请求为所述SMF首次建立锚点在所述VN组内的第一UPF上的PDU会话时发送的;第一UPF为第一UE(后续简称为UE1)的PDU会话的锚点UPF(后续简称为UPF1);其中,VN组内可以包括多个UPF,对于每个UPF,在该UPF上并建立可用地址段对应的首次PDU会话时,SMF为该VN组分配与该UPF对应的可用地址段,并根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则,在数据包处理规则中携带所述可用地址段的地址段信息;并向该VN组内其他UPF发送组级N4会话请求,以发起组级N4会话更新过程,在组级N4会话请求中携带所述数据包处理规则。The packet processing rule is obtained by the second UPF (hereinafter referred to as UPF2) from the group-level N4 session request, and the group-level N4 session request establishes an anchor point for the SMF for the first time on the first UPF in the VN group The first UPF is the anchor UPF (hereinafter referred to as UPF1) of the PDU session of the first UE (hereinafter referred to as UE1); wherein, the VN group may include multiple UPFs, and for each UPF, When the first PDU session corresponding to the available address segment is established on the UPF, the SMF allocates the available address segment corresponding to the UPF for the VN group, and creates a group-level N4 session for the VN group according to the available address segment The data packet processing rule carries the address segment information of the available address segment in the data packet processing rule; and sends a group-level N4 session request to other UPFs in the VN group to initiate a group-level N4 session update process. The packet processing rule is carried in the N4 session request.

这样,后续该VN组内再次出现锚点在该UPF上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,其他UPF由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程;也就是说,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In this way, when a PDU session establishment request with the anchor point on the UPF appears again in the VN group, the SMF allocates an IP address for the UE according to the available address segment, and other UPFs have obtained data packet processing from the group-level N4 session request. SMF does not need to initiate the group-level N4 session update process; that is, for the UPF in the VN group, only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs. When the PDU session is established again later, the SMF does not need to initiate the group-level N4 session update process, so as to reduce the interaction between the control plane and the user plane messages.

基于与本申请实施例所提供的方法相同的原理,本申请实施例还提供了一种PDU会话处理装置,应用于会话管理功能网元SMF,如图13所示,该装置包括:Based on the same principle as the method provided in the embodiment of the present application, the embodiment of the present application also provides a PDU session processing device, which is applied to the session management function network element SMF, as shown in Figure 13, the device includes:

地址段确定模块1301,用于接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF;The address segment determining module 1301 is configured to receive a protocol data unit PDU session establishment request of the first user equipment UE, and determine an available address segment of the virtual network VN group to which the first UE belongs, and the available address segment is compatible with the first user plane functional network element UPF association, the first UPF is an anchor UPF serving the first UE;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

可以理解的是,VN组内的任一UE首次在所述第一UPF上激活时,第一UPF关联的可用地址段内的IP地址首次被分配,例如该可用地址段的地址段信息不存在(不存在SMF本地);或该可用地址段的地址段信息存在(存在SMF本地),但该段内的IP地址未被分配给VN组内的任一UE的情况。It can be understood that when any UE in the VN group is activated on the first UPF for the first time, the IP address in the available address segment associated with the first UPF is allocated for the first time, for example, the address segment information of the available address segment does not exist (SMF local does not exist); or the address segment information of the available address segment exists (SMF local exists), but the IP address in this segment is not allocated to any UE in the VN group.

若该段内的IP地址已有被分配的情况,则对应的PDU会话不是VN组内的UE首次在所述第一UPF上激活的PDU会话。If the IP address in the segment has already been allocated, the corresponding PDU session is not the first PDU session activated by the UE in the VN group on the first UPF.

这样,所述VN组内的第二UPF可记载有包括所述可用地址段的地址段信息的数据包处理规则;可选地,数据包处理规则包括包检测规则(Packet Detection Rules,PDR)以及转发行为规则(Forwarding Action Rules,FAR)中的至少一种。Like this, the second UPF in the described VN group can record the data packet processing rule that comprises the address field information of the available address segment; Optionally, the data packet processing rule includes packet detection rules (Packet Detection Rules, PDR) and At least one of Forwarding Action Rules (FAR).

其中,VN组内可以包括多个UPF,第一UPF是为第一UE(后续简称为UE1)服务的锚点UPF(后续简称为UPF1);对于每个UPF,建立可用地址段对应的首次PDU会话(即所述VN组内的任一UE首次在该UPF上激活并建立的PDU会话)时,SMF为该VN组分配与该UPF对应的可用地址段,并根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则,在数据包处理规则中携带所述可用地址段的地址段信息;并向该VN组内其他UPF发送组级N4会话请求,以发起组级N4会话更新过程,在组级N4会话请求中携带所述数据包处理规则。Among them, the VN group may include multiple UPFs, and the first UPF is the anchor UPF (hereinafter referred to as UPF1) serving the first UE (hereinafter referred to as UE1); for each UPF, the first PDU corresponding to the available address segment is established session (that is, any UE in the VN group activates and establishes a PDU session on the UPF for the first time), the SMF allocates an available address segment corresponding to the UPF for the VN group, and according to the available address segment, for The group-level N4 session of the VN group creates the packet processing rule, and carries the address segment information of the available address segment in the packet processing rule; and sends a group-level N4 session request to other UPFs in the VN group to A group-level N4 session update process is initiated, and the data packet processing rule is carried in the group-level N4 session request.

这样,后续该VN组内再次出现UE的服务锚点在该UPF上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,其他UPF由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程;也就是说,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程;后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In this way, when a PDU session establishment request with the service anchor of the UE on the UPF appears again in the VN group, the SMF allocates an IP address to the UE according to the available address segment, and other UPFs have obtained the IP address from the group-level N4 session request. Packet processing rules, SMF does not need to initiate the group-level N4 session update process; that is, for UPFs in the VN group, only when the first PDU session corresponding to the available address segment is established, SMF initiates group-level N4 sessions to other UPFs Update process; when the PDU session is established again later, the SMF does not need to initiate the group-level N4 session update process, so as to reduce the interaction between the control plane and the user plane message.

会话建立模块1302,用于根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。A session establishment module 1302, configured to allocate an Internet Protocol IP address to the first UE according to the available address segment, and establish a PDU session of the first UE.

其中,SMF确定UE1锚点在UPF1上,则根据所述可用地址段为UE1分配IP地址,同时不向组内其他UPF发起组级N4会话更新过程,继续建立UE1的PDU会话。Wherein, the SMF determines that the anchor point of UE1 is on UPF1, then allocates an IP address for UE1 according to the available address segment, and does not initiate a group-level N4 session update process to other UPFs in the group, and continues to establish the PDU session of UE1.

可选地,本申请实施例中,所述装置还包括:Optionally, in the embodiment of the present application, the device further includes:

确定模块,用于在所述地址段确定模块1301接收第一用户设备UE的协议数据单元PDU会话建立请求之前,在所述VN组内的任一UE首次在所述第一UPF上激活时,确定所述VN组的可用地址段;The determining module is configured to, before the address segment determining module 1301 receives the protocol data unit PDU session establishment request of the first user equipment UE, when any UE in the VN group activates on the first UPF for the first time, Determine the available address segment of the VN group;

创建模块,用于根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则;A creating module, configured to create the data packet processing rule for the group-level N4 session of the VN group according to the available address segment;

发送模块,用于向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则;所述第二UPF为所述VN组内除所述第一UPF之外的UPF。A sending module, configured to send a first group-level N4 session request to a second UPF, where the packet processing rule is carried in the first group-level N4 session request; UPFs other than the first UPF mentioned above.

可选地,本申请实施例中,所述确定模块包括:Optionally, in the embodiment of the present application, the determination module includes:

分配子模块,用于为所述VN组分配可用地址段;An allocation submodule is used to allocate an available address segment for the VN group;

第一获取子模块,用于接收所述第一UPF发送的第一N4会话建立响应,获取所述第一N4会话建立响应中携带的所述VN组的可用地址段;The first acquisition submodule is configured to receive the first N4 session establishment response sent by the first UPF, and acquire the available address segment of the VN group carried in the first N4 session establishment response;

or

第二获取子模块,用于获取所述第一UPF发送的N4关联建立请求或N4关联建立响应,从所述N4关联建立请求或N4关联建立响应中,获取所述VN组的可用地址段The second obtaining submodule is configured to obtain the N4 association establishment request or the N4 association establishment response sent by the first UPF, and obtain the available address segment of the VN group from the N4 association establishment request or the N4 association establishment response

可选地,本申请实施例中,所述装置还包括:Optionally, in the embodiment of the present application, the device further includes:

请求发送模块,用于向所述第一UPF发送第一N4会话建立请求,所述第一N4会话建立请求指示所述第一UPF为所述VN组分配可用地址段。A request sending module, configured to send a first N4 session establishment request to the first UPF, where the first N4 session establishment request instructs the first UPF to allocate an available address segment for the VN group.

可选地,本申请实施例中,所述组级N4会话请求包括N4会话修改请求;Optionally, in this embodiment of the application, the group-level N4 session request includes an N4 session modification request;

所述发送模块包括:The sending module includes:

第一发送子模块,用于在所述第一UPF与第二UPF之间已建立N19隧道的情况下,向所述第二UPF发送N4会话修改请求;或者The first sending submodule is configured to send an N4 session modification request to the second UPF when an N19 tunnel has been established between the first UPF and the second UPF; or

第二发送子模块,用于在所述第一UPF与第二UPF之间未建立N19隧道的情况下,向所述第一UPF发送第二组级N4会话建立请求,在所述第二组级N4会话建立请求中携带所述第二UPF的N19隧道信息,并根据所述N19隧道信息以及所述可用地址段为所述VN组的组级N4会话创建所述数据包处理规则;向第二UPF发送第一组级N4会话请求。The second sending submodule is configured to send a second group-level N4 session establishment request to the first UPF when no N19 tunnel is established between the first UPF and the second UPF, and the second group Carry the N19 tunnel information of the second UPF in the N4 session establishment request of the second UPF, and create the packet processing rule for the group-level N4 session of the VN group according to the N19 tunnel information and the available address segment; The second UPF sends a first group level N4 session request.

可选地,本申请实施例中,所述发送模块包括:Optionally, in this embodiment of the application, the sending module includes:

释放子模块,用于接收到所述VN组内的第三UE的PDU会话释放请求,确定所述第三UE的IP地址为所述可用地址段内最后被释放的地址的情况下,释放所述可用地址段,并向所述第二UPF发送组级N4会话修改请求;所述组级N4会话修改请求指示所述第二UPF删除所述数据包处理规则。The release submodule is configured to receive the PDU session release request of the third UE in the VN group, and release the IP address of the third UE when it is determined that the IP address of the third UE is the last released address in the available address segment. The available address segment, and send a group-level N4 session modification request to the second UPF; the group-level N4 session modification request instructs the second UPF to delete the data packet processing rule.

可选地,本申请实施例中,所述会话建立模块1302包括:Optionally, in this embodiment of the application, the session establishment module 1302 includes:

第一分配子模块,用于当所述可用地址段中存在可用IP地址时,直接从所述可用地址段中为所述第一UE分配IP地址;A first allocation submodule, configured to directly allocate an IP address to the first UE from the available address segment when there is an available IP address in the available address segment;

第二分配子模块,用于当所述可用地址段中不存在可用IP地址时,重新为所述第一UE所属的VN组分配新的可用地址段,并从新的可用地址段中为所述第一UE分配IP地址。The second allocating submodule is configured to re-allocate a new available address segment for the VN group to which the first UE belongs when there is no available IP address in the available address segment, and assign the IP address from the new available address segment to the The first UE is assigned an IP address.

本申请实施例提供的PDU会话处理装置能够实现图1至图9的方法实施例中,SMF实现的各个过程,为避免重复,这里不再赘述。The PDU session processing device provided in the embodiment of the present application can realize the various processes implemented by the SMF in the method embodiments shown in FIGS. 1 to 9 . To avoid repetition, details are not repeated here.

本申请提供的PDU会话处理装置,地址段确定模块1301接收第一UE的PDU会话建立请求,确定第一UE所属虚拟网络VN组的互联网协议可用地址段;会话建立模块1302根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In the PDU session processing device provided by this application, the address section determination module 1301 receives the PDU session establishment request of the first UE, and determines the Internet protocol available address section of the virtual network VN group to which the first UE belongs; the session establishment module 1302 according to the available address section , assigning an Internet Protocol IP address to the first UE, and establishing a PDU session of the first UE; since the SMF sends a packet processing Regular group-level N4 session request, for the UPF in the VN group, only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs, and when the subsequent PDU session is established again, the SMF does not need to Initiate a group-level N4 session update process to reduce the interaction of messages between the control plane and the user plane.

本申请实施例还提供了一种PDU会话处理装置,应用于第一用户面功能网元UPF,如图14所示,所述装置包括:The embodiment of the present application also provides a PDU session processing device, which is applied to the first user plane function network element UPF, as shown in Figure 14, the device includes:

接收模块1401,用于接收会话管理功能网元SMF的第二N4会话建立请求;A receiving module 1401, configured to receive a second N4 session establishment request from a session management function network element SMF;

其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the VN group to which the first UE belongs and the first UPF;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。可以理解的是,VN组内的任一UE首次在所述第一UPF上激活时,第一UPF关联的可用地址段内的IP地址首次被分配,例如该可用地址段的地址段信息不存在(不存在SMF本地);或该可用地址段的地址段信息存在(存在SMF本地),但该段内的IP地址未被分配给VN组内的任一UE的情况。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time. It can be understood that when any UE in the VN group is activated on the first UPF for the first time, the IP address in the available address segment associated with the first UPF is allocated for the first time, for example, the address segment information of the available address segment does not exist (SMF local does not exist); or the address segment information of the available address segment exists (SMF local exists), but the IP address in this segment is not allocated to any UE in the VN group.

若该段内的IP地址已有被分配的情况,则对应的PDU会话不是VN组内的UE首次在所述第一UPF上激活的PDU会话。If the IP address in the segment has already been allocated, the corresponding PDU session is not the first PDU session activated by the UE in the VN group on the first UPF.

可选地,数据包处理规则包括包检测规则(Packet Detection Rules,PDR)以及转发行为规则(Forwarding Action Rules,FAR)中的至少一种。Optionally, the data packet processing rules include at least one of packet detection rules (Packet Detection Rules, PDR) and forwarding action rules (Forwarding Action Rules, FAR).

这样,所述数据包处理规则可由第二UPF(后续简称为UPF2)获取自组级N4会话请求,所述组级N4会话请求为所述SMF在所述VN组内的任一UE首次在所述第一UPF上激活时发送的;第一UPF(后续简称为UPF1)为第一UE(后续简称为UE1)的PDU会话的锚点UPF;其中,VN组内可以包括多个UPF,对于每个UPF,在该UPF上并建立可用地址段对应的首次PDU会话时,SMF为该VN组分配与该UPF对应的可用地址段,并根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则,在数据包处理规则中携带所述可用地址段的地址段信息;并向该VN组内其他UPF发送组级N4会话请求,以发起组级N4会话更新过程,在组级N4会话请求中携带所述数据包处理规则。In this way, the data packet processing rule can be obtained by the second UPF (hereinafter referred to as UPF2) from the group-level N4 session request, and the group-level N4 session request is the first time any UE in the VN group with the SMF The first UPF (hereinafter referred to as UPF1) is the anchor UPF of the PDU session of the first UE (hereinafter referred to as UE1); where multiple UPFs can be included in the VN group, for each When the first PDU session corresponding to the available address segment is established on the UPF, the SMF allocates the available address segment corresponding to the UPF for the VN group, and according to the available address segment, the group-level The N4 session creates the data packet processing rule, carries the address segment information of the available address segment in the data packet processing rule; and sends a group-level N4 session request to other UPFs in the VN group to initiate a group-level N4 session update process , carrying the data packet processing rule in the group-level N4 session request.

这样,后续该VN组内再次出现UE的服务锚点在该UPF上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,其他UPF由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程;也就是说,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程;后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In this way, when a PDU session establishment request with the service anchor point of the UE on the UPF appears again in the VN group, the SMF allocates an IP address to the UE according to the available address segment, and other UPFs have obtained the IP address from the group-level N4 session request. Packet processing rules, SMF does not need to initiate the group-level N4 session update process; that is, for UPFs in the VN group, only when the first PDU session corresponding to the available address segment is established, SMF initiates group-level N4 sessions to other UPFs Update process: when the PDU session is established again later, the SMF does not need to initiate the group-level N4 session update process, so as to reduce the interaction between the control plane and the user plane message.

可选地,本申请实施例中,所述装置还包括:Optionally, in the embodiment of the present application, the device further includes:

响应发送模块,用于接收所述SMF的第一N4会话建立请求,所述第一N4会话建立请求指示第一UPF为所述VN组分配可用地址段;向所述SMF发送第一N4会话建立响应,在所述第一N4会话建立响应中携带为所述VN组分配的可用地址段;A response sending module, configured to receive the first N4 session establishment request of the SMF, the first N4 session establishment request indicating that the first UPF allocates an available address segment for the VN group; sending the first N4 session establishment request to the SMF Response, carrying the available address segment allocated for the VN group in the first N4 session establishment response;

和/或and / or

向所述SMF发送N4关联建立请求或N4关联建立响应;在所述N4关联建立请求或N4关联建立响应中,携带为所述VN组分配的可用地址段。Sending an N4 association establishment request or an N4 association establishment response to the SMF; in the N4 association establishment request or N4 association establishment response, the available address segment allocated for the VN group is carried.

本申请实施例提供的PDU会话处理装置能够实现图1至图9的方法实施例中,第一UPF实现的各个过程,为避免重复,这里不再赘述。The PDU session processing device provided in the embodiment of the present application can implement the various processes implemented by the first UPF in the method embodiments in FIGS. 1 to 9 . To avoid repetition, details are not repeated here.

本申请提供的PDU会话处理装置,接收模块1401接收会话管理功能网元SMF的第二N4会话建立请求;所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;由于SMF在建立可用地址段对应的首次PDU会话时向VN组内的第二UPF发送了包括数据包处理规则的组级N4会话请求,对于VN组内的UPF,只有建立可用地址段对应的首次PDU会话时,SMF才向其他UPF发起组级N4会话更新过程,后续再次建立PDU会话时,SMF无需再发起组级N4会话更新过程,以实现减少控制面与用户面消息的交互。In the PDU session processing device provided by this application, the receiving module 1401 receives the second N4 session establishment request from the session management function network element SMF; the second N4 session establishment request determines the VN group to which the first UE belongs and the first UPF for the SMF Sent after the associated available address segment; since the SMF sends a group-level N4 session request including packet processing rules to the second UPF in the VN group when establishing the first PDU session corresponding to the available address segment, for the UPF in the VN group Only when the first PDU session corresponding to the available address segment is established, the SMF initiates the group-level N4 session update process to other UPFs. When the subsequent PDU session is established again, the SMF does not need to initiate the group-level N4 session update process. Interaction of user plane messages.

本申请实施例还提供了一种PDU会话处理装置,应用于第二用户面功能网元UPF,如图15所示,所述装置包括:The embodiment of the present application also provides a PDU session processing device, which is applied to the second user plane function network element UPF, as shown in Figure 15, the device includes:

获取模块1501,用于接收会话管理功能网元SMF发送的组级N4会话请求,获取并记载所述组级N4会话请求中携带的数据包处理规则;The acquiring module 1501 is configured to receive the group-level N4 session request sent by the session management function network element SMF, and acquire and record the data packet processing rules carried in the group-level N4 session request;

其中,所述组级N4会话请求为所述SMF在所述VN组内的任一UE首次在所述第一UPF上激活时发送的;所述组级N4会话请求中包括根据第一UPF所属VN组的可用地址段确定的数据包处理规则。Wherein, the group-level N4 session request is sent by the SMF when any UE in the VN group activates on the first UPF for the first time; the group-level N4 session request includes Packet processing rules determined by the available address segments of the VN group.

本申请实施例提供的PDU会话处理装置能够实现图1至图9的方法实施例中,第二UPF实现的各个过程,为避免重复,这里不再赘述。The PDU session processing apparatus provided in the embodiment of the present application can implement the various processes implemented by the second UPF in the method embodiments in FIGS. 1 to 9 . To avoid repetition, details are not repeated here.

本申请提供的PDU会话处理装置,获取模块1501接收会话管理功能网元SMF发送的组级N4会话请求,获取并记载所述组级N4会话请求中携带的数据包处理规则,后续该VN组内再次出现锚点在UPF1上的PDU会话建立请求时,SMF根据所述可用地址段为UE分配IP地址,UPF2由于已经从组级N4会话请求中获得数据包处理规则,则SMF无需再发起组级N4会话更新过程。In the PDU session processing device provided by this application, the acquisition module 1501 receives the group-level N4 session request sent by the session management function network element SMF, acquires and records the data packet processing rules carried in the group-level N4 session request, and subsequently the VN group When the PDU session establishment request with the anchor point on UPF1 occurs again, the SMF allocates an IP address for the UE according to the available address segment. Since UPF2 has obtained the packet processing rules from the group-level N4 session request, the SMF does not need to initiate a group-level session request. N4 session update process.

需要说明的是,本申请实施例中对模块(单元)的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that the division of modules (units) in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

在此需要说明的是,本申请实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。What needs to be explained here is that the above-mentioned device provided by the embodiment of the present application can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect. The part and the beneficial effect are described in detail.

如图16所示,本申请的实施例还提供了一种网络设备,包括会话管理功能网元SMF,还包括存储器1620、收发机1640、处理器1610;As shown in FIG. 16, the embodiment of the present application also provides a network device, including a session management function network element SMF, and also includes a memory 1620, a transceiver 1640, and a processor 1610;

存储器1620,用于存储计算机程序;memory 1620 for storing computer programs;

收发机1640,用于在处理器1610的控制下接收和发送数据;Transceiver 1640, for receiving and sending data under the control of processor 1610;

处理器1610,用于读取所述存储器1620中的计算机程序并执行以下操作:Processor 1610, configured to read the computer program in the memory 1620 and perform the following operations:

接收第一用户设备UE的协议数据单元PDU会话建立请求,确定第一UE所属虚拟网络VN组的可用地址段,所述可用地址段与第一用户面功能网元UPF关联,所述第一UPF是为所述第一UE服务的锚点UPF;Receive a protocol data unit PDU session establishment request from the first user equipment UE, determine an available address segment of the virtual network VN group to which the first UE belongs, the available address segment is associated with the first user plane functional network element UPF, and the first UPF is an anchor UPF serving the first UE;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的;Wherein, the available address segment is allocated for any UE in the VN group when it is activated on the first UPF for the first time;

根据所述可用地址段,为所述第一UE分配互联网协议IP地址,建立所述第一UE的PDU会话。Allocating an Internet Protocol IP address to the first UE according to the available address segment, and establishing a PDU session of the first UE.

可选地,本申请实施例中,所述处理器1610还执行以下操作:Optionally, in this embodiment of the application, the processor 1610 further performs the following operations:

在所述VN组内的任一UE首次在所述第一UPF上激活时,确定所述VN组的可用地址段;When any UE in the VN group is activated on the first UPF for the first time, determine the available address segment of the VN group;

根据所述可用地址段,为所述VN组的组级N4会话创建所述数据包处理规则;Create the data packet processing rule for the group-level N4 session of the VN group according to the available address segment;

向第二UPF发送第一组级N4会话请求,在所述第一组级N4会话请求中携带所述数据包处理规则;所述第二UPF为所述VN组内除所述第一UPF之外的UPF。Sending a first group-level N4 session request to the second UPF, carrying the data packet processing rule in the first group-level N4 session request; the second UPF is the VN group except the first UPF Outer UPF.

可选地,本申请实施例中,所述处理器1610还执行以下操作:Optionally, in this embodiment of the application, the processor 1610 further performs the following operations:

为所述VN组分配可用地址段;Allocating an available address segment for the VN group;

接收所述第一UPF发送的第一N4会话建立响应,获取所述第一N4会话建立响应中携带的所述VN组的可用地址段;receiving the first N4 session establishment response sent by the first UPF, and obtaining the available address segment of the VN group carried in the first N4 session establishment response;

or

获取所述第一UPF发送的N4关联建立请求或N4关联建立响应,从所述N4关联建立请求或N4关联建立响应中,获取所述VN组的可用地址段。Obtain the N4 association establishment request or the N4 association establishment response sent by the first UPF, and obtain the available address segment of the VN group from the N4 association establishment request or the N4 association establishment response.

可选地,本申请实施例中,所述处理器1610还执行以下操作:向所述第一UPF发送第一N4会话建立请求,所述第一N4会话建立请求指示所述第一UPF为所述VN组分配可用地址段。Optionally, in this embodiment of the present application, the processor 1610 further performs the following operations: sending a first N4 session establishment request to the first UPF, where the first N4 session establishment request indicates that the first UPF is the The above VN group allocates available address segments.

可选地,本申请实施例中,所述处理器1610还执行以下操作:Optionally, in this embodiment of the application, the processor 1610 further performs the following operations:

在所述第一UPF与第二UPF之间已建立N19隧道的情况下,向所述第二UPF发送N4会话修改请求;或者In the case where an N19 tunnel has been established between the first UPF and the second UPF, sending an N4 session modification request to the second UPF; or

在所述第一UPF与第二UPF之间未建立N19隧道的情况下,向所述第一UPF发送第二组级N4会话建立请求,在所述第二组级N4会话建立请求中携带所述第二UPF的N19隧道信息,并根据所述N19隧道信息以及所述可用地址段为所述VN组的组级N4会话创建所述数据包处理规则;向第二UPF发送第一组级N4会话请求。When the N19 tunnel is not established between the first UPF and the second UPF, a second group-level N4 session establishment request is sent to the first UPF, and the second group-level N4 session establishment request carries the The N19 tunnel information of the second UPF, and create the packet processing rule for the group-level N4 session of the VN group according to the N19 tunnel information and the available address segment; send the first group-level N4 session to the second UPF session request.

可选地,本申请实施例中,所述处理器1610还执行以下操作:Optionally, in this embodiment of the application, the processor 1610 further performs the following operations:

接收到所述VN组内的第三UE的PDU会话释放请求,确定所述第三UE的IP地址为所述可用地址段内最后被释放的地址的情况下,释放所述可用地址段,并向所述第二UPF发送组级N4会话修改请求;所述组级N4会话修改请求指示所述第二UPF删除所述数据包处理规则。receiving the PDU session release request of the third UE in the VN group, and determining that the IP address of the third UE is the last released address in the available address segment, releasing the available address segment, and Sending a group-level N4 session modification request to the second UPF; the group-level N4 session modification request instructs the second UPF to delete the data packet processing rule.

可选地,本申请实施例中,所述处理器1610还执行以下操作:Optionally, in this embodiment of the application, the processor 1610 further performs the following operations:

当所述可用地址段中存在可用IP地址时,直接从所述可用地址段中为所述第一UE分配IP地址;When an available IP address exists in the available address segment, directly allocate an IP address to the first UE from the available address segment;

当所述可用地址段中不存在可用IP地址时,重新为所述第一UE所属的VN组分配新的可用地址段,并从新的可用地址段中为所述第一UE分配IP地址。When there is no available IP address in the available address segment, re-allocate a new available address segment to the VN group to which the first UE belongs, and allocate an IP address to the first UE from the new available address segment.

其中,在图16中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1610代表的一个或多个处理器1610和存储器1620代表的存储器1620的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口1630提供接口。收发机1640可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器1610负责管理总线架构和通常的处理,存储器1620可以存储处理器1610在执行操作时所使用的数据。Wherein, in FIG. 16 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors 1610 represented by the processor 1610 and various circuits of the memory 1620 represented by the memory 1620 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. Bus interface 1630 provides the interface. Transceiver 1640 may be a plurality of elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical cables, and other transmission media. The processor 1610 is responsible for managing the bus architecture and general processing, and the memory 1620 can store data used by the processor 1610 when performing operations.

处理器1610可以是中央处埋器(CPU)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器1610也可以采用多核架构。The processor 1610 may be a central processing device (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD), the processor 1610 may also adopt a multi-core architecture.

处理器1610通过调用存储器1620存储的计算机程序,用于按照获得的可执行指令执行本申请实施例提供的任一所述方法。处理器1610与存储器1620也可以物理上分开布置。The processor 1610 is configured to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 1620 . The processor 1610 and the memory 1620 may also be arranged physically separately.

如图17所示,本申请的实施例还提供了一种网络设备,包括第一用户面功能网元UPF,还包括存储器1720、收发机1740、处理器1710;As shown in Figure 17, the embodiment of the present application also provides a network device, including a first user plane function network element UPF, and also includes a memory 1720, a transceiver 1740, and a processor 1710;

存储器1720,用于存储计算机程序;memory 1720, for storing computer programs;

收发机1740,用于在处理器1710的控制下接收和发送数据;Transceiver 1740, for receiving and sending data under the control of processor 1710;

处理器1710,用于读取所述存储器1720中的计算机程序并执行以下操作:Processor 1710, configured to read the computer program in the memory 1720 and perform the following operations:

接收会话管理功能网元SMF的第二N4会话建立请求;其中,所述第二N4会话建立请求为所述SMF确定第一UE所属VN组与第一UPF关联的可用地址段后发送的;Receiving a second N4 session establishment request from a session management function network element SMF; wherein, the second N4 session establishment request is sent after the SMF determines the available address segment associated with the first UPF of the VN group to which the first UE belongs;

其中,所述可用地址段为所述VN组内的任一UE首次在所述第一UPF上激活时分配的。Wherein, the available address segment is allocated to any UE in the VN group when it is activated on the first UPF for the first time.

可选地,本申请实施例中,处理器1710还用于读取所述存储器1720中的计算机程序并执行以下操作:Optionally, in this embodiment of the present application, the processor 1710 is also configured to read the computer program in the memory 1720 and perform the following operations:

接收所述SMF的第一N4会话建立请求,所述第一N4会话建立请求指示第一UPF为所述VN组分配可用地址段;向所述SMF发送第一N4会话建立响应,在所述第一N4会话建立响应中携带为所述VN组分配的可用地址段;receiving the first N4 session establishment request of the SMF, the first N4 session establishment request instructing the first UPF to allocate an available address segment for the VN group; sending a first N4 session establishment response to the SMF, in the first N4 session establishment request An N4 session establishment response carries an available address segment allocated for the VN group;

和/或and / or

向所述SMF发送N4关联建立请求或N4关联建立响应;在所述N4关联建立请求或N4关联建立响应中,携带为所述VN组分配的可用地址段。Sending an N4 association establishment request or an N4 association establishment response to the SMF; in the N4 association establishment request or N4 association establishment response, the available address segment allocated for the VN group is carried.

其中,在图17中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1710代表的一个或多个处理器1710和存储器1720代表的存储器1720的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口1730提供接口。收发机1740可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器1710负责管理总线架构和通常的处理,存储器1720可以存储处理器1710在执行操作时所使用的数据。Wherein, in FIG. 17 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors 1710 represented by the processor 1710 and various circuits of the memory 1720 represented by the memory 1720 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. Bus interface 1730 provides the interface. Transceiver 1740 may be a plurality of elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical cables, and other transmission media. The processor 1710 is responsible for managing the bus architecture and general processing, and the memory 1720 can store data used by the processor 1710 when performing operations.

处理器1710可以是中央处埋器(CPU)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器1710也可以采用多核架构。The processor 1710 may be a central processing device (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD), the processor 1710 may also adopt a multi-core architecture.

处理器1710通过调用存储器1720存储的计算机程序,用于按照获得的可执行指令执行本申请实施例提供的任一所述方法。处理器1710与存储器1720也可以物理上分开布置。The processor 1710 is configured to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 1720 . The processor 1710 and the memory 1720 may also be arranged physically separately.

如图18所示,本申请的实施例还提供了一种网络设备,包括第二用户面功能网元UPF,还包括存储器1820、收发机1840、处理器1810;As shown in Figure 18, the embodiment of the present application also provides a network device, including a second user plane function network element UPF, and also includes a memory 1820, a transceiver 1840, and a processor 1810;

存储器1820,用于存储计算机程序;memory 1820 for storing computer programs;

收发机1840,用于在处理器1810的控制下接收和发送数据;Transceiver 1840, for receiving and sending data under the control of processor 1810;

处理器1810,用于读取所述存储器1820中的计算机程序并执行以下操作:Processor 1810, configured to read the computer program in the memory 1820 and perform the following operations:

接收会话管理功能网元SMF发送的组级N4会话请求,获取并记载所述组级N4会话请求中携带的数据包处理规则;Receive the group-level N4 session request sent by the session management function network element SMF, obtain and record the packet processing rules carried in the group-level N4 session request;

其中,所述组级N4会话请求为所述SMF在所述VN组内的任一UE首次在所述第一UPF上激活时发送的;所述组级N4会话请求中包括根据第一UPF所属VN组的可用地址段确定的数据包处理规则。Wherein, the group-level N4 session request is sent by the SMF when any UE in the VN group activates on the first UPF for the first time; the group-level N4 session request includes Packet processing rules determined by the available address segments of the VN group.

其中,在图18中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1810代表的一个或多个处理器1810和存储器1820代表的存储器1820的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口1830提供接口。收发机1840可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器1810负责管理总线架构和通常的处理,存储器1820可以存储处理器1810在执行操作时所使用的数据。Wherein, in FIG. 18 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors 1810 represented by the processor 1810 and various circuits of the memory 1820 represented by the memory 1820 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. Bus interface 1830 provides the interface. Transceiver 1840 may be a plurality of elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical cables, and other transmission media. The processor 1810 is responsible for managing the bus architecture and general processing, and the memory 1820 can store data used by the processor 1810 when performing operations.

处理器1810可以是中央处埋器(CPU)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器1810也可以采用多核架构。The processor 1810 may be a central processing device (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD), the processor 1810 may also adopt a multi-core architecture.

处理器1810通过调用存储器1820存储的计算机程序,用于按照获得的可执行指令执行本申请实施例提供的任一所述方法。处理器1810与存储器1820也可以物理上分开布置。The processor 1810 is configured to execute any one of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 1820 . The processor 1810 and the memory 1820 may also be arranged physically separately.

在此需要说明的是,本申请实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。What needs to be explained here is that the above-mentioned device provided by the embodiment of the present application can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect. The part and the beneficial effect are described in detail.

本申请的实施例还提供了一种处理器可读存储介质,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行PDU会话处理方法。The embodiment of the present application also provides a processor-readable storage medium, where a computer program is stored in the processor-readable storage medium, and the computer program is used to cause the processor to execute the method for processing a PDU session.

所述处理器可读存储介质可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NANDFLASH)、固态硬盘(SSD))等。The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including but not limited to magnetic storage (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state disk (SSD)), etc.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机可执行指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机可执行指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagrams, and combinations of procedures and/or blocks in the flowchart and/or block diagrams can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine, such that instructions executed by the processor of the computer or other programmable data processing equipment produce Means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些处理器可执行指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的处理器可读存储器中,使得存储在该处理器可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These processor-executable instructions may also be stored in a processor-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the processor-readable memory produce a manufacturing product, the instruction device realizes the functions specified in one or more procedures of the flow chart and/or one or more blocks of the block diagram.

这些处理器可执行指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These processor-executable instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented The executed instructions provide steps for implementing the functions specified in the procedure or procedures of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (14)

1. A PDU session handling method applied to a session management function network element SMF, the method comprising:
receiving a protocol data unit PDU session establishment request of a first user equipment UE, and determining an available address field of a virtual network VN group to which the first UE belongs, wherein the available address field is associated with a first user plane function network element UPF, and the first UPF is an anchor UPF serving the first UE;
wherein the available address segment is allocated when any UE in the VN group is activated on the first UPF for the first time;
and according to the available address segment, distributing an Internet Protocol (IP) address to the first UE, and establishing a PDU session of the first UE.
2. The PDU session handling method as claimed in claim 1, wherein prior to said receiving a protocol data unit, PDU, session establishment request of the first user equipment, UE, the method comprises:
determining an available address segment of the VN group when any UE within the VN group is first activated on the first UPF;
creating the data packet processing rule for the group-level N4 session of the VN group according to the available address segment;
sending a first group of level N4 session requests to a second UPF, wherein the first group of level N4 session requests carry the data packet processing rule; the second UPF is a UPF within the VN group other than the first UPF.
3. The PDU session processing method as recited in claim 2, wherein said determining an available address segment of said VN group comprises:
assigning an available address segment for the VN group;
receiving a first N4 session establishment response sent by the first UPF, and acquiring an available address segment of the VN group carried in the first N4 session establishment response;
or (b)
And acquiring an N4 association establishment request or an N4 association establishment response sent by the first UPF, and acquiring an available address segment of the VN group from the N4 association establishment request or the N4 association establishment response.
4. A PDU session handling method as recited in claim 3, wherein prior to said receiving a first N4 session setup response sent by said first UPF, said method further comprises:
and sending a first N4 session establishment request to the first UPF, wherein the first N4 session establishment request indicates the first UPF to allocate an available address segment for the VN group.
5. The PDU session handling method as recited in claim 2, wherein said first set of level N4 session requests comprises an N4 session modification request, said sending a first set of level N4 session requests to a second UPF comprising:
sending an N4 session modification request to a second UPF if an N19 tunnel has been established between the first and second UPFs; or alternatively
Under the condition that an N19 tunnel is not established between the first UPF and the second UPF, a second group-level N4 session establishment request is sent to the first UPF, N19 tunnel information of the second UPF is carried in the second group-level N4 session establishment request, and the data packet processing rule is established for the group-level N4 session of the VN group according to the N19 tunnel information and the available address field; a first set of level N4 session requests is sent to a second UPF.
6. The PDU session handling method of claim 2, wherein after said sending a first set of level N4 session requests to a second UPF, said packet handling rules are carried in said first set of level N4 session requests, said method further comprising:
receiving a PDU session release request of a third UE in the VN group, releasing the available address field under the condition that the IP address of the third UE is determined to be the last released address in the available address field, and sending a group-level N4 session modification request to the second UPF; the group level N4 session modification request instructs the second UPF to delete the packet processing rule.
7. The PDU session handling method as recited in claim 1, wherein said assigning an internet protocol, IP, address to said first UE based on said available address field comprises:
When the available IP address exists in the available address field, directly distributing an IP address to the first UE from the available address field;
and when the available IP address does not exist in the available address field, reassigning a new available address field to the VN to which the first UE belongs, and assigning the IP address to the first UE from the new available address field.
8. A PDU session handling method applied to a first user plane function network element UPF, the method comprising:
receiving a second N4 session establishment request of a session management function network element SMF; the second N4 session establishment request is sent after determining an available address segment associated with the first UPF by the VN group to which the first UE belongs for the SMF;
wherein the available address segment is allocated when any UE in the VN group is first activated on the first UPF.
9. The PDU session handling method as recited in claim 8, wherein said receiving a second N4 session establishment request of a session management function, SMF, said method further comprises:
receiving a first N4 session establishment request of the SMF, wherein the first N4 session establishment request indicates a first UPF to allocate an available address segment for the VN group; sending a first N4 session establishment response to the SMF, wherein the first N4 session establishment response carries an available address segment allocated for the VN group;
And/or
Sending an N4 association establishment request or an N4 association establishment response to the SMF; and carrying an available address segment allocated for the VN group in the N4 association establishment request or the N4 association establishment response.
10. A network device comprising a session management function, network element, SMF, the network device further comprising:
memory, transceiver, processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving a protocol data unit PDU session establishment request of a first user equipment UE, and determining an available address field of a virtual network VN group to which the first UE belongs, wherein the available address field is associated with a first user plane function network element UPF, and the first UPF is an anchor UPF serving the first UE;
wherein the available address segment is allocated when any UE in the VN group is activated on the first UPF for the first time;
and according to the available address segment, distributing an Internet Protocol (IP) address to the first UE, and establishing a PDU session of the first UE.
11. A network device comprising a second user plane function, UPF, characterized in that the network device further comprises:
Receiving a second N4 session establishment request of a session management function network element SMF;
the second N4 session establishment request is sent after determining an available address segment associated with the first UPF by the VN group to which the first UE belongs for the SMF;
wherein the available address segment is allocated when any UE in the VN group is first activated on the first UPF.
12. A PDU session handling device, applied to a session management function network element SMF, characterized in that it comprises:
an address segment determining module, configured to receive a protocol data unit PDU session establishment request of a first UE, determine an available address segment of a virtual network VN group to which the first UE belongs, where the available address segment is associated with a first user plane function network element UPF, and the first UPF is an anchor UPF serving the first UE;
wherein the available address segment is allocated when any UE in the VN group is activated on the first UPF for the first time;
and the session establishment module is used for allocating an Internet Protocol (IP) address to the first UE according to the available address segment and establishing a PDU session of the first UE.
13. A PDU session handling device, applied to a second user plane function network element UPF, characterized in that the device comprises:
A receiving module, configured to receive a second N4 session establishment request of the session management function network element SMF;
the second N4 session establishment request is sent after determining an available address segment associated with the first UPF by the VN group to which the first UE belongs for the SMF;
the available address segment is allocated for the first time any UE within the VN group is activated on the first UPF.
14. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to perform the method of any one of claims 1 to 9.
CN202111288502.5A 2021-11-02 2021-11-02 PDU session processing method, network equipment, device and storage medium Pending CN116074819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111288502.5A CN116074819A (en) 2021-11-02 2021-11-02 PDU session processing method, network equipment, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111288502.5A CN116074819A (en) 2021-11-02 2021-11-02 PDU session processing method, network equipment, device and storage medium

Publications (1)

Publication Number Publication Date
CN116074819A true CN116074819A (en) 2023-05-05

Family

ID=86179055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111288502.5A Pending CN116074819A (en) 2021-11-02 2021-11-02 PDU session processing method, network equipment, device and storage medium

Country Status (1)

Country Link
CN (1) CN116074819A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN110557791A (en) * 2018-05-31 2019-12-10 华为技术有限公司 Session management method, device and system
CN110661894A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 User IP address allocation method, network device and storage medium
CN113225697A (en) * 2021-07-07 2021-08-06 中兴通讯股份有限公司 Group user communication method, device, network equipment and storage medium
CN113382468A (en) * 2021-06-24 2021-09-10 深圳艾灵网络有限公司 Address allocation method for local network device, electronic device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN110557791A (en) * 2018-05-31 2019-12-10 华为技术有限公司 Session management method, device and system
CN110661894A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 User IP address allocation method, network device and storage medium
CN113382468A (en) * 2021-06-24 2021-09-10 深圳艾灵网络有限公司 Address allocation method for local network device, electronic device, and storage medium
CN113225697A (en) * 2021-07-07 2021-08-06 中兴通讯股份有限公司 Group user communication method, device, network equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZTE: "S2-1911160 "Clarification on the PDU session management for VN"", 3GPP TSG_SA\\WG2_ARCH, no. 2, 8 November 2019 (2019-11-08) *

Similar Documents

Publication Publication Date Title
JP6904419B2 (en) Radio access network nodes, core network nodes, and wireless terminals and their methods
US11160124B2 (en) Wireless connection control method, distributed unit, centralized unit, and base station system
CN114827920B (en) A communication method, device, device and readable storage medium
WO2022028041A1 (en) Method for communication between user terminal and network, and terminal, network device and apparatus
WO2022156439A1 (en) Method and device for information transmission, base station, and medium
CN114071805B (en) Business processing method, information indication method, terminal and network equipment
CN114158059B (en) Information processing method and device, terminal equipment and network side equipment
CN115942393A (en) Processing method, device and terminal for reconfiguration failure
CN115696217A (en) Multicast session processing method, network function entity, device and storage medium
CN110740021B (en) A resource configuration and determination method, first node and second node
CN115915022B (en) Multicast broadcast service data transmission method, device, equipment and storage medium
CN114585110B (en) Control method and device for terminal entering inactive state
CN116074819A (en) PDU session processing method, network equipment, device and storage medium
CN115915072A (en) End-to-end PDU session management method, device and network equipment
CN116419186A (en) Information transmission and resource allocation method and device, terminal equipment and network equipment
CN114828073A (en) Resource allocation method, device, equipment and storage medium
CN115696469A (en) QoS parameter configuration method, device, apparatus and storage medium
CN114599120A (en) Method and device for terminal RRC connection recovery
CN111918412B (en) Communication system, service processing method and device
CN115811804A (en) Information processing method and device, terminal equipment and network equipment
WO2023116627A1 (en) Information processing method and apparatus, and readable storage medium
CN115604733A (en) Data processing method, device and storage medium
WO2024066666A1 (en) Data transmission priority determination method and apparatus, and device
WO2024066731A1 (en) Frequency resource acquisition method and apparatus, frequency resource determination method and apparatus, and terminal device and network device
CN118785520A (en) A method, device and equipment for establishing a session

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