HK40048395B - Address information sending method, acquiring method, apparatus, device, and medium - Google Patents
Address information sending method, acquiring method, apparatus, device, and medium Download PDFInfo
- Publication number
- HK40048395B HK40048395B HK42021038521.7A HK42021038521A HK40048395B HK 40048395 B HK40048395 B HK 40048395B HK 42021038521 A HK42021038521 A HK 42021038521A HK 40048395 B HK40048395 B HK 40048395B
- Authority
- HK
- Hong Kong
- Prior art keywords
- easdf
- pdu session
- identifier
- smf
- cell
- Prior art date
Links
Description
技术领域Technical Field
本申请实施例涉及移动通信领域,特别涉及一种地址信息发送方法、获取方法、装置、设备及介质。This application relates to the field of mobile communications, and in particular to a method, method, apparatus, device, and medium for sending and obtaining address information.
背景技术Background Technology
5G核心网(5G Core,5GC)支持采用协议数据单元(Protocol Data Unit,PDU)会话来支持边缘计算。The 5G core network (5G Core, 5GC) supports edge computing using Protocol Data Unit (PDU) sessions.
在边缘计算场景下,用户设备(User Equipment,UE)发送的域名系统(DomainName System,DNS)查询由边缘应用服务器发现功能(Edge Application ServerDiscovery Function,EASDF)来处理。In edge computing scenarios, Domain Name System (DNS) queries sent by User Equipment (UE) are handled by the Edge Application Server Discovery Function (EASDF).
但是在DNS查询前,UE如何获知EASDF的地址信息是尚未解决的技术问题。However, how the UE obtains the EASDF address information before the DNS query is an unresolved technical problem.
发明内容Summary of the Invention
本申请提供了一种地址信息发送方法、获取方法、装置、设备及介质,提供了一种基于UE主动触发的EASDF分配机制。所述技术方案如下:This application provides a method, method, apparatus, device, and medium for sending and obtaining address information, and provides an EASDF allocation mechanism based on UE-initiated activation. The technical solution is as follows:
根据本申请的一方面,提供了一种地址信息发送方法,应用于会话管理功能(Session Management Function,SMF)中,所述方法包括:According to one aspect of this application, a method for sending address information is provided, applied in a Session Management Function (SMF), the method comprising:
接收UE在协议数据单元(Protocol Data Unit,PDU)会话建立过程发送的第一标识;Receive the first identifier sent by the UE during the Protocol Data Unit (PDU) session establishment process;
根据所述第一标识为所述UE选择第一EASDF;Select a first EASDF for the UE based on the first identifier;
向所述UE发送所述第一EASDF的地址信息。The address information of the first EASDF is sent to the UE.
根据本申请的一方面,提供了一种地址信息获取方法,应用于UE中,所述方法包括:According to one aspect of this application, an address information acquisition method is provided, applied in a UE, the method comprising:
在PDU会话建立过程中向SMF发送第一标识,所述第一标识用于触发所述SMF为所述UE定位和选择第一EASDF;During the PDU session establishment process, a first identifier is sent to the SMF, which is used to trigger the SMF to locate and select a first EASDF for the UE.
接收所述第一EASDF的地址信息。Receive the address information of the first EASDF.
根据本申请的另一方面,提供了一种地址信息发送装置,所述装置包括:According to another aspect of this application, an address information sending apparatus is provided, the apparatus comprising:
接收模块,用于接收UE在PDU会话建立过程发送的第一标识;The receiving module is used to receive the first identifier sent by the UE during the PDU session establishment process;
选择模块,用于根据所述第一标识为所述UE选择第一EASDF;The selection module is configured to select a first EASDF for the UE based on the first identifier;
发送模块,用于向所述UE发送所述第一EASDF的地址信息。The sending module is used to send the address information of the first EASDF to the UE.
根据本申请的另一方面,提供了一种地址信息获取装置,所述装置包括:According to another aspect of this application, an address information acquisition device is provided, the device comprising:
发送模块,用于在PDU会话建立过程中向SMF发送第一标识,所述第一标识用于触发所述SMF为所述终端定位和选择第一EASDF;The sending module is used to send a first identifier to the SMF during the PDU session establishment process. The first identifier is used to trigger the SMF to locate and select a first EASDF for the terminal.
接收模块,用于接收所述第一EASDF的地址信息。The receiving module is used to receive the address information of the first EASDF.
根据本申请的一个方面,提供了一种网元设备,所述网元设备包括:处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上所述的地址信息发送方法。According to one aspect of this application, a network element device is provided, the network element device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the address information transmission method as described above.
根据本申请的一个方面,提供了一种终端,所述终端包括:处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上所述的地址信息获取方法。According to one aspect of this application, a terminal is provided, the terminal comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the address information acquisition method as described above.
根据本申请的另一方面,提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序由处理器加载并执行以实现如上所述的地址信息发送方法,或地址信息获取方法。According to another aspect of this application, a computer-readable storage medium is provided, the storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the address information sending method or address information acquisition method as described above.
根据本申请的另一方面,提供了一种计算机程序产品,所述计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的地址信息发送方法,或地址信息获取方法。According to another aspect of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the address information sending method or address information acquisition method provided in the above aspect.
根据本申请的另一方面,提供了一种芯片,所述芯片被配置为执行上述方面提供的地址信息发送方法,或地址信息获取方法。According to another aspect of this application, a chip is provided, the chip being configured to perform the address information sending method or the address information acquisition method provided in the above aspects.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects of the technical solutions provided in this application include at least the following:
通过UE向SMF在PDU会话建立过程中发送第一标识,触发SMF为UE选择第一EASDF以及向UE发送第一EASDF的地址信息,能够使得SMF在UE触发的场景下,为UE选择第一EASDF,避免SMF采用不合理的分配方式向UE分配EASDF的问题,而是在UE存在相应需求的情况下,合理分配EASDF的效果。By having the UE send a first identifier to the SMF during the PDU session establishment process, triggering the SMF to select a first EASDF for the UE and send the address information of the first EASDF to the UE, the SMF can select a first EASDF for the UE in the scenario triggered by the UE. This avoids the problem of the SMF allocating EASDF to the UE in an unreasonable way, and achieves the effect of reasonably allocating EASDF when the UE has corresponding needs.
附图说明Attached Figure Description
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
图1示出了本申请一个示例性实施例提供的通信系统的结构框图;Figure 1 shows a structural block diagram of a communication system provided in an exemplary embodiment of this application;
图2示出了本申请另一个示例性实施例提供的通信系统的结构框图;Figure 2 shows a structural block diagram of a communication system provided in another exemplary embodiment of this application;
图3示出了本申请一个示例性实施例提供的地址信息发送方法的流程图;Figure 3 shows a flowchart of an address information sending method provided in an exemplary embodiment of this application;
图4示出了本申请另一个示例性实施例提供的地址信息发送方法的流程图;Figure 4 shows a flowchart of an address information sending method provided in another exemplary embodiment of this application;
图5示出了本申请一个示例性实施例提供的PDU会话建立请求的信令格式图;Figure 5 illustrates the signaling format diagram of a PDU session establishment request provided in an exemplary embodiment of this application;
图6示出了本申请另一个示例性实施例提供的地址信息发送方法的流程图;Figure 6 shows a flowchart of an address information sending method provided in another exemplary embodiment of this application;
图7示出了本申请另一个示例性实施例提供的地址信息获取方法的流程图;Figure 7 shows a flowchart of an address information acquisition method provided in another exemplary embodiment of this application;
图8示出了本申请一个示例性实施例提供的EASDF的发现方法的流程图;Figure 8 shows a flowchart of an EASDF discovery method provided in an exemplary embodiment of this application;
图9示出了本申请另一个示例性实施例提供的PDU会话建立方法的流程图;Figure 9 shows a flowchart of a PDU session establishment method provided in another exemplary embodiment of this application;
图10示出了本申请另一个示例性实施例提供的增加额外的PDU会话锚和分支点或UL CL方法的流程图;Figure 10 shows a flowchart of a method for adding additional PDU session anchors and branch points or UL CL provided in another exemplary embodiment of this application;
图11示出了本申请一个示例性实施例提供的地址信息发送装置的框图;Figure 11 shows a block diagram of an address information sending apparatus provided in an exemplary embodiment of this application;
图12示出了本申请一个示例性实施例提供的地址信息获取装置的框图;Figure 12 shows a block diagram of an address information acquisition device provided in an exemplary embodiment of this application;
图13示出了本申请一个示例性实施例提供的网元设备的框图。Figure 13 shows a block diagram of a network element device provided in an exemplary embodiment of this application.
具体实施方式Detailed Implementation
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
应当理解的是,在本文中提及的“若干个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that "several" in this article refers to one or more, and "multiple" refers to two or more. "And/or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and/or B can represent: A alone, A and B simultaneously, or B alone. The character "/" generally indicates that the preceding and following related objects have an "or" relationship.
边缘计算:是为应用开发者和服务提供商在网络的边缘侧提供云服务和IT(Internet Technology,互联网技术)环境服务;目标是在靠近数据输入或用户的地方提供计算、存储和网络带宽。比如,用户手机上使用游戏程序A,则可以分配离用户手机最近的边缘计算服务器来提供游戏服务,以便给用户提供网络延迟最小的游戏服务。Edge computing provides cloud services and IT (Internet Technology) environment services at the edge of the network for application developers and service providers. The goal is to provide computing, storage, and network bandwidth close to data input or users. For example, if a user is using game A on their phone, the nearest edge computing server can be assigned to provide the game service, minimizing network latency.
图1示出了本申请一个示例性实施例提供的通信系统100的架构示意图。如图1所示,该通信系统100可以包括:用户设备(User Equipment,UE)、无线接入网(Radio AccessNetwork,RAN)、核心网(Core)和数据网络(Data Network,DN)构成。其中,UE、RAN、Core是构成架构的主要成分,逻辑上它们可以分为用户面和控制面两部分,控制面负责移动网络的管理,用户面负责业务数据的传输。在图1中,NG2参考点位于RAN控制面和Core控制面之间,NG3参考点位于RAN用户面和Core用户面之间,NG6参考点位于Core用户面和数据网络之间。Figure 1 illustrates a schematic diagram of the architecture of a communication system 100 provided in an exemplary embodiment of this application. As shown in Figure 1, the communication system 100 may include: a User Equipment (UE), a Radio Access Network (RAN), a Core Network, and a Data Network (DN). The UE, RAN, and Core are the main components of the architecture, logically divided into a user plane and a control plane. The control plane is responsible for the management of the mobile network, and the user plane is responsible for the transmission of service data. In Figure 1, the NG2 reference point is located between the RAN control plane and the Core control plane, the NG3 reference point is located between the RAN user plane and the Core user plane, and the NG6 reference point is located between the Core user plane and the data network.
UE:是移动用户与网络交互的入口,能够提供基本的计算能力、存储能力,向用户显示业务窗口,接受用户操作输入。UE会采用下一代空口技术,与RAN建立信号连接、数据连接,从而传输控制信号和业务数据到移动网络。UE (User Equipment): This is the entry point for mobile users to interact with the network. It provides basic computing and storage capabilities, displays service windows to the user, and accepts user input. The UE will use next-generation air interface technology to establish signal and data connections with the RAN (Radio Network Array), thereby transmitting control signals and service data to the mobile network.
RAN:类似于传统网络里面的基站,部署在靠近UE的位置,为小区覆盖范围的授权用户提供入网功能,并能够根据用户的级别,业务的需求等使用不同质量的传输隧道传输用户数据。RAN能够管理自身的资源,合理利用,按需为UE提供接入服务,把控制信号和用户数据在UE和核心网之间转发。RAN: Similar to a base station in a traditional network, it is deployed close to the UE (User Equipment) to provide network access for authorized users within the cell coverage area. It can transmit user data using transmission tunnels of different quality levels based on user level and service requirements. The RAN manages its own resources, utilizes them efficiently, and provides access services to the UE on demand, forwarding control signals and user data between the UE and the core network.
Core:负责维护移动网络的签约数据,管理移动网络的网元,为UE提供会话管理、移动性管理、策略管理、安全认证等功能。在UE附着的时候,为UE提供入网认证;在UE有业务请求时,为UE分配网络资源;在UE移动的时候,为UE更新网络资源;在UE空闲的时候,为UE提供快恢复机制;在UE去附着的时候,为UE释放网络资源;在UE有业务数据时,为UE提供数据路由功能,如转发上行数据到DN;或者从DN接收UE下行数据,转发到RAN,从而发送给UE。Core: Responsible for maintaining the subscription data of the mobile network, managing the network elements of the mobile network, and providing UE with functions such as session management, mobility management, policy management, and security authentication. When the UE attaches, it provides network access authentication; when the UE has a service request, it allocates network resources for the UE; when the UE moves, it updates network resources for the UE; when the UE is idle, it provides a fast recovery mechanism for the UE; when the UE detaches, it releases network resources for the UE; when the UE has service data, it provides data routing functions, such as forwarding uplink data to the DN; or receiving downlink data from the UE from the DN, forwarding it to the RAN, and then sending it to the UE.
DN:是为用户提供业务服务的数据网络,一般客户端位于UE,服务端位于数据网络。数据网络可以是私有网络,如局域网,也可以是不受运营商管控的外部网络,如Internet,还可以是运营商共同部署的专有网络,如为了配置IP多媒体网络子系统(IPMultimedia Core Network Subsystem,IMS)服务。DN: This is the data network that provides services to users. Generally, the client is located at the UE (User Equipment), and the server is located in the data network. The data network can be a private network, such as a local area network (LAN), an external network not controlled by the operator, such as the Internet, or a dedicated network jointly deployed by the operator, such as for configuring IP Multimedia Core Network Subsystem (IMS) services.
图2是在图1的基础上确定的详细架构,其中核心网用户面包括用户面功能(UserPlane Function,UPF);核心网控制面包括认证服务器功能(Authentication ServerFunction,AUSF)、接入和移动管理(Access and Mobility Management Function,AMF)、会话管理(Session Management Function,SMF)、网络切片选择功能(Network SliceSelection Function,NSSF)、网络开放功能(Network Exposure Function,NEF)、网络功能仓储功能(NF Repository Function,NRF)、统一数据管理(Unified Data Management,UDM)、策略控制功能(Policy Control Function,PCF)、应用功能(Application Function,AF)。这些功能实体的功能如下:Figure 2 shows the detailed architecture based on Figure 1. The core network user plane includes the User Plane Function (UPF); the core network control plane includes the Authentication Server Function (AUSF), Access and Mobility Management Function (AMF), Session Management Function (SMF), Network Slice Selection Function (NSSF), Network Exposure Function (NEF), Network Function Repository Function (NRF), Unified Data Management (UDM), Policy Control Function (PCF), and Application Function (AF). The functions of these entities are as follows:
UPF:根据SMF的路由规则执行用户数据包转发;UPF: Performs user packet forwarding according to the routing rules of SMF;
AUSF:执行UE的安全认证;AUSF: Performs security authentication for the UE;
AMF:UE接入和移动性管理;AMF: UE Access and Mobility Management;
SMF:UE会话管理;SMF: UE Session Management;
NSSF:为UE选择网络切片;NSSF: Select network slices for the UE;
NEF:以API接口的方式向第三方开放网络功能;NEF: To expose network functions to third parties via API interfaces;
NRF:为其他网元提供网络功能实体信息的存储功能和选择功能;NRF: Provides storage and selection functions for network function entity information for other network elements;
UDM:用户签约上下文管理;UDM: User Subscription Context Management;
PCF:用户策略管理;PCF: User Policy Management;
AF:用户应用管理。AF: User Application Management.
在图2所示架构中,N1接口为UE与AMF之间的参考点;N2接口为RAN和AMF的参考点,用于NAS消息的发送等;N3接口为RAN和UPF之间的参考点,用于传输用户面的数据等;N4接口为SMF和UPF之间的参考点,用于传输例如N3连接的隧道标识信息、数据缓存指示信息,以及下行数据通知消息等信息;N6接口为UPF和DN之间的参考点,用于传输用户面的数据等。NG接口:无线接入网和5G核心网之间的接口。In the architecture shown in Figure 2, the N1 interface serves as the reference point between the UE and the AMF; the N2 interface serves as the reference point between the RAN and the AMF, used for sending NAS messages, etc.; the N3 interface serves as the reference point between the RAN and the UPF, used for transmitting user plane data, etc.; the N4 interface serves as the reference point between the SMF and the UPF, used for transmitting information such as tunnel identification information for N3 connections, data buffer indication information, and downlink data notification messages, etc.; the N6 interface serves as the reference point between the UPF and the DN, used for transmitting user plane data, etc. NG interface: The interface between the radio access network and the 5G core network.
需要说明的是,图1和图2中的各个网元之间的接口名称只是一个示例,具体实现中接口的名称可能为其他的名称,本申请实施例对此不作具体限定。图1和图2中包括的各个网元(比如SMF、AF、UPF等)的名称也仅是一个示例,对网元本身的功能不构成限定。在5GS以及未来其它的网络中,上述各个网元也可以是其他的名称,本申请实施例对此不作具体限定。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称,等等,在此进行统一说明,以下不再赘述。此外,应理解,上述各个网元之间的所传输的消息(或信令)的名称也仅仅是一个示例,对消息本身的功能不构成任何限定。It should be noted that the interface names between the network elements in Figures 1 and 2 are merely examples, and the interface names in actual implementations may be different. This application embodiment does not impose specific limitations on these names. Similarly, the names of the network elements (such as SMF, AF, UPF, etc.) included in Figures 1 and 2 are also merely examples and do not limit the functionality of the network elements themselves. In 5GS and other future networks, the aforementioned network elements may also have other names, and this application embodiment does not impose specific limitations on these names. For example, in 6G networks, some or all of the aforementioned network elements may use the terminology from 5G, or they may use other names, etc. This is explained uniformly here and will not be elaborated further below. Furthermore, it should be understood that the names of the messages (or signaling) transmitted between the aforementioned network elements are also merely examples and do not limit the functionality of the messages themselves.
图3示出了本申请一个示例性实施例提供的地址信息发送方法的流程图。本实施例以该方法应用于SMF中来举例说明。该方法包括:Figure 3 shows a flowchart of an address information sending method provided in an exemplary embodiment of this application. This embodiment illustrates the method by applying it to an SMF (Software-Defined Fund). The method includes:
步骤320:SMF接收UE在PDU会话建立过程发送的第一标识;Step 320: The SMF receives the first identifier sent by the UE during the PDU session establishment process;
UE在本次建立的PDU会话属于边缘计算的边缘连接的情况下,向SMF发送第一标识。示例性的,在本次建立的PDU会话不属于边缘计算的边缘连接的情况下,不向SMF发送第一标识。If the PDU session established this time belongs to the edge connection of edge computing, the UE sends the first identifier to the SMF. For example, if the PDU session established this time does not belong to the edge connection of edge computing, the UE does not send the first identifier to the SMF.
示例性的,第一标识用于指示本次建立的PDU会话是边缘计算的边缘连接。比如,用户在UE中开始使用支持边缘计算的业务应用程序,UE为该业务应用程序建立PDU会话。For example, the first identifier is used to indicate that the PDU session established this time is an edge connection for edge computing. For instance, when a user starts using a service application that supports edge computing in the UE, the UE establishes a PDU session for that service application.
示例性的,第一标识包括边缘计算(Edge Computing,EC)标识,或者,EASDF标识。For example, the first identifier includes an Edge Computing (EC) identifier, or an EASDF identifier.
步骤340:SMF根据第一标识为UE选择第一EASDF;Step 340: The SMF selects the first EASDF for the UE based on the first identifier;
在PDU会话建立过程中,若SMF接收到UE发送的第一标识,则认为UE需要分配或定位或选择EASDF。During the PDU session establishment process, if the SMF receives the first identifier sent by the UE, it considers that the UE needs to allocate, locate, or select an EASDF.
SMF按照预定分配原则,为UE选择第一EASDF。示例性的,SMF定位在地理位置或网络位置上离UE最近的EASDF,选择成为第一EASDF。本实施例对SMF如何定位和选择第一EASDF不做限定。The SMF selects a first EASDF for the UE according to a predetermined allocation principle. For example, the SMF is located at the EASDF closest to the UE in terms of geographical or network location, and is selected as the first EASDF. This embodiment does not limit how the SMF is located and how the first EASDF is selected.
步骤360:SMF向UE发送第一EASDF的地址信息。Step 360: The SMF sends the address information of the first EASDF to the UE.
在SMF为UE选择第一EASDF之后,SMF向UE发送第一EASDF的地址信息。可选地,该地址信息是指第一EASDF的网际互连协议(Internet Protocol,IP)地址。After the SMF selects a first EASDF for the UE, the SMF sends the address information of the first EASDF to the UE. Optionally, this address information refers to the Internet Protocol (IP) address of the first EASDF.
UE在获得第一EASDF的IP地址后,使用第一EASDF提供的DNS相关服务。比如,DNS查询服务。After obtaining the IP address of the first EASDF, the UE uses the DNS-related services provided by the first EASDF, such as the DNS query service.
综上所述,本实施例提供的方法,通过UE向SMF在PDU会话建立过程中发送第一标识,触发SMF为UE选择第一EASDF以及向UE发送第一EASDF的地址信息,能够使得SMF在UE触发的场景下,为UE选择第一EASDF,避免SMF总是向UE分配与其位置不匹配的EASDF或总是不向UE分配EASDF或采用不合理的分配方式向UE分配EASDF(如根据EASDF的负载情况,选择了一个负载最轻的EASDF;或分配一个通用的DNS Server)的问题,而是在UE存在相应需求的情况下,基于UE的当前位置合理分配EASDF的效果。In summary, the method provided in this embodiment, by having the UE send a first identifier to the SMF during the PDU session establishment process, triggering the SMF to select a first EASDF for the UE and send the address information of the first EASDF to the UE, enables the SMF to select a first EASDF for the UE in the scenario triggered by the UE. This avoids the problems of the SMF always assigning an EASDF that does not match the UE's location, or never assigning an EASDF to the UE, or using an unreasonable allocation method to assign an EASDF to the UE (such as selecting the lightest EASDF based on the EASDF load; or assigning a generic DNS Server). Instead, it achieves the effect of reasonably allocating an EASDF based on the UE's current location when the UE has corresponding needs.
在基于图3的可选实施例中,第一标识携带在PDU会话建立请求(PDU sessionestablishment request)中,PDU会话建立请求是UE向SMF发送的信令消息;第一EASDF的地址信息携带在PDU会话建立确认(PDU session establishment accept)中,PDU会话建立确认是SMF向UE发送的信令消息。In an optional embodiment based on Figure 3, the first identifier is carried in the PDU session establishment request, which is a signaling message sent by the UE to the SMF; the address information of the first EASDF is carried in the PDU session establishment accept, which is a signaling message sent by the SMF to the UE.
图4示出了本申请一个示例性实施例提供的地址信息发送方法的流程图。本实施例以该方法应用于SMF中来举例说明。该方法包括:Figure 4 shows a flowchart of an address information sending method provided in an exemplary embodiment of this application. This embodiment illustrates the method by applying it to an SMF (Software-Defined Fund). The method includes:
步骤420:SMF接收UE发送的PDU会话建立请求,PDU会话建立请求中的第一信元携带有第一标识;Step 420: The SMF receives the PDU session establishment request sent by the UE. The first cell in the PDU session establishment request carries the first identifier.
UE在本次建立的PDU会话属于边缘计算的边缘连接的情况下,向SMF发送第一标识。示例性的,在本次建立的PDU会话不属于边缘计算的边缘连接的情况下,不向SMF发送第一标识。If the PDU session established this time belongs to the edge connection of edge computing, the UE sends the first identifier to the SMF. For example, if the PDU session established this time does not belong to the edge connection of edge computing, the UE does not send the first identifier to the SMF.
示例性的,第一标识用于指示本次建立的PDU会话是边缘计算的边缘连接。比如,用户在UE中开始使用支持边缘计算的业务应用程序,UE为该业务应用程序建立PDU会话。For example, the first identifier is used to indicate that the PDU session established this time is an edge connection for edge computing. For instance, when a user starts using a service application that supports edge computing in the UE, the UE establishes a PDU session for that service application.
示例性的,第一标识包括EC标识,或者,EASDF标识。在本实施例中,第一标识携带在第一信元中。For example, the first identifier includes an EC identifier or an EASDF identifier. In this embodiment, the first identifier is carried in the first cell.
图5示出了相关技术中的PDU会话建立请求的信令格式。在该PDU会话建立请求的信令格式中增加第一信元,使用第一信元来携带第一标识。示例性的,该第一信元是边缘计算连接指示信元(Edge Computing Connection Indicator)。Figure 5 illustrates the signaling format of a PDU session establishment request in related technologies. A first information element is added to this signaling format to carry a first identifier. For example, this first information element is an Edge Computing Connection Indicator.
该第一信元可以增加在图5所示的信令格式中的任意一列。该第一信元的类型为可选项。This first information cell can be added to any column in the signaling format shown in Figure 5. The type of this first information cell is optional.
需要说明的是,图5中的格式TLV:Type,Length,Value。Type为报文类型;Length是数值的长度,Value是实际的数值。T和L的长度固定,V的长度由Length指定。TLV-E是指扩展的TLV格式,TV是报文类型和实际的数值,V为实际的数值。It should be noted that the TLV format in Figure 5 consists of Type, Length, and Value. Type represents the message type; Length is the length of the value, and Value is the actual value. The lengths of T and L are fixed, while the length of V is specified by Length. TLV-E refers to the extended TLV format, where TV represents the message type and the actual value, and V is the actual value.
步骤440:SMF根据第一标识为UE选择第一EASDF;Step 440: The SMF selects the first EASDF for the UE based on the first identifier;
在PDU会话建立过程中,SMF接收UE发送的PDU会话建立请求,该PDU会话建立请求中的第一信元携带有第一标识。若SMF在PDU会话建立请求中解析到UE发送的第一标识,则认为UE需要分配或定位或选择EASDF。During the PDU session establishment process, the SMF receives a PDU session establishment request sent by the UE. The first cell in the PDU session establishment request carries a first identifier. If the SMF parses the first identifier sent by the UE in the PDU session establishment request, it considers that the UE needs to allocate, locate, or select an EASDF.
SMF按照预定分配原则,在多个候选的EASDF中为UE选择第一EASDF。示例性的,SMF定位在地理位置或网络位置上离UE最近的EASDF,选择成为第一EASDF。本实施例对SMF如何定位和选择第一EASDF不做限定。The SMF selects the first EASDF for the UE from multiple candidate EASDFs according to a predetermined allocation principle. For example, the SMF locates the EASDF that is geographically or network-wise closest to the UE and selects it as the first EASDF. This embodiment does not limit how the SMF locates and selects the first EASDF.
步骤460:SMF向UE发送PDU会话建立确认,该PDU会话建立确认携带有第一EASDF的地址信息。Step 460: The SMF sends a PDU session establishment confirmation to the UE, which carries the address information of the first EASDF.
在SMF为UE选择第一EASDF之后,SMF向UE发送第一EASDF的地址信息。可选地,该地址信息是指第一EASDF的IP地址。UE在获得第一EASDF的IP地址后,使用第一EASDF提供的DNS相关服务。After the SMF selects a first EASDF for the UE, the SMF sends the address information of the first EASDF to the UE. Optionally, this address information refers to the IP address of the first EASDF. After obtaining the IP address of the first EASDF, the UE uses the DNS-related services provided by the first EASDF.
可选地,SMF向UE发送PDU会话建立确认,该PDU会话建立确认携带有第一EASDF的地址信息。Optionally, the SMF sends a PDU session establishment confirmation to the UE, which carries the address information of the first EASDF.
可选地,该PDU会话建立确认包括扩展协议配置选项(Extended ProtocolConfiguration Options,EPCO)信元。在该EPCO信元内的第三信元中携带有第一EASDF的地址信息。示例性的,该第三信元是0003信元。Optionally, the PDU session establishment confirmation includes an Extended Protocol Configuration Options (EPCO) cell. The address information of the first EASDF is carried in a third cell within this EPCO cell. For example, this third cell is cell 0003.
步骤482:在PDU会话建立之后,接收终端发送的动态主机配置协议,(DynamicHost Configuration Protocol,DHCP)请求;Step 482: After the PDU session is established, receive the Dynamic Host Configuration Protocol (DHCP) request sent by the terminal;
在PDU会话建立之后,UE可能通过用户面向SMF发起DHCP请求获取一个DNS Server的地址,此时,SMF也需要在发送给UE的DHCP响应,该DHCP响应包含第一EASDF的地址信息,也即第一EASDF的IP地址。After the PDU session is established, the UE may obtain the address of a DNS server by initiating a DHCP request to the SMF through the user. At this time, the SMF also needs to send a DHCP response to the UE, which contains the address information of the first EASDF, that is, the IP address of the first EASDF.
步骤484:向终端发送DHCP响应,DHCP响应携带有第一EASDF的地址信息。Step 484: Send a DHCP response to the terminal, which carries the address information of the first EASDF.
示例性的,DHCP响应的EPCO信元的第四信元中,携带有第一EASDF的地址信息。For example, the fourth cell of the EPCO cell in the DHCP response carries the address information of the first EASDF.
也即,若在PDU会话建立请求的EPCO信元中SMF提供了第一EASDF的地址信息,则在DHCP响应中,SMF也需要包含同样的第一EASDF的地址信息。That is, if the SMF provides the address information of the first EASDF in the EPCO cell of the PDU session establishment request, then the SMF also needs to include the same address information of the first EASDF in the DHCP response.
需要说明的是,在PDU会话建立请求中的第一EASDF的地址信息是UE的OS操作系统所触发的。而UE通过用户面通过DHCP来获取第一EASDF的地址信息(DNS Server地址),通常是由UE中运行的应用程序(Application,APP)所触发的。It should be noted that the address information of the first EASDF in the PDU session establishment request is triggered by the UE's operating system. However, the UE obtains the address information of the first EASDF (DNS Server address) via DHCP through the user plane, which is usually triggered by the application (APP) running on the UE.
综上所述,本实施例提供的方法,通过UE向SMF在PDU会话建立请求中新增第一信元来发送第一标识,能够使得SMF在PDU会话建立过程中尽早获取到第一标识,从而在UE存在需求的情况下,由SMF向UE合理分配第一EASDF。In summary, the method provided in this embodiment, by having the UE send a first identifier to the SMF by adding a first information element in the PDU session establishment request, enables the SMF to obtain the first identifier as early as possible during the PDU session establishment process, thereby allowing the SMF to reasonably allocate the first EASDF to the UE when there is a demand from the UE.
图6示出了本申请一个示例性实施例提供的地址信息获取方法的流程图。本实施例以该方法应用于SMF中来举例说明。该方法包括:Figure 6 shows a flowchart of an address information acquisition method provided in an exemplary embodiment of this application. This embodiment illustrates the method by applying it to an SMF (Software-Defined Fund). The method includes:
步骤620:SMF接收UE发送的PDU会话建立请求,PDU会话建立请求中的扩展协议配置选项的第二信元中携带有第一标识;Step 620: The SMF receives the PDU session establishment request sent by the UE. The second cell of the extended protocol configuration option in the PDU session establishment request carries the first identifier.
UE在本次建立的PDU会话属于边缘计算的边缘连接的情况下,向SMF发送第一标识。示例性的,在本次建立的PDU会话不属于边缘计算的边缘连接的情况下,不向SMF发送第一标识。If the PDU session established this time belongs to the edge connection of edge computing, the UE sends the first identifier to the SMF. For example, if the PDU session established this time does not belong to the edge connection of edge computing, the UE does not send the first identifier to the SMF.
其中,第一标识用于指示本次建立的PDU会话是边缘计算的边缘连接。比如,用户在UE中开始使用支持边缘计算的业务应用程序,UE为该业务应用程序建立PDU会话。The first identifier indicates that the PDU session established is an edge connection for edge computing. For example, when a user starts using a service application that supports edge computing in the UE, the UE establishes a PDU session for that service application.
示例性的,第一标识包括EC标识,或者,EASDF标识。在本实施例中,第一标识携带在第一信元中。For example, the first identifier includes an EC identifier or an EASDF identifier. In this embodiment, the first identifier is carried in the first cell.
示例性的,该第一信元是边缘计算连接指示信元。For example, the first cell is an edge computing connectivity indication cell.
图5示出了相关技术中的PDU会话建立请求的信令格式。在该PDU会话建立请求的信元(Information Element,IE)中包括:EPCO信元,使用EPCO中新增的第二信元来携带第一标识。Figure 5 illustrates the signaling format of a PDU session establishment request in the related art. The information element (IE) of this PDU session establishment request includes: an EPCO information element, which uses a second information element added in the EPCO to carry the first identifier.
在一个示例性的例子中,EPCO至少包括如下信元:In an exemplary example, EPCO includes at least the following information elements:
终端到网络方向(即UE到SMF方向):Terminal-to-network direction (i.e., UE-to-SMF direction):
0001H(P-CSCF IPv6地址请求);0001H (P-CSCF IPv6 address request);
0002H(IM CN子系统信号标签);0002H (IM CN subsystem signal tag);
0003H(DNS服务IPv6地址请求);0003H (DNS service IPv6 address request);
网络到终端方向(即SMF到UE方向):Network to terminal direction (i.e., SMF to UE direction):
0001H(P-CSCF IPv6地址请求);0001H (P-CSCF IPv6 address request);
0002H(IM CN子系统信号标签);0002H (IM CN subsystem signal tag);
0003H(DNS服务IPv6地址请求);0003H (DNS service IPv6 address request);
在上述EPCO信元中新增一个扩展的第二信元。该第二信元是求EASDF的IP地址请求信元。比如,第二信元如下:Add an extended second element to the above EPCO element. This second element is an EASDF IP address request element. For example, the second element is as follows:
0013H(EASDF IP地址请求)。0013H (EASDF IP address request).
步骤640:SMF根据第一标识为UE选择第一EASDF;Step 640: The SMF selects the first EASDF for the UE based on the first identifier;
在PDU会话建立过程中,SMF接收UE发送的PDU会话建立请求,该PDU会话建立请求中的EPCO信元中的第二信元中携带有第一标识。During the PDU session establishment process, the SMF receives the PDU session establishment request sent by the UE. The second element in the EPCO element of the PDU session establishment request carries the first identifier.
若SMF在PDU会话建立请求中解析到UE发送的第一标识,则认为UE需要分配或定位或选择EASDF。If the SMF parses the first identifier sent by the UE in the PDU session establishment request, it considers that the UE needs to allocate, locate, or select an EASDF.
SMF按照预定分配原则,为UE选择第一EASDF。示例性的,SMF定位在地理位置或网络位置上离UE最近的EASDF,选择成为第一EASDF。本实施例对SMF如何定位和选择第一EASDF不做限定。The SMF selects a first EASDF for the UE according to a predetermined allocation principle. For example, the SMF is located at the EASDF closest to the UE in terms of geographical or network location, and is selected as the first EASDF. This embodiment does not limit how the SMF is located and how the first EASDF is selected.
步骤660:SMF向UE发送PDU会话建立确认,该PDU会话建立确认携带有第一EASDF的地址信息。Step 660: The SMF sends a PDU session establishment confirmation to the UE, which carries the address information of the first EASDF.
在SMF为UE选择第一EASDF之后,SMF向UE发送第一EASDF的地址信息。可选地,该地址信息是指第一EASDF的IP地址。After the SMF selects a first EASDF for the UE, the SMF sends the address information of the first EASDF to the UE. Optionally, this address information refers to the IP address of the first EASDF.
UE在获得第一EASDF的IP地址后,使用第一EASDF提供的DNS相关服务。After obtaining the IP address of the first EASDF, the UE uses the DNS-related services provided by the first EASDF.
可选地,该PDU会话建立确认包括EPCO信元。在该EPCO信元内的0003H信元中携带有第一EASDF的地址信息。Optionally, the PDU session establishment confirmation includes an EPCO cell. Within this EPCO cell, the 0003H cell carries the address information of the first EASDF.
步骤682:在PDU会话建立之后,接收终端发送的DHCP请求;Step 682: After the PDU session is established, receive the DHCP request sent by the terminal;
在PDU会话建立之后,UE可能通过用户面向SMF发起DHCP请求获取一个DNS Server的地址,此时,SMF也需要在发送给UE的DHCP响应,该DHCP响应包含第一EASDF的地址信息,也即第一EASDF的IP地址。After the PDU session is established, the UE may obtain the address of a DNS server by initiating a DHCP request to the SMF through the user. At this time, the SMF also needs to send a DHCP response to the UE, which contains the address information of the first EASDF, that is, the IP address of the first EASDF.
步骤684:向终端发送DHCP响应,DHCP响应携带有第一EASDF的地址信息。Step 684: Send a DHCP response to the terminal, which carries the address information of the first EASDF.
示例性的,DHCP响应的EPCO信元的第四信元中,携带有第一EASDF的地址信息。For example, the fourth cell of the EPCO cell in the DHCP response carries the address information of the first EASDF.
也即,若在PDU会话建立请求的EPCO信元中SMF提供了第一EASDF的地址信息,则在DHCP响应中,SMF也需要包含同样的第一EASDF的地址信息。That is, if the SMF provides the address information of the first EASDF in the EPCO cell of the PDU session establishment request, then the SMF also needs to include the same address information of the first EASDF in the DHCP response.
需要说明的是,在PDU会话建立请求中的第一EASDF的地址信息是UE的OS操作系统所触发的。而UE通过用户面通过DHCP来获取第一EASDF的地址信息,通常是由UE中运行的APP所触发的。It should be noted that the address information of the first EASDF in the PDU session establishment request is triggered by the UE's operating system. However, the UE obtains the address information of the first EASDF via DHCP through the user plane, which is usually triggered by the application running on the UE.
综上所述,本实施例提供的方法,通过UE向SMF在PDU会话建立请求中的EPCO信元中新增第二信元来发送第一标识,在保持PDU会话建立请求的一级信元数量不变的情况下,只修改EPCO信元中的信元内容,对通信协议的修改较少,也能够使得SMF在PDU会话建立过程中尽早获取到第一标识,从而在UE存在需求的情况下,由SMF向UE合理分配第一EASDF。In summary, the method provided in this embodiment sends the first identifier by adding a second information element to the EPCO information element in the PDU session establishment request by the UE. While keeping the number of first-level information elements in the PDU session establishment request unchanged, it only modifies the information element content in the EPCO information element, which requires less modification to the communication protocol. It also enables the SMF to obtain the first identifier as early as possible during the PDU session establishment process, so that the SMF can reasonably allocate the first EASDF to the UE when there is a demand from the UE.
图7示出了本申请一个示例性实施例提供的地址信息获取方法的流程图。本实施例以该方法应用于UE中来举例说明。该方法包括:Figure 7 shows a flowchart of an address information acquisition method provided in an exemplary embodiment of this application. This embodiment illustrates the method by applying it to a UE. The method includes:
步骤720:UE在PDU会话建立过程中向SMF发送第一标识,第一标识用于触发SMF为终端定位和选择第一EASDF;Step 720: During the PDU session establishment process, the UE sends a first identifier to the SMF. The first identifier is used to trigger the SMF to locate the terminal and select the first EASDF.
可选地,UE向SMF发送PDU会话建立请求,该PDU会话建立请求中携带有第一标识。第一标识用于指示本次请求建立的PDU会话属于边缘计算的边缘连接。Optionally, the UE sends a PDU session establishment request to the SMF, which carries a first identifier. The first identifier is used to indicate that the PDU session to be established belongs to the edge connection of edge computing.
示例性的,第一标识包括EC标识或EASDF标识。For example, the first identifier may include an EC identifier or an EASDF identifier.
在一个实施例中,第一标识携带在PDU会话建立请求的第一信元中。第一信元是边缘计算连接指示信元。图5示出了相关技术中的PDU会话建立请求的信令格式。在该PDU会话建立请求的信令格式中增加第一信元,使用第一信元来携带第一标识。该第一信元可以增加在图5所示的信令格式中的任意一列。该第一信元的类型为可选项。In one embodiment, the first identifier is carried in the first cell of the PDU session establishment request. The first cell is an edge computing connection indication cell. Figure 5 illustrates the signaling format of a PDU session establishment request in the related art. A first cell is added to the signaling format of this PDU session establishment request to carry the first identifier. This first cell can be added to any column in the signaling format shown in Figure 5. The type of the first cell is optional.
在一个实施例中,第一标识携带在PDU会话建立请求的EPCO信元的第二信元中。也即,PDU会话建立请求的信元中包括EPCO信元,使用EPCO中新增的第二信元来携带第一标识。示例性的,EPCO至少包括如下信元:In one embodiment, the first identifier is carried in the second element of the EPCO element in the PDU session establishment request. That is, the PDU session establishment request element includes the EPCO element, and the first identifier is carried using the newly added second element in the EPCO. For example, the EPCO includes at least the following elements:
终端到网络方向(即UE到SMF方向):Terminal-to-network direction (i.e., UE-to-SMF direction):
0001H(P-CSCF IPv6地址请求);0001H (P-CSCF IPv6 address request);
0002H(IM CN子系统信号标签);0002H (IM CN subsystem signal tag);
0003H(DNS服务IPv6地址请求);0003H (DNS service IPv6 address request);
网络到终端方向(即SMF到UE方向):Network to terminal direction (i.e., SMF to UE direction):
0001H(P-CSCF IPv6地址请求);0001H (P-CSCF IPv6 address request);
0002H(IM CN子系统信号标签);0002H (IM CN subsystem signal tag);
0003H(DNS服务IPv6地址请求);0003H (DNS service IPv6 address request);
在上述EPCO信元中新增一个扩展的第二信元。该第二信元是求EASDF的IP地址请求信元。比如,第二信元如下:Add an extended second element to the above EPCO element. This second element is an EASDF IP address request element. For example, the second element is as follows:
0013H(EASDF IP地址请求)。0013H (EASDF IP address request).
在UE向SMF发送携带有第一标识的PDU会话建立请求后,SMF为UE分配或定位或选择第一EASDF。After the UE sends a PDU session establishment request carrying the first identifier to the SMF, the SMF allocates, locates, or selects the first EASDF for the UE.
SMF向UE发送PDU会话建立确认,该PDU会话建立确认携带有第一EASDF的地址信息。可选地,该PDU会话建立确认包括EPCO信元。在该EPCO信元内的0003H信元中携带有第一EASDF的地址信息。The SMF sends a PDU session establishment confirmation to the UE, which carries the address information of the first EASDF. Optionally, the PDU session establishment confirmation includes an EPCO cell. The address information of the first EASDF is carried in the 0003H cell within the EPCO cell.
步骤740:UE接收第一EASDF的地址信息。Step 740: The UE receives the address information of the first EASDF.
UE接收SMF发送的PDU会话建立确认,该PDU会话建立确认携带有第一EASDF的地址信息。可选地,该地址信息是指第一EASDF的IP地址。The UE receives a PDU session establishment confirmation sent by the SMF, which carries the address information of the first EASDF. Optionally, this address information refers to the IP address of the first EASDF.
示例性的,第一EASDF的地址信息携带在PDU会话建立确认的EPCO的第三信元中。For example, the address information of the first EASDF is carried in the third cell of the EPCO that confirms the establishment of the PDU session.
UE在获得第一EASDF的IP地址后,使用第一EASDF提供的DNS相关服务。比如,DNS查询服务。After obtaining the IP address of the first EASDF, the UE uses the DNS-related services provided by the first EASDF, such as the DNS query service.
步骤760:在PDU会话建立之后,向SMF发送DHCP请求;Step 760: After the PDU session is established, send a DHCP request to the SMF;
在PDU会话建立之后,UE可能通过用户面向SMF发起DHCP请求获取一个DNS Server的地址,此时,SMF也需要在发送给UE的DHCP响应,该DHCP响应包含第一EASDF的地址信息,也即第一EASDF的IP地址。After the PDU session is established, the UE may obtain the address of a DNS server by initiating a DHCP request to the SMF through the user. At this time, the SMF also needs to send a DHCP response to the UE, which contains the address information of the first EASDF, that is, the IP address of the first EASDF.
步骤780:接收SMF发送的DHCP响应,DHCP响应携带有第一EASDF的地址信息。Step 780: Receive the DHCP response sent by the SMF, which carries the address information of the first EASDF.
其中,第一EASDF的地址信息携带在DHCP响应的EPCO的第四信元中。The address information of the first EASDF is carried in the fourth cell of the EPCO in the DHCP response.
示例性的,DHCP响应的EPCO信元的第四信元中,携带有第一EASDF的地址信息。For example, the fourth cell of the EPCO cell in the DHCP response carries the address information of the first EASDF.
也即,若在PDU会话建立请求的EPCO信元中SMF提供了第一EASDF的地址信息,则在DHCP响应中,SMF也需要包含同样的第一EASDF的地址信息。That is, if the SMF provides the address information of the first EASDF in the EPCO cell of the PDU session establishment request, then the SMF also needs to include the same address information of the first EASDF in the DHCP response.
需要说明的是,在PDU会话建立请求中的第一EASDF的地址信息是UE的OS操作系统所触发的。而UE通过用户面通过DHCP来获取第一EASDF的地址信息,通常是由UE中运行的APP所触发的。It should be noted that the address information of the first EASDF in the PDU session establishment request is triggered by the UE's operating system. However, the UE obtains the address information of the first EASDF via DHCP through the user plane, which is usually triggered by the application running on the UE.
需要说明的是,步骤760和步骤780为本实施例中的可选步骤,在一些实施例中可以不执行这2个步骤。It should be noted that steps 760 and 780 are optional steps in this embodiment, and these two steps may not be performed in some embodiments.
综上所述,本实施例提供的方法,通过UE向SMF在PDU会话建立请求中新增第一信元来发送第一标识,能够使得SMF在PDU会话建立过程中尽早获取到第一标识,从而在UE存在需求的情况下,由SMF向UE合理分配第一EASDF。In summary, the method provided in this embodiment, by having the UE send a first identifier to the SMF by adding a first information element in the PDU session establishment request, enables the SMF to obtain the first identifier as early as possible during the PDU session establishment process, thereby allowing the SMF to reasonably allocate the first EASDF to the UE when there is a demand from the UE.
图8示出了本申请一个示例性实施例提供的EASDF的发现方法的流程图。该方法由UE、SMF、UPF、EASDF和DNS服务器来执行。该方法包括:Figure 8 illustrates a flowchart of an EASDF discovery method provided in an exemplary embodiment of this application. The method is performed by the UE, SMF, UPF, EASDF, and DNS server. The method includes:
步骤1:UE向SMF发送PDU会话建立请求;Step 1: The UE sends a PDU session establishment request to the SMF;
该PDU会话建立请求携带有第一标识,参考步骤720所示或图9的步骤1所示。The PDU session establishment request carries a first identifier, as shown in step 720 or step 1 of Figure 9.
步骤2:SMF选择EASDF;Step 2: Select EASDF for SMF;
SMF发现PDU会话建立请求中包含有第一标识,为UE选择第一EASDF,第一EASDF是指SMF为UE选择的EASDF。The SMF discovers that the PDU session establishment request contains a first identifier and selects the first EASDF for the UE. The first EASDF refers to the EASDF selected by the SMF for the UE.
SMF选择EASDF的过程可以参考通信协议TS23.501的第6.3条的相关描述,此选择过程可以使用网络存储功能(NF Repository Function,NRF)发现,也可以基于SMF本地配置。EASDF可能已经在NRF注册。The process of SMF selecting EASDF can be found in Clause 6.3 of the communication protocol TS23.501. This selection process can be discovered using the Network Storage Function (NRF) or based on SMF local configuration. EASDF may already be registered with the NRF.
步骤3:SMF向EASDF发送Neasdf_DNS上下文创建请求;Step 3: SMF sends a Neasdf_DNS context creation request to EASDF;
其中,Neasdf是指SMF和EASDF之间的接口或参考点。Neasdf refers to the interface or reference point between SMF and EASDF.
SMF调用Neasdf_DNS上下文创建请求到选择的EASDF。Neasdf_DNS上下文创建请求携带有(UE IP地址,回调统一资源标识符(Uniform Resource Identifier,URI),处理来自UE的DNS消息的规则)。其中,处理来自终端的DNS消息的规则(即DNS消息处理规则)包括DNS消息转发规则和/或DNS消息上报规则。DNS消息转发规则包括需要转发的DNS服务器地址和/或需要添加的扩展的DNS-客户端-子网ECS(EDNS-Client-Subnet)选项。SMF invokes a Neasdf_DNS context creation request to the selected EASDF. The Neasdf_DNS context creation request carries (UE IP address, callback Uniform Resource Identifier (URI), and rules for processing DNS messages from the UE). The rules for processing DNS messages from the terminal (i.e., DNS message processing rules) include DNS message forwarding rules and/or DNS message reporting rules. The DNS message forwarding rules include the DNS server addresses to be forwarded and/or any extended DNS-Client-Subnet (EDNS-Client-Subnet) options to be added.
EASDF为PDU会话创建一个DNS上下文,并存储UE的IP地址,回调URI和处理从UE到上下文的DNS消息的规则。EASDF creates a DNS context for the PDU session and stores the UE's IP address, callback URI, and rules for handling DNS messages from the UE to the context.
DNS消息上报规则包括EASDF在收到DNS查询或DNS响应时,向SMF上报DNS信息(包括EAS相关信息)的上报条件。The DNS message reporting rules include the reporting conditions under which EASDF reports DNS information (including EAS-related information) to SMF when it receives a DNS query or DNS response.
EASDF处理DNS查询ECS选项或本地DNS服务器地址处理、SMF可以提供报告规则指导EASDF将边缘应用服务器(Edge Application Server,EAS)的全限定域名(s)(FullyQualified Domain Name,FQDN)发送到SMF,如果DNS查询消息中的EAS FQDN匹配FQDN(s)过滤器的DNS信息报告的规则。EASDF handles DNS queries for ECS options or local DNS server addresses. SMF can provide reporting rules to guide EASDF to send the fully qualified domain name(s) (FQDN) of the Edge Application Server (EAS) to SMF. If the EAS FQDN in the DNS query message matches the rules of the DNS information report of the FQDN(s) filter, EASDF will send the fully qualified domain name(s) of the Edge Application Server (EAS) to SMF.
EASDF处理DNS响应特定的IP地址或FQDN范围,SMF提供报告的规则来指导EASDF报告EAS IP地址/FQDN SMF如果EAS的DNS响应消息匹配一个IP地址的IP地址范围(s)报告规则,或FQDN DNS响应匹配的FQDN DNS消息报道规则。EASDF processes DNS responses for specific IP addresses or FQDN ranges. SMF provides reporting rules to guide EASDF in reporting EAS IP addresses/FQDNs. SMF reports if an EAS DNS response message matches an IP address range(s) rule, or if an FQDN DNS response matches an FQDN DNS message reporting rule.
在EASDF收到DNS查询消息之前或在DNS查询报告之后,EASDF提供了转发规则,即用于FQDN(s)和数据网络接入标识符(s)(Data Network Access Identifier,DNAI)的ECS选项或本地DNS服务器。Before or after EASDF receives a DNS query message, EASDF provides forwarding rules, either for FQDN(s) and Data Network Access Identifier(s) (DNAI), through the ECS option or the local DNS server.
步骤4:EASDF向SMF发送Neasdf_DNS上下文创建响应;Step 4: EASDF sends a Neasdf_DNS context creation response to SMF;
EASDF调用服务操作Neasdf_DNSContext_Create响应(EASDF的IP地址),并使用允许SMF稍后更新或删除上下文的信息。EASDF invokes the service operation Neasdf_DNSContext_Create response(EASDF IP address) and uses information that allows SMF to update or delete the context later.
EASDF的IP地址是终端连接到EASDF作为PDU会话的DNS服务器的地址。The IP address of EASDF is the address of the DNS server that the terminal connects to as a PDU session with EASDF.
步骤5:SMF向UE发送PDU会话建立确认;Step 5: The SMF sends a PDU session establishment confirmation to the UE;
该PDU会话建立请求携带有第一EASDF的地址信息,参考步骤460或660所示。The PDU session establishment request carries the address information of the first EASDF, as shown in step 460 or 660.
步骤6:SMF向EASDF发送Neasdf_DNS上下文更新请求;Step 6: SMF sends a Neasdf_DNS context update request to EASDF;
SMF可能会调用Neasdf_DNS上下文更新请求(PDU会话上下文ID,处理UE上DNS查询的规则)到EASDF。更新可能会引发的流动性问题,例如当问题转移到一个新的位置,或者报告通过与某些FQDN EASDF DNS查询,或者更新可能引发的插入/删除本地PSA,例如更新规则来处理DNS信息问题或新的PCC规则信息。SMF may invoke Neasdf_DNS Context Update Request (PDU Session Context ID, rules that handle DNS queries on the UE) to EASDF. Updates may cause mobility issues, such as when a problem moves to a new location, or when reports are made via certain FQDN EASDF DNS queries, or updates may cause insertion/deletion of local PSAs, such as updating rules to handle DNS information issues or new PCC rule information.
步骤7:EASDF向SMF发送Neasdf_DNS上下文更新响应;Step 7: EASDF sends a Neasdf_DNS context update response to SMF;
步骤8:UE向EASDF发送DNS查询;Step 8: The UE sends a DNS query to the EASDF;
EASDF发送Neasdf_DNS上下文创建请求;EASDF sends a Neasdf_DNS context creation request;
步骤9:EASDF向SMF发送Neasdf_DNS上下文通知请求;Step 9: EASDF sends a Neasdf_DNS context notification request to SMF;
如果匹配UE的DNS报文上报条件,则EASDF通过调用Neasdf_DNSContext_Notify请求将DNS报文上报给SMF。If the UE's DNS message reporting conditions are met, EASDF will report the DNS message to SMF by calling the Neasdf_DNSContext_Notify request.
步骤10:SMF向EASDF发送Neasdf_DNS上下文通知响应;Step 10: SMF sends a Neasdf_DNS context notification response to EASDF;
在Neasdf_DNS上下文通知响应包含如下的几个可能选项:The Neasdf_DNS context notification response includes several possible options, including:
对于选项A,SMF可能在响应消息中包含相应的ECS选项。For option A, SMF may include the corresponding ECS option in the response message.
对于选项B,SMF可能在响应消息中包含相应的本地DNS服务器IP地址。还可以指示EASDF简单地将DNS查询转发到预先配置的DNS服务器/解析器。For option B, SMF may include the corresponding local DNS server IP address in the response message. It can also instruct EASDF to simply forward DNS queries to a pre-configured DNS server/resolver.
步骤11:EASDF向DNS服务器发送DNS查询;Step 11: EASDF sends a DNS query to the DNS server;
对于选项A,EASDF将ECS选项添加到RFC 7871中指定的DNS查询消息中,并发送给中央DNS C-DNS服务器;在EASDF上本地配置有C-DNS或通过SMF所配置。For option A, EASDF adds the ECS option to the DNS query message specified in RFC 7871 and sends it to the central DNS C-DNS server; C-DNS is either locally configured on EASDF or configured via SMF.
对于选项B,EASDF向本地DNS服务器发送DNS查询消息。此本地DNS服务器是在步骤10中由SMF所提供。For option B, EASDF sends a DNS query message to the local DNS server. This local DNS server is provided by SMF in step 10.
如果SMF提供的报告规则和转发规则都不匹配DNS查询中请求的FQDN,那么EASDF可以简单地将DNS查询转发到预先配置的DNS服务器/解析器。If neither the reporting rules nor the forwarding rules provided by SMF match the FQDN requested in the DNS query, then EASDF can simply forward the DNS query to a pre-configured DNS server/resolver.
步骤12:DNS服务器向EASDF发送DNS响应;Step 12: The DNS server sends a DNS response to EASDF;
EASDF接收DNS系统的DNS响应,判断是否可以将DNS响应发送到终端。EASDF receives DNS responses from the DNS system and determines whether the DNS response can be sent to the terminal.
步骤13:EASDF向SMF发送Neasdf_DNS上下文通知请求;Step 13: EASDF sends a Neasdf_DNS context notification request to SMF;
如果DNS响应报文中的EAS IP地址或FQDN与SMF提供的上报条件匹配,则EASDF可以通过调用Neasdf_DNS上下文通知请求向SMF发送DNS消息上报信息,包括EAS信息。If the EAS IP address or FQDN in the DNS response message matches the reporting conditions provided by the SMF, the EASDF can send a DNS message to the SMF to report information, including EAS information, by calling the Neasdf_DNS Context Notification Request.
EASDF不向UE发送DNS响应消息,而是等待SMF指令。EASDF does not send DNS response messages to the UE, but instead waits for SMF instructions.
步骤14:SMF向EASDF发送Neasdf_DNS上下文通知响应;Step 14: SMF sends a Neasdf_DNS context notification response to EASDF;
SMF调用Neasdf_DNSContext_Notify响应服务操作。SMF calls Neasdf_DNSContext_Notify to respond to service operations.
步骤15:上行分类器(Uplink Classifier,ULCL)/分支点(Branching Point,BP)插入;Step 15: Insert Uplink Classifier (ULCL)/Branching Point (BP);
SMF可以进行UL CL/BP和局部PSA选择,并插入UL CL/BP和局部PSA。SMF can select UL CL/BP and local PSA, and insert UL CL/BP and local PSA.
根据从EASDF接收到的EAS信息和通信协议TS 23.501第6.3.3条规定的其他UPF选择标准,SMF可以执行通信协议TS 23.502中描述的UL CL/BP和局部PSA选择和插入。Based on the EAS information received from the EAS and other UPF selection criteria specified in Clause 6.3.3 of the communication protocol TS 23.501, the SMF can perform the UL CL/BP and local PSA selection and insertion as described in the communication protocol TS 23.502.
步骤16:SMF向EASDF发送Neasdf_DNS上下文更新请求;Step 16: SMF sends a Neasdf_DNS context update request to EASDF;
SMF调用Neasdf_DNSContext_Update请求(正向DNS响应指示)。SMF invokes the Neasdf_DNSContext_Update request (forward DNS response indication).
“正向DNS响应”表示EASDF将步骤12中缓存的DNS响应转发到UE。A “forward DNS response” means that EASDF forwards the DNS response cached in step 12 to the UE.
步骤17:EASDF向SMF发送Neasdf_DNS上下文更新响应;Step 17: EASDF sends a Neasdf_DNS context update response to SMF;
步骤18:EASDF向UE发送DNS响应。Step 18: EASDF sends a DNS response to the UE.
图9示出了本申请一个示例性实施例提供的PDU会话建立方法的流程图。该方法由UE、RAN、AMF、SMF、UPF、PCF、UDM和DN来执行。该方法包括:Figure 9 illustrates a flowchart of a PDU session establishment method provided in an exemplary embodiment of this application. This method is performed by the UE, RAN, AMF, SMF, UPF, PCF, UDM, and DN. The method includes:
步骤1:UE向AMF发送PDU会话建立请求;Step 1: The UE sends a PDU session establishment request to the AMF;
步骤2:AMF进行SMF选择;Step 2: AMF performs SMF selection;
步骤3:AMF向SMF发送Nsmf_PDU会话创建SM上下文请求;Step 3: The AMF sends an Nsmf_PDU session creation SM context request to the SMF;
步骤4:SMF与UDM执行订阅检索/订阅更新;Step 4: SMF and UDM perform subscription retrieval/subscription update;
步骤5:SMF向AMF发送Nsmf_PDU会话创建SM上下文响应;Step 5: The SMF sends an Nsmf_PDU session creation SM context response to the AMF;
步骤6:PDU会话身份验证/授权;Step 6: PDU session authentication/authorization;
步骤7a:PCF选择;Step 7a: PCF selection;
步骤7b:SM策略关联建立或SMF发起SM策略关联修改;Step 7b: Establish SM policy association or SMF initiates SM policy association modification;
步骤8:UPF选择;Step 8: UPF selection;
步骤9:SMF启动SM策略关联修改;Step 9: SMF initiates SM policy association modification;
步骤10a:SMF向UPF发送N4会话建立/修改请求;Step 10a: The SMF sends an N4 session establishment/modification request to the UPF;
步骤10b:UPF向SMF发送N4会话建立/修改请求;Step 10b: The UPF sends an N4 session establishment/modification request to the SMF;
步骤11:SMF向AMF发送Namf_CommunicationN1N2消息转换;Step 11: SMF sends Namf_CommunicationN1N2 message to AMF for conversion;
步骤12:AMF向(R)AN发送N2 PDU会话请求(NAS消息);Step 12: AMF sends an N2 PDU session request (NAS message) to (R)AN;
步骤13:UE与(R)AN执行(R)AN特定资源设置;Step 13: The UE and (R)AN perform (R)AN-specific resource settings;
步骤14:(R)AN向AMF发送N2 PDU会话响应;Step 14: (R)AN sends an N2 PDU session response to AMF;
步骤15:AMF向SMF发送Nsmf_PDU会话更新SM上下文请求;Step 15: The AMF sends an Nsmf_PDU session update SM context request to the SMF;
步骤16a:SMF向UPF发送N4会话修改请求;Step 16a: The SMF sends an N4 session modification request to the UPF;
步骤16b:UPF向SMF发送N4会话修改响应;Step 16b: The UPF sends an N4 session modification response to the SMF;
步骤16c:SMF与UDM执行注册流程;Step 16c: SMF and UDM perform the registration process;
步骤17:SMF向AMF发送Nsmf_PDU会话更新SM上下文响应;Step 17: The SMF sends an Nsmf_PDU session update SM context response to the AMF;
步骤18:SMF向AMF发送Nsmf_PDU会话SM上下文通知;Step 18: The SMF sends the Nsmf_PDU session SM context notification to the AMF;
步骤19:SMF向UE进行IPv6地址配置;Step 19: The SMF configures the IPv6 address for the UE;
步骤20:SMF启动SM策略关联修改;Step 20: SMF initiates SM policy association modification;
步骤21:SMF与PCF取消订阅。Step 21: Unsubscribe from SMF and PCF.
注1:在图8中的步骤2至4应当在图9所示的步骤11之前完成。Note 1: Steps 2 to 4 in Figure 8 should be completed before step 11 shown in Figure 9.
注2:在图8中的步骤5,对应图9所示的步骤11至16。Note 2: Step 5 in Figure 8 corresponds to steps 11 to 16 shown in Figure 9.
注3:图8中的步骤6至18,可以是在图9的步骤21之后,或图8中的步骤8对应于图9的步骤15前的第一次上行数据(First UL data)。Note 3: Steps 6 to 18 in Figure 8 may be after step 21 in Figure 9, or step 8 in Figure 8 may correspond to the first uplink data (First UL data) before step 15 in Figure 9.
图8所示的步骤15的UL CL/分支点插入过程,如下图10所示出的步骤2至8。图10示出了本申请一个示例性实施例提供的增加额外的PDU会话锚和分支点或UL CL方法的流程图。该方法由UE、RAN、SMF和UPF来执行,该方法包括:The UL CL/branch point insertion process in step 15 shown in Figure 8 is equivalent to steps 2 to 8 shown in Figure 10. Figure 10 illustrates a flowchart of a method for adding additional PDU session anchors and branch points or UL CL according to an exemplary embodiment of this application. This method is performed by the UE, RAN, SMF, and UPF, and includes:
步骤1:UE与PSA1建立PDU会话;Step 1: The UE establishes a PDU session with PSA1;
UE具有已建立的PDU会话,其UPF包括PDU会话锚1(也即PSA1)。PDU会话用户平面至少涉及(R)AN和PDU会话锚1。The UE has an established PDU session, and its UPF includes PDU session anchor 1 (i.e., PSA1). The PDU session user plane involves at least (R)AN and PDU session anchor 1.
步骤2:SMF建立PSA2;Step 2: SMF establishes PSA2;
在某些时候,SMF决定建立新的PDU会话锚,例如由于UE移动性,新的流检测。SMF选择UPF并使用N4建立PDU会话的新PDU会话锚2(也即PSA2)。在IPv6多宿主PDU会话的情况下,SMF还分配对应于PSA2的新IPv6前缀,并且如果PCF已用户IP分配/释放事件,则SMF执行会话管理策略修改过程,为PCF提供新分配的IPv6前缀。At certain times, the SMF decides to establish a new PDU session anchor, for example, due to UE mobility or new flow detection. The SMF selects the UPF and uses N4 to establish a new PDU session anchor 2 (i.e., PSA2) for the PDU session. In the case of an IPv6 multihomed PDU session, the SMF also allocates a new IPv6 prefix corresponding to PSA2, and if the PCF has a user IP allocation/release event, the SMF performs a session management policy modification process to provide the PCF with the newly allocated IPv6 prefix.
如果基于本地配置启用了5GC和AF之间的运行时协调,则根据对SMF事件的AF订阅中包含“预期的AF确认”的指示,SMF等待来自AF的通知响应。如果SMF从AF接收到否定通知响应,则SMF可以停止该过程。If runtime coordination between 5GC and AF is enabled based on local configuration, the SMF awaits a notification response from the AF, according to the "Expected AF Acknowledgment" instruction included in the AF subscription to SMF events. If the SMF receives a negative notification response from the AF, the SMF can halt the process.
步骤3:SMF建立分支点或UL CL;Step 3: SMF establishes branch points or UL CL;
SMF选择UPF并使用N4建立分支点(在IPv6多归属的情况下)或PDU CL用于PDU会话。它为PSA1和PSA2提供必要的上行链路转发规则,包括PSA1 CN通道信息和PSA2 CN通道信息。另外,AN通道信息被提供用于下行链路转发。在IPv6多归属的情况下,SMF还为与PSA1和PSA2相对应的IPv6前缀提供流量过滤器,指示哪些流量将分别转发到PSA1和PSA2。在ULCL的情况下,SMF提供流量过滤器,指示应分别向PSA1和PSA2转发哪些流量。The SMF selects the UPF and uses N4 to establish the branch point (in the case of IPv6 multihoming) or PDU CL for PDU sessions. It provides the necessary uplink forwarding rules for PSA1 and PSA2, including PSA1 CN channel information and PSA2 CN channel information. Additionally, AN channel information is provided for downlink forwarding. In the case of IPv6 multihoming, the SMF also provides traffic filters for the IPv6 prefixes corresponding to PSA1 and PSA2, indicating which traffic should be forwarded to PSA1 and PSA2 respectively. In the case of ULCL, the SMF provides traffic filters indicating which traffic should be forwarded to PSA1 and PSA2 respectively.
在UL CL的情况下,SMF提供流量过滤器,指示应分别将哪些流量转发到PSA1和PSA2。如果基于本地配置启用了5GC和AF之间的运行时协调,则根据对SMF事件的AF订阅中包含“预期的AF确认”的指示,SMF将向AF发送延迟通知并等待通知。在配置UL CL之前,AF会做出响应。如果SMF从AF接收到否定通知响应,则SMF可以停止该过程。In the case of UL CL, the SMF provides traffic filters, indicating which traffic should be forwarded to PSA1 and PSA2 respectively. If runtime coordination between 5GC and AF is enabled based on local configuration, the SMF will send a delayed notification to the AF and wait for notification, based on the "expected AF acknowledgment" indication included in the AF subscription to the SMF event. The AF will respond before UL CL is configured. If the SMF receives a negative notification response from the AF, the SMF can stop the process.
注1:如果分支点或UL CL和PSA2共同位于单个UPF中,则可以合并步骤2和3。如果已经分配了分支点,则跳过步骤3。Note 1: If the branch point or UL CL and PSA2 are both located in a single UPF, steps 2 and 3 can be combined. If the branch point has already been assigned, skip step 3.
步骤4:SMF为下行链路流量更新PSA1;Step 4: SMF updates PSA1 for downlink traffic;
SMF通过N4为下行链路流量更新PSA1。它为下行链路流量提供分支点或UL CL CN通道信息。SMF updates PSA1 for downlink traffic via N4. It provides branch point or UL CL CN channel information for downlink traffic.
注2:如果分支点或UL CL和PSA1共同位于单个UPF中,则可以合并步骤3和4。Note 2: If the branch point or UL CL and PSA1 are both located in a single UPF, steps 3 and 4 can be combined.
步骤5:SMF更新PSA2;Step 5: SMF updates PSA2;
SMF通过N4更新PSA2。它为下行链路流量提供分支点或UL CL CN通道信息。SMF updates PSA2 via N4. It provides branch point or UL CL CN channel information for downlink traffic.
注3:如果分支点或UL CL和PSA2共同位于单个UPF中,则不需要步骤5。Note 3: If the branch point or UL CL and PSA2 are both located in a single UPF, then step 5 is not required.
步骤6:SMF为上行链路流量更新(R)AN;Step 6: SMF updates (R)AN for uplink traffic;
SMF通过N11上的N2 SM信息更新(R)AN。它提供与UPF(分支点或UL CL)对应的新CN通道信息。在UL CL的情况下,如果在(R)AN和新插入的UL CL之间存在现有UPF,则SMF经由N4更新现有UPF而不是更新(R)AN。The SMF updates the (R)AN via the N2 SM information on N11. It provides new CN channel information corresponding to the UPF (branch point or UL CL). In the case of UL CL, if there is an existing UPF between the (R)AN and the newly inserted UL CL, the SMF updates the existing UPF via N4 instead of updating the (R)AN.
步骤7:SMF通知UE新的IP前缀@PSA2;Step 7: SMF notifies UE of the new IP prefix @PSA2;
在IPv6多宿主的情况下,SMF通知UE新IP前缀@PSA2的可用性。这是使用IPv6路由器通告消息(RFC 4861)执行的。此外,SMF使用IPv6路由器通告消息(RFC 4191)将路由规则连同IPv6前缀一起发送到UE,例如通信协议TS 23.501第5.8.1.2节中所述。In the context of IPv6 multihomed operation, the SMF notifies the UE of the availability of the new IP prefix @PSA2. This is performed using the IPv6 Router Advertisement Message (RFC 4861). Additionally, the SMF sends the routing rules along with the IPv6 prefix to the UE using the IPv6 Router Advertisement Message (RFC 4191), as described in Section 5.8.1.2 of the Communication Protocol TS 23.501, for example.
如果基于本地配置启用了5GC和AF之间的运行时协调,则根据AF订阅SMF事件中包含的“预期AF确认”指示,SMF将向AF发送延迟通知并等待通知响应从AF发送新IP前缀到UE。如果SMF从AF接收到否定通知响应,则SMF可以停止该过程。If runtime coordination between 5GC and AF is enabled based on local configuration, the SMF will send a delayed notification to the AF and wait for a notification response from the AF to send the new IP prefix to the UE, according to the "Expected AF Confirmation" indication included in the AF subscription SMF event. If the SMF receives a negative notification response from the AF, the SMF can stop the process.
步骤8:SMF为原始IP前缀@PSA1重新配置UE;Step 8: SMF reconfigures the UE with the original IP prefix @PSA1;
在IPv6多归属的情况下,SMF可以为原始IP前缀@PSA1重新配置UE;即SMF使用IPv6路由器通告消息将路由规则连同IPv6前缀一起发送到UE,(RFC 4191)例如通信协议TS23.501第5.8.1.2条所述。In the case of IPv6 multihoming, the SMF can reconfigure the UE for the original IP prefix @PSA1; that is, the SMF uses IPv6 router advertisement messages to send the routing rules along with the IPv6 prefix to the UE (RFC 4191), as described in Section 5.8.1.2 of the communication protocol TS23.501.
注:征求意见稿(Request For Comments,RFC),是由互联网工程任务组(TheInternet Engineering Task Force,IETF)发布的一系列备忘录。文件收集了有关互联网相关信息,以及UNIX和互联网社群的软件文件,以编号排定。目前RFC文件是由互联网协会(Internet Society,ISOC)赞助发行。Note: Request for Comments (RFCs) are a series of memos issued by the Internet Engineering Task Force (IETF). These documents compile information related to the Internet, as well as software documentation from the UNIX and Internet communities, arranged in numbered blocks. Currently, RFCs are sponsored and published by the Internet Society (ISOC).
图11示出了本申请一个示例性实施例提供的地址信息发送装置的框图。该装置可以应用于SMF中,或者实现成为SMF的一部分,所述装置包括:Figure 11 shows a block diagram of an address information sending apparatus provided in an exemplary embodiment of this application. This apparatus can be applied in an SMF (Software-Defined Network) or implemented as part of an SMF, and the apparatus includes:
接收模块1120,用于接收终端在PDU会话建立过程发送的第一标识;The receiving module 1120 is used to receive the first identifier sent by the terminal during the PDU session establishment process;
选择模块1140,用于根据所述第一标识为所述终端选择第一EASDF;Selection module 1140 is configured to select a first EASDF for the terminal based on the first identifier;
发送模块1160,用于向所述终端发送所述第一EASDF的地址信息。The sending module 1160 is used to send the address information of the first EASDF to the terminal.
可选地,所述接收模块1120,用于接收所述终端发送的PDU会话建立请求,所述PDU会话建立请求中携带有所述第一标识。所述第一标识用于指示本次请求建立的PDU会话属于边缘计算的边缘连接。Optionally, the receiving module 1120 is configured to receive a PDU session establishment request sent by the terminal, wherein the PDU session establishment request carries the first identifier. The first identifier is used to indicate that the PDU session to be established in this request belongs to the edge connection of edge computing.
可选地,所述第一标识包括EC标识和EASDF标识中的至少一种。Optionally, the first identifier includes at least one of the EC identifier and the EASDF identifier.
在一种设计中,所述第一标识携带在所述PDU会话建立请求的第一信元中。所述第一信元是边缘计算连接指示信元。In one design, the first identifier is carried in a first cell of the PDU session establishment request. The first cell is an edge computing connection indication cell.
在一个设计中,所述第一标识携带在所述PDU会话建立请求的扩展协议配置选项的第二信元中。所述第二信元是EASDF的IP地址请求信元。In one design, the first identifier is carried in a second element of the extended protocol configuration options in the PDU session establishment request. The second element is an EASDF IP address request element.
可选地,所述发送模块1160,用于向所述终端发送PDU会话建立确认,所述PDU会话建立确认携带有所述第一EASDF的地址信息。Optionally, the sending module 1160 is configured to send a PDU session establishment confirmation to the terminal, the PDU session establishment confirmation carrying the address information of the first EASDF.
可选地,所述第一EASDF的地址信息携带在所述PDU会话建立确认的扩展协议配置选项的第三信元中。Optionally, the address information of the first EASDF is carried in the third cell of the extended protocol configuration option of the PDU session establishment confirmation.
可选地,所述接收模块1120,用于在所述PDU会话建立之后,接收所述终端发送的动态主机配置协议DHCP请求;所述发送模块1160,用于向所述终端发送DHCP响应,所述DHCP响应携带有所述第一EASDF的地址信息。Optionally, the receiving module 1120 is configured to receive a Dynamic Host Configuration Protocol (DHCP) request sent by the terminal after the PDU session is established; the sending module 1160 is configured to send a DHCP response to the terminal, the DHCP response carrying the address information of the first EASDF.
可选地,所述第一EASDF的地址信息携带在所述DHCP响应的扩展协议配置选项的第四信元中。Optionally, the address information of the first EASDF is carried in the fourth cell of the extended protocol configuration option in the DHCP response.
图12示出了本申请一个示例性实施例提供的地址信息获取装置的框图。该装置可以应用于终端中,或者实现成为终端的一部分,所述装置包括:Figure 12 shows a block diagram of an address information acquisition device provided in an exemplary embodiment of this application. This device can be applied to a terminal or implemented as part of a terminal, and the device includes:
发送模块1220,用于在PDU会话建立过程中向SMF发送第一标识,所述第一标识用于触发所述SMF为所述终端选择第一EASDF;The sending module 1220 is used to send a first identifier to the SMF during the PDU session establishment process. The first identifier is used to trigger the SMF to select a first EASDF for the terminal.
接收模块1240,用于接收所述第一EASDF的地址信息。The receiving module 1240 is used to receive the address information of the first EASDF.
可选地,所述发送模块1220,用于向SMF发送PDU会话建立请求,所述PDU会话建立请求中携带有所述第一标识。Optionally, the sending module 1220 is configured to send a PDU session establishment request to the SMF, wherein the PDU session establishment request carries the first identifier.
可选地,所述第一标识用于指示本次请求建立的PDU会话属于边缘计算的边缘连接。Optionally, the first identifier is used to indicate that the PDU session established in this request belongs to the edge connection of edge computing.
可选地,所述第一标识包括EC标识或EASDF标识。Optionally, the first identifier may include an EC identifier or an EASDF identifier.
在一个设计中,所述第一标识携带在所述PDU会话建立请求的第一信元中。可选地,所述第一信元是边缘计算连接指示信元。In one design, the first identifier is carried in a first cell of the PDU session establishment request. Optionally, the first cell is an edge computing connection indication cell.
在一个设计中,所述第一标识携带在所述PDU会话建立请求的扩展协议配置选项的第二信元中。In one design, the first identifier is carried in a second cell of the extended protocol configuration options of the PDU session establishment request.
可选地,所述第二信元是EASDF的IP地址请求信元。Optionally, the second information element is an EASDF IP address request information element.
可选地,所述接收模块1240,用于接收所述SMF发送的PDU会话建立确认,所述PDU会话建立确认携带有所述第一EASDF的地址信息。所述第一EASDF的地址信息携带在所述PDU会话建立确认的扩展协议配置选项的第三信元中。Optionally, the receiving module 1240 is configured to receive a PDU session establishment confirmation sent by the SMF, the PDU session establishment confirmation carrying the address information of the first EASDF. The address information of the first EASDF is carried in the third cell of the extended protocol configuration option of the PDU session establishment confirmation.
可选地,所述发送模块1220,用于在所述PDU会话建立之后,向所述SMF发送动态主机配置协议DHCP请求;接收模块1240,用于接收所述SMF发送的DHCP响应,所述DHCP响应携带有第一EASDF的地址信息。可选地,所述第一EASDF的地址信息携带在所述DHCP响应的扩展协议配置选项的第四信元中。Optionally, the sending module 1220 is configured to send a Dynamic Host Configuration Protocol (DHCP) request to the SMF after the PDU session is established; the receiving module 1240 is configured to receive a DHCP response sent by the SMF, the DHCP response carrying the address information of the first EASDF. Optionally, the address information of the first EASDF is carried in the fourth cell of the extended protocol configuration options of the DHCP response.
图13示出了本申请一个实施例提供的通信设备(网元设备或终端)的结构示意图,例如,该通信设备可以用于执行上述地址信息发送方法或地址信息获取方法。具体来讲:该通信设备1300可以包括:处理器1301、接收器1302、发射器1303、存储器1304和总线1305。Figure 13 shows a schematic diagram of the structure of a communication device (network element device or terminal) provided in an embodiment of this application. For example, the communication device can be used to execute the above-described address information sending method or address information acquisition method. Specifically, the communication device 1300 may include: a processor 1301, a receiver 1302, a transmitter 1303, a memory 1304, and a bus 1305.
处理器1301包括一个或者一个以上处理核心,处理器1301通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 1301 includes one or more processing cores. The processor 1301 executes various functional applications and information processing by running software programs and modules.
接收器1302和发射器1303可以实现为一个收发器1306,该收发器1306可以是一块通信芯片。The receiver 1302 and the transmitter 1303 can be implemented as a transceiver 1306, which can be a communication chip.
存储器1304通过总线1305与处理器1301相连。The memory 1304 is connected to the processor 1301 via the bus 1305.
存储器1304可用于存储计算机程序,处理器1301用于执行该计算机程序,以实现上述方法实施例中的网元设备、接入网实体、核心网网元或核心网实体执行的各个步骤。The memory 1304 can be used to store computer programs, and the processor 1301 is used to execute the computer programs to implement the various steps performed by the network element device, access network entity, core network element or core network entity in the above method embodiments.
其中,发射器1303用于执行上述各个实施例中与发送相关的步骤;接收器1302用于执行上述各个实施例中与接收相关的步骤;处理器1301用于执行上述各个实施例中除发送和接收步骤之外的其它步骤。The transmitter 1303 is used to perform the transmission-related steps in the above embodiments; the receiver 1302 is used to perform the reception-related steps in the above embodiments; and the processor 1301 is used to perform other steps in the above embodiments besides the transmission and reception steps.
此外,存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:RAM(Random-Access Memory,随机存储器)和ROM(Read-Only Memory,只读存储器)、EPROM(Erasable Programmable Read-OnlyMemory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable ProgrammableRead-Only Memory,电可擦写可编程只读存储器)、闪存或其他固态存储其技术,CD-ROM(Compact Disc Read-Only Memory,只读光盘)、DVD(Digital Video Disc,高密度数字视频光盘)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。Furthermore, the memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
在示例性实施例中,还提供了一种网元设备,所述网元设备包括:处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上所述的地址信息发送方法。In an exemplary embodiment, a network element device is also provided, the network element device including: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the address information transmission method as described above.
在示例性实施例中,还提供了一种终端,所述终端包括:处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上所述的地址信息获取方法。In an exemplary embodiment, a terminal is also provided, the terminal including: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the address information acquisition method as described above.
本申请还提供一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述方法实施例提供的地址信息发送方法或地址信息获取方法。This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the address information sending method or address information acquisition method provided in the above method embodiments.
可选地,本申请还提供了一种计算机程序产品,所述计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的地址信息发送方法或地址信息获取方法。Optionally, this application also provides a computer program product comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the address information sending method or address information acquisition method provided above.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims (27)
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK40048395A HK40048395A (en) | 2021-12-03 |
| HK40048395B true HK40048395B (en) | 2024-09-20 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113115480B (en) | Address information sending method, address information obtaining method, address information sending device, address information obtaining device, address information sending equipment and address information obtaining medium | |
| US11917498B2 (en) | Communication method and communications apparatus | |
| CN114430897B (en) | Method, device and system for edge parsing function | |
| EP4024922A1 (en) | Method for achieving service continuity and related devices | |
| CN110830543B (en) | Communication method and communication device | |
| US11855957B2 (en) | Discovery method and apparatus for DNS server, computer device, computer-readable storage medium and computer program product | |
| WO2021043191A1 (en) | Domain name system server determination method, request processing method and apparatus, and system | |
| US11463935B2 (en) | Methods and functions for handling local breakout | |
| US12107927B2 (en) | Apparatus, method, and computer program | |
| KR20200038808A (en) | Apparatus and method for 5g lan group communications in wireless communication system | |
| CN109729549B (en) | Communication method and device | |
| JP7717700B2 (en) | Network function registration method, discovery method, apparatus, device and medium | |
| CN114071649B (en) | Method and device for accessing local network | |
| US12425811B2 (en) | Method and apparatus for joining multicast broadcast service (MBS) session | |
| WO2021051420A1 (en) | Dns cache record determination method and apparatus | |
| WO2023143212A1 (en) | Communication method and apparatus | |
| US20240396863A1 (en) | Apparatus, method, and computer program | |
| WO2022001972A1 (en) | Dns request resolution method, communication apparatus and communication system | |
| WO2022067538A1 (en) | Network element discovery method and apparatus, and device and storage medium | |
| HK40048395B (en) | Address information sending method, acquiring method, apparatus, device, and medium | |
| CN115190580A (en) | Network function registration method, discovery method, device, equipment and medium | |
| HK40048395A (en) | Address information sending method, acquiring method, apparatus, device, and medium | |
| HK40051628A (en) | Discovery method, device, computer equipment and storage medium of dns server | |
| RU2783809C2 (en) | Communication method and communication device | |
| HK40051628B (en) | Discovery method, device, computer equipment and storage medium of dns server |