[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110365727A - Communication method and related device - Google Patents

Communication method and related device Download PDF

Info

Publication number
CN110365727A
CN110365727A CN201810313185.XA CN201810313185A CN110365727A CN 110365727 A CN110365727 A CN 110365727A CN 201810313185 A CN201810313185 A CN 201810313185A CN 110365727 A CN110365727 A CN 110365727A
Authority
CN
China
Prior art keywords
network element
terminal
user plane
group identifier
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810313185.XA
Other languages
Chinese (zh)
Other versions
CN110365727B (en
Inventor
周汉
李汉成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810313185.XA priority Critical patent/CN110365727B/en
Priority to PCT/CN2019/081839 priority patent/WO2019196811A1/en
Publication of CN110365727A publication Critical patent/CN110365727A/en
Application granted granted Critical
Publication of CN110365727B publication Critical patent/CN110365727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

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

Abstract

本申请提供一种通信方法和通信装置。该通信方法包括:隧道端点网元从会话管理功能网元接收第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话;隧道端点网元根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。本申请提供的通信方法和通信装置,有助于更方便地管理AN上的UPF网元的地址信息。

The present application provides a communication method and a communication device. The communication method includes: the tunnel endpoint network element receives a first message from the session management function network element, the first message includes the identifier of the first terminal, the first group identifier and the first address information of the first user plane function network element, It is used to request to create a packet data unit session for the first terminal; the tunnel endpoint network element generates the context of the first terminal according to the first message, and records the group identifier of the first terminal as the first group identifier in the context of the first terminal , and record the address information of the user plane functional network element of the first terminal as the first address information. The communication method and communication device provided by the present application help to more conveniently manage the address information of the UPF network element on the AN.

Description

通信方法和相关装置Communication method and related device

技术领域technical field

本申请涉及通信领域,并且更具体地,涉及通信方法和相关装置。The present application relates to the field of communication, and more particularly, to communication methods and related devices.

背景技术Background technique

通信系统中,在终端(user equipment,UE)访问数据网络(data)的分组数据单元(packet data unit,PDU)会话建立流程中,会话管理功能(session managementfunction,SMF)网元会为终端分配互联网协议(internet protocol,IP)地址和用户面功能(user plane function,UPF)网元的N3接口IP地址,其中,SMF网元为该终端分配的IP地址需要归属于该UPF网元对外发布的路由地址池。In the communication system, during the process of establishing a packet data unit (PDU) session for a terminal (user equipment, UE) to access a data network (data), the session management function (session management function, SMF) network element will allocate the Internet to the terminal. The protocol (internet protocol, IP) address and the N3 interface IP address of the user plane function (UPF) network element, where the IP address assigned by the SMF network element to the terminal needs to belong to the route released by the UPF network element address pool.

当SMF网元获知该UPF网元发生故障或者过载之后,SMF网元会选择能够替代该UPF网元的新UPF网元,并在新UPF网元上重建故障或者过载的UPF网元上UE的PDU会话。When the SMF network element learns that the UPF network element is faulty or overloaded, the SMF network element will select a new UPF network element that can replace the UPF network element, and rebuild the faulty or overloaded UPF network element on the new UPF network element. PDU session.

在PDU会话的重建过程中,SMF分别需要向新的UPF网元和UE的接入网(accessnetwork,AN)发送PDU会话创建请求消息和PDU会话更新消息。新的UPF网元会根据该会话创建请求消息创建UE的PDU会话,AN会根据PDU会话更新消息更新UE上下文中的N3接口IP地址。During the reestablishment process of the PDU session, the SMF needs to send a PDU session creation request message and a PDU session update message to the new UPF network element and the UE's access network (access network, AN) respectively. The new UPF network element will create the PDU session of the UE according to the session creation request message, and the AN will update the N3 interface IP address in the UE context according to the PDU session update message.

其中,SMF网元需要为故障或过载的UPF网元上的每个PDU会话都向AN发送一次PDU会话更新消息,以更新UE上下文中记录的UPF网元的N3接口IP地址。这会导致信令开销较大。Among them, the SMF network element needs to send a PDU session update message to the AN for each PDU session on the faulty or overloaded UPF network element, so as to update the N3 interface IP address of the UPF network element recorded in the UE context. This results in high signaling overhead.

发明内容Contents of the invention

本申请提供一种通信方法和通信装置,有助于更方便的管理用户面功能网元的地址信息。The present application provides a communication method and a communication device, which are helpful for more convenient management of address information of user plane functional network elements.

第一方面,本申请提供了一种通信方法。该通信方法包括:隧道端点网元从会话管理功能网元接收第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话;隧道端点网元根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。In a first aspect, the present application provides a communication method. The communication method includes: the tunnel endpoint network element receives a first message from the session management function network element, the first message includes the identifier of the first terminal, the first group identifier and the first address information of the first user plane function network element, It is used to request to create a packet data unit session for the first terminal; the tunnel endpoint network element generates the context of the first terminal according to the first message, and records the group identifier of the first terminal as the first group identifier in the context of the first terminal , and record the address information of the user plane functional network element of the first terminal as the first address information.

该通信方法中,隧道端点网元从会话管理功能网元接收第一消息,第一消息中不仅包括用户面功能网元的地址信息,还包括第一终端的群组标识信息,有助于后续过程中更方便地对第一终端的用户面功能网元的地址信息进行管理。In this communication method, the tunnel endpoint network element receives the first message from the session management function network element, and the first message not only includes the address information of the user plane function network element, but also includes the group identification information of the first terminal, which is helpful for subsequent In the process, it is more convenient to manage the address information of the user plane functional network element of the first terminal.

结合第一方面,在第一种可能的实现方式中,该通信方法还包括:隧道端点网元从会话管理功能网元接收第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息;隧道端点网元根据第二消息中的第一群组标识确定第一终端,并将第一终端的用户面功能网元的地址信息中的第一地址信息修改为第二地址信息。With reference to the first aspect, in a first possible implementation manner, the communication method further includes: the tunnel endpoint network element receives a second message from the session management function network element, and the second message includes the first group identifier and the second user The second address information of the plane function network element is used to request to modify the address information of the user plane function network element of one or more terminals in the first group corresponding to the first group identifier to the second address information; the tunnel endpoint The network element determines the first terminal according to the first group identifier in the second message, and modifies the first address information in the address information of the user plane functional network element of the first terminal to the second address information.

该实现方式中,隧道端点网元从会话管理功能网元接收第二消息,并根据第二消息批量更新第一群组标识对应的一个或多个终端的用户面功能网元的地址信息,从而可以提高对终端的用户面功能网元的地址信息的管理便捷性。In this implementation, the tunnel endpoint network element receives the second message from the session management function network element, and updates the address information of the user plane function network element of one or more terminals corresponding to the first group identifier in batches according to the second message, so that The convenience of managing the address information of the user plane function network element of the terminal can be improved.

结合第一种可能的实现方式,在第二种可能的实现方式中,第二消息为分组数据单元会话修改请求消息。With reference to the first possible implementation manner, in a second possible implementation manner, the second message is a packet data unit session modification request message.

结合第一方面或上述任意一种可能的实现方式,在第三种可能的实现方式中,第一消息为分组数据单元会话创建请求消息。With reference to the first aspect or any one of the foregoing possible implementation manners, in a third possible implementation manner, the first message is a packet data unit session creation request message.

第二方面,本申请提出了一种通信方法。该通信方法包括:隧道端点网元从会话管理功能网元接收第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息;In a second aspect, the present application proposes a communication method. The communication method includes: the tunnel endpoint network element receives a second message from the session management function network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request the first modifying the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the group identifier to the second address information;

隧道端点网元根据第二消息,将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为第二地址信息。The tunnel endpoint network element records the address information of the user plane function network elements of one or more terminals in the first group corresponding to the first group identifier as the second address information according to the second message.

该通信方法中,隧道端点网元从会话管理网元接收第二消息,并根据第二消息将一个或多个终端的用户面功能网元的地址信息修改为第二地址信息,从而可以提高对终端的用户面功能网元的地址信息的管理便捷性。In this communication method, the tunnel end point network element receives the second message from the session management network element, and modifies the address information of the user plane function network element of one or more terminals into the second address information according to the second message, thereby improving the communication efficiency. The management convenience of the address information of the user plane function network element of the terminal.

结合第二方面,在第一种可能的实现方式中,第二消息为分组数据单元修改请求消息。With reference to the second aspect, in a first possible implementation manner, the second message is a packet data unit modification request message.

结合第二方面或第一种可能的实现方式,在第二种可能的实现方式中,第一群组中的一个或多个终端包括第一终端。With reference to the second aspect or the first possible implementation manner, in a second possible implementation manner, the one or more terminals in the first group include the first terminal.

其中,隧道端点网元从会话管理功能网元接收第二消息之前,该通信方法还包括:Wherein, before the tunnel endpoint network element receives the second message from the session management function network element, the communication method further includes:

隧道端点网元从会话管理功能网元接收第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话;The tunnel endpoint network element receives the first message from the session management function network element, the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane function network element, and is used to request to be the second a terminal creates a packet data unit session;

隧道端点网元根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。The tunnel endpoint network element generates the context of the first terminal according to the first message, and records the group identifier of the first terminal as the first group identifier in the context of the first terminal, and records the user plane function network element of the first terminal The address information is first address information.

隧道端点网元根据第二消息,将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为第二地址信息,包括:According to the second message, the tunnel endpoint network element records the address information of the user plane function network element of one or more terminals in the first group corresponding to the first group identifier as the second address information, including:

隧道端点网元根据第二消息,将第一终端的用户面功能网元的地址信息中的第一地址信息修改为第二地址信息。The tunnel endpoint network element modifies the first address information in the address information of the user plane function network element of the first terminal to the second address information according to the second message.

该实现方式中,隧道端点网元先从会话管理功能网元接收第一终端的第一群组标识,从而有助于隧道端点网元根据第二消息,将第一群组标识对应的一个或多个终端的用户面功能网元的地址信息更新为第二地址信息。In this implementation, the tunnel endpoint network element first receives the first group identifier of the first terminal from the session management function network element, which helps the tunnel endpoint network element to assign the first group identifier corresponding to one or The address information of the user plane functional network elements of the multiple terminals is updated to the second address information.

结合第二种可能的实现方式,在第三种可能的实现方式中,第一消息为分组数据单元会话创建请求消息。With reference to the second possible implementation manner, in a third possible implementation manner, the first message is a packet data unit session creation request message.

第三方面,本申请提供了一种通信方法。该通信方法包括:会话管理功能网元确定需要为第一终端创建分组数据单元会话;会话管理功能网元获知第一终端的第一用户面功能网元;会话管理功能网元获知第一终端的第一群组标识;会话管理功能网元向隧道端点网元发送第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。In a third aspect, the present application provides a communication method. The communication method includes: the session management function network element determines that a packet data unit session needs to be created for the first terminal; the session management function network element obtains the first user plane function network element of the first terminal; the session management function network element obtains the first terminal's The first group identifier: the session management function network element sends a first message to the tunnel endpoint network element, and the first message includes the identifier of the first terminal, the first group identifier and the first address information of the first user plane function network element , used to request to create a packet data unit session for the first terminal.

该通信方法中,会话管理功能网元向隧道端点网元发送第一消息,第一消息中不仅包括用户面功能网元的地址信息,还包括第一终端的群组标识信息,有助于后续过程中更方便地对第一终端的用户面功能网元的地址信息进行管理。In this communication method, the session management function network element sends a first message to the tunnel endpoint network element, and the first message not only includes the address information of the user plane function network element, but also includes the group identification information of the first terminal, which is helpful for subsequent In the process, it is more convenient to manage the address information of the user plane functional network element of the first terminal.

结合第三方面,在第一种可能的实现方式中,第一消息为分组数据单元会话创建请求消息。With reference to the third aspect, in a first possible implementation manner, the first message is a packet data unit session creation request message.

结合第三方面或第一种可能的实现方式,在第二种可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识,包括:With reference to the third aspect or the first possible implementation manner, in the second possible implementation manner, the learning of the first group identifier of the first terminal by the session management function network element includes:

会话管理功能网元获取第一终端的地址信息;The network element with the session management function acquires the address information of the first terminal;

会话管理功能网元根据第一终端的地址信息,确定第一终端的地址属于第一地址段;The session management function network element determines that the address of the first terminal belongs to the first address segment according to the address information of the first terminal;

会话管理功能网元根据第一地址段确定第一群组标识。The session management function network element determines the first group identifier according to the first address segment.

结合第三方面或第一种可能的实现方式,在第三种可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识,包括:With reference to the third aspect or the first possible implementation manner, in the third possible implementation manner, the network element with the session management function acquires the first group identifier of the first terminal, including:

会话管理功能网元从第一用户面功能网元接收第一指示信息,第一指示信息用于指示第一终端的群组标识为第一群组标识;The session management functional network element receives first indication information from the first user plane functional network element, where the first indication information is used to indicate that the group identifier of the first terminal is the first group identifier;

会话管理功能网元根据第一指示信息确定第一群组标识。The session management function network element determines the first group identifier according to the first indication information.

结合第三方面或第一种至第三种中任意一种可能的实现方式,在第四种可能的实现方式中,该通信方法还包括:In combination with the third aspect or any one of the first to third possible implementation manners, in a fourth possible implementation manner, the communication method further includes:

会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;The session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element;

会话管理功能网元获知第一群组标识,其中,第一群组标识与第一地址段对应;The network element with the session management function acquires the first group identifier, where the first group identifier corresponds to the first address segment;

会话管理功能网元向隧道端点网元发送第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息。The session management function network element sends a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request the The address information of the user plane functional network elements of one or more terminals in the first group is modified to the second address information.

该实现方式中,会话管理功能网元向隧道端点网元发送第二消息,使得隧道端点网元可以根据第二消息批量更新第一群组标识对应的一个或多个终端的用户面功能网元的地址信息,从而可以提高对终端的用户面功能网元的地址信息的管理便捷性。In this implementation, the session management function network element sends a second message to the tunnel end point network element, so that the tunnel end point network element can update the user plane function network elements of one or more terminals corresponding to the first group identifier in batches according to the second message The address information of the terminal can improve the convenience of managing the address information of the user plane function network element of the terminal.

结合第四种可能的实现方式,在第五种可能的实现方式中,第二消息为分组数据单元会话修改请求消息。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the second message is a packet data unit session modification request message.

结合第四种或第五种可能的实现方式,在第六种可能的实现方式中,会话管理功能网元获知第一群组标识,包括:会话管理功能网元根据第一地址段确定与第一地址段对应的第一群组标识。In combination with the fourth or fifth possible implementation, in a sixth possible implementation, the network element with the session management function obtains the first group identifier, including: A first group identifier corresponding to an address segment.

结合第四种或第五种可能的实现方式,在第七种可能的实现方式中,会话管理功能网元获知第一群组标识,包括:会话管理功能网元将第一终端的上下文中记录的群组标识确定为第一群组标识。With reference to the fourth or fifth possible implementation, in a seventh possible implementation, the session management function network element obtains the first group identifier, including: the session management function network element records the context of the first terminal The group identifier of is determined as the first group identifier.

结合第四种至第七种中任意一种可能的实现方式,在第八种可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,包括:In combination with any of the fourth to seventh possible implementations, in the eighth possible implementation, the session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user Surface functional network elements, including:

会话管理功能网元根据第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为第二用户面功能网元。The session management functional network element determines that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element according to the load information of the user plane functional network element currently associated with the first address segment.

结合第四种至第七种中任意一种可能的实现方式,在第九种可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,包括:In combination with any of the fourth to seventh possible implementations, in the ninth possible implementation, the session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user Surface functional network elements, including:

会话管理功能网元从第一网元接收第二指示信息,第二指示信息用于指示第一地址段关联的用户面功能网元需要改为第二用户面功能网元;The session management function network element receives second indication information from the first network element, and the second indication information is used to indicate that the user plane function network element associated with the first address segment needs to be changed to the second user plane function network element;

会话管理功能网元根据第二指示信息确定第一地址段关联的用户面功能网元需要改为第二用户面功能网元。The session management functional network element determines according to the second indication information that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element.

其中,第一网元可以网络功能存储网元或操作管理和维护系统网元。Wherein, the first network element may store network elements for network functions or operate, manage and maintain system network elements.

结合第四种至第九种中任意一种可能的实现方式,在第十种可能的实现方式中,第一地址段对应多个群组标识,这多个群组标识包括第一群组标识。With reference to any one of the fourth to ninth possible implementation manners, in the tenth possible implementation manner, the first address segment corresponds to multiple group identifiers, and the multiple group identifiers include the first group identifier .

第四方面,本申请提供了一种通信方法。该通信方法包括:In a fourth aspect, the present application provides a communication method. The communication methods include:

会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;The session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element;

会话管理功能网元获知第一群组标识,其中,第一群组标识与第一地址段对应;The network element with the session management function acquires the first group identifier, where the first group identifier corresponds to the first address segment;

会话管理功能网元向隧道端点网元发送第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息。The session management function network element sends a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request the The address information of the user plane functional network elements of one or more terminals in the first group is modified to the second address information.

该通信方法中,会话管理功能网元向隧道端点网元发送第二消息,使得隧道端点网元可以根据第二消息将一个或多个终端的用户面功能网元的地址信息修改为第二地址信息,从而可以提高对终端的用户面功能网元的地址信息的管理便捷性。In the communication method, the session management function network element sends a second message to the tunnel end point network element, so that the tunnel end point network element can modify the address information of the user plane function network element of one or more terminals to the second address according to the second message Information, so as to improve the convenience of managing the address information of the user plane functional network element of the terminal.

结合第四方面,在第一种可能的实现方式中,第二消息为分组数据单元修改请求消息。With reference to the fourth aspect, in a first possible implementation manner, the second message is a packet data unit modification request message.

结合第四方面或第一种可能的实现方式,在第二种可能的实现方式中,会话管理功能网元获知第一群组标识,包括:With reference to the fourth aspect or the first possible implementation, in the second possible implementation, the network element with the session management function obtains the first group identifier, including:

会话管理功能网元根据第一地址段确定与第一地址段对应的所述第一群组标识。The session management function network element determines the first group identifier corresponding to the first address segment according to the first address segment.

结合第四方面或第一种可能的实现方式,在第三种可能的实现方式中,会话管理功能网元获知第一群组标识,包括:With reference to the fourth aspect or the first possible implementation manner, in the third possible implementation manner, the network element with the session management function obtains the first group identifier, including:

会话管理功能网元将第一终端的上下文中记录的群组标识确定为第一群组标识。The session management function network element determines the group identifier recorded in the context of the first terminal as the first group identifier.

结合第四方面或第一种至第三种中任意一种可能的实现方式,在第四种可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,包括:In combination with the fourth aspect or any one of the possible implementations from the first to the third, in the fourth possible implementation, the session management function network element learns that the user plane function network element associated with the first address segment needs to modify It is the second user plane functional network element, including:

会话管理功能网元根据第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为第二用户面功能网元。The session management functional network element determines that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element according to the load information of the user plane functional network element currently associated with the first address segment.

结合第四方面或第一种至第三种中任意一种可能的实现方式,在第五种可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,包括:In combination with the fourth aspect or any one of the first to third possible implementations, in the fifth possible implementation, the session management function network element learns that the user plane function network element associated with the first address segment needs to modify It is the second user plane functional network element, including:

会话管理功能网元从第一网元接收第二指示信息,第二指示信息用于指示第一地址段关联的用户面功能网元需要改为第二用户面功能网元;The session management function network element receives second indication information from the first network element, and the second indication information is used to indicate that the user plane function network element associated with the first address segment needs to be changed to the second user plane function network element;

会话管理功能网元根据第二指示信息确定第一地址段关联的用户面功能网元需要改为第二用户面功能网元。The session management functional network element determines according to the second indication information that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element.

结合第四方面或上述任意一种可能的实现方式,在第六种可能的实现方式中,第一群组中的一个或多个终端包括第一终端。With reference to the fourth aspect or any one of the foregoing possible implementation manners, in a sixth possible implementation manner, the one or more terminals in the first group include the first terminal.

其中,会话管理功能网元向所述隧道端点网元发送第二消息之前,该通信方法还包括:Wherein, before the session management function network element sends the second message to the tunnel endpoint network element, the communication method further includes:

会话管理功能网元确定需要为第一终端创建分组数据单元会话;The session management function network element determines that a packet data unit session needs to be created for the first terminal;

会话管理功能网元获知第一终端的第一用户面功能网元;The session management function network element learns the first user plane function network element of the first terminal;

会话管理功能网元获知第一终端的所述第一群组标识;The network element with the session management function acquires the first group identifier of the first terminal;

会话管理功能网元向隧道端点网元发送第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。The session management function network element sends a first message to the tunnel endpoint network element, and the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane function network element, and is used to request to be the second A terminal creates a packet data unit session.

该实现方式中,会话管理功能网元向隧道端点网元先发送第一终端的第一群组标识,从而有助于隧道端点网元根据第二消息,将第一群组标识对应的一个或多个终端的用户面功能网元的地址信息更新为第二地址信息。In this implementation, the network element with the session management function first sends the first group identifier of the first terminal to the tunnel endpoint network element, which helps the tunnel endpoint network element to assign one or more terminals corresponding to the first group identifier according to the second message. The address information of the user plane functional network elements of the multiple terminals is updated to the second address information.

结合第六种可能的实现方式,在第七种可能的实现方式中,第一消息为分组数据单元会话创建请求消息。With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the first message is a packet data unit session creation request message.

结合第六种或第七种可能的实现方式,在第八种可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识,包括:With reference to the sixth or seventh possible implementation, in an eighth possible implementation, the network element with the session management function acquires the first group identifier of the first terminal, including:

会话管理功能网元获取第一终端的地址信息;The network element with the session management function acquires the address information of the first terminal;

会话管理功能网元根据第一终端的地址信息,确定第一终端的地址属于第一地址段;The session management function network element determines that the address of the first terminal belongs to the first address segment according to the address information of the first terminal;

会话管理功能网元根据第一地址段确定第一群组标识。The session management function network element determines the first group identifier according to the first address segment.

结合第六种或第七种可能的实现方式,在第九种可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识,包括:With reference to the sixth or seventh possible implementation, in a ninth possible implementation, the network element with the session management function acquires the first group identifier of the first terminal, including:

会话管理功能网元从第一用户面功能网元接收第一指示信息,第一指示信息用于指示第一终端的群组标识为第一群组标识;The session management functional network element receives first indication information from the first user plane functional network element, where the first indication information is used to indicate that the group identifier of the first terminal is the first group identifier;

会话管理功能网元根据第一指示信息确定第一群组标识。The session management function network element determines the first group identifier according to the first indication information.

结合第四方面或上述任意一种可能的实现方式,在第十种可能的实现方式中,第一地址段对应多个群组标识,这多个群组标识包括第一群组标识。With reference to the fourth aspect or any one of the foregoing possible implementation manners, in a tenth possible implementation manner, the first address segment corresponds to multiple group identifiers, and the multiple group identifiers include the first group identifier.

结合第四种至第九种中任意一种可能的实现方式,在第十种可能的实现方式中,第一地址段对应多个群组标识,这多个群组标识包括第一群组标识。With reference to any one of the fourth to ninth possible implementation manners, in the tenth possible implementation manner, the first address segment corresponds to multiple group identifiers, and the multiple group identifiers include the first group identifier .

第五方面,本申请提供了一种通信方法。该通信方法包括:用户面功能网元确定第一终端的地址信息;用户面功能网元根据第一终端的地址信息,确定第一终端的第一群组标识,第一终端的地址所属的第一地址段与第一群组标识之间具有对应关系;用户面功能网元向会话管理功能网元发送第一群组标识。In a fifth aspect, the present application provides a communication method. The communication method includes: the user plane functional network element determines the address information of the first terminal; the user plane functional network element determines the first group identifier of the first terminal according to the address information of the first terminal, and the first group identifier to which the address of the first terminal belongs There is a corresponding relationship between an address segment and the first group identifier; the user plane functional network element sends the first group identifier to the session management functional network element.

该通信方法中,用户面功能网元为第一终端分配群组标识,有助于后续流程中根据第一终端的第一群组标识方便管理第一终端的用户面功能网元的地址信息。In this communication method, the user plane functional network element assigns a group identifier to the first terminal, which facilitates management of the address information of the user plane functional network element of the first terminal according to the first group identifier of the first terminal in subsequent processes.

结合第五方面,在一种可能的实现方式中,第一地址段对应多个群组标识,这多个群组标识包括第一群组标识。With reference to the fifth aspect, in a possible implementation manner, the first address segment corresponds to multiple group identifiers, and the multiple group identifiers include the first group identifier.

第六方面,本申请提供了一种通信方法。该通信方法包括:第一网元确定第一地址段内的终端由第二用户面功能网元服务;第一网元向会话管理功能网元发送第二指示信息,第二指示信息用于指示第一地址段内的终端由第二用户面功能网元服务。In a sixth aspect, the present application provides a communication method. The communication method includes: the first network element determines that the terminal in the first address segment is served by the second user plane function network element; the first network element sends second indication information to the session management function network element, and the second indication information is used to indicate Terminals in the first address segment are served by the second user plane functional network element.

结合第六方面,在一种可能的实现方式中,第一网元确定第一地址段内的终端由第二用户面功能网元服务,包括:第一网元根据第二用户面功能网元的负载信息,确定第一地址段内的终端由第二用户面功能网元服务。With reference to the sixth aspect, in a possible implementation manner, the first network element determines that the terminals in the first address segment are served by the second user plane function network element, including: the first network element according to the second user plane function network element load information to determine that the terminals in the first address segment are served by the second user plane functional network element.

结合第六方面或第一种可能的实现方式,在二种可能的实现方式中,第一网元是网络功能存储网元或操作管理和维护系统网元。With reference to the sixth aspect or the first possible implementation manner, in the two possible implementation manners, the first network element is a network function storage network element or an operation management and maintenance system network element.

第七方面,本申请提供了一种通信方法。该通信方法包括:In a seventh aspect, the present application provides a communication method. The communication methods include:

第一网元接收会话管理功能网元发送的第三消息;The first network element receives the third message sent by the session management function network element;

第一网元获知用户面功能网元上线;The first network element learns that the user plane functional network element is online;

第一网元为用户面功能网元分配TEID段,并向会话管理功能网元发送第四消息,第四消息中包括TEID段。The first network element allocates a TEID segment to the user plane functional network element, and sends a fourth message to the session management functional network element, where the fourth message includes the TEID segment.

结合第七方面,在第一种可能的实现方式中,第一网元为用户面功能网元分配TEID段,包括:With reference to the seventh aspect, in a first possible implementation manner, the first network element assigns a TEID segment to the user plane functional network element, including:

第一网元为订阅用户面功能网元状态的会话管理功能网元分配对应的TEID段。The first network element allocates a corresponding TEID segment to the session management functional network element subscribing to the state of the user plane functional network element.

结合第七方面或第一种可能的实现方式,在第二种可能的实现方式中,第三消息是用户面功能网元状态订阅消息,第四消息是用户面功能网元状态通知消息。With reference to the seventh aspect or the first possible implementation manner, in the second possible implementation manner, the third message is a user plane functional network element status subscription message, and the fourth message is a user plane functional network element status notification message.

结合第七方面或第一种或第二种可能的实现方式,在三种可能的实现方式中,第一网元是网络功能存储网元或操作管理和维护系统网元。With reference to the seventh aspect or the first or second possible implementation manner, in the three possible implementation manners, the first network element is a network function storage network element or an operation management and maintenance system network element.

第八方面,本申请提供了一种通信装置。该通信装置包括用于执行第一方面至第七方面中任意一个方面中的通信方法的模块。该通信装置包括的模块可以通过软件和/或硬件方式实现。In an eighth aspect, the present application provides a communication device. The communication device includes a module for executing the communication method in any one of the first aspect to the seventh aspect. The modules included in the communication device may be implemented by means of software and/or hardware.

第九方面,本申请提供了一种隧道端点网元。该隧道端点网元包括处理器和接收器。处理器用于执行程序。当处理器执行代码时,处理器和接收器实现第一方面或第二方面中的通信方法。In a ninth aspect, the present application provides a tunnel endpoint network element. The tunnel endpoint network element includes a processor and a receiver. The processor is used to execute programs. When the processor executes the code, the processor and the receiver realize the communication method in the first aspect or the second aspect.

可选地,该隧道端点网元还可以包括发送器。发送器用于发送信息。Optionally, the tunnel endpoint network element may also include a transmitter. Transmitters are used to send messages.

可选地,该隧道端点网元还可以包括存储器。存储器用于存储程序和数据。Optionally, the tunnel endpoint network element may also include a memory. Memory is used to store programs and data.

第十方面,本申请提供了一种会话管理功能网元。该会话管理功能网元包括处理器和收发器。处理器用于执行程序。当处理器执行代码时,处理器和收发器实现第三方面或第四方面中的通信方法。In a tenth aspect, the present application provides a network element with a session management function. The session management function network element includes a processor and a transceiver. The processor is used to execute programs. When the processor executes the code, the processor and the transceiver implement the communication method in the third aspect or the fourth aspect.

可选地,该会话管理功能网元还可以包括存储器。存储器用于存储程序和数据。Optionally, the session management function network element may also include a memory. Memory is used to store programs and data.

第十一方面,本申请提供了一种用户面功能网元。该用户面功能网元包括处理器和收发器。处理器用于执行程序。当处理器执行代码时,处理器和收发器实现第五方面中的通信方法。In an eleventh aspect, the present application provides a user plane functional network element. The user plane functional network element includes a processor and a transceiver. The processor is used to execute programs. When the processor executes the code, the processor and the transceiver implement the communication method in the fifth aspect.

可选地,该用户面功能网元还可以包括存储器。存储器用于存储程序和数据。Optionally, the user plane functional network element may also include a memory. Memory is used to store programs and data.

第十二方面,本申请提供了一种通信网元。该通信网元包括处理器和收发器。处理器用于执行程序。当处理器执行代码时,处理器和收发器实现第六方面或第七方面中的通信方法。In a twelfth aspect, the present application provides a communication network element. The communication network element includes a processor and a transceiver. The processor is used to execute programs. When the processor executes the code, the processor and the transceiver implement the communication method in the sixth aspect or the seventh aspect.

可选地,该通信网元还可以包括存储器。存储器用于存储程序和数据。Optionally, the communication network element may also include a memory. Memory is used to store programs and data.

第十三方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置或隧道端点网元执行的程序代码。该程序代码包括用于执行第一方面或第二方面中的通信方法的指令。In a thirteenth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program codes for execution by the communication device or the tunnel endpoint network element. The program code includes instructions for executing the communication method in the first aspect or the second aspect.

第十四方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置或会话管理功能网元执行的程序代码。该程序代码包括用于执行第三方面或第四方面中的通信方法的指令。In a fourteenth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program codes for execution by the communication device or the session management function network element. The program code includes instructions for executing the communication method in the third aspect or the fourth aspect.

第十五方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置或用户面功能网元执行的程序代码。该程序代码包括用于执行第五方面中的通信方法的指令。In a fifteenth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program codes for execution by the communication device or the user plane functional network element. The program code includes instructions for executing the communication method in the fifth aspect.

第十六方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置或通信网元执行的程序代码。该程序代码包括用于执行第六方面或第七方面中的通信方法的指令。In a sixteenth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program codes for execution by the communication device or the communication network element. The program code includes instructions for executing the communication method in the sixth aspect or the seventh aspect.

第十七方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置或隧道端点网元上运行时,使得通信装置或隧道端点网元执行第一方面或第二方面中的通信方法。In a seventeenth aspect, the present application provides a computer program product including instructions. When the computer program product runs on the communication device or the tunnel endpoint network element, the communication device or the tunnel endpoint network element executes the communication method in the first aspect or the second aspect.

第十八方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置或会话管理功能网元上运行时,使得通信装置或会话管理功能网元执行第三方面或第四方面中的通信方法。In an eighteenth aspect, the present application provides a computer program product including instructions. When the computer program product runs on the communication device or the session management function network element, the communication device or the session management function network element executes the communication method in the third aspect or the fourth aspect.

第十九方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置或用户面功能网元上运行时,使得通信装置或用户面功能网元执行第五方面中的通信方法。In a nineteenth aspect, the present application provides a computer program product including instructions. When the computer program product runs on the communication device or the user plane functional network element, the communication device or the user plane functional network element is made to execute the communication method in the fifth aspect.

第二十方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置或通信网元上运行时,使得通信装置或通信网元执行第六方面或第七方面中的通信方法。In a twentieth aspect, the present application provides a computer program product comprising instructions. When the computer program product runs on the communication device or the communication network element, it causes the communication device or the communication network element to execute the communication method in the sixth aspect or the seventh aspect.

第二十一方面,本申请提供了一种系统芯片,该系统芯片包括输入输出接口、至少一个处理器、至少一个存储器和总线,该至少一个存储器用于存储指令,该至少一个处理器用于调用该至少一个存储器的指令,以进行第一方面至第七方面中任意一个方面中的通信方法的操作。In a twenty-first aspect, the present application provides a system chip, the system chip includes an input and output interface, at least one processor, at least one memory and a bus, the at least one memory is used to store instructions, and the at least one processor is used to call Instructions of the at least one memory are used to perform the operation of the communication method in any one of the first aspect to the seventh aspect.

第二十二方面,本申请提供了一种通信系统,该通信系统包括以下至少一项:第九方面中的隧道端点网元、第十方面中的会话管理功能网元、第十一方面中的用户面功能网元和第十二方面中的通信网元。In a twenty-second aspect, the present application provides a communication system, which includes at least one of the following: the tunnel endpoint network element in the ninth aspect, the session management function network element in the tenth aspect, the eleventh aspect The user plane function network element and the communication network element in the twelfth aspect.

在一个可能的设计中,该通信系统还可以包括本申请实施例提供的方案中与上述网元进行交互的其他设备,例如终端设备。In a possible design, the communication system may further include other devices, such as terminal devices, that interact with the foregoing network elements in the solutions provided by the embodiments of the present application.

附图说明Description of drawings

图1是可以应用本申请实施例的通信方法的通信系统的示意性架构图;FIG. 1 is a schematic architecture diagram of a communication system to which a communication method according to an embodiment of the present application can be applied;

图2是本申请一个实施例的通信方法的示意性流程图;FIG. 2 is a schematic flowchart of a communication method according to an embodiment of the present application;

图3是本申请另一个实施例的通信方法的示意性流程图;FIG. 3 is a schematic flowchart of a communication method according to another embodiment of the present application;

图4是本申请另一个实施例的通信方法的示意性流程图;FIG. 4 is a schematic flowchart of a communication method according to another embodiment of the present application;

图5是本申请另一个实施例的通信方法的示意性流程图;FIG. 5 is a schematic flowchart of a communication method according to another embodiment of the present application;

图6是本申请另一个实施例的通信方法的示意性流程图;FIG. 6 is a schematic flowchart of a communication method according to another embodiment of the present application;

图7是本申请另一个实施例的通信方法的示意性流程图;FIG. 7 is a schematic flowchart of a communication method according to another embodiment of the present application;

图8是本申请另一个实施例的通信方法的示意性流程图;FIG. 8 is a schematic flowchart of a communication method according to another embodiment of the present application;

图9是本申请一个实施例的通信装置的示意性结构图;FIG. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application;

图10是本申请另一个实施例的通信装置的示意性结构图。Fig. 10 is a schematic structural diagram of a communication device according to another embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.

图1为可以应用本申请实施例的通信方法的一种通信系统的示意性架构图。图1所示的通信系统中可以包括终端设备110、接入网设备120、接入和移动性管理功能网元130、会话管理功能网元140、用户面功能网元151、用户面功能网元152、数据网络160。FIG. 1 is a schematic architecture diagram of a communication system to which the communication method of the embodiment of the present application can be applied. The communication system shown in FIG. 1 may include a terminal device 110, an access network device 120, an access and mobility management functional network element 130, a session management functional network element 140, a user plane functional network element 151, a user plane functional network element 152. Data network 160.

可选地,图1所示的通信系统中还可以包括网络功能存储功能网元170,以及操作管理和维护系统网元180。Optionally, the communication system shown in FIG. 1 may further include a network function storage function network element 170 and an operation management and maintenance system network element 180 .

接入和移动性管理功能网元130、会话管理功能网元140、用户面功能网元151和用户面功能网元152所组成的网络可以称为核心网。其中,会话管理功能网元140可以管理多个用户面功能网元,例如用户面功能网元151和用户面功能网元152。The network formed by the access and mobility management functional network element 130, the session management functional network element 140, the user plane functional network element 151 and the user plane functional network element 152 may be called a core network. Wherein, the session management functional network element 140 may manage multiple user plane functional network elements, such as the user plane functional network element 151 and the user plane functional network element 152 .

终端设备可以经AN设备与一个或多个核心网进行通信。终端设备可称为接入终端、终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线网络设备、用户代理或用户装置。终端可以是蜂窝电话、无绳电话、会话启动协议(sessioninitiation protocol,SIP)电话、无线本地环路(wireless localloop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它设备、车载设备、可穿戴设备或物联网、车辆网、智慧城市或智慧家庭中的终端设备以及未来网络中的任意形态的终端设备等。终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。Terminal equipment can communicate with one or more core networks via AN equipment. A terminal device can be called an access terminal, terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless network equipment, user agent, or user device. A terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication capabilities , computing devices or other devices connected to wireless modems, in-vehicle devices, wearable devices or Internet of Things, vehicle networks, terminal devices in smart cities or smart homes, and any form of terminal devices in future networks. Terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as on aircraft, balloons, and satellites, etc.).

接入网(access network,AN)设备可以是无线接入网(radio access network,RAN)设备。RAN设备的一种示例是基站(base station,BS)。An access network (access network, AN) device may be a radio access network (radio access network, RAN) device. An example of a RAN device is a base station (base station, BS).

基站,也可称为基站设备,是一种将终端设备接入到无线网络的设备,包括但不限于:传输接收点(transmission reception point,TRP)、5G节点B(gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(nodeB,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiverstation,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(base band unit,BBU),或Wifi接入点(access point,AP),或小基站设备(pico)等。A base station, also known as a base station device, is a device that connects terminal devices to a wireless network, including but not limited to: transmission reception point (TRP), 5G Node B (gNB), and evolved Node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (nodeB, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home A base station (for example, home evolved nodeB, or home node B, HNB), a base band unit (base band unit, BBU), or a Wifi access point (access point, AP), or a small cell device (pico), etc.

应理解,本文对基站的具体类型不作限定。采用不同无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同。为方便描述,本申请所有实施例中,上述为终端提供无线通信功能的装置统称为基站。It should be understood that the specific type of the base station is not limited herein. In systems using different radio access technologies, the names of equipment with base station functions may be different. For the convenience of description, in all the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for terminals are collectively referred to as base stations.

用户面功能网元具有终端设备的报文转发、封装和统计等功能。在5G中,用户面功能网元可以是UPF网元。在未来通信系统中,例如,在6G中,用户面功能网元仍可以是UPF网元,或可以有其它的名称,本申请不做限定。The user plane function network element has functions such as packet forwarding, encapsulation and statistics of terminal equipment. In 5G, the user plane functional network element may be a UPF network element. In future communication systems, for example, in 6G, the user plane functional network element may still be a UPF network element, or may have other names, which are not limited in this application.

接入和移动性管理功能网元负责终端设备的接入和移动性管理。例如,负责终端设备位置更新、终端设备注册网络或终端设备切换等。在5G中,接入和移动性管理功能网元可以是AMF(access and mobility management function)网元。在未来通信系统中,例如,在6G中,接入和移动性管理功能网元仍可以是AMF网元,或可以有其它的名称,本申请不做限定。The access and mobility management function network element is responsible for the access and mobility management of terminal equipment. For example, it is responsible for terminal device location update, terminal device registration network or terminal device switching, etc. In 5G, the access and mobility management function network element may be an AMF (access and mobility management function) network element. In future communication systems, for example, in 6G, the access and mobility management functional network element may still be an AMF network element, or may have other names, which are not limited in this application.

会话管理功能网元负责用户面功能网元的选择、重选,互联网协议(internetprotocol,IP)地址的分配等,还可以负责会话的建立、修改和释放等。在5G中,会话管理功能网元可以是SMF网元。在未来通信系统中,例如,在6G中,会话管理功能网元仍可以是SMF网元,或可以有其它的名称,本申请不做限定。The session management function network element is responsible for the selection and reselection of user plane function network elements, the allocation of Internet protocol (internet protocol, IP) addresses, etc., and may also be responsible for the establishment, modification, and release of sessions. In 5G, the session management function network element may be an SMF network element. In future communication systems, for example, in 6G, the session management function network element may still be an SMF network element, or may have other names, which are not limited in this application.

网络功能存储功能网元负责控制面功能网元与用户面功能网元的注册,服务发现等功能。在5G中,网络功能存储功能网元可以是NRF(network function repositoryfunction)网元。在未来通信系统中,例如,在6G中,网络功能存储功能网元仍可以是NRF网元,或可以有其它的名称,本申请不做限定。The network function storage function network element is responsible for the registration of the control plane function network element and the user plane function network element, service discovery and other functions. In 5G, the network function storage function network element may be an NRF (network function repository function) network element. In the future communication system, for example, in 6G, the network function storage function network element may still be an NRF network element, or may have other names, which are not limited in this application.

操作管理和维护系统网元负责各网元的操作,管理和维护功能。在5G中,操作管理和维护系统网元可以是OAM(operations administration and maintenance)网元。在未来通信系统中,例如,在6G中,操作管理和维护系统网元仍可以是OAM网元,或可以有其它的名称,本申请不做限定。The operation management and maintenance system network element is responsible for the operation, management and maintenance functions of each network element. In 5G, the operation management and maintenance system network element can be an OAM (operations administration and maintenance) network element. In the future communication system, for example, in 6G, the operation management and maintenance system network element may still be an OAM network element, or may have other names, which are not limited in this application.

数据网络是指为终端设备提供数据传输服务的运营商网络。例如,数据网络可以是提供IP多媒体业务(IP multi-media,IMS)、互联网业务等业务的网络。在5G中,数据网络可以是DN(data network)。在未来通信系统中,例如,在6G中,数据网络仍可以称为DN,或可以有其它的名称,本申请不做限定。A data network refers to an operator network that provides data transmission services for terminal devices. For example, the data network may be a network that provides IP multimedia services (IP multi-media, IMS), Internet services and other services. In 5G, the data network can be DN (data network). In future communication systems, for example, in 6G, the data network may still be called DN, or may have other names, which are not limited in this application.

可以理解的是,上述功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。It can be understood that the above function can be a network element in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).

应理解,本申请实施例并不限于图1所示的系统架构中。例如,可以应用本申请实施例的通信方法的通信系统中可以包括更多或更少的网元或设备。图1中的设备或网元可以是硬件,也可以是从功能上划分的软件或者以上二者的结合。图1中的设备或网元之间可以通过其他设备或网元通信。或者,图1中的设备可以有其他的名称。It should be understood that the embodiment of the present application is not limited to the system architecture shown in FIG. 1 . For example, the communication system to which the communication method of the embodiment of the present application can be applied may include more or less network elements or devices. The devices or network elements in FIG. 1 may be hardware, or functionally divided software, or a combination of the above two. The devices or network elements in Figure 1 may communicate with each other through other devices or network elements. Alternatively, the devices in Figure 1 may have other names.

在图1所示的通信系统中,终端设备110的PDU会话建立过程中,会话管理功能网元140可以向接入网设备120发送用户面功能网元151的N3接口IP地址,以便于接入网设备120根据该N3接口IP地址向用户面功能网元151发送终端设备10的业务数据。In the communication system shown in FIG. 1, during the establishment of the PDU session of the terminal device 110, the session management function network element 140 may send the N3 interface IP address of the user plane function network element 151 to the access network device 120, so as to facilitate access The network device 120 sends the service data of the terminal device 10 to the user plane functional network element 151 according to the N3 interface IP address.

当会话管理功能网元获知用户面功能网元151故障或者过载时,会话管理功能网元140可以选择用户面功能网元152来替代用户面功能网元151。并且,会话管理功能网元140会针对用户面功能网元151上的每个PDU会话,通过接入和移动性管理功能网元130,向接入网设备120发送一次用户面功能网元152的N3接口IP地址。When the session management functional network element learns that the user plane functional network element 151 is faulty or overloaded, the session management functional network element 140 may select the user plane functional network element 152 to replace the user plane functional network element 151 . In addition, the session management function network element 140 will, for each PDU session on the user plane function network element 151, send a message of the user plane function network element 152 to the access network device 120 through the access and mobility management function network element 130 IP address of the N3 interface.

这种更新用户面功能网元的N3接口IP地址的方法会降低会话管理功能网元140对接入网设备120上的用户面功能网元的地址信息的管理便捷性。This method of updating the IP address of the N3 interface of the user plane functional network element will reduce the convenience of managing the address information of the user plane functional network element on the access network device 120 by the session management functional network element 140 .

针对该问题,本申请提出了一种通信方法,有助于更方便地管理接入网设备上的用户面功能网元的地址信息。To solve this problem, this application proposes a communication method, which helps to more conveniently manage the address information of the user plane functional network element on the access network device.

基于图1的系统结构,本申请一个实施例的通信方法的示意性流程图如图2所示。图2所示的通信方法包括S201、S202、S203、S204和S205。Based on the system structure in FIG. 1 , a schematic flowchart of a communication method according to an embodiment of the present application is shown in FIG. 2 . The communication method shown in FIG. 2 includes S201, S202, S203, S204 and S205.

S201,会话管理功能网元确定需要为第一终端创建分组数据单元会话。S201. The session management function network element determines that a packet data unit session needs to be created for the first terminal.

其中,会话管理功能网元可以是图1中的会话管理功能网元140。第一终端可以是图1中的终端设备110。Wherein, the session management function network element may be the session management function network element 140 in FIG. 1 . The first terminal may be the terminal device 110 in FIG. 1 .

例如,第一终端向会话管理功能网元发送PDU会话建立请求消息时,会话管理功能网元可以确定需要为第一终端创建PDU会话。For example, when the first terminal sends a PDU session establishment request message to the session management function network element, the session management function network element may determine that a PDU session needs to be created for the first terminal.

S202,会话管理功能网元获知第一终端的第一用户面功能网元。S202. The session management function network element learns the first user plane function network element of the first terminal.

其中,第一用户面功能网元可以是图1中的用户面功能网元151或用户面功能网元152。Wherein, the first user plane functional network element may be the user plane functional network element 151 or the user plane functional network element 152 in FIG. 1 .

会话管理功能网元获知第一终端的第一用户面功能网元,可以理解为:会话管理功能网元获知当前可以为第一终端服务用户界面功能网元为第一用户面功能网元。该步骤可以参考现有技术中会话管理功能网元选择用户面功能网元的实现方式,此处不再赘述。The session management functional network element learning the first user plane functional network element of the first terminal may be understood as: the session management functional network element learns that the user interface functional network element that can currently serve the first terminal is the first user plane functional network element. For this step, reference may be made to the implementation manner in which the session management function network element selects the user plane function network element in the prior art, and details are not repeated here.

S203,会话管理功能网元获知第一终端的第一群组标识。S203. The network element with the session management function acquires the first group identifier of the first terminal.

第一群组标识为至少一个终端的群组标识。该至少一个终端中包括第一终端。至少一个终端也可以称为一个或多个终端。The first group identifier is a group identifier of at least one terminal. The at least one terminal includes the first terminal. At least one terminal may also be referred to as one or more terminals.

会话管理功能网元获知第一终端的第一群组标识,可以理解为:会话管理功能网元获知第一终端的群组标识为第一群组标识。The network element with the session management function acquires the first group identifier of the first terminal, which may be understood as: the network element with the session management function acquires that the group identifier of the first terminal is the first group identifier.

在一些可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识可以包括:会话管理功能网元自己为第一终端分配第一群组标识。In some possible implementation manners, the learning of the first group identifier of the first terminal by the session management function network element may include: assigning the first group identifier to the first terminal by the session management function network element itself.

例如,会话管理功能网元获取第一终端的地址信息;会话管理功能网元根据第一终端的地址信息,确定第一终端的地址属于第一地址段;会话管理功能网元根据第一地址段确定第一群组标识,第一地址段与第一群组标识之间具有对应关系。该实现方式随后将结合图4进行介绍。For example, the session management function network element obtains the address information of the first terminal; the session management function network element determines that the address of the first terminal belongs to the first address segment according to the address information of the first terminal; The first group identifier is determined, and there is a correspondence between the first address segment and the first group identifier. This implementation will be introduced later in conjunction with FIG. 4 .

其中,第一终端的地址可以是会话管理功能网元为第一终端分配的,也可以是其他网元为第一终端分配后,发送给SMF网元的。Wherein, the address of the first terminal may be allocated to the first terminal by the session management function network element, or may be sent to the SMF network element after being allocated to the first terminal by other network elements.

在另一些可能的实现方式中,会话管理功能网元获知第一终端的第一群组标识可以包括:用户面功能网元(例如第一用户面功能网元)为第一终端分配第一群组标识,并向会话管理功能网元发送第一指示信息,第一指示信息用于指示第一终端的群组标识为第一群组标识;会话管理功能网元从用户面功能网元接收第一指示信息,并根据第一指示信息确定第一终端的第一群组标识。该实现方式随后将结合图5进行介绍。In some other possible implementation manners, the learning of the first group identifier of the first terminal by the session management function network element may include: assigning the first group identifier to the first terminal by the user plane function network element (for example, the first user plane function network element) group identifier, and send the first instruction information to the session management function network element, the first instruction information is used to indicate that the group identifier of the first terminal is the first group identifier; the session management function network element receives the second group identifier from the user plane function network element an indication information, and determine the first group identifier of the first terminal according to the first indication information. This implementation will be introduced later in conjunction with FIG. 5 .

S204,会话管理功能网元向隧道端点网元发送第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。相应地,隧道端点网元从会话管理功能网元接收第一消息。S204. The session management functional network element sends a first message to the tunnel endpoint network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, and is used to request A packet data unit session is created for the first terminal. Correspondingly, the tunnel endpoint network element receives the first message from the session management function network element.

隧道端点(tunnel endpoint,TE)网元可以是图1中的接入网设备120,或者可以是图1中的用户面功能网元151或用户面功能网元152。A tunnel endpoint (tunnel endpoint, TE) network element may be the access network device 120 in FIG. 1 , or may be the user plane functional network element 151 or the user plane functional network element 152 in FIG. 1 .

终端的标识用于标识终端,具体的形式不限。例如,终端的标识的形式可以是N2连接标识,IMSI,终端的外部标识,终端内部标识,终端的永久标识,或者终端的临时标识等等。可以理解的是,在不同的网元设备可能对终端的标识的形式进行转化,但不同形式的终端的标识都可以用于标识终端。也就是说,不管形式上如何转化,只要能够将该终端与其他终端区分开的标识,都可以称为该终端的标识。The identifier of the terminal is used to identify the terminal, and the specific form is not limited. For example, the terminal identifier may be in the form of an N2 connection identifier, an IMSI, an external identifier of the terminal, an internal identifier of the terminal, a permanent identifier of the terminal, or a temporary identifier of the terminal, and so on. It can be understood that different network element devices may convert the form of the terminal identification, but the terminal identifications in different forms can be used to identify the terminal. That is to say, no matter how the form is transformed, as long as the identification that can distinguish the terminal from other terminals can be called the identification of the terminal.

第一用户面功能网元的第一地址信息可以是第一用户面功能网元的N3接口IP地址信息。The first address information of the first user plane functional network element may be the IP address information of the N3 interface of the first user plane functional network element.

第一消息可以是PDU会话创建请求消息(PDU session establish requestmessage)。The first message may be a PDU session establish request message (PDU session establish request message).

S205,隧道端点网元根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。S205. The tunnel endpoint network element generates the context of the first terminal according to the first message, and records the group identifier of the first terminal as the first group identifier in the context of the first terminal, and records the user plane functional network of the first terminal The address information of the element is the first address information.

第一终端的上下文可以是第一终端的会话上下文。The context of the first terminal may be the session context of the first terminal.

本申请实施例中,会话管理功能网元通过第一消息向隧道端点网元通知当前可以为第一终端服务的第一用户面功能网元的地址信息,使得隧道端点网元可以根据该地址信息为第一终端传输业务数据。此外,会话管理功能网元通过第一消息通知隧道端点网元为第一终端分配的第一群组标识,有助于会话管理功能网元在后续的流程中,根据第一终端的第一群组标识来管理为第一终端服务的用户面功能网元的地址信息。In this embodiment of the application, the session management function network element notifies the tunnel endpoint network element of the address information of the first user plane function network element that can currently serve the first terminal through the first message, so that the tunnel endpoint network element can Transmit service data for the first terminal. In addition, the session management function network element notifies the tunnel endpoint network element of the first group identifier assigned to the first terminal through the first message, which helps the session management function network element to use the first group identifier of the first terminal in the subsequent process. The group identifier is used to manage the address information of the user plane functional network element serving the first terminal.

本申请另一个实施例的通信方法的示意性流程图如图3所示。图3所示的通信方法包括S301、S302、S303和S304。A schematic flowchart of a communication method according to another embodiment of the present application is shown in FIG. 3 . The communication method shown in FIG. 3 includes S301, S302, S303 and S304.

S301,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元。S301. The session management functional network element learns that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element.

例如,会话管理功能网元140获知第一地址段关联的用户面功能网元需要从用户面功能网元151修改为或更新为用户面功能网元152。For example, the session management functional network element 140 learns that the user plane functional network element associated with the first address segment needs to be modified or updated from the user plane functional network element 151 to the user plane functional network element 152 .

在一些可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,可以包括:会话管理功能网元从第一网元接收第二指示信息,第二指示信息用于指示第一地址段关联的用户面功能网元需要改为第二用户面功能网元;会话管理功能网元根据第二指示信息确定第一地址段关联的用户面功能网元需要改为第二用户面功能网元。该实现方式随后将结合图6或图7进行介绍。In some possible implementation manners, the session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element, which may include: the session management function network element receives from the first network element The second indication information, the second indication information is used to indicate that the user plane function network element associated with the first address segment needs to be changed to the second user plane function network element; the session management function network element determines the association of the first address segment according to the second indication information The user plane function network element needs to be changed to the second user plane function network element. This implementation will be introduced later with reference to FIG. 6 or FIG. 7 .

其中,第一网元可以是图1中的网络功能存储功能网元170,例如NRF网元;或者可以是操作管理和维护系统网元180。例如OAM网元。Wherein, the first network element may be the network function storage function network element 170 in FIG. 1 , such as the NRF network element; or may be the operation management and maintenance system network element 180 . For example, an OAM network element.

在另一些可能的实现方式中,会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元,可以包括:会话管理功能网元根据第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为第二用户面功能网元。该实现方式可以参考图6,此处不再赘述。In some other possible implementation manners, the session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element, which may include: the session management function network element according to the first address segment The load information of the currently associated user plane functional network element determines that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element. For this implementation manner, reference may be made to FIG. 6 , which will not be repeated here.

S302,会话管理功能网元获知第一群组标识,其中,第一群组标识与第一地址段对应。S302. The network element with the session management function acquires a first group identifier, where the first group identifier corresponds to the first address segment.

在一些可能的实现方式中,会话管理功能网元获知第一群组标识,可以包括:会话管理功能网元根据第一地址段确定与第一地址段对应的第一群组标识。In some possible implementation manners, the learning of the first group identifier by the session management function network element may include: determining the first group identifier corresponding to the first address segment by the session management function network element according to the first address segment.

也就是说,会话管理功能网元在S301中获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元后,可以根据第一群组标识与第一地址段之间的对应关系,确定与第一地址段对应的第一群组标识。That is to say, after the session management function network element learns in S301 that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element, it can The corresponding relationship, and determine the first group identifier corresponding to the first address segment.

在另一些可能的实现方式中,会话管理功能网元获知第一群组标识,可以包括:会话管理功能网元将第一终端的上下文中记录的群组标识确定为第一群组标识。In some other possible implementation manners, the learning of the first group identifier by the session management function network element may include: the session management function network element determining the group identifier recorded in the context of the first terminal as the first group identifier.

例如,会话管理功能网元在S301中获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元后,可以向第二用户面功能网元发送PDU会话创建请求消息,该PDU会话创建请求消息用于请求第二用户面功能网元创建第一地址段内的第一终端的PDU会话。第二用户面功能网元根据该PDU会话创建请求消息为第一终端创建PDU会话后,向会话管理功能网元返回PDU会话创建响应消息。会话管理功能网元根据该PDU会话创建响应消息查询第一终端的会话上下文,并将第一终端的会话上下文中记录的群组标识确定为第一群组标识。该实现方式随后将结合图6或图7进行介绍。For example, after learning in S301 that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element, the session management functional network element may send a PDU session creation request message to the second user plane functional network element, The PDU session creation request message is used to request the second user plane functional network element to create a PDU session of the first terminal in the first address segment. After creating a PDU session for the first terminal according to the PDU session creation request message, the second user plane function network element returns a PDU session creation response message to the session management function network element. The session management functional network element queries the session context of the first terminal according to the PDU session creation response message, and determines the group identifier recorded in the session context of the first terminal as the first group identifier. This implementation will be introduced later with reference to FIG. 6 or FIG. 7 .

应理解的是,第一地址段对应的群组标识可以是一个,也可以是多个。第一地址段对应的群组标识为一个时,该群组标识即为第一群组标识;第一地址段对应的群组标识为多个时,该多个群组标识中包括第一群组标识。It should be understood that there may be one or more group identifiers corresponding to the first address segment. When the group ID corresponding to the first address segment is one, the group ID is the first group ID; when there are multiple group IDs corresponding to the first address segment, the multiple group IDs include the first group ID Group ID.

S303,会话管理功能网元向隧道端点网元发送第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息。相应地,隧道端点网元从会话管理功能网元接收第二消息。S303. The session management function network element sends a second message to the tunnel end point network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request that the first group identifier The corresponding address information of the user plane functional network elements of one or more terminals in the first group is modified to the second address information. Correspondingly, the tunnel endpoint network element receives the second message from the session management function network element.

隧道端点网元可以是图1中的接入网设备120,或者可以是图1中的用户面功能网元151或用户面功能网元152。The tunnel endpoint network element may be the access network device 120 in FIG. 1 , or may be the user plane functional network element 151 or the user plane functional network element 152 in FIG. 1 .

第二用户面功能网元的第二地址信息可以是第二用户面功能网元的N3接口IP地址信息。The second address information of the second user plane functional network element may be the IP address information of the N3 interface of the second user plane functional network element.

群组标识为第一群组标识的一个终端或多个终端的集合可以称为第一群组。A terminal or a set of multiple terminals whose group identifier is the first group identifier may be referred to as the first group.

第二消息可以是PDU会话修改请求消息(PDU session modification requestmessage)。The second message may be a PDU session modification request message (PDU session modification request message).

S304,隧道端点网元根据第二消息,将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为第二地址信息。S304. According to the second message, the tunnel endpoint network element records address information of user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier as second address information.

或者可以说,隧道端点网元根据第二消息,将第一群组标识对应的第一群组中的一个或多个终端的上下文中记录的用户面功能网元的地址信息修改或更新为第二地址信息。Or it can be said that, according to the second message, the tunnel endpoint network element modifies or updates the address information of the user plane functional network element recorded in the context of one or more terminals in the first group corresponding to the first group identifier to the first 2. Address information.

本申请实施例中,会话管理功能网元向隧道端点网元发送第二消息,就可以更新第一群组标识对应的一个或多个终端的用户面功能网元的地址信息,即有助于提高会话管理功能网元管理用户面功能网元的地址信息的便捷性。In the embodiment of the present application, the session management function network element sends the second message to the tunnel end point network element, so that the address information of the user plane function network element of one or more terminals corresponding to the first group identifier can be updated, which facilitates The convenience of managing the address information of the user plane function network element by the session management function network element is improved.

此外,第一群组标识对应多个终端时,会话管理功能网元向隧道端点网元发送第二消息,可以更新多个终端的用户面功能网元的地址信息,有助于节省信令开销。In addition, when the first group identifier corresponds to multiple terminals, the session management function network element sends the second message to the tunnel endpoint network element, which can update the address information of the user plane function network elements of multiple terminals, which helps to save signaling overhead .

本申请一个实施例的通信方法中,可以先执行图2所示的通信方法,然后再执行图3所示的通信方法。或者说,可以先执行图2所示的通信方法,向隧道端点网元通知为第一终端分配的群组标识为第一群组标识,然后再执行图3所示的通信方法,向隧道端口网元通知第一群组标识对应的第一群组内的一个或多个终端(包括第一终端)的用户面功能网元的地址信息需要修改为第二用户面功能网元的地址信息。这使得会话管理功能网元可以通过一个第二消息就能够对第一群组标识对应的所有终端的用户面功能网元的地址信息进行管理。此外,还可以节省信令开销。In the communication method in one embodiment of the present application, the communication method shown in FIG. 2 may be executed first, and then the communication method shown in FIG. 3 may be executed. In other words, the communication method shown in FIG. 2 may be executed first, and the network element at the tunnel end point is notified that the group identifier assigned to the first terminal is the first group identifier, and then the communication method shown in FIG. 3 is executed, and the tunnel port The network element notifies the address information of the user plane function network element of one or more terminals (including the first terminal) in the first group corresponding to the first group identifier to be modified to the address information of the second user plane function network element. This enables the session management function network element to manage the address information of the user plane function network elements of all terminals corresponding to the first group identifier through a second message. In addition, signaling overhead can be saved.

下面以会话管理功能网元为SMF网元,隧道端点网元为AN设备,第一用户面功能网元为UPF网元,第一终端为UE为例,结合图4,介绍会话管理功能网元自己为第一终端分配第一群组标识时的一种通信方法。In the following, the session management function network element is an SMF network element, the tunnel endpoint network element is an AN device, the first user plane function network element is a UPF network element, and the first terminal is a UE. Combined with Figure 4, the session management function network element is introduced. A communication method when the first terminal is assigned the first group ID by itself.

S401,UE向SMF网元发送PDU会话创建请求消息,该PDU会话创建请求消息用于创建用户的PDU会话,该PDU会话创建请求消息中携带第一终端的DNN信息。S401. The UE sends a PDU session creation request message to the SMF network element, where the PDU session creation request message is used to create a user's PDU session, and the PDU session creation request message carries DNN information of the first terminal.

S402,SMF网元向UPF网元发送N4会话建立请求消息(N4session establishrequest message),该N4会话建立请求消息用于UPF网元创建PDU会话。S402, the SMF network element sends an N4 session establish request message (N4 session establish request message) to the UPF network element, and the N4 session establish request message is used for the UPF network element to establish a PDU session.

S403,UPF网元向SMF网元返回N4会话建立响应消息(N4session establishresponse message),该N4会话建立响应消息用于UPF网元响应PDU会话的创建结果。S403, the UPF network element returns an N4 session establish response message (N4 session establish response message) to the SMF network element, and the N4 session establish response message is used for the UPF network element to respond to the establishment result of the PDU session.

S404,SMF网元根据UE的PDU会话的地址信息,为终端的PDU会话分配群组标识。其中,UE的PDU会话的地址信息可以简称为UE的地址信息,UE的PDU会话的群组标识可以简称为UE的群组标识。S404, the SMF network element assigns a group identifier to the PDU session of the terminal according to the address information of the PDU session of the UE. Wherein, the address information of the PDU session of the UE may be referred to as the address information of the UE for short, and the group identifier of the PDU session of the UE may be referred to as the group identifier of the UE for short.

UE的地址可以是SMF网元分配的,也可以是其他网元分配后发送给SMF网元的。例如,SMF网元可以根据S401中获取的DNN信息为UE分配地址。例如,NRF网元或UPF网元根据UE的DNN信息为UE分配地址后,发送给SMF网元。The address of the UE may be allocated by the SMF network element, or may be sent to the SMF network element after being allocated by other network elements. For example, the SMF network element may assign an address to the UE according to the DNN information acquired in S401. For example, the NRF network element or the UPF network element allocates an address to the UE according to the DNN information of the UE, and sends it to the SMF network element.

SMF网元根据UE的PDU会话的地址信息,为UE的PDU会话分配群组标识的一种示例性实现方式可以包括:SMF网元根据UE的地址信息确定UE的地址所属的地址段,确定的地址段即为第一地址段;SMF网元查询是否存在与第一地址段对应的群组标识;如果已经存在,则SMF网元选择这个与第一地址段对应的群组标识作为UE的群组标识,这个与第一地址段对应的群组标识即为第一群组标识;如果不存在,则SMF网元分配一个新的群组标识给第一地址段,并将该群组标识作为UE的群组标识,该群组标识即为第一群组标识。An exemplary implementation manner in which the SMF network element assigns a group identifier to the UE's PDU session according to the address information of the UE's PDU session may include: the SMF network element determines the address segment to which the UE's address belongs according to the UE's address information, and the determined The address segment is the first address segment; the SMF network element queries whether there is a group identifier corresponding to the first address segment; if it already exists, the SMF network element selects the group identifier corresponding to the first address segment as the group of the UE Group ID, the group ID corresponding to the first address segment is the first group ID; if it does not exist, the SMF network element assigns a new group ID to the first address segment, and uses the group ID as A group identifier of the UE, where the group identifier is the first group identifier.

其中,SMF网元可以为同一个地址段内的终端的PDU会话分配一个或多个群组标识。Wherein, the SMF network element can assign one or more group identifiers to the PDU sessions of the terminals in the same address segment.

S405,SMF网元向AN设备发送N2PDU会话创建请求消息,该消息中携带第一群组标识和UPF网元的地址信息,S405, the SMF network element sends an N2PDU session creation request message to the AN device, the message carries the first group identifier and the address information of the UPF network element,

例如,该消息中携带第一群组标识和UPF网元的N3接口IP地址信息。For example, the message carries the first group identifier and the IP address information of the N3 interface of the UPF network element.

S406,AN设备接收到N2PDU会话创建请求消息后,创建UE的会话上下文(简称上下文),并将第一群组标识和UPF网元的地址信息存储在UE的上下文中。S406. After receiving the N2PDU session creation request message, the AN device creates a UE session context (context for short), and stores the first group identifier and the address information of the UPF network element in the UE context.

UE的群组标识由UPF网元分配时,一种可能的实现方法可以包括:UPF网元根据UE的地址信息和UE所在的SMF网元的信息,为UE分配群组标识。When the group ID of the UE is assigned by the UPF network element, a possible implementation method may include: the UPF network element assigns the group ID to the UE according to the address information of the UE and the information of the SMF network element where the UE is located.

例如,UPF网元获知UE的地址信息和UE所在的SMF网元的信息;根据UE的地址信息确定UE的地址所属的地址段,即第一地址段;查询是否存在与第一地址段和该SMF网元均对应的群组标识;若存在,则选择该群组标识为UE的群组标识,即第一群组标识;若不存在,则UPF网元为第一地址段的终端分配群组标识,即第一群组标识,并将第一群组标识作为UE的群组标识。For example, the UPF network element obtains the address information of the UE and the information of the SMF network element where the UE is located; determines the address segment to which the UE's address belongs, that is, the first address segment, according to the address information of the UE; queries whether there is an The group ID corresponding to each SMF network element; if it exists, select the group ID as the UE's group ID, that is, the first group ID; if it does not exist, the UPF network element allocates a group for the terminal in the first address segment The group identifier is the first group identifier, and the first group identifier is used as the group identifier of the UE.

S407,AN设备将NAS PDU会话创建确认消息(PDU session establish ACKmessage)转发给UE,向UE确认PDU会话的创建结果。S407, the AN device forwards the NAS PDU session establishment confirmation message (PDU session establish ACK message) to the UE, and confirms the creation result of the PDU session to the UE.

S408,AN向SMF网元返回N2PDU会话创建请求响应消息(PDU session establishrequest ACK message),向SMF网元反馈PDU会话的创建结果。S408, the AN returns an N2 PDU session establishment request response message (PDU session establish request ACK message) to the SMF network element, and feeds back the establishment result of the PDU session to the SMF network element.

其中,UE的地址可以是UPF网元UE分配的,也可以是SMF网元为UE分配的。Wherein, the address of the UE may be allocated by the UPF network element UE, or may be allocated by the SMF network element for the UE.

UPF网元为UE分配第一群组标识后,可以通知SMF网元:UE的群组标识为第一群组标识。After the UPF network element allocates the first group identifier to the UE, it may notify the SMF network element that the UE's group identifier is the first group identifier.

下面以会话管理功能网元为SMF网元,隧道端点网元为AN设备,第一用户面功能网元为UPF网元,第一终端为UE为例,结合图5,介绍第一用户面功能网元为第一终端分配第一群组标识时的一种通信方法。In the following, the session management function network element is an SMF network element, the tunnel endpoint network element is an AN device, the first user plane function network element is a UPF network element, and the first terminal is a UE as an example. Combined with Figure 5, the first user plane function is introduced. A communication method when a network element assigns a first group identifier to a first terminal.

S501,UE向SMF网元发送PDU会话建立请求消息,该消息中携带DNN信息。S501. The UE sends a PDU session establishment request message to the SMF network element, and the message carries DNN information.

S502,SMF网元向UPF网元发送N4会话建立请求消息。S502. The SMF network element sends an N4 session establishment request message to the UPF network element.

S503,UPF网元根据UE的PDU会话的地址信息和UE所在的SMF网元的信息(例如,SMF网元的地址信息),为UE的PDU会话分配群组标识。其中,UE的PDU会话的地址信息可以简称为UE的地址信息,UE的PDU会话的群组标识可以简称为UE的群组标识。S503, the UPF network element allocates a group identifier for the PDU session of the UE according to the address information of the PDU session of the UE and the information of the SMF network element where the UE is located (for example, the address information of the SMF network element). Wherein, the address information of the PDU session of the UE may be referred to as the address information of the UE for short, and the group identifier of the PDU session of the UE may be referred to as the group identifier of the UE for short.

其中,UE的PDU会话的地址信息可以是UPF网元为UE分配的,也可以是其他网元(例如SMF网元)分配后发送给UPF网元的。Wherein, the address information of the PDU session of the UE may be allocated by the UPF network element to the UE, or may be sent to the UPF network element after being allocated by other network elements (such as the SMF network element).

UPF网元为UE分配群组标识,可以包括:UPF网元根据UE的地址信息确定UE的地址所在的地址段(即第一地址段),并查询是否存在与第一地址段以及UE所在的SMF网元对应的群组标识;如果已经存在,则该UPF网元选择该群组标识(即第一群组标识)作为UE的群组标识;如果不存在,则该UPF网元为UE分配新的群组标识(即第一群组标识)。The UPF network element allocates a group identifier for the UE, which may include: the UPF network element determines the address segment (that is, the first address segment) where the address of the UE is located according to the address information of the UE, and queries whether there is an address segment corresponding to the first address segment and the UE. The group ID corresponding to the SMF network element; if it already exists, the UPF network element selects the group ID (that is, the first group ID) as the group ID of the UE; if it does not exist, the UPF network element assigns it to the UE A new group identifier (that is, the first group identifier).

其中,UPF网元可以为处于同一SMF并在同一地址段内的终端分配一个或多个群组标识。Wherein, the UPF network element may assign one or more group identifiers to terminals in the same SMF and in the same address segment.

S504,UPF网元向SMF网元发送N4会话建立响应消息,该消息中携带第一指示信息,第一指示信息指示UPF网元为UE分配的第一群组标识。S504. The UPF network element sends an N4 session establishment response message to the SMF network element, where the message carries first indication information, and the first indication information indicates the first group identifier allocated by the UPF network element to the UE.

也就是说,SMF网元从UPF网元获取UE的第一群组标识。That is to say, the SMF network element obtains the first group identifier of the UE from the UPF network element.

S505,SMF网元向AN设备发送N2PDU会话创建请求消息,该消息中携带第一群组标识和UPF的N3接口IP地址(即第一UPF网元的第一地址信息)。S505, the SMF network element sends an N2PDU session creation request message to the AN device, and the message carries the first group identifier and the N3 interface IP address of the UPF (that is, the first address information of the first UPF network element).

S506,AN设备收到N2PDU会话创建消息后,创建UE的会话上下文,并将第一群组标识和UPF网元的N3接口IP地址存储在UE的会话上下文中。S506. After receiving the N2PDU session creation message, the AN device creates a UE session context, and stores the first group identifier and the N3 interface IP address of the UPF network element in the UE session context.

S507,AN设备向UE发送NAS消息PDU会话创建确认消息。S507, the AN device sends a NAS message PDU session creation confirmation message to the UE.

S508,AN向SMF返回PDU会话请求确认消息。S508, the AN returns a PDU session request confirmation message to the SMF.

下面以第一网元为NRF网元,第二用户面功能网元为UPF网元,隧道端点网元为AN设备,会话管理功能网元为SMF网元,第二指示信息为UPF状态通知消息,第二消息为PDU会话修改请求消息为例,结合图5,介绍由第一网元确定第一终端的用户面功能网元需要修改为第二用户面功能网元时的通信方法。In the following, the first network element is the NRF network element, the second user plane function network element is the UPF network element, the tunnel endpoint network element is the AN device, the session management function network element is the SMF network element, and the second indication information is the UPF status notification message , the second message is a PDU session modification request message as an example. With reference to FIG. 5 , the communication method when the first network element determines that the user plane functional network element of the first terminal needs to be modified to the second user plane functional network element is introduced.

S601,SMF网元向NRF网元发送UPF状态订阅(UPF status subscribed)消息,以订阅UPF网元的状态,该UPF状态订阅消息中包含DNN信息。S601. The SMF network element sends a UPF status subscribed (UPF status subscribed) message to the NRF network element to subscribe to the status of the UPF network element, and the UPF status subscription message includes DNN information.

其中,UPF网元的状态可以包括UPF网元的负荷状态等。UPF状态订阅消息中包含DNN信息是指订阅支持该DNN信息的UPF网元的状态。Wherein, the state of the UPF network element may include the load state of the UPF network element and the like. The inclusion of DNN information in the UPF status subscription message refers to subscribing to the status of UPF network elements that support the DNN information.

S602,NRF网元根据UPF状态订阅消息,检测到相应的UPF网元的状态发生改变之后,向SMF网元发送UPF状态通知(UPF status notify)消息,该消息中可以包括UPF网元(即第二UPF网元)能够服务的终端的地址段(即第一地址段)与第二UPF网元的标识(如UPF ID)之间的关联关系,以通知支持该DNN的UPF网元变为第二UPF网元。S602, after the NRF network element detects that the state of the corresponding UPF network element has changed according to the UPF status subscription message, it sends a UPF status notification (UPF status notify) message to the SMF network element, which may include the UPF network element (that is, the first (2) the association between the address segment (i.e. the first address segment) of the terminal that can be served by the UPF network element and the identifier (such as UPF ID) of the second UPF network element, so as to notify the UPF network element supporting the DNN to become the first UPF network element Two UPF network elements.

S603,SMF网元从S602中获知与第一地址段关联的UPF网元改变为第二UPF网元之后,SMF网元可以决策将第一地址段的终端的PDU会话迁移到第二UPF网元。S603, after the SMF network element learns from S602 that the UPF network element associated with the first address segment is changed to the second UPF network element, the SMF network element can decide to migrate the PDU session of the terminal in the first address segment to the second UPF network element .

S604,SMF网元向UPF发送PDU会话创建请求消息,将第一地址段内的终端的PDU会话在该UPF上重建。S604, the SMF network element sends a PDU session establishment request message to the UPF, and reestablishes the PDU session of the terminal in the first address segment on the UPF.

S605,UPF网元向SMF网元返回PDU会话创建响应消息。S605, the UPF network element returns a PDU session creation response message to the SMF network element.

S606,SMF网元向AN设备发送PDU会话修改消息。该PDU会话修改消息中携带6UPF网元的N3接口IP地址(即第二地址信息)和UE的第一群组标识。S606, the SMF network element sends a PDU session modification message to the AN device. The PDU session modification message carries the IP address of the N3 interface of the 6UPF network element (that is, the second address information) and the first group identifier of the UE.

S607,AN设备收到PDU会话修改请求消息之后,获知第一群组标识和UPF的N3接口地址,并根据该消息中的第一群组标识批量更新包含第一群组标识的一个或多个终端的上下文中的N3接口IP地址。S607. After receiving the PDU session modification request message, the AN device obtains the first group identifier and the N3 interface address of the UPF, and updates one or more sessions containing the first group identifier in batches according to the first group identifier in the message. The N3 interface IP address in the context of the endpoint.

可选的,SMF网元将第一地址段内的终端的PDU会话迁移完成之后,可以向NRF网元返回用户迁移完成通知消息。如果是由于UPF网元过载导致的迁移,则NRF网元在获得用户迁移完成通知消息之后,可以通知UPF将UE的地址段的路由使能。即,将第二UPF上第一地址段路由的优先级设置为高优先级。Optionally, after the SMF network element completes the migration of the PDU session of the terminal in the first address segment, it may return a user migration completion notification message to the NRF network element. If the migration is caused by the overload of the UPF network element, the NRF network element may notify the UPF to enable the routing of the address segment of the UE after obtaining the user migration completion notification message. That is, the priority of the route to the first address segment on the second UPF is set to a high priority.

应理解,配置第一地址段的路由优先级的步骤也可以由SMF网元完成。It should be understood that the step of configuring the routing priority of the first address segment may also be completed by the SMF network element.

应理解,图6所示的通信方法中,S601和S602为可选步骤。例如,在简单组网场景下,可由SMF自行确定将第一地址段的终端的PDU会话迁移到第二UPF网元。It should be understood that, in the communication method shown in FIG. 6 , S601 and S602 are optional steps. For example, in a simple networking scenario, the SMF may decide to migrate the PDU session of the terminal in the first address segment to the second UPF network element.

应理解,如果是由于源UPF网元故障引发的迁移,则SMF向NRF网元发送的用户迁移完成通知可以省略。由NRF或SMF获得源UPF故障事件之后,将源UPF上的UE地址段在目标UPF上执行路由使能。It should be understood that if the migration is caused by the failure of the source UPF network element, the user migration completion notification sent by the SMF to the NRF network element may be omitted. After the source UPF failure event is obtained by the NRF or SMF, the UE address segment on the source UPF is routed to the target UPF.

下面以第一网元为OAM网元,第一用户面功能网元为第一UPF网元,第二用户面功能网元为第二UPF网元,会话管理功能网元为SMF网元,第二指示信息为UPF状态通知消息为例,结合图6,介绍由第一网元确定第一终端的用户面功能网元需要修改为第二用户面功能网元时的通信方法。In the following, the first network element is the OAM network element, the first user plane function network element is the first UPF network element, the second user plane function network element is the second UPF network element, and the session management function network element is the SMF network element. The second indication information is the UPF status notification message as an example. With reference to FIG. 6 , the communication method when the first network element determines that the user plane functional network element of the first terminal needs to be modified to the second user plane functional network element is introduced.

S701,第一UPF网元按照地址段粒度向OAM网元上报第一UPF网元服务的第一地址段的负载信息。S701. The first UPF network element reports load information of the first address segment served by the first UPF network element to the OAM network element according to the address segment granularity.

第一UPF网元可以称为为第一地址段内的终端服务的源UPF网元。The first UPF network element may be referred to as a source UPF network element serving terminals in the first address segment.

S702,OAM网元如果检测到第一UPF过载或者故障,则决定将第一UPF上的第一地址段内的终端的PDU会话迁移到第二UPF网元上。S702. If the OAM network element detects that the first UPF is overloaded or faulty, it decides to migrate the PDU session of the terminal in the first address segment on the first UPF to the second UPF network element.

其中,OAM网元可以根据第二UPF网元的负载信息选择第二UPF。Wherein, the OAM network element may select the second UPF according to the load information of the second UPF network element.

OAM确定第二UPF网元后,向第二UPF网元配置第一地址段信息。After determining the second UPF network element, the OAM configures the first address segment information to the second UPF network element.

S703,第二UPF向NRF网元发起注册更新消息。在该注册更新消息中携带第一地址段和第二UPF网元的标识的关联关系。S703. The second UPF sends a registration update message to the NRF network element. The registration update message carries the association relationship between the first address segment and the identifier of the second UPF network element.

S704,NRF网元向SMF网元发送UPF状态通知消息,该消息中携带第一地址段与第二UPF网元的标识的关联关系。S704. The NRF network element sends a UPF status notification message to the SMF network element, where the message carries an association relationship between the first address segment and the identifier of the second UPF network element.

可选的,该消息中还可以携带第一UPF网元的标识。Optionally, the message may also carry the identifier of the first UPF network element.

S705,SMF网元执行地址段迁移过程。例如,图6中所示的S603至S607。S705, the SMF network element performs an address segment migration process. For example, S603 to S607 shown in FIG. 6 .

S706,SMF网元通知NRF网元,第一地址段内的终端的PDU会话迁移完成。S706, the SMF network element notifies the NRF network element that the migration of the PDU session of the terminal in the first address segment is completed.

S707,当NRF网元从SMF网元获知PDU会话迁移完成后,NRF网元可以向第二UPF网元发送第一地址段路由使能,即将第一地址段路由的优先级设置为高优先级。S707, when the NRF network element learns from the SMF network element that the PDU session migration is completed, the NRF network element can send the first address segment route enable to the second UPF network element, that is, set the priority of the first address segment route to a high priority .

S708,在S707完成后,NRF网元向第一UPF网元发送第一地址段去使能消息,即将第一地址段路由的优先级配置为低优先级。S708. After S707 is completed, the NRF network element sends a first address segment disabling message to the first UPF network element, that is, the priority of the first address segment route is configured as a low priority.

应理解,如果是第一UPF故障导致的迁移,则S706可以不执行。S707和S608可以在S703之后就执行。It should be understood that if the migration is caused by the failure of the first UPF, S706 may not be executed. S707 and S608 may be executed after S703.

如图7所示的通信方法,通过OAM网元按照UPF网元的实时负荷决定地址段的迁移,在SMF网元与UPF网元之间采用数量比为N:M的组网方式的情况下,由SMF网元自己决策地址段的迁移相比,有助于避免不同SMF网元的策略不一致所产生的决策冲突。In the communication method shown in Figure 7, the migration of the address segment is determined by the OAM network element according to the real-time load of the UPF network element. In the case of a networking method with a number ratio of N:M between the SMF network element and the UPF network element Compared with the migration of the address segment decided by the SMF network element itself, it helps to avoid decision conflicts caused by inconsistencies in policies of different SMF network elements.

本申请的实施例中,由第一网元确定第一终端的用户面功能网元需要修改为第二用户面功能网元时,若第一网元为网络功能存储功能网元,则网络功能存储功能网元还可以向会话管理功能网元分配用户面功能网元的隧道端点标识(tunnel endpointidentity,TEID)段(range)。会话管理功能网元获得用户面功能网元的TEID段后,为终端分配TEID时可以将该TEID段包含于完整的TEID中,从而保证不同的SMF网元分配的TEID值在同一个用户面功能网元上不会产生冲突。In the embodiment of this application, when the first network element determines that the user plane function network element of the first terminal needs to be modified to the second user plane function network element, if the first network element is a network function storage function network element, the network function The storage function network element may also allocate a tunnel endpoint identity (tunnel endpoint identity, TEID) range (range) of the user plane function network element to the session management function network element. After the session management function network element obtains the TEID segment of the user plane function network element, it can include the TEID segment in the complete TEID when assigning TEID to the terminal, so as to ensure that the TEID values assigned by different SMF network elements are in the same user plane function No conflicts will occur on network elements.

下面以第一网元为NRF网元,会话管理功能网元为SMF网元,用户面功能网元为UPF网元为例,结合图8,介绍网络功能存储功能网元向会话管理功能网元分配用户面功能网元的TEID段时的通信方法。The following takes the first network element as an NRF network element, the session management function network element as an SMF network element, and the user plane function network element as a UPF network element as an example. With reference to Figure 8, the network function storage function network element is introduced to the session management function network element. The communication method when allocating the TEID segment of the user plane functional network element.

S801,OAM网元系统触发UPF实例上线。UPF实例即为UPF网元。S801. The OAM network element system triggers the UPF instance to go online. A UPF instance is a UPF network element.

S802,UPF实例上线后,UPF实例向NRF网元发起注册。注册消息中包含DNN和UPF的ID。S802. After the UPF instance goes online, the UPF instance initiates registration with the NRF network element. The registration message contains the IDs of DNN and UPF.

S803,SMF网元向NRF网元发送UPF状态订阅消息,该消息中携带DNN。S803. The SMF network element sends a UPF status subscription message to the NRF network element, and the message carries the DNN.

该步骤页可以发生于S801和S802步骤之前。This step may occur before steps S801 and S802.

S804,NRF网元分配该UPF实例的TEID段。NRF网元可以根据订阅该UPF实例状态的SMF实例个数分配该TEID段。S804. The NRF network element allocates the TEID segment of the UPF instance. The NRF network element can allocate the TEID segment according to the number of SMF instances subscribed to the UPF instance state.

例如,如果存在两个SMF实例订阅了该UPF实例状态,则NRF为该UPF分配两个TEID段。For example, if there are two SMF instances subscribing to the state of the UPF instance, the NRF allocates two TEID segments for the UPF.

S805,NRF网元将分配的TEID段发送给订阅该UPF实例状态的SMF网元。S805. The NRF network element sends the allocated TEID segment to the SMF network element that subscribes to the state of the UPF instance.

SMF网元获得UPF实例的TEID段后,SMF网元为UE分配TEID时,将TEID段包含于完整的TEID中,从而保证不同的SMF网元分配的TEID值在同一个UPF网元上不会产生冲突。从而可以在后续UPF网元迁移过程中,有助于保证在不同UPF网元上的TEID值不会相同,以避免产生冲突。After the SMF network element obtains the TEID segment of the UPF instance, when the SMF network element allocates the TEID for the UE, it includes the TEID segment in the complete TEID, so as to ensure that the TEID values allocated by different SMF network elements will not be different on the same UPF network element. conflict. Therefore, in the subsequent UPF network element migration process, it is helpful to ensure that the TEID values on different UPF network elements will not be the same, so as to avoid conflicts.

图9是本申请一个实施例的通信装置的示意性结构图。应理解,图9示出的通信装置900仅是示例,Fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application. It should be understood that the communication device 900 shown in FIG. 9 is only an example,

通信装置900可以包括接收模块910和处理模块920。The communication device 900 may include a receiving module 910 and a processing module 920 .

通信装置900可以用于执行图2至图8中任意一个所示的通信方法中由隧道端点网元或AN设备执行的步骤。此时,通信装置900的示例为隧道端点网元或AN设备。The communication apparatus 900 may be used to execute the steps performed by the tunnel endpoint network element or the AN device in any one of the communication methods shown in FIG. 2 to FIG. 8 . At this time, an example of the communication device 900 is a tunnel endpoint network element or AN device.

例如,接收模块910,用于从会话管理功能网元接收第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。For example, the receiving module 910 is configured to receive a first message from a session management functional network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, and uses In response to a request to create a packet data unit session for the first terminal.

处理模块920,用于根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。The processing module 920 is configured to generate the context of the first terminal according to the first message, record the group identifier of the first terminal as the first group identifier in the context of the first terminal, and record the user plane function network of the first terminal The address information of the element is the first address information.

可选地,接收模块910还用于从会话管理功能网元接收第二消息,第二消息中包括所述第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息。Optionally, the receiving module 910 is further configured to receive a second message from the session management function network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request Modifying the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier to the second address information.

处理模块920还用于根据第二消息中的第一群组标识确定第一终端,并将第一终端的用户面功能网元的地址信息中的第一地址信息修改为第二地址信息。The processing module 920 is further configured to determine the first terminal according to the first group identifier in the second message, and modify the first address information in the address information of the user plane functional network element of the first terminal to the second address information.

例如,接收模块910,用于从会话管理功能网元接收第二消息,所述第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。For example, the receiving module 910 is configured to receive a second message from a session management function network element, where the second message includes the first group identifier and second address information of the second user plane function network element, and is used to request the The address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier is changed to the second address information.

处理模块920,用于根据所述第二消息,将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为所述第二地址信息。The processing module 920 is configured to record, according to the second message, address information of user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier as the second address information.

可选地,第一群组中的一个或多个终端包括第一终端。Optionally, one or more terminals in the first group include the first terminal.

相应地,接收模块910还用于:从会话管理功能网元接收第二消息之前,从会话管理功能网元接收第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。Correspondingly, the receiving module 910 is further configured to: before receiving the second message from the session management function network element, receive the first message from the session management function network element, the first message includes the identifier of the first terminal, the first group identifier and The first address information of the first user plane functional network element is used to request to create a packet data unit session for the first terminal.

处理模块920还用于根据第一消息生成第一终端的上下文,并在第一终端的上下文中记录第一终端的群组标识为第一群组标识,以及记录第一终端的用户面功能网元的地址信息为第一地址信息。The processing module 920 is further configured to generate the context of the first terminal according to the first message, and record the group identifier of the first terminal as the first group identifier in the context of the first terminal, and record the user plane function network of the first terminal The address information of the element is the first address information.

处理模块920具体用于根据第二消息,将第一终端的用户面功能网元的地址信息中的第一地址信息修改为第二地址信息。The processing module 920 is specifically configured to modify the first address information in the address information of the user plane functional network element of the first terminal to the second address information according to the second message.

通信装置900中,接收模块910的一种示例为接收器,处理模块920的一种示例为处理器。In the communication device 900, an example of the receiving module 910 is a receiver, and an example of the processing module 920 is a processor.

接收模块910为接收器时,通信装置900还可以包括发送器。该接收器和发送器可以集成在一起,称为收发器,该发送器用于发送信息。When the receiving module 910 is a receiver, the communication device 900 may also include a transmitter. This receiver and transmitter can be integrated together, called a transceiver, and the transmitter is used to send information.

接收模块910为接收器,处理模块920为处理器时,可选地,通信装置900中还可以包括存储器,该存储器用于存储程序代码。该存储器可以与处理器集成在一起。When the receiving module 910 is a receiver, and the processing module 920 is a processor, optionally, the communication device 900 may further include a memory, where the memory is used to store program codes. The memory can be integrated with the processor.

图10是本申请一个实施例的通信装置的示意性结构图。应理解,图10示出的通信装置1000仅是示例,Fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application. It should be understood that the communication device 1000 shown in FIG. 10 is only an example,

通信装置1000可以包括处理模块1010和发送模块1020。可选地,通信装置1000还可以包括接收模块1030。The communication device 1000 may include a processing module 1010 and a sending module 1020 . Optionally, the communication device 1000 may further include a receiving module 1030 .

通信装置1000可以用于执行图2至图8中任意一个所示的通信方法中由会话管理功能网元或SMF网元执行的步骤。通信装置1000的示例为会话管理功能网元或SMF网元。The communication device 1000 may be used to execute the steps performed by the session management function network element or the SMF network element in any one of the communication methods shown in FIG. 2 to FIG. 8 . An example of the communication device 1000 is a session management function network element or an SMF network element.

例如,处理模块1010用于:For example, processing module 1010 is used to:

确定需要为第一终端创建分组数据单元会话;determining that a packet data unit session needs to be created for the first terminal;

获知所述第一终端的第一用户面功能网元;Obtaining the first user plane functional network element of the first terminal;

获知所述第一终端的第一群组标识。Obtain the first group identifier of the first terminal.

发送模块1020,用于向隧道端点网元发送第一消息,所述第一消息中包括第一终端的标识、第一群组标识和所述第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话。A sending module 1020, configured to send a first message to a tunnel end point network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, It is used to request to create a packet data unit session for the first terminal.

可选地,处理模块1010还用于:Optionally, the processing module 1010 is also used for:

获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;Knowing that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element;

获知所述第一群组标识,其中,所述第一群组标识与所述第一地址段对应。Acquire the first group identifier, where the first group identifier corresponds to the first address segment.

发送模块1020还用于向隧道端点网元发送第二消息,第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为第二地址信息。The sending module 1020 is also configured to send a second message to the tunnel end point network element, the second message includes the first group identifier and the second address information of the second user plane functional network element, and is used to request to associate the first group identifier with The address information of the user plane functional network elements of one or more terminals in the first group is modified to the second address information.

或者,例如,处理模块1010用于:获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;获知第一群组标识,其中,第一群组标识与第一地址段对应。Or, for example, the processing module 1010 is configured to: learn that the user plane functional network element associated with the first address segment needs to be modified to a second user plane functional network element; learn the first group identifier, where the first group identifier is the same as the first corresponding to the address segment.

发送模块1020用于向隧道端点网元发送第二消息,所述第二消息中包括所述第一群组标识和所述第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。The sending module 1020 is configured to send a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane functional network element, and is used to request the The address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier is changed to the second address information.

可选地,所述第一群组中的一个或多个终端包括第一终端;Optionally, one or more terminals in the first group include a first terminal;

其中,在向隧道端点网元发送第二消息之前,处理模块1010还用于:Wherein, before sending the second message to the tunnel endpoint network element, the processing module 1010 is further configured to:

确定需要为第一终端创建分组数据单元会话;determining that a packet data unit session needs to be created for the first terminal;

获知第一终端的第一用户面功能网元;Obtaining the first user plane functional network element of the first terminal;

获知第一终端的所述第一群组标识;Acquiring the first group identifier of the first terminal;

发送模块1020还用于向隧道端点网元发送第一消息,第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为第一终端创建分组数据单元会话。The sending module 1020 is further configured to send a first message to the tunnel endpoint network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, and is used to request The first terminal creates a packet data unit session.

可选地,处理模块1010具体用于:Optionally, the processing module 1010 is specifically configured to:

获取第一终端的地址信息;Obtain address information of the first terminal;

根据第一终端的地址信息,确定第一终端的地址属于第一地址段;determining that the address of the first terminal belongs to the first address segment according to the address information of the first terminal;

根据第一地址段确定第一群组标识。Determine the first group identifier according to the first address segment.

可选地,接收模块1030还用于从第一用户面功能网元接收第一指示信息,第一指示信息用于指示第一终端的群组标识为第一群组标识。Optionally, the receiving module 1030 is further configured to receive first indication information from the first user plane functional network element, where the first indication information is used to indicate that the group identifier of the first terminal is the first group identifier.

处理模块1010具体用于根据所述第一指示信息确定所述第一群组标识。The processing module 1010 is specifically configured to determine the first group identifier according to the first indication information.

可选地,处理模块1010具体用于根据第一地址段确定与第一地址段对应的第一群组标识。Optionally, the processing module 1010 is specifically configured to determine the first group identifier corresponding to the first address segment according to the first address segment.

可选地,处理模块1010具体用于:将第一终端的上下文中记录的群组标识确定为第一群组标识。Optionally, the processing module 1010 is specifically configured to: determine the group identifier recorded in the context of the first terminal as the first group identifier.

可选地,处理模块1010具体用于:根据第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为第二用户面功能网元。Optionally, the processing module 1010 is specifically configured to: according to the load information of the user plane functional network element currently associated with the first address segment, determine that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element .

可选地,接收模块1030还用于:从第一网元接收第二指示信息,第二指示信息用于指示第一地址段关联的用户面功能网元需要改为第二用户面功能网元;Optionally, the receiving module 1030 is further configured to: receive second indication information from the first network element, where the second indication information is used to indicate that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element ;

处理模块具体1010用于根据第二指示信息确定第一地址段关联的用户面功能网元需要改为第二用户面功能网元。Specifically, the processing module 1010 is configured to determine according to the second indication information that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element.

通信装置1000中,发送模块1020的一种示例为发送器,处理模块1010的一种示例为处理器,接收模块1030的一种示例为接收器。In the communication device 1000, an example of the sending module 1020 is a transmitter, an example of the processing module 1010 is a processor, and an example of the receiving module 1030 is a receiver.

接收器和发送器可以集成在一起,称为收发器。Receivers and transmitters can be integrated together and are called transceivers.

发送模块1020为发送器,接收模块1030为接收器,处理模块1010为处理器时,可选地,通信装置1000中还可以包括存储器,该存储器用于存储程序代码。该存储器可以与处理器集成在一起。When the sending module 1020 is a transmitter, the receiving module 1030 is a receiver, and the processing module 1010 is a processor, optionally, the communication device 1000 may further include a memory, and the memory is used to store program codes. The memory can be integrated with the processor.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

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

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (32)

1.一种通信方法,其特征在于,包括:1. A communication method, characterized in that, comprising: 隧道端点网元从会话管理功能网元接收第一消息,所述第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话;The tunnel endpoint network element receives a first message from the session management function network element, the first message includes the identifier of the first terminal, the first group identifier and the first address information of the first user plane function network element, and is used to request creating a packet data unit session for said first terminal; 所述隧道端点网元根据所述第一消息生成所述第一终端的上下文,并在所述第一终端的上下文中记录所述第一终端的群组标识为所述第一群组标识,以及记录所述第一终端的用户面功能网元的地址信息为所述第一地址信息。generating, by the tunnel endpoint network element, the context of the first terminal according to the first message, and recording the group identifier of the first terminal as the first group identifier in the context of the first terminal, And recording the address information of the user plane functional network element of the first terminal as the first address information. 2.根据权利要求1所述的通信方法,其特征在于,所述通信方法还包括:2. The communication method according to claim 1, wherein the communication method further comprises: 所述隧道端点网元从所述会话管理功能网元接收第二消息,所述第二消息中包括所述第一群组标识和第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息;The tunnel endpoint network element receives a second message from the session management function network element, the second message includes the first group identifier and second address information of the second user plane function network element, and is used to request modifying the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier to the second address information; 所述隧道端点网元根据所述第二消息中的所述第一群组标识确定所述第一终端,并将所述第一终端的用户面功能网元的地址信息中的所述第一地址信息修改为所述第二地址信息。The tunnel endpoint network element determines the first terminal according to the first group identifier in the second message, and sends the first terminal in the address information of the user plane functional network element of the first terminal The address information is modified to the second address information. 3.一种通信方法,其特征在于,包括:3. A communication method, characterized in that, comprising: 隧道端点网元从会话管理功能网元接收第二消息,所述第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息;The tunnel end point network element receives a second message from the session management function network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request that the first group modifying the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the group identifier to the second address information; 所述隧道端点网元根据所述第二消息,将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为所述第二地址信息。The tunnel endpoint network element records, according to the second message, address information of user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier as the second address information. 4.根据权利要求3所述的通信方法,其特征在于,所述第一群组中的一个或多个终端包括第一终端;4. The communication method according to claim 3, wherein the one or more terminals in the first group include a first terminal; 其中,所述隧道端点网元从会话管理功能网元接收第二消息之前,所述通信方法还包括:Wherein, before the tunnel endpoint network element receives the second message from the session management function network element, the communication method further includes: 所述隧道端点网元从所述会话管理功能网元接收第一消息,所述第一消息中包括第一终端的标识、所述第一群组标识和第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话;The tunnel endpoint network element receives a first message from the session management function network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first message of the first user plane function network element. address information for requesting the creation of a packet data unit session for the first terminal; 所述隧道端点网元根据所述第一消息生成所述第一终端的上下文,并在第一终端的上下文中记录所述第一终端的群组标识为所述第一群组标识,以及记录所述第一终端的用户面功能网元的地址信息为所述第一地址信息;The tunnel endpoint network element generates the context of the first terminal according to the first message, and records the group identifier of the first terminal as the first group identifier in the context of the first terminal, and records The address information of the user plane functional network element of the first terminal is the first address information; 所述隧道端点网元根据所述第二消息,将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为所述第二地址信息,包括:The tunnel endpoint network element records, according to the second message, address information of user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier as the second address information, including: 所述隧道端点网元根据所述第二消息,将所述第一终端的用户面功能网元的地址信息中的所述第一地址信息修改为所述第二地址信息。The tunnel end point network element modifies the first address information in the address information of the user plane functional network element of the first terminal to the second address information according to the second message. 5.一种通信方法,其特征在于,包括:5. A communication method, characterized in that, comprising: 会话管理功能网元确定需要为第一终端创建分组数据单元会话;The session management function network element determines that a packet data unit session needs to be created for the first terminal; 所述会话管理功能网元获知所述第一终端的第一用户面功能网元;The session management function network element learns the first user plane function network element of the first terminal; 所述会话管理功能网元获知所述第一终端的第一群组标识;The network element with the session management function acquires the first group identifier of the first terminal; 所述会话管理功能网元向隧道端点网元发送第一消息,所述第一消息中包括第一终端的标识、第一群组标识和所述第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话。The session management function network element sends a first message to the tunnel endpoint network element, and the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane function network element , used to request to create a packet data unit session for the first terminal. 6.根据权利要求5所述的通信方法,其特征在于,所述通信方法还包括:6. The communication method according to claim 5, further comprising: 所述会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;The session management functional network element learns that the user plane functional network element associated with the first address segment needs to be modified to a second user plane functional network element; 所述会话管理功能网元获知所述第一群组标识,其中,所述第一群组标识与所述第一地址段对应;The session management function network element learns the first group identifier, where the first group identifier corresponds to the first address segment; 所述会话管理功能网元向所述隧道端点网元发送第二消息,所述第二消息中包括所述第一群组标识和所述第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。The session management function network element sends a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and uses To request to modify the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier to the second address information. 7.一种通信方法,其特征在于,包括:7. A communication method, characterized in that, comprising: 会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;The session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element; 所述会话管理功能网元获知第一群组标识,其中,所述第一群组标识与所述第一地址段对应;The session management function network element learns a first group identifier, where the first group identifier corresponds to the first address segment; 所述会话管理功能网元向隧道端点网元发送第二消息,所述第二消息中包括所述第一群组标识和所述第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。The session management function network element sends a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used to request Modifying address information of user plane function network elements of one or more terminals in the first group corresponding to the first group identifier to the second address information. 8.根据权利要求7所述的通信方法,其特征在于,所述第一群组中的一个或多个终端包括第一终端;8. The communication method according to claim 7, wherein the one or more terminals in the first group include a first terminal; 其中,所述会话管理功能网元向所述隧道端点网元发送所述第二消息之前,所述通信方法还包括:Wherein, before the session management function network element sends the second message to the tunnel endpoint network element, the communication method further includes: 所述会话管理功能网元确定需要为所述第一终端创建分组数据单元会话;The session management function network element determines that a packet data unit session needs to be created for the first terminal; 所述会话管理功能网元获知所述第一终端的第一用户面功能网元;The session management function network element learns the first user plane function network element of the first terminal; 所述会话管理功能网元获知所述第一终端的所述第一群组标识;The session management function network element obtains the first group identifier of the first terminal; 所述会话管理功能网元向所述隧道端点网元发送第一消息,所述第一消息中包括第一终端的标识、所述第一群组标识和所述第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话。The session management function network element sends a first message to the tunnel endpoint network element, and the first message includes the identifier of the first terminal, the first group identifier, and the ID of the first user plane function network element. The first address information is used to request to create a packet data unit session for the first terminal. 9.根据权利要求5或8所述的通信方法,其特征在于,所述会话管理功能网元获知所述第一终端的第一群组标识,包括:9. The communication method according to claim 5 or 8, wherein the learning of the first group identifier of the first terminal by the session management function network element comprises: 所述会话管理功能网元获取所述第一终端的地址信息;The network element with the session management function acquires the address information of the first terminal; 所述会话管理功能网元根据所述第一终端的地址信息,确定所述第一终端的地址属于第一地址段;determining, by the session management function network element, that the address of the first terminal belongs to the first address segment according to the address information of the first terminal; 所述会话管理功能网元根据所述第一地址段确定所述第一群组标识。The session management function network element determines the first group identifier according to the first address segment. 10.根据权利要求5或8所述的通信方法,其特征在于,所述会话管理功能网元获知所述第一终端的第一群组标识,包括:10. The communication method according to claim 5 or 8, wherein the learning of the first group identifier of the first terminal by the session management function network element comprises: 所述会话管理功能网元从所述第一用户面功能网元接收第一指示信息,所述第一指示信息用于指示所述第一终端的群组标识为所述第一群组标识;The session management functional network element receives first indication information from the first user plane functional network element, where the first indication information is used to indicate that the group identifier of the first terminal is the first group identifier; 所述会话管理功能网元根据所述第一指示信息确定所述第一群组标识。The session management function network element determines the first group identifier according to the first indication information. 11.根据权利要求6或7所述的通信方法,其特征在于,所述会话管理功能网元获知第一群组标识,包括:11. The communication method according to claim 6 or 7, wherein the learning of the first group identifier by the session management function network element comprises: 所述会话管理功能网元根据所述第一地址段确定与所述第一地址段对应的所述第一群组标识。The session management function network element determines the first group identifier corresponding to the first address segment according to the first address segment. 12.根据权利要求6或7所述的通信方法,其特征在于,所述会话管理功能网元获知第一群组标识,包括:12. The communication method according to claim 6 or 7, wherein the learning of the first group identifier by the session management function network element comprises: 所述会话管理功能网元将所述第一终端的上下文中记录的群组标识确定为所述第一群组标识。The session management function network element determines the group identifier recorded in the context of the first terminal as the first group identifier. 13.根据权利要求6或7所述的通信方法,其特征在于,所述会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为所述第二用户面功能网元,包括:13. The communication method according to claim 6 or 7, wherein the session management functional network element learns that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element, include: 所述会话管理功能网元根据所述第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为所述第二用户面功能网元。The session management function network element determines that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element according to the load information of the user plane function network element currently associated with the first address segment . 14.根据权利要求6或7所述的通信方法,其特征在于,所述会话管理功能网元获知第一地址段关联的用户面功能网元需要修改为所述第二用户面功能网元,包括:14. The communication method according to claim 6 or 7, wherein the session management function network element learns that the user plane function network element associated with the first address segment needs to be modified to the second user plane function network element, include: 所述会话管理功能网元从第一网元接收第二指示信息,所述第二指示信息用于指示所述第一地址段关联的用户面功能网元需要改为所述第二用户面功能网元;The session management function network element receives second indication information from the first network element, and the second indication information is used to indicate that the user plane function network element associated with the first address segment needs to be changed to the second user plane function network element; 所述会话管理功能网元根据所述第二指示信息确定所述第一地址段关联的用户面功能网元需要改为所述第二用户面功能网元。The session management functional network element determines according to the second indication information that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element. 15.一种通信装置,其特征在于,包括:15. A communication device, characterized in that it comprises: 接收模块,用于从会话管理功能网元接收第一消息,所述第一消息中包括第一终端的标识、第一群组标识和第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话;A receiving module, configured to receive a first message from a session management functional network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, for requesting the creation of a packet data unit session for said first terminal; 处理模块,用于根据所述第一消息生成所述第一终端的上下文,并在所述第一终端的上下文中记录所述第一终端的群组标识为所述第一群组标识,以及记录所述第一终端的用户面功能网元的地址信息为所述第一地址信息。A processing module, configured to generate the context of the first terminal according to the first message, and record the group identifier of the first terminal as the first group identifier in the context of the first terminal, and Recording the address information of the user plane functional network element of the first terminal as the first address information. 16.根据权利要求15所述的通信装置,其特征在于,所述接收模块还用于从所述会话管理功能网元接收第二消息,所述第二消息中包括所述第一群组标识和第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息;16. The communication device according to claim 15, wherein the receiving module is further configured to receive a second message from the session management function network element, and the second message includes the first group identifier and the second address information of the second user plane functional network element, used to request to modify the address information of the user plane functional network element of one or more terminals in the first group corresponding to the first group identifier to the the second address information; 所述处理模块还用于根据所述第二消息中的所述第一群组标识确定所述第一终端,并将所述第一终端的用户面功能网元的地址信息中的所述第一地址信息修改为所述第二地址信息。The processing module is further configured to determine the first terminal according to the first group identifier in the second message, and set the first terminal in the address information of the user plane functional network element of the first terminal The first address information is modified to the second address information. 17.一种通信装置,其特征在于,包括:17. A communication device, characterized in that it comprises: 接收模块,用于从会话管理功能网元接收第二消息,所述第二消息中包括第一群组标识和第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息;A receiving module, configured to receive a second message from a session management functional network element, where the second message includes a first group identifier and second address information of a second user plane functional network element, and is used to request that the first modifying the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the group identifier to the second address information; 处理模块,用于根据所述第二消息,将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息记录为所述第二地址信息。A processing module, configured to record address information of user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier as the second address information according to the second message . 18.根据权利要求17所述的通信装置,其特征在于,所述第一群组中的一个或多个终端包括第一终端;18. The communication device according to claim 17, wherein the one or more terminals in the first group comprise a first terminal; 其中,所述接收模块还用于:从会话管理功能网元接收第二消息之前,从所述会话管理功能网元接收第一消息,所述第一消息中包括第一终端的标识、所述第一群组标识和第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话;Wherein, the receiving module is further configured to: before receiving the second message from the session management function network element, receive a first message from the session management function network element, and the first message includes the identifier of the first terminal, the The first group identifier and the first address information of the first user plane functional network element are used to request to create a packet data unit session for the first terminal; 所述处理模块还用于根据所述第一消息生成所述第一终端的上下文,并在第一终端的上下文中记录所述第一终端的群组标识为所述第一群组标识,以及记录所述第一终端的用户面功能网元的地址信息为所述第一地址信息;The processing module is further configured to generate the context of the first terminal according to the first message, and record the group identifier of the first terminal in the context of the first terminal as the first group identifier, and recording the address information of the user plane functional network element of the first terminal as the first address information; 所述处理模块具体用于根据所述第二消息,将所述第一终端的用户面功能网元的地址信息中的所述第一地址信息修改为所述第二地址信息。The processing module is specifically configured to modify the first address information in the address information of the user plane functional network element of the first terminal to the second address information according to the second message. 19.一种通信装置,其特征在于,包括:19. A communication device, characterized in that it comprises: 处理模块,用于确定需要为第一终端创建分组数据单元会话;A processing module, configured to determine that a packet data unit session needs to be created for the first terminal; 所述处理模块还用于获知所述第一终端的第一用户面功能网元;The processing module is further configured to learn the first user plane functional network element of the first terminal; 所述会处理模块还用于获知所述第一终端的第一群组标识;The session processing module is further configured to obtain the first group identifier of the first terminal; 发送模块,用于向隧道端点网元发送第一消息,所述第一消息中包括第一终端的标识、第一群组标识和所述第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话。A sending module, configured to send a first message to a tunnel endpoint network element, where the first message includes the identifier of the first terminal, the first group identifier, and the first address information of the first user plane functional network element, using requesting to create a packet data unit session for the first terminal. 20.根据权利要求19所述的通信装置,其特征在于,所述处理模块还用于:20. The communication device according to claim 19, wherein the processing module is further used for: 获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;Knowing that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element; 获知所述第一群组标识,其中,所述第一群组标识与所述第一地址段对应;Acquiring the first group identifier, wherein the first group identifier corresponds to the first address segment; 所述发送模块还用于向所述隧道端点网元发送第二消息,所述第二消息中包括所述第一群组标识和所述第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。The sending module is further configured to send a second message to the tunnel endpoint network element, the second message includes the first group identifier and the second address information of the second user plane function network element, and is used for To request to modify the address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier to the second address information. 21.一种通信装置,其特征在于,包括:21. A communication device, characterized in that it comprises: 处理模块,用于获知第一地址段关联的用户面功能网元需要修改为第二用户面功能网元;A processing module, configured to learn that the user plane functional network element associated with the first address segment needs to be modified to the second user plane functional network element; 所述处理模块还用于获知第一群组标识,其中,所述第一群组标识与所述第一地址段对应;The processing module is further configured to obtain a first group identifier, where the first group identifier corresponds to the first address segment; 所述发送模块用于向隧道端点网元发送第二消息,所述第二消息中包括所述第一群组标识和所述第二用户面功能网元的第二地址信息,用于请求将所述第一群组标识对应的第一群组中的一个或多个终端的用户面功能网元的地址信息修改为所述第二地址信息。The sending module is configured to send a second message to a tunnel endpoint network element, where the second message includes the first group identifier and second address information of the second user plane function network element, and is used to request the The address information of the user plane functional network elements of one or more terminals in the first group corresponding to the first group identifier is modified to the second address information. 22.根据权利要求21所述的通信装置,其特征在于,所述第一群组中的一个或多个终端包括第一终端;22. The communication device according to claim 21, wherein the one or more terminals in the first group comprise a first terminal; 其中,在向所述隧道端点网元发送所述第二消息之前,所述处理模块还用于:Wherein, before sending the second message to the tunnel endpoint network element, the processing module is further configured to: 确定需要为所述第一终端创建分组数据单元会话;determining that a packet data unit session needs to be created for the first terminal; 获知所述第一终端的第一用户面功能网元;Obtaining the first user plane functional network element of the first terminal; 获知所述第一终端的所述第一群组标识;Acquiring the first group identifier of the first terminal; 所述发送模块还用于向所述隧道端点网元发送第一消息,所述第一消息中包括第一终端的标识、所述第一群组标识和所述第一用户面功能网元的第一地址信息,用于请求为所述第一终端创建分组数据单元会话。The sending module is further configured to send a first message to the tunnel endpoint network element, where the first message includes the identifier of the first terminal, the first group identifier, and the ID of the first user plane functional network element. The first address information is used to request to create a packet data unit session for the first terminal. 23.根据权利要求19或22所述的通信装置,其特征在于,所述处理模块具体用于:23. The communication device according to claim 19 or 22, wherein the processing module is specifically used for: 获取所述第一终端的地址信息;acquiring address information of the first terminal; 根据所述第一终端的地址信息,确定所述第一终端的地址属于第一地址段;According to the address information of the first terminal, determine that the address of the first terminal belongs to the first address segment; 根据所述第一地址段确定所述第一群组标识。Determine the first group identifier according to the first address segment. 24.根据权利要求19或22所述的通信装置,其特征在于,所述通信装置还包括接收模块,所述接收模块用于从所述第一用户面功能网元接收第一指示信息,所述第一指示信息用于指示所述第一终端的群组标识为所述第一群组标识;24. The communication device according to claim 19 or 22, wherein the communication device further comprises a receiving module configured to receive first indication information from the first user plane functional network element, the The first indication information is used to indicate that the group identifier of the first terminal is the first group identifier; 所述处理模块具体用于根据所述第一指示信息确定所述第一群组标识。The processing module is specifically configured to determine the first group identifier according to the first indication information. 25.根据权利要求20或21所述的通信装置,其特征在于,所述处理模块具体用于根据所述第一地址段确定与所述第一地址段对应的所述第一群组标识。25. The communication device according to claim 20 or 21, wherein the processing module is specifically configured to determine the first group identifier corresponding to the first address segment according to the first address segment. 26.根据权利要求20或21所述的通信装置,其特征在于,所述处理模块具体用于:26. The communication device according to claim 20 or 21, wherein the processing module is specifically used for: 将所述第一终端的上下文中记录的群组标识确定为所述第一群组标识。determining the group identifier recorded in the context of the first terminal as the first group identifier. 27.根据权利要求20或21所述的通信装置,其特征在于,所述处理模块具体用于:27. The communication device according to claim 20 or 21, wherein the processing module is specifically used for: 根据所述第一地址段当前关联的用户面功能网元的负载信息,确定第一地址段关联的用户面功能网元需要修改为所述第二用户面功能网元。According to the load information of the user plane functional network element currently associated with the first address segment, it is determined that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element. 28.根据权利要求20或21所述的通信装置,其特征在于,所述通信装置还包括接收模块,所述接收模块用于:28. The communication device according to claim 20 or 21, characterized in that, the communication device further comprises a receiving module, and the receiving module is used for: 从第一网元接收第二指示信息,所述第二指示信息用于指示所述第一地址段关联的用户面功能网元需要改为所述第二用户面功能网元;receiving second indication information from the first network element, where the second indication information is used to indicate that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element; 所述处理模块具体用于根据所述第二指示信息确定所述第一地址段关联的用户面功能网元需要改为所述第二用户面功能网元。The processing module is specifically configured to determine according to the second indication information that the user plane functional network element associated with the first address segment needs to be changed to the second user plane functional network element. 29.根据权利要求6、7、8、11至14中任一项所述的通信方法,或20、21、22、25至28中任一项所述的通信装置,其特征在于,所述第一地址段对应一个或者多个群组标识,所述群组标识中包括所述第一群组标识。29. The communication method according to any one of claims 6, 7, 8, 11 to 14, or the communication device according to any one of 20, 21, 22, 25 to 28, wherein the The first address segment corresponds to one or more group identifiers, and the group identifiers include the first group identifier. 30.根据权利要求1、2、4至6以及8至10中任一项所述的通信方法,或15、16、18至20以及22至24中任一项所述的通信装置,其特征在于,所述第一消息为分组数据单元会话创建请求消息。30. The communication method according to any one of claims 1, 2, 4 to 6, and 8 to 10, or the communication device according to any one of claims 15, 16, 18 to 20, and 22 to 24, characterized in In that, the first message is a packet data unit session creation request message. 31.根据权利要求2至4、6至8以及11至14中中任一项所述的通信方法,或16至18、20至22以及25至28中任一项所述的通信装置,所述第二消息为分组数据单元会话修改请求消息。31. The communication method according to any one of claims 2 to 4, 6 to 8, and 11 to 14, or the communication device according to any one of claims 16 to 18, 20 to 22, and 25 to 28, wherein The second message is a packet data unit session modification request message. 32.一种计算机存储介质,其特征在于,所述计算机可读存储介质中存储用于通信装置执行的程序代码,所述程序代码包括用于执行权利要求1至14中任一项所述的通信方法的指令。32. A computer storage medium, characterized in that, the computer-readable storage medium stores program code for execution by a communication device, and the program code includes a program code for executing the method described in any one of claims 1 to 14. Instructions for communication methods.
CN201810313185.XA 2018-04-09 2018-04-09 Communication method and related device Active CN110365727B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810313185.XA CN110365727B (en) 2018-04-09 2018-04-09 Communication method and related device
PCT/CN2019/081839 WO2019196811A1 (en) 2018-04-09 2019-04-09 Communication method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810313185.XA CN110365727B (en) 2018-04-09 2018-04-09 Communication method and related device

Publications (2)

Publication Number Publication Date
CN110365727A true CN110365727A (en) 2019-10-22
CN110365727B CN110365727B (en) 2021-01-05

Family

ID=68163477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810313185.XA Active CN110365727B (en) 2018-04-09 2018-04-09 Communication method and related device

Country Status (2)

Country Link
CN (1) CN110365727B (en)
WO (1) WO2019196811A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067907A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 A method and related device for addressing edge applications
CN113573344A (en) * 2021-06-21 2021-10-29 深圳震有科技股份有限公司 SMF session detection method based on 5G and terminal
CN114727337A (en) * 2021-01-05 2022-07-08 中国移动通信有限公司研究院 Message transmission method, user plane function, SMF (simple message Filter) and communication equipment
WO2022237872A1 (en) * 2021-05-12 2022-11-17 华为技术有限公司 Communication method and apparatus
WO2023125168A1 (en) * 2021-12-30 2023-07-06 华为技术有限公司 Communication method and apparatus
WO2023134503A1 (en) * 2022-01-12 2023-07-20 华为技术有限公司 Communication method and apparatus
WO2024041216A1 (en) * 2022-08-26 2024-02-29 华为技术有限公司 Communication method and apparatus, and device
CN119255303A (en) * 2024-12-03 2025-01-03 亚信科技(中国)有限公司 UPF overload control processing method and related device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020140226A1 (en) * 2019-01-03 2020-07-09 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for session management
CN112996082B (en) * 2019-12-16 2023-03-28 成都鼎桥通信技术有限公司 Method, device and equipment for joint grouping and readable storage medium
CN114285787B (en) * 2021-12-30 2023-07-14 中国电信股份有限公司 Cross-user plane forwarding method, system and computer readable storage medium
CN116567552A (en) * 2022-01-28 2023-08-08 华为技术有限公司 Method and device for group communication
CN114615132B (en) * 2022-02-25 2024-10-29 亚信科技(中国)有限公司 Fault processing method, device, equipment and storage medium for shunt UPF

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017167247A1 (en) * 2016-03-31 2017-10-05 Huawei Technologies Co., Ltd. Systems and methods for service and session continuity in software defined topology management
CN107846703A (en) * 2016-09-21 2018-03-27 电信科学技术研究院 A kind of data transmission method and device
CN107888498A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 Realize the method and device and network element and device of user plane functions management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106900081B (en) * 2016-08-23 2019-06-25 中国移动通信有限公司研究院 The method and device of the user face data tunnel transmission of access network node granularity

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017167247A1 (en) * 2016-03-31 2017-10-05 Huawei Technologies Co., Ltd. Systems and methods for service and session continuity in software defined topology management
CN107846703A (en) * 2016-09-21 2018-03-27 电信科学技术研究院 A kind of data transmission method and device
CN107888498A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 Realize the method and device and network element and device of user plane functions management

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOKIA等: "23.501 § 5.6.7 & 5.13: Support of Groups and improvements of the support of Edge Computing", 《3GPP SA WG2 MEETING #122 S2-175165》 *
NOKIA等: "OI#19: 23.501 §6.3.3: NRF for UPF discovery", 《3GPP SA WG2 MEETING #124 S2-178256》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067907A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 A method and related device for addressing edge applications
CN114727337A (en) * 2021-01-05 2022-07-08 中国移动通信有限公司研究院 Message transmission method, user plane function, SMF (simple message Filter) and communication equipment
WO2022237872A1 (en) * 2021-05-12 2022-11-17 华为技术有限公司 Communication method and apparatus
CN113573344A (en) * 2021-06-21 2021-10-29 深圳震有科技股份有限公司 SMF session detection method based on 5G and terminal
WO2023125168A1 (en) * 2021-12-30 2023-07-06 华为技术有限公司 Communication method and apparatus
WO2023134503A1 (en) * 2022-01-12 2023-07-20 华为技术有限公司 Communication method and apparatus
WO2024041216A1 (en) * 2022-08-26 2024-02-29 华为技术有限公司 Communication method and apparatus, and device
CN119255303A (en) * 2024-12-03 2025-01-03 亚信科技(中国)有限公司 UPF overload control processing method and related device

Also Published As

Publication number Publication date
CN110365727B (en) 2021-01-05
WO2019196811A1 (en) 2019-10-17

Similar Documents

Publication Publication Date Title
CN110365727B (en) Communication method and related device
US20230093339A1 (en) Session Management Method, Apparatus, and System
US11917498B2 (en) Communication method and communications apparatus
CN108323245B (en) Registration and session establishment method, terminal and AMF entity
CN110167051B (en) Communication method and communication equipment under centralized unit-distributed unit architecture
CN108684073B (en) It is a kind of registration and session establishment method, terminal and AMF entity
US20180359795A1 (en) Method for establishing protocol data unit session in communication system
US12219457B2 (en) Communication method, apparatus, and system
WO2020001171A1 (en) Network slice resource allocation method and device
EP4040813B1 (en) Communication method, device and apparatus
KR20200035152A (en) Session handling method and related devices
CN110324246B (en) Communication method and device
WO2019174505A1 (en) Network slice-based communication method and apparatus
CN110662308B (en) Communication method and device
CN108513290A (en) A kind of selection method and device of network slice
WO2020034965A1 (en) Message transmission method, device, and storage medium
WO2021051420A1 (en) Dns cache record determination method and apparatus
US20240340077A1 (en) Satellite switching method, apparatus, storage medium, and chip system
JP6649493B2 (en) Method for establishing a communication connection of a communication terminal via a communication network
CN110913437B (en) Communication method and network element
WO2022007657A1 (en) Method and apparatus for sending domain name system request
US9756597B1 (en) User equipment (UE) attachment to multiple mobility management entities (MMES) for multiple data services
WO2023143212A1 (en) Communication method and apparatus
EP4262244A1 (en) Method and device for determining mec access point
WO2022061916A1 (en) Communication method and apparatus

Legal Events

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